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 | 37333bf25ad9a4c538250f5af2f9f1d666362883 (patch) | |
tree | c45e8df5b9efbffe07eb3d9340df7811c7e16943 /ksysv/ksvlookandfeel.h | |
download | tdeadmin-37333bf25ad9a4c538250f5af2f9f1d666362883.tar.gz tdeadmin-37333bf25ad9a4c538250f5af2f9f1d666362883.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/kdeadmin@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysv/ksvlookandfeel.h')
-rw-r--r-- | ksysv/ksvlookandfeel.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ksysv/ksvlookandfeel.h b/ksysv/ksvlookandfeel.h new file mode 100644 index 0000000..5e59a91 --- /dev/null +++ b/ksysv/ksvlookandfeel.h @@ -0,0 +1,39 @@ +/** + * Released under the GNU General Public License, version 2. + * + * Copyright (c) 2000 Peter Putzer <putzer@kde.org> + */ + +#ifndef KSVLOOKANDFEEL_H +#define KSVLOOKANDFEEL_H +#include "lookandfeelconfig.h" + +#include <qfont.h> +class KSVLookAndFeel : public LookAndFeel +{ + Q_OBJECT + +public: + KSVLookAndFeel( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + ~KSVLookAndFeel(); + + inline const QFont& serviceFont() const { return mServiceFont; } + inline const QFont& numberFont() const { return mNumberFont; } + + void setServiceFont (const QFont& font); + void setNumberFont (const QFont& font); + +signals: + void configChanged(); + +protected slots: + void chooseServiceFont(); + void chooseNumberFont(); + void slotChanged(); + +private: + QFont mServiceFont; + QFont mNumberFont; +}; + +#endif // KSVLOOKANDFEEL_H |