.TH "KGlobalSettings" 3 "28 Jan 2004" "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
.RI "\fIThis enum describes the return type for \fBinsertTearOffHandle()\fP wether to insert a handle or not. \fP"
.ti -1c
.RI "enum \fBCompletion\fP { \fBCompletionNone\fP = 1, \fBCompletionAuto\fP, \fBCompletionMan\fP, \fBCompletionShell\fP, \fBCompletionPopup\fP, \fBCompletionPopupAuto\fP }"
.br
.RI "\fIThis enum describes the completion mode used for by the \fBKCompletion\fP class. \fP"
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "int \fBdndEventDelay\fP ()"
.br
.RI "\fIReturns a threshold in pixels for drag & drop operations. \fP"
.ti -1c
.RI "bool \fBsingleClick\fP ()"
.br
.RI "\fIReturns whether \fBKDE\fP runs in single (default) or double click mode. \fP"
.ti -1c
.RI "\fBTearOffHandle\fP \fBinsertTearOffHandle\fP ()"
.br
.RI "\fIReturns whether tear-off handles are inserted in \fBKPopupMenus\fP. \fP"
.ti -1c
.RI "bool \fBchangeCursorOverIcon\fP ()"
.br
.RI "\fIChecks whether the cursor changes over icons. \fP"
.ti -1c
.RI "bool \fBvisualActivate\fP ()"
.br
.RI "\fIChecks whether to show feedback when in item (specifically an icon) is activated. \fP"
.ti -1c
.RI "unsigned int \fBvisualActivateSpeed\fP ()"
.br
.RI "\fIReturns the speed of the visual activation feedback. \fP"
.ti -1c
.RI "int \fBautoSelectDelay\fP ()"
.br
.RI "\fIReturns the \fBKDE\fP setting for the auto-select option. \fP"
.ti -1c
.RI "int \fBcontextMenuKey\fP ()"
.br
.RI "\fIReturns the \fBKDE\fP setting for the shortcut key to open context menus. \fP"
.ti -1c
.RI "bool \fBshowContextMenusOnPress\fP ()"
.br
.RI "\fIReturns the \fBKDE\fP setting for context menus. \fP"
.ti -1c
.RI "\fBCompletion\fP \fBcompletionMode\fP ()"
.br
.RI "\fIReturns the preferred completion mode setting. \fP"
.ti -1c
.RI "\fBKMouseSettings\fP & \fBmouseSettings\fP ()"
.br
.RI "\fIThis returns the current mouse settings. \fP"
.ti -1c
.RI "\fBQString\fP \fBdesktopPath\fP ()"
.br
.RI "\fIThe path to the desktop directory of the current user. \fP"
.ti -1c
.RI "\fBQString\fP \fBautostartPath\fP ()"
.br
.RI "\fIThe path to the autostart directory of the current user. \fP"
.ti -1c
.RI "\fBQString\fP \fBtrashPath\fP ()"
.br
.RI "\fIThe path to the trash directory of the current user. \fP"
.ti -1c
.RI "\fBQString\fP \fBdocumentPath\fP ()"
.br
.RI "\fIThe path where documents are stored of the current user. \fP"
.ti -1c
.RI "\fBQColor\fP \fBtoolBarHighlightColor\fP ()"
.br
.RI "\fIThe default color to use when highlighting toolbar buttons. \fP"
.ti -1c
.RI "\fBQColor\fP \fBinactiveTitleColor\fP ()"
.br
.RI "\fIThe default color to use for inactive titles. \fP"
.ti -1c
.RI "\fBQColor\fP \fBinactiveTextColor\fP ()"
.br
.RI "\fIThe default color to use for inactive texts. \fP"
.ti -1c
.RI "\fBQColor\fP \fBactiveTitleColor\fP ()"
.br
.RI "\fIThe default color to use for active titles. \fP"
.ti -1c
.RI "\fBQColor\fP \fBactiveTextColor\fP ()"
.br
.RI "\fIThe default color to use for active texts. \fP"
.ti -1c
.RI "int \fBcontrast\fP ()"
.br
.RI "\fIReturns the contrast for borders. \fP"
.ti -1c
.RI "\fBQColor\fP \fBbaseColor\fP ()"
.br
.RI "\fIReturns the default base (background) color. \fP"
.ti -1c
.RI "\fBQColor\fP \fBtextColor\fP ()"
.br
.RI "\fIReturns the default text color. \fP"
.ti -1c
.RI "\fBQColor\fP \fBlinkColor\fP ()"
.br
.RI "\fIReturns the default link color. \fP"
.ti -1c
.RI "\fBQColor\fP \fBvisitedLinkColor\fP ()"
.br
.RI "\fIReturns the default color for visited links. \fP"
.ti -1c
.RI "\fBQColor\fP \fBhighlightedTextColor\fP ()"
.br
.RI "\fIReturns the default color for highlighted text. \fP"
.ti -1c
.RI "\fBQColor\fP \fBhighlightColor\fP ()"
.br
.RI "\fIReturns the default color for text highlights. \fP"
.ti -1c
.RI "\fBQColor\fP \fBalternateBackgroundColor\fP ()"
.br
.RI "\fIReturns the alternate background color used by \fBKListView\fP with \fBKListViewItem\fP. \fP"
.ti -1c
.RI "\fBQColor\fP \fBcalculateAlternateBackgroundColor\fP (const  \fBQColor\fP &base)"
.br
.RI "\fICalculates a color based on \fCbase\fP to be used as alternating color for e.g. \fP"
.ti -1c
.RI "\fBQFont\fP \fBgeneralFont\fP ()"
.br
.RI "\fIReturns the default general font. \fP"
.ti -1c
.RI "\fBQFont\fP \fBfixedFont\fP ()"
.br
.RI "\fIReturns the default fixed font. \fP"
.ti -1c
.RI "\fBQFont\fP \fBtoolBarFont\fP ()"
.br
.RI "\fIReturns the default toolbar font. \fP"
.ti -1c
.RI "\fBQFont\fP \fBmenuFont\fP ()"
.br
.RI "\fIReturns the default menu font. \fP"
.ti -1c
.RI "\fBQFont\fP \fBwindowTitleFont\fP ()"
.br
.RI "\fIReturns the default window title font. \fP"
.ti -1c
.RI "\fBQFont\fP \fBtaskbarFont\fP ()"
.br
.RI "\fIReturns the default taskbar font. \fP"
.ti -1c
.RI "\fBQFont\fP \fBlargeFont\fP (const  \fBQString\fP &text=QString::null)"
.br
.RI "\fIReturns a font of approx. \fP"
.ti -1c
.RI "bool \fBisMultiHead\fP ()"
.br
.RI "\fIReturns if the user specified multihead. \fP"
.ti -1c
.RI "bool \fBwheelMouseZooms\fP ()"
.br
.RI "\fITypically, \fBQScrollView\fP derived classes can be scrolled fast by holding down the Ctrl-button during wheel-scrolling. \fP"
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBKApplication\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Access the \fBKDE\fP global configuration. 

\fBAuthor:\fP
.RS 4
David Faure <faure@kde.org> 
.RE
.PP
\fBVersion:\fP
.RS 4
\fBId\fP.RS 4
\fBkglobalsettings.h\fP,v 1.42 2002/09/28 12:28:47 tjansen Exp 
.RE
.PP
.RE
.PP

.PP
Definition at line 40 of file kglobalsettings.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBKGlobalSettings::TearOffHandle\fP"
.PP
This enum describes the return type for \fBinsertTearOffHandle()\fP wether to insert a handle or not. 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 103 of file kglobalsettings.h.
.PP
Referenced by insertTearOffHandle().
.SS "enum \fBKGlobalSettings::Completion\fP"
.PP
This enum describes the completion mode used for by the \fBKCompletion\fP class. 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 164 of file kglobalsettings.h.
.PP
Referenced by completionMode(), KCompletionBase::completionMode(), and KCompletion::completionMode().
.SH "Member Function Documentation"
.PP 
.SS "int KGlobalSettings::dndEventDelay ()\fC [static]\fP"
.PP
Returns a threshold in pixels for drag & drop operations. 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 \fBKColorCells::mousePressEvent( QMouseEvent *e )\fP
 {
    mOldPos = e->pos();
 }
.PP
.PP
.PP
.nf
 void \fBKColorCells::mouseMoveEvent( QMouseEvent *e )\fP
 {
    if( !(e->state() && LeftButton)) return;
.PP
.PP
.PP
.nf
    int delay = \fBKGlobalSettings::dndEventDelay()\fP;
    \fBQPoint\fP 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())
       {
          \fBKColorDrag\fP *d = \fBKColorDrag::makeDrag\fP( colors[cell], this);
          d->dragCopy();
       }
    }
 }
 
.PP
 
.PP
\fBReturns:\fP
.RS 4
the threshold for drag & drop in pixels 
.RE
.PP
Definition at line 62 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), KConfigBase::readNumEntry(), and QApplication::startDragDistance().
.SS "bool KGlobalSettings::singleClick ()\fC [static]\fP"
.PP
Returns whether \fBKDE\fP runs in single (default) or double click mode. 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
Definition at line 69 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), and KConfigBase::readBoolEntry().
.SS "\fBKGlobalSettings::TearOffHandle\fP KGlobalSettings::insertTearOffHandle ()\fC [static]\fP"
.PP
Returns whether tear-off handles are inserted in \fBKPopupMenus\fP. \fBReturns:\fP
.RS 4
whether tear-off handles are inserted in KPopupMenus. 
.RE
.PP
\fBSince:\fP
.RS 4
3.1 
.RE
.PP
Definition at line 76 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), KConfigBase::readNumEntry(), and TearOffHandle.
.SS "bool KGlobalSettings::changeCursorOverIcon ()\fC [static]\fP"
.PP
Checks whether the cursor changes over icons. \fBReturns:\fP
.RS 4
the \fBKDE\fP setting for 'change cursor over icon' 
.RE
.PP
Definition at line 85 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), and KConfigBase::readBoolEntry().
.SS "bool KGlobalSettings::visualActivate ()\fC [static]\fP"
.PP
Checks whether to show feedback when in item (specifically an icon) is activated. \fBReturns:\fP
.RS 4
whether to show some feedback when an item is activated. 
.RE
.PP
Definition at line 92 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), and KConfigBase::readBoolEntry().
.PP
Referenced by KIconEffect::visualActivate().
.SS "unsigned int KGlobalSettings::visualActivateSpeed ()\fC [static]\fP"
.PP
Returns the speed of the visual activation feedback. \fBReturns:\fP
.RS 4
the speed of the visual activation feedback, between 0 for minimum and 100 for maximum speed 
.RE
.PP
Definition at line 99 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), and 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. \fBReturns:\fP
.RS 4
the auto-select delay or -1 if auto-select is disabled. 
.RE
.PP
Definition at line 112 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), and KConfigBase::readNumEntry().
.SS "int KGlobalSettings::contextMenuKey ()\fC [static]\fP"
.PP
Returns the \fBKDE\fP setting for the shortcut key to open context menus. \fBReturns:\fP
.RS 4
the key that pops up context menus. 
.RE
.PP
Definition at line 141 of file kglobalsettings.cpp.
.PP
References KConfigGroupSaver::config(), KGlobal::config(), KStdAction::cut(), and KConfigBase::readEntry().
.SS "bool KGlobalSettings::showContextMenusOnPress ()\fC [static]\fP"
.PP
Returns the \fBKDE\fP setting for context menus. \fBReturns:\fP
.RS 4
whether context menus should be shown on button press or button release (click). 
.RE
.PP
Definition at line 133 of file kglobalsettings.cpp.
.PP
References KConfigGroupSaver::config(), KGlobal::config(), and KConfigBase::readBoolEntry().
.SS "\fBKGlobalSettings::Completion\fP KGlobalSettings::completionMode ()\fC [static]\fP"
.PP
Returns the preferred completion mode setting. \fBReturns:\fP
.RS 4
\fBCompletion\fP. Default is \fCCompletionPopup\fP. 
.RE
.PP
Definition at line 119 of file kglobalsettings.cpp.
.PP
References KStdAccel::completion(), Completion, CompletionNone, CompletionPopup, CompletionPopupAuto, KGlobal::config(), 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. \fBReturns:\fP
.RS 4
the current mouse settings 
.RE
.PP
Definition at line 538 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), KGlobalSettings::KMouseSettings::handed, and KConfigBase::readEntry().
.SS "\fBQString\fP KGlobalSettings::desktopPath ()\fC [inline, static]\fP"
.PP
The path to the desktop directory of the current user. \fBReturns:\fP
.RS 4
the user's desktop directory 
.RE
.PP
Definition at line 218 of file kglobalsettings.h.
.SS "\fBQString\fP KGlobalSettings::autostartPath ()\fC [inline, static]\fP"
.PP
The path to the autostart directory of the current user. \fBReturns:\fP
.RS 4
the path of the autostart directory 
.RE
.PP
Definition at line 224 of file kglobalsettings.h.
.SS "\fBQString\fP KGlobalSettings::trashPath ()\fC [inline, static]\fP"
.PP
The path to the trash directory of the current user. \fBReturns:\fP
.RS 4
the path of the trash directory 
.RE
.PP
Definition at line 230 of file kglobalsettings.h.
.SS "\fBQString\fP KGlobalSettings::documentPath ()\fC [inline, static]\fP"
.PP
The path where documents are stored of the current user. \fBReturns:\fP
.RS 4
the path of the document directory 
.RE
.PP
Definition at line 236 of file kglobalsettings.h.
.SS "\fBQColor\fP KGlobalSettings::toolBarHighlightColor ()\fC [static]\fP"
.PP
The default color to use when highlighting toolbar buttons. \fBReturns:\fP
.RS 4
the toolbar highlight color 
.RE
.PP
Definition at line 150 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::inactiveTitleColor ()\fC [static]\fP"
.PP
The default color to use for inactive titles. \fBReturns:\fP
.RS 4
the inactive title color 
.RE
.PP
Definition at line 158 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::inactiveTextColor ()\fC [static]\fP"
.PP
The default color to use for inactive texts. \fBReturns:\fP
.RS 4
the inactive text color 
.RE
.PP
Definition at line 167 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::activeTitleColor ()\fC [static]\fP"
.PP
The default color to use for active titles. \fBReturns:\fP
.RS 4
the active title color 
.RE
.PP
Definition at line 174 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::activeTextColor ()\fC [static]\fP"
.PP
The default color to use for active texts. \fBReturns:\fP
.RS 4
the active text color 
.RE
.PP
Definition at line 182 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readColorEntry().
.SS "int KGlobalSettings::contrast ()\fC [static]\fP"
.PP
Returns the contrast for borders. \fBReturns:\fP
.RS 4
the contrast (between 0 for minimum and 10 for maximum contrast) 
.RE
.PP
Definition at line 189 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readNumEntry().
.PP
Referenced by KApplication::createApplicationPalette().
.SS "\fBQColor\fP KGlobalSettings::baseColor ()\fC [static]\fP"
.PP
Returns the default base (background) color. \fBReturns:\fP
.RS 4
the default base (background) color 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBQColorGroup::base()\fP 
.RE
.PP
Definition at line 199 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readColorEntry().
.PP
Referenced by alternateBackgroundColor().
.SS "\fBQColor\fP KGlobalSettings::textColor ()\fC [static]\fP"
.PP
Returns the default text color. \fBReturns:\fP
.RS 4
the default text color 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBQColorGroup::text()\fP 
.RE
.PP
Definition at line 209 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::linkColor ()\fC [static]\fP"
.PP
Returns the default link color. \fBReturns:\fP
.RS 4
the default link color 
.RE
.PP
Definition at line 263 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::visitedLinkColor ()\fC [static]\fP"
.PP
Returns the default color for visited links. \fBReturns:\fP
.RS 4
the default color for visited links 
.RE
.PP
Definition at line 271 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::highlightedTextColor ()\fC [static]\fP"
.PP
Returns the default color for highlighted text. \fBReturns:\fP
.RS 4
the default color for highlighted text 
.RE
.PP
\fBSee also:\fP
.RS 4
QColorGroup::hightlightedText() 
.RE
.PP
Definition at line 219 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::highlightColor ()\fC [static]\fP"
.PP
Returns the default color for text highlights. \fBReturns:\fP
.RS 4
the default color for text highlights 
.RE
.PP
\fBSee also:\fP
.RS 4
QColorGroup::hightlight() 
.RE
.PP
Definition at line 229 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), and KConfigBase::readColorEntry().
.SS "\fBQColor\fP KGlobalSettings::alternateBackgroundColor ()\fC [static]\fP"
.PP
Returns the alternate background color used by \fBKListView\fP with \fBKListViewItem\fP. 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
Definition at line 237 of file kglobalsettings.cpp.
.PP
References baseColor(), calculateAlternateBackgroundColor(), KGlobal::config(), QString::fromLatin1(), 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. 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
Definition at line 246 of file kglobalsettings.cpp.
.PP
References QColor::dark(), and QColor::light().
.PP
Referenced by alternateBackgroundColor().
.SS "\fBQFont\fP KGlobalSettings::generalFont ()\fC [static]\fP"
.PP
Returns the default general font. \fBReturns:\fP
.RS 4
the default general font. 
.RE
.PP
Definition at line 278 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), KConfigBase::readFontEntry(), QFont::setPixelSize(), and QFont::setStyleHint().
.PP
Referenced by largeFont().
.SS "\fBQFont\fP KGlobalSettings::fixedFont ()\fC [static]\fP"
.PP
Returns the default fixed font. \fBReturns:\fP
.RS 4
the default fixed font. 
.RE
.PP
Definition at line 294 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), KConfigBase::readFontEntry(), QFont::setPixelSize(), and QFont::setStyleHint().
.SS "\fBQFont\fP KGlobalSettings::toolBarFont ()\fC [static]\fP"
.PP
Returns the default toolbar font. \fBReturns:\fP
.RS 4
the default toolbar font. 
.RE
.PP
Definition at line 310 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), KConfigBase::readFontEntry(), QFont::setPixelSize(), and QFont::setStyleHint().
.SS "\fBQFont\fP KGlobalSettings::menuFont ()\fC [static]\fP"
.PP
Returns the default menu font. \fBReturns:\fP
.RS 4
the default menu font. 
.RE
.PP
Definition at line 326 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), KConfigBase::readFontEntry(), QFont::setPixelSize(), and QFont::setStyleHint().
.SS "\fBQFont\fP KGlobalSettings::windowTitleFont ()\fC [static]\fP"
.PP
Returns the default window title font. \fBReturns:\fP
.RS 4
the default window title font. 
.RE
.PP
Definition at line 342 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), KConfigBase::readFontEntry(), QFont::setPixelSize(), and QFont::setStyleHint().
.SS "\fBQFont\fP KGlobalSettings::taskbarFont ()\fC [static]\fP"
.PP
Returns the default taskbar font. \fBReturns:\fP
.RS 4
the default taskbar font. 
.RE
.PP
Definition at line 358 of file kglobalsettings.cpp.
.PP
References KGlobal::config(), QString::fromLatin1(), KConfigBase::readFontEntry(), QFont::setPixelSize(), and QFont::setStyleHint().
.SS "\fBQFont\fP KGlobalSettings::largeFont (const \fBQString\fP & text = QString::null)\fC [static]\fP"
.PP
Returns a font of approx. 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
Definition at line 375 of file kglobalsettings.cpp.
.PP
References QFontDatabase::families(), QFont::family(), generalFont(), QFontMetrics::height(), QFontMetrics::inFont(), QFontDatabase::isFixedPitch(), QFontDatabase::isSmoothlyScalable(), QString::length(), QFont::setPixelSize(), and QFont::setPointSize().
.SS "bool KGlobalSettings::isMultiHead ()\fC [static]\fP"
.PP
Returns if the user specified multihead. 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 
.PP
\fBReturns:\fP
.RS 4
true if the user chose multi head 
.RE
.PP
Definition at line 591 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. 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
Definition at line 600 of file kglobalsettings.cpp.
.PP
References KGlobal::config().

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