mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
28 lines
415 B
C
28 lines
415 B
C
![]() |
#ifndef _BLA_H_
|
||
|
#define _BLA_H_
|
||
|
|
||
|
#include <QtCore/QString>
|
||
|
#include <QtCore/QObject>
|
||
|
|
||
|
class TestService : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
TestService(const QString &exec);
|
||
|
|
||
|
int exec();
|
||
|
|
||
|
public Q_SLOTS:
|
||
|
void newApp(const QByteArray &appId);
|
||
|
void endApp(const QByteArray &appId);
|
||
|
void appExit();
|
||
|
void stop();
|
||
|
|
||
|
protected:
|
||
|
int result;
|
||
|
QString m_exec;
|
||
|
KProcess proc;
|
||
|
};
|
||
|
|
||
|
#endif
|