00001 #ifndef _main_h
00002 #define _main_h
00003
00004 #include <tqobject.h>
00005 #include <tqstring.h>
00006 #include <tqstrlist.h>
00007 #include <tqtimer.h>
00008
00009 namespace TDEIO { class Job; }
00010
00011 class KIOExec : public TQObject
00012 {
00013 Q_OBJECT
00014 public:
00015 KIOExec();
00016
00017 public slots:
00018 void slotResult( TDEIO::Job * );
00019 void slotRunApp();
00020
00021 protected:
00022 bool tempfiles;
00023 TQString suggestedFileName;
00024 int counter;
00025 int expectedCounter;
00026 TQString command;
00027 struct fileInfo {
00028 TQString path;
00029 KURL url;
00030 int time;
00031 };
00032 TQValueList<fileInfo> fileList;
00033 };
00034
00035 #endif