main.h00001 #ifndef _main_h
00002 #define _main_h
00003
00004 #include <qobject.h>
00005 #include <qstring.h>
00006 #include <qstrlist.h>
00007 #include <qtimer.h>
00008
00009 namespace KIO { class Job; }
00010
00011 class KIOExec : public QObject
00012 {
00013 Q_OBJECT
00014 public:
00015 KIOExec();
00016
00017 public slots:
00018 void slotResult( KIO::Job * );
00019 void slotRunApp();
00020
00021 protected:
00022 bool tempfiles;
00023 QString suggestedFileName;
00024 int counter;
00025 int expectedCounter;
00026 QString command;
00027 struct fileInfo {
00028 QString path;
00029 KURL url;
00030 int time;
00031 };
00032 QValueList<fileInfo> fileList;
00033 };
00034
00035 #endif
|