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.
36 lines
546 B
36 lines
546 B
15 years ago
|
#ifndef _main_h
|
||
|
#define _main_h
|
||
|
|
||
|
#include <qobject.h>
|
||
|
#include <qstring.h>
|
||
|
#include <qstrlist.h>
|
||
|
#include <qtimer.h>
|
||
|
|
||
|
namespace KIO { class Job; }
|
||
|
|
||
|
class KIOExec : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
KIOExec();
|
||
|
|
||
|
public slots:
|
||
|
void slotResult( KIO::Job * );
|
||
|
void slotRunApp();
|
||
|
|
||
|
protected:
|
||
|
bool tempfiles;
|
||
|
QString suggestedFileName;
|
||
|
int counter;
|
||
|
int expectedCounter;
|
||
|
QString command;
|
||
|
struct fileInfo {
|
||
|
QString path;
|
||
|
KURL url;
|
||
|
int time;
|
||
|
};
|
||
|
QValueList<fileInfo> fileList;
|
||
|
};
|
||
|
|
||
|
#endif
|