#ifndef PROCESS_H #define PROCESS_H #include #include #include class Process; class Process : public TQObject { Q_OBJECT TQ_OBJECT public: Process(); ~Process(); TQString getBuffer(); int exitStatus(); bool normalExit(); void setCommand(TQString command); void start(bool block=true); protected: KProcess* _process; TQString _buffer; protected slots: void slotProcessOutput(KProcess* process, char* buffer, int buflen); }; #endif