summaryrefslogtreecommitdiffstats
path: root/kio/kioexec/main.h
blob: 59f1cdac2b5f5097d976e0e29a94e18759a18d9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#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 QObject
{
    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