summaryrefslogtreecommitdiffabout
path: root/microkde/kglobalsettings.h
blob: 4e4d87ced01b490d978bf4b0b11e308252d1553f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#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 generalMaxFont();
    static QFont toolBarFont();
    
    static QColor mAlternate;
    static QColor toolBarHighlightColor();
    static QColor alternateBackgroundColor();
    static void  setAlternateBackgroundColor(QColor);
    static QRect desktopGeometry( QWidget * );
    static QString timeTrackerDir();
    static QString backupDataDir();
    
    /**
     * 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