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