summaryrefslogtreecommitdiffabout
path: root/microkde/kglobalsettings.h
Unidiff
Diffstat (limited to 'microkde/kglobalsettings.h') (more/less context) (show whitespace changes)
-rw-r--r--microkde/kglobalsettings.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/microkde/kglobalsettings.h b/microkde/kglobalsettings.h
new file mode 100644
index 0000000..7df8012
--- a/dev/null
+++ b/microkde/kglobalsettings.h
@@ -0,0 +1,30 @@
1#ifndef MICROKDE_KGLOBALSETTINGS_H
2#define MICROKDE_KGLOBALSETTINGS_H
3
4#include <qfont.h>
5#include <qrect.h>
6
7
8#define KDE_DEFAULT_SINGLECLICK true
9
10
11class KGlobalSettings
12{
13 public:
14 static QFont generalFont();
15 static QFont toolBarFont();
16
17 static QColor toolBarHighlightColor();
18 static QRect desktopGeometry( QWidget * );
19
20 /**
21 * Returns whether KDE runs in single (default) or double click
22 * mode.
23 * see http://developer.kde.org/documentation/standards/kde/style/mouse/index.html
24 * @return true if single click mode, or false if double click mode.
25 **/
26 static bool singleClick();
27
28};
29
30#endif