You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
k9copy/libk9copy/k9process.h

40 lines
772 B

//
// 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