summaryrefslogtreecommitdiffabout
path: root/microkde/kglobalsettings.h
blob: e2620b3f8585faa59f18efc0b79236ea675144ff (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
#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 toolBarHighlightColor();
    static QColor alternateBackgroundColor();
    static QRect desktopGeometry( QWidget * );
    static QString timeTrackerDir();
    
    /**
     * 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