diff options
Diffstat (limited to 'kolf/config.h')
-rw-r--r-- | kolf/config.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/kolf/config.h b/kolf/config.h new file mode 100644 index 00000000..07c68938 --- /dev/null +++ b/kolf/config.h @@ -0,0 +1,42 @@ +#ifndef KOLF_CONFIG_H +#define KOLF_CONFIG_H + +#include <qframe.h> + +class Config : public QFrame +{ + Q_OBJECT + +public: + Config(QWidget *parent, const char *name = 0); + void ctorDone(); + +signals: + void modified(); + +protected: + int spacingHint(); + int marginHint(); + bool startedUp; + void changed(); +}; + +// this is easy to use to show a message +class MessageConfig : public Config +{ + Q_OBJECT + +public: + MessageConfig(QString text, QWidget *parent, const char *name = 0); +}; + +// internal +class DefaultConfig : public MessageConfig +{ + Q_OBJECT + +public: + DefaultConfig(QWidget *parent, const char *name = 0); +}; + +#endif |