blob: 251282240f822f1f0a8cf56510e2153fb0037696 (
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
36
37
38
39
|
//
// C++ Interface: k9process
//
// Description:
//
//
// Author: Jean-Michel PETIT <[email protected]>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef K9PROCESS_H
#define K9PROCESS_H
#include <kprocess.h>
#include <tqdatetime.h>
/**
@author Jean-Michel PETIT <[email protected]>
*/
class k9Process : public KProcess
{
Q_OBJECT
TQ_OBJECT
public:
k9Process(TQObject *tqparent = 0, const char *name = 0);
void sync();
const TQString & debug();
~k9Process();
int getElapsed() const;
virtual bool start (RunMode runmode=NotifyOnExit, Communication comm=NoCommunication);
private:
bool m_waitSync;
TQString m_debug;
TQTime m_elapsed;
private slots:
void slotProcessExited(KProcess *proc);
};
#endif
|