summaryrefslogtreecommitdiffabout
path: root/microkde/kglobalsettings.h
authorzautrix <zautrix>2004-06-26 19:01:18 (UTC)
committer zautrix <zautrix>2004-06-26 19:01:18 (UTC)
commitb9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff)
tree2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /microkde/kglobalsettings.h
downloadkdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2
Initial revision
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