You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
621 B
22 lines
621 B
15 years ago
|
#ifndef __blah__h__
|
||
|
#define __blah__h__
|
||
|
|
||
14 years ago
|
#include <tqobject.h>
|
||
15 years ago
|
|
||
14 years ago
|
class MyObject: public TQObject
|
||
15 years ago
|
{
|
||
|
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
|