summaryrefslogtreecommitdiffstats
path: root/kdecore/tests/kipctest.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/tests/kipctest.h')
-rw-r--r--kdecore/tests/kipctest.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/kdecore/tests/kipctest.h b/kdecore/tests/kipctest.h
new file mode 100644
index 000000000..5a9a18467
--- /dev/null
+++ b/kdecore/tests/kipctest.h
@@ -0,0 +1,21 @@
+#ifndef __blah__h__
+#define __blah__h__
+
+#include <qobject.h>
+
+class MyObject: public QObject
+{
+ Q_OBJECT
+public:
+ MyObject();
+
+public slots:
+ void slotPaletteChanged() { printf("SIGNAL: Palette changed\n"); }
+ void slotStyleChanged() { printf("SIGNAL: Style changed\n"); }
+ void slotFontChanged() { printf("SIGNAL: Font changed\n"); }
+ void slotBackgroundChanged(int i) { printf("SIGNAL: Background %d changed\n", i); }
+ void slotAppearanceChanged() { printf("SIGNAL: Appearance changed\n"); }
+ void slotMessage(int id, int arg) { printf("SIGNAL: user message: %d,%d\n", id, arg); }
+};
+
+#endif