You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef _main_h
|
|
|
|
#define _main_h
|
|
|
|
|
|
|
|
#include <tqobject.h>
|
|
|
|
#include <tqstring.h>
|
|
|
|
#include <tqstrlist.h>
|
|
|
|
#include <tqtimer.h>
|
|
|
|
|
|
|
|
namespace KIO { class Job; }
|
|
|
|
|
|
|
|
class KIOExec : public TQObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
KIOExec();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void slotResult( KIO::Job * );
|
|
|
|
void slotRunApp();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
bool tempfiles;
|
|
|
|
TQString suggestedFileName;
|
|
|
|
int counter;
|
|
|
|
int expectedCounter;
|
|
|
|
TQString command;
|
|
|
|
struct fileInfo {
|
|
|
|
TQString path;
|
|
|
|
KURL url;
|
|
|
|
int time;
|
|
|
|
};
|
|
|
|
TQValueList<fileInfo> fileList;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|