summaryrefslogtreecommitdiffabout
path: root/microkde/kglobalsettings.h
Side-by-side diff
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 @@
+#ifndef MICROKDE_KGLOBALSETTINGS_H
+#define MICROKDE_KGLOBALSETTINGS_H
+
+#include <qfont.h>
+#include <qrect.h>
+
+
+#define KDE_DEFAULT_SINGLECLICK true
+
+
+class KGlobalSettings
+{
+ public:
+ static QFont generalFont();
+ static QFont toolBarFont();
+
+ static QColor toolBarHighlightColor();
+ static QRect desktopGeometry( QWidget * );
+
+ /**
+ * Returns whether KDE runs in single (default) or double click
+ * mode.
+ * see http://developer.kde.org/documentation/standards/kde/style/mouse/index.html
+ * @return true if single click mode, or false if double click mode.
+ **/
+ static bool singleClick();
+
+};
+
+#endif