summaryrefslogtreecommitdiffstats
path: root/kio/tests/kdcopcheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'kio/tests/kdcopcheck.h')
-rw-r--r--kio/tests/kdcopcheck.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/kio/tests/kdcopcheck.h b/kio/tests/kdcopcheck.h
new file mode 100644
index 000000000..5410bbec2
--- /dev/null
+++ b/kio/tests/kdcopcheck.h
@@ -0,0 +1,28 @@
+#ifndef _BLA_H_
+#define _BLA_H_
+
+#include <kprocess.h>
+#include <qstring.h>
+#include <qobject.h>
+
+class TestService : public QObject
+{
+ Q_OBJECT
+public:
+ TestService(const QString &exec);
+
+ int exec();
+
+public slots:
+ void newApp(const QCString &appId);
+ void endApp(const QCString &appId);
+ void appExit();
+ void stop();
+
+protected:
+ int result;
+ QString m_exec;
+ KProcess proc;
+};
+
+#endif