summaryrefslogtreecommitdiffstats
path: root/kio/kioexec/main.h
blob: 6a5dee65e23e12608b32f4619d1537b49d0b26c7 (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 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