blob: ca692a15c0cff02dc1870ce821d5ac072662e199 (
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 <k9copy@free.fr>, (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 <k9copy@free.fr>
*/
class k9Process : public TDEProcess
{
TQ_OBJECT
public:
k9Process(TQObject *parent = 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(TDEProcess *proc);
};
#endif
|