mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
27 lines
415 B
C++
27 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;
|
|
QProcess proc;
|
|
};
|
|
|
|
#endif
|