.TH "KGlobalSettings" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KGlobalSettings \- Access the \fBKDE\fP global configuration.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kglobalsettings.h>\fP
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBTearOffHandle\fP { \fBDisable\fP =  0, \fBApplicationLevel\fP, \fBEnable\fP }"
.br
.ti -1c
.RI "enum \fBCompletion\fP { \fBCompletionNone\fP = 1, \fBCompletionAuto\fP, \fBCompletionMan\fP, \fBCompletionShell\fP, \fBCompletionPopup\fP, \fBCompletionPopupAuto\fP }"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static int \fBdndEventDelay\fP ()"
.br
.ti -1c
.RI "static bool \fBsingleClick\fP ()"
.br
.ti -1c
.RI "static \fBTearOffHandle\fP \fBinsertTearOffHandle\fP ()"
.br
.ti -1c
.RI "static bool \fBchangeCursorOverIcon\fP ()"
.br
.ti -1c
.RI "static bool \fBvisualActivate\fP ()"
.br
.ti -1c
.RI "static unsigned int \fBvisualActivateSpeed\fP ()"
.br
.ti -1c
.RI "static int \fBautoSelectDelay\fP ()"
.br
.ti -1c
.RI "static int \fBcontextMenuKey\fP ()"
.br
.ti -1c
.RI "static bool \fBshowContextMenusOnPress\fP ()"
.br
.ti -1c
.RI "static \fBCompletion\fP \fBcompletionMode\fP ()"
.br
.ti -1c
.RI "static \fBKMouseSettings\fP & \fBmouseSettings\fP ()"
.br
.ti -1c
.RI "static \fBQString\fP \fBdesktopPath\fP ()"
.br
.ti -1c
.RI "static \fBQString\fP \fBautostartPath\fP ()"
.br
.ti -1c
.RI "static \fBQString\fP \fBtrashPath\fP ()"
.br
.ti -1c
.RI "static \fBQString\fP \fBdocumentPath\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBtoolBarHighlightColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBinactiveTitleColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBinactiveTextColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBactiveTitleColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBactiveTextColor\fP ()"
.br
.ti -1c
.RI "static int \fBcontrast\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBbuttonBackground\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBbuttonTextColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBbaseColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBtextColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBlinkColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBvisitedLinkColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBhighlightedTextColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBhighlightColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBalternateBackgroundColor\fP ()"
.br
.ti -1c
.RI "static \fBQColor\fP \fBcalculateAlternateBackgroundColor\fP (const \fBQColor\fP &base)"
.br
.ti -1c
.RI "static bool \fBshadeSortColumn\fP ()"
.br
.ti -1c
.RI "static \fBQFont\fP \fBgeneralFont\fP ()"
.br
.ti -1c
.RI "static \fBQFont\fP \fBfixedFont\fP ()"
.br
.ti -1c
.RI "static \fBQFont\fP \fBtoolBarFont\fP ()"
.br
.ti -1c
.RI "static \fBQFont\fP \fBmenuFont\fP ()"
.br
.ti -1c
.RI "static \fBQFont\fP \fBwindowTitleFont\fP ()"
.br
.ti -1c
.RI "static \fBQFont\fP \fBtaskbarFont\fP ()"
.br
.ti -1c
.RI "static \fBQFont\fP \fBlargeFont\fP (const \fBQString\fP &text=QString::null)"
.br
.ti -1c
.RI "static bool \fBisMultiHead\fP ()"
.br
.ti -1c
.RI "static bool \fBwheelMouseZooms\fP ()"
.br
.ti -1c
.RI "static \fBQRect\fP \fBsplashScreenDesktopGeometry\fP ()"
.br
.ti -1c
.RI "static \fBQRect\fP \fBdesktopGeometry\fP (const \fBQPoint\fP &point)"
.br
.ti -1c
.RI "static \fBQRect\fP \fBdesktopGeometry\fP (\fBQWidget\fP *w)"
.br
.ti -1c
.RI "static bool \fBshowIconsOnPushButtons\fP ()"
.br
.ti -1c
.RI "static bool \fBshowFilePreview\fP (const \fBKURL\fP &)"
.br
.ti -1c
.RI "static bool \fBopaqueResize\fP ()"
.br
.ti -1c
.RI "static int \fBbuttonLayout\fP ()"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBKApplication\fP"
.br
.in -1c
.SS "Classes"

.in +1c
.ti -1c
.RI "struct \fBKMouseSettings\fP"
.br
.RI "\fIDescribes the mouse settings. \fP"
.in -1c
.SH "Detailed Description"
.PP 
Access the \fBKDE\fP global configuration. 

\fBAuthor:\fP
.RS 4
David Faure <faure@kde.org> 
.RE
.PP

.PP
Definition at line 46 of file kglobalsettings.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBKGlobalSettings::TearOffHandle\fP"
.PP
This enum describes the return type for \fBinsertTearOffHandle()\fP whether to insert a handle or not. 
.PP
Applications who independently want to use handles in their popup menus should test for Application level before calling the appropriate function in \fBKPopupMenu\fP. 
.PP
\fBSince:\fP
.RS 4
3,1 
.RE
.PP

.PP
\fBEnumeration values: \fP
.in +1c
.TP
\fB\fIDisable \fP\fP
disable tear-off handles 
.TP
\fB\fIApplicationLevel \fP\fP
enable on application level 
.TP
\fB\fIEnable \fP\fP
enable tear-off handles 
.PP
Definition at line 109 of file kglobalsettings.h.
.SS "enum \fBKGlobalSettings::Completion\fP"
.PP
This enum describes the completion mode used for by the \fBKCompletion\fP class. 
.PP
See \fCthe styleguide\fP. 
.PP
\fBEnumeration values: \fP
.in +1c
.TP
\fB\fICompletionNone \fP\fP
No completion is used. 
.TP
\fB\fICompletionAuto \fP\fP
Text is automatically filled in whenever possible. 
.TP
\fB\fICompletionMan \fP\fP
Same as automatic except shortest match is used for completion. 
.TP
\fB\fICompletionShell \fP\fP
Complete text much in the same way as a typical *nix shell would. 
.TP
\fB\fICompletionPopup \fP\fP
Lists all possible matches in a popup list-box to choose from. 
.TP
\fB\fICompletionPopupAuto \fP\fP
Lists all possible matches in a popup list-box to choose from, and automatically fill the result whenever possible. 
.PP
Definition at line 170 of file kglobalsettings.h.
.SH "Member Function Documentation"
.PP 
.SS "int KGlobalSettings::dndEventDelay ()\fC [static]\fP"
.PP
Returns a threshold in pixels for drag & drop operations. 
.PP
As long as the mouse movement has not exceeded this number of pixels in either X or Y direction no drag operation may be started. This prevents spurious drags when the user intended to click on something but moved the mouse a bit while doing so.
.PP
For this to work you must save the position of the mouse (oldPos) in the \fBQWidget::mousePressEvent()\fP. When the position of the mouse (newPos) in a \fBQWidget::mouseMoveEvent()\fP exceeds this threshold you may start a drag which should originate from oldPos.
.PP
Example code: 
.PP
.nf
 void KColorCells::mousePressEvent( QMouseEvent *e )
 {
    mOldPos = e->pos();
 }

 void KColorCells::mouseMoveEvent( QMouseEvent *e )
 {
    if( !(e->state() && LeftButton)) return;

    int delay = KGlobalSettings::dndEventDelay();
    QPoint newPos = e->pos();
    if(newPos.x() > mOldPos.x()+delay || newPos.x() < mOldPos.x()-delay ||
       newPos.y() > mOldPos.y()+delay || newPos.y() < mOldPos.y()-delay)
    {
       // Drag color object
       int cell = posToCell(mOldPos); // Find color at mOldPos
       if ((cell != -1) && colors[cell].isValid())
       {
          KColorDrag *d = KColorDrag::makeDrag( colors[cell], this);
          d->dragCopy();
       }
    }
 }

.fi
.PP
 
.PP
\fBReturns:\fP
.RS 4
the threshold for drag & drop in pixels 
.RE
.PP

.PP
Definition at line 79 of file kglobalsettings.cpp.
.PP
References KConfigBase::readNumEntry().
.SS "bool KGlobalSettings::singleClick ()\fC [static]\fP"
.PP
Returns whether \fBKDE\fP runs in single (default) or double click mode. 
.PP
see http://developer.kde.org/documentation/standards/kde/style/mouse/index.html 
.PP
\fBReturns:\fP
.RS 4
true if single click mode, or false if double click mode. 
.RE
.PP

.PP
Definition at line 85 of file kglobalsettings.cpp.
.PP
References KConfigBase::readBoolEntry().
.SS "\fBKGlobalSettings::TearOffHandle\fP KGlobalSettings::insertTearOffHandle ()\fC [static]\fP"
.PP
Returns whether tear-off handles are inserted in KPopupMenus. 
.PP
\fBReturns:\fP
.RS 4
whether tear-off handles are inserted in KPopupMenus. 
.RE
.PP
\fBSince:\fP
.RS 4
3.1 
.RE
.PP

.PP
Definition at line 91 of file kglobalsettings.cpp.
.PP
References Disable, KConfigBase::readBoolEntry(), and KConfigBase::readNumEntry().
.SS "bool KGlobalSettings::changeCursorOverIcon ()\fC [static]\fP"
.PP
Checks whether the cursor changes over icons. 
.PP
\fBReturns:\fP
.RS 4
the \fBKDE\fP setting for 'change cursor over icon' 
.RE
.PP

.PP
Definition at line 101 of file kglobalsettings.cpp.
.PP
References KConfigBase::readBoolEntry().
.SS "bool KGlobalSettings::visualActivate ()\fC [static]\fP"
.PP
Checks whether to show feedback when in item (specifically an icon) is activated. 
.PP
\fBReturns:\fP
.RS 4
whether to show some feedback when an item is activated. 
.RE
.PP

.PP
Definition at line 107 of file kglobalsettings.cpp.
.PP
References KConfigBase::readBoolEntry().
.SS "unsigned int KGlobalSettings::visualActivateSpeed ()\fC [static]\fP"
.PP
Returns the speed of the visual activation feedback. 
.PP
\fBReturns:\fP
.RS 4
the speed of the visual activation feedback, between 0 for minimum and 100 for maximum speed 
.RE
.PP

.PP
Definition at line 113 of file kglobalsettings.cpp.
.PP
References KConfigBase::readNumEntry().
.PP
Referenced by KIconEffect::visualActivate().
.SS "int KGlobalSettings::autoSelectDelay ()\fC [static]\fP"
.PP
Returns the \fBKDE\fP setting for the auto-select option. 
.PP
\fBReturns:\fP
.RS 4
the auto-select delay or -1 if auto-select is disabled. 
.RE
.PP

.PP
Definition at line 125 of file kglobalsettings.cpp.
.PP
References KConfigBase::readNumEntry().
.SS "int KGlobalSettings::contextMenuKey ()\fC [static]\fP"
.PP
Returns the \fBKDE\fP setting for the shortcut key to open context menus. 
.PP
\fBReturns:\fP
.RS 4
the key that pops up context menus. 
.RE
.PP

.PP
Definition at line 150 of file kglobalsettings.cpp.
.PP
References KConfigBase::readEntry().
.SS "bool KGlobalSettings::showContextMenusOnPress ()\fC [static]\fP"
.PP
Returns the \fBKDE\fP setting for context menus. 
.PP
\fBReturns:\fP
.RS 4
whether context menus should be shown on button press or button release (click). 
.RE
.PP

.PP
Definition at line 144 of file kglobalsettings.cpp.
.PP
References KConfigBase::readBoolEntry().
.SS "\fBKGlobalSettings::Completion\fP KGlobalSettings::completionMode ()\fC [static]\fP"
.PP
Returns the preferred completion mode setting. 
.PP
\fBReturns:\fP
.RS 4
Completion. Default is \fCCompletionPopup\fP. 
.RE
.PP

.PP
Definition at line 131 of file kglobalsettings.cpp.
.PP
References CompletionNone, CompletionPopup, CompletionPopupAuto, and KConfigBase::readNumEntry().
.PP
Referenced by KCompletion::KCompletion(), and KCompletionBase::KCompletionBase().
.SS "\fBKGlobalSettings::KMouseSettings\fP & KGlobalSettings::mouseSettings ()\fC [static]\fP"
.PP
This returns the current mouse settings. 
.PP
On Windows, settings are retrieved from the system. 
.PP
\fBReturns:\fP
.RS 4
the current mouse settings 
.RE
.PP

.PP
Definition at line 564 of file kglobalsettings.cpp.
.PP
References KGlobalSettings::KMouseSettings::handed, and KConfigBase::readEntry().
.SS "static \fBQString\fP KGlobalSettings::desktopPath ()\fC [inline, static]\fP"
.PP
The path to the desktop directory of the current user. 
.PP
\fBReturns:\fP
.RS 4
the user's desktop directory 
.RE
.PP

.PP
Definition at line 225 of file kglobalsettings.h.
.SS "static \fBQString\fP KGlobalSettings::autostartPath ()\fC [inline, static]\fP"
.PP
The path to the autostart directory of the current user. 
.PP
\fBReturns:\fP
.RS 4
the path of the autostart directory 
.RE
.PP

.PP
Definition at line 231 of file kglobalsettings.h.
.SS "static \fBQString\fP KGlobalSettings::trashPath ()\fC [inline, static]\fP"
.PP
DEPRECATED (starting from kde-3.4). 
.PP
This isn't where the trash contents is, anymore. Use \fBKIO::trash()\fP to trash files, 'trash:/' to list the trash contents. 
.PP
Definition at line 238 of file kglobalsettings.h.
.SS "static \fBQString\fP KGlobalSettings::documentPath ()\fC [inline, static]\fP"
.PP
The path where documents are stored of the current user. 
.PP
\fBReturns:\fP
.RS 4
the path of the document directory 
.RE
.PP

.PP
Definition at line 246 of file kglobalsettings.h.
.SS "\fBQColor\fP KGlobalSettings::toolBarHighlightColor ()\fC [static]\fP"
.PP
The default color to use when highlighting toolbar buttons. 
.PP
\fBReturns:\fP
.RS 4
the toolbar highlight color 
.RE
.PP

.PP
Definition at line 157 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::inactiveTitleColor ()\fC [static]\fP"
.PP
The default color to use for inactive titles. 
.PP
\fBReturns:\fP
.RS 4
the inactive title color 
.RE
.PP

.PP
Definition at line 164 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::inactiveTextColor ()\fC [static]\fP"
.PP
The default color to use for inactive texts. 
.PP
\fBReturns:\fP
.RS 4
the inactive text color 
.RE
.PP

.PP
Definition at line 176 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::activeTitleColor ()\fC [static]\fP"
.PP
The default color to use for active titles. 
.PP
\fBReturns:\fP
.RS 4
the active title color 
.RE
.PP

.PP
Definition at line 188 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::activeTextColor ()\fC [static]\fP"
.PP
The default color to use for active texts. 
.PP
\fBReturns:\fP
.RS 4
the active text color 
.RE
.PP

.PP
Definition at line 201 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "int KGlobalSettings::contrast ()\fC [static]\fP"
.PP
Returns the contrast for borders. 
.PP
\fBReturns:\fP
.RS 4
the contrast (between 0 for minimum and 10 for maximum contrast) 
.RE
.PP

.PP
Definition at line 211 of file kglobalsettings.cpp.
.PP
References KConfigBase::readNumEntry().
.SS "\fBQColor\fP KGlobalSettings::buttonBackground ()\fC [static]\fP"
.PP
Returns the button background color. 
.PP
\fBReturns:\fP
.RS 4
the button background color 
.RE
.PP
\fBSince:\fP
.RS 4
3.4 
.RE
.PP

.PP
Definition at line 217 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::buttonTextColor ()\fC [static]\fP"
.PP
Returns the button text color. 
.PP
\fBReturns:\fP
.RS 4
the button text color 
.RE
.PP
\fBSince:\fP
.RS 4
3.4 
.RE
.PP

.PP
Definition at line 225 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::baseColor ()\fC [static]\fP"
.PP
Returns the default base (background) color. 
.PP
\fBReturns:\fP
.RS 4
the default base (background) color 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBQColorGroup::base()\fP 
.RE
.PP

.PP
Definition at line 234 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.PP
Referenced by alternateBackgroundColor().
.SS "\fBQColor\fP KGlobalSettings::textColor ()\fC [static]\fP"
.PP
Returns the default text color. 
.PP
\fBReturns:\fP
.RS 4
the default text color 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBQColorGroup::text()\fP 
.RE
.PP

.PP
Definition at line 243 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::linkColor ()\fC [static]\fP"
.PP
Returns the default link color. 
.PP
\fBReturns:\fP
.RS 4
the default link color 
.RE
.PP

.PP
Definition at line 301 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::visitedLinkColor ()\fC [static]\fP"
.PP
Returns the default color for visited links. 
.PP
\fBReturns:\fP
.RS 4
the default color for visited links 
.RE
.PP

.PP
Definition at line 310 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::highlightedTextColor ()\fC [static]\fP"
.PP
Returns the default color for highlighted text. 
.PP
\fBReturns:\fP
.RS 4
the default color for highlighted text 
.RE
.PP
\fBSee also:\fP
.RS 4
QColorGroup::hightlightedText() 
.RE
.PP

.PP
Definition at line 252 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::highlightColor ()\fC [static]\fP"
.PP
Returns the default color for text highlights. 
.PP
\fBReturns:\fP
.RS 4
the default color for text highlights 
.RE
.PP
\fBSee also:\fP
.RS 4
QColorGroup::hightlight() 
.RE
.PP

.PP
Definition at line 261 of file kglobalsettings.cpp.
.PP
References KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::alternateBackgroundColor ()\fC [static]\fP"
.PP
Returns the alternate background color used by \fBKListView\fP with \fBKListViewItem\fP. 
.PP
Any other list that uses alternating background colors should use this too, to obey to the user's preferences. Returns an invalid color if the user doesn't want alternating backgrounds. 
.PP
\fBReturns:\fP
.RS 4
the alternate background color 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBcalculateAlternateBackgroundColor\fP 
.RE
.PP

.PP
Definition at line 270 of file kglobalsettings.cpp.
.PP
References baseColor(), calculateAlternateBackgroundColor(), and KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::calculateAlternateBackgroundColor (const \fBQColor\fP & base)\fC [static]\fP"
.PP
Calculates a color based on \fCbase\fP to be used as alternating color for e.g. 
.PP
listviews. 
.PP
\fBParameters:\fP
.RS 4
\fIbase\fP the base for the calculation 
.RE
.PP
\fBReturns:\fP
.RS 4
the calculated color 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBalternateBackgroundColor\fP 
.RE
.PP

.PP
Definition at line 278 of file kglobalsettings.cpp.
.PP
References QColor::dark(), and QColor::light().
.PP
Referenced by alternateBackgroundColor().
.SS "bool KGlobalSettings::shadeSortColumn ()\fC [static]\fP"
.PP
Returns if the sorted column in a \fBKListView\fP shall be drawn with a shaded background color. 
.PP
\fBReturns:\fP
.RS 4
true if the sorted column shall be shaded 
.RE
.PP
\fBSince:\fP
.RS 4
3.4 
.RE
.PP

.PP
Definition at line 295 of file kglobalsettings.cpp.
.PP
References KConfigBase::readBoolEntry().
.SS "\fBQFont\fP KGlobalSettings::generalFont ()\fC [static]\fP"
.PP
Returns the default general font. 
.PP
\fBReturns:\fP
.RS 4
the default general font. 
.RE
.PP

.PP
Definition at line 318 of file kglobalsettings.cpp.
.PP
References KConfigBase::readFontEntry(), QFont::setPointSize(), and QFont::setStyleHint().
.PP
Referenced by largeFont().
.SS "\fBQFont\fP KGlobalSettings::fixedFont ()\fC [static]\fP"
.PP
Returns the default fixed font. 
.PP
\fBReturns:\fP
.RS 4
the default fixed font. 
.RE
.PP

.PP
Definition at line 334 of file kglobalsettings.cpp.
.PP
References KConfigBase::readFontEntry(), QFont::setPointSize(), and QFont::setStyleHint().
.SS "\fBQFont\fP KGlobalSettings::toolBarFont ()\fC [static]\fP"
.PP
Returns the default toolbar font. 
.PP
\fBReturns:\fP
.RS 4
the default toolbar font. 
.RE
.PP

.PP
Definition at line 350 of file kglobalsettings.cpp.
.PP
References KConfigBase::readFontEntry(), QFont::setPointSize(), and QFont::setStyleHint().
.SS "\fBQFont\fP KGlobalSettings::menuFont ()\fC [static]\fP"
.PP
Returns the default menu font. 
.PP
\fBReturns:\fP
.RS 4
the default menu font. 
.RE
.PP

.PP
Definition at line 366 of file kglobalsettings.cpp.
.PP
References KConfigBase::readFontEntry(), QFont::setPointSize(), and QFont::setStyleHint().
.SS "\fBQFont\fP KGlobalSettings::windowTitleFont ()\fC [static]\fP"
.PP
Returns the default window title font. 
.PP
\fBReturns:\fP
.RS 4
the default window title font. 
.RE
.PP

.PP
Definition at line 382 of file kglobalsettings.cpp.
.PP
References KConfigBase::readFontEntry(), QFont::setPointSize(), and QFont::setStyleHint().
.SS "\fBQFont\fP KGlobalSettings::taskbarFont ()\fC [static]\fP"
.PP
Returns the default taskbar font. 
.PP
\fBReturns:\fP
.RS 4
the default taskbar font. 
.RE
.PP

.PP
Definition at line 398 of file kglobalsettings.cpp.
.PP
References KConfigBase::readFontEntry(), QFont::setPointSize(), and QFont::setStyleHint().
.SS "\fBQFont\fP KGlobalSettings::largeFont (const \fBQString\fP & text = \fCQString::null\fP)\fC [static]\fP"
.PP
Returns a font of approx. 
.PP
48 pt. capable of showing \fCtext\fP. 
.PP
\fBParameters:\fP
.RS 4
\fItext\fP the text to test 
.RE
.PP
\fBReturns:\fP
.RS 4
the font that is capable to show the text with 48 pt 
.RE
.PP
\fBSince:\fP
.RS 4
3.1 
.RE
.PP

.PP
Definition at line 415 of file kglobalsettings.cpp.
.PP
References QFontDatabase::families(), QFont::family(), generalFont(), QFontMetrics::height(), QFontMetrics::inFont(), QFontDatabase::isFixedPitch(), QFontDatabase::isSmoothlyScalable(), QFont::setPixelSize(), and QFont::setPointSize().
.SS "bool KGlobalSettings::isMultiHead ()\fC [static]\fP"
.PP
Returns if the user specified multihead. 
.PP
In case the display has multiple screens, the return value of this function specifies if the user wants \fBKDE\fP to run on all of them or just on the primary On Windows, settings are retrieved from the system. 
.PP
\fBReturns:\fP
.RS 4
true if the user chose multi head 
.RE
.PP

.PP
Definition at line 622 of file kglobalsettings.cpp.
.PP
References QCString::isEmpty(), and QCString::lower().
.SS "bool KGlobalSettings::wheelMouseZooms ()\fC [static]\fP"
.PP
Typically, \fBQScrollView\fP derived classes can be scrolled fast by holding down the Ctrl-button during wheel-scrolling. 
.PP
But \fBQTextEdit\fP and derived classes perform zooming instead of fast scrolling.
.PP
This value determines whether the user wants to zoom or scroll fast with Ctrl-wheelscroll. 
.PP
\fBReturns:\fP
.RS 4
true if the user wishes to zoom with the mouse wheel, false for scrolling 
.RE
.PP
\fBSince:\fP
.RS 4
3.1 
.RE
.PP

.PP
Definition at line 635 of file kglobalsettings.cpp.
.PP
References KConfigBase::readBoolEntry().
.SS "\fBQRect\fP KGlobalSettings::splashScreenDesktopGeometry ()\fC [static]\fP"
.PP
This function returns the desktop geometry for an application's splash screen. 
.PP
It takes into account the user's display settings (number of screens, Xinerama, etc), and the user's preferences (if \fBKDE\fP should be Xinerama aware).
.PP
\fBReturns:\fP
.RS 4
the geometry to use for the desktop. Note that it might not start at (0,0). 
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 641 of file kglobalsettings.cpp.
.PP
References QApplication::desktop(), QDesktopWidget::isVirtualDesktop(), KConfigBase::readBoolEntry(), KConfigBase::readNumEntry(), QDesktopWidget::screenGeometry(), and QDesktopWidget::screenNumber().
.SS "\fBQRect\fP KGlobalSettings::desktopGeometry (const \fBQPoint\fP & point)\fC [static]\fP"
.PP
This function returns the desktop geometry for an application that needs to set the geometry of a widget on the screen manually. 
.PP
It takes into account the user's display settings (number of screens, Xinerama, etc), and the user's preferences (if \fBKDE\fP should be Xinerama aware).
.PP
Note that this can break in multi-head (not Xinerama) mode because this point could be on multiple screens. Use with care.
.PP
\fBParameters:\fP
.RS 4
\fIpoint\fP a reference point for the widget, for instance one that the widget should be adjacent or on top of.
.RE
.PP
\fBReturns:\fP
.RS 4
the geometry to use for the desktop. Note that it might not start at (0,0). 
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 660 of file kglobalsettings.cpp.
.PP
References QApplication::desktop(), QDesktopWidget::isVirtualDesktop(), KConfigBase::readBoolEntry(), QDesktopWidget::screenGeometry(), and QDesktopWidget::screenNumber().
.SS "\fBQRect\fP KGlobalSettings::desktopGeometry (\fBQWidget\fP * w)\fC [static]\fP"
.PP
This function returns the desktop geometry for an application that needs to set the geometry of a widget on the screen manually. 
.PP
It takes into account the user's display settings (number of screens, Xinerama, etc), and the user's preferences (if \fBKDE\fP should be Xinerama aware).
.PP
\fBParameters:\fP
.RS 4
\fIw\fP the widget in question. This is used to determine which screen to use in Xinerama or multi-head mode.
.RE
.PP
\fBReturns:\fP
.RS 4
the geometry to use for the desktop. Note that it might not start at (0,0). 
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 677 of file kglobalsettings.cpp.
.PP
References QApplication::desktop(), QDesktopWidget::isVirtualDesktop(), KConfigBase::readBoolEntry(), QDesktopWidget::screenGeometry(), and QDesktopWidget::screenNumber().
.SS "bool KGlobalSettings::showIconsOnPushButtons ()\fC [static]\fP"
.PP
This function determines if the user wishes to see icons on the push buttons. 
.PP
\fBReturns:\fP
.RS 4
Returns true if user wants to show icons.
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 696 of file kglobalsettings.cpp.
.PP
References KConfigBase::readBoolEntry().
.SS "bool KGlobalSettings::showFilePreview (const \fBKURL\fP &)\fC [static]\fP"
.PP
This function determines if the user wishes to see previews for the selected url. 
.PP
\fBReturns:\fP
.RS 4
Returns true if user wants to show previews.
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 703 of file kglobalsettings.cpp.
.PP
References KConfigBase::readBoolEntry(), and KProtocolInfo::showFilePreview().
.SS "bool KGlobalSettings::opaqueResize ()\fC [static]\fP"
.PP
Whether the user wishes to use opaque resizing. 
.PP
Primarily intended for \fBQSplitter::setOpaqueResize()\fP
.PP
\fBReturns:\fP
.RS 4
Returns true if user wants to use opaque resizing.
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 711 of file kglobalsettings.cpp.
.PP
References KConfigBase::readBoolEntry().
.SS "int KGlobalSettings::buttonLayout ()\fC [static]\fP"
.PP
The layout scheme to use for dialog buttons. 
.PP
\fBReturns:\fP
.RS 4
Returns the number of the scheme to use. 
.RE
.PP
\fBSee also:\fP
.RS 4
KDialogBase::setButtonStyle 
.RE
.PP
\fBSince:\fP
.RS 4
3.3 
.RE
.PP

.PP
Definition at line 718 of file kglobalsettings.cpp.
.PP
References KConfigBase::readNumEntry().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
