summaryrefslogtreecommitdiffstats
path: root/kdecore/tests/kipctest.h
blob: a8abd2e76ef4dcb15c5695210dd90d48a907a5ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __blah__h__
#define __blah__h__

#include <tqobject.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