diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | c90c389a8a8d9d8661e9772ec4144c5cf2039f23 (patch) | |
tree | 6d8391395bce9eaea4ad78958617edb20c6a7573 /kolf/config.h | |
download | tdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.tar.gz tdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 |