summaryrefslogtreecommitdiffabout
path: root/microkde/kglobalsettings.h
blob: 7df8012dca532416659a99873851113b9d7c0be4 (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
#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