summaryrefslogtreecommitdiffabout
path: root/microkde/kglobalsettings.h
blob: 977e5b683f14357ad6a4b2931866fd54fff31c01 (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
37
#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();
    static QString calendarDir();
    
    /**
     * 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