#include <kglobalsettings.h>
Definition at line 40 of file kglobalsettings.h.
|
|
This enum describes the completion mode used for by the KCompletion class. See the styleguide.
Definition at line 164 of file kglobalsettings.h. Referenced by KCompletionBase::completionMode(), and KCompletion::completionMode(). |
|
|
This enum describes the return type for insertTearOffHandle() 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 KPopupMenu.
Definition at line 103 of file kglobalsettings.h. |
|
|
The default color to use for active texts.
|
|
|
The default color to use for active titles.
|
|
|
Returns the alternate background color used by KListView with KListViewItem. 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.
|
|
|
Returns the KDE setting for the auto-select option.
|
|
|
The path to the autostart directory of the current user.
Definition at line 224 of file kglobalsettings.h. |
|
|
Returns the default base (background) color.
|
|
|
Calculates a color based on
|
|
|
Checks whether the cursor changes over icons.
|
|
|
Returns the preferred completion mode setting.
|
|
|
Returns the KDE setting for the shortcut key to open context menus.
|
|
|
Returns the contrast for borders.
|
|
|
The path to the desktop directory of the current user.
Definition at line 218 of file kglobalsettings.h. |
|
|
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. For this to work you must save the position of the mouse (oldPos) in the QWidget::mousePressEvent(). When the position of the mouse (newPos) in a QWidget::mouseMoveEvent() exceeds this threshold you may start a drag which should originate from oldPos. Example code: 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(); } } }
|
|
|
The path where documents are stored of the current user.
Definition at line 236 of file kglobalsettings.h. |
|
|
Returns the default fixed font.
|
|
|
Returns the default general font.
|
|
|
Returns the default color for text highlights.
|
|
|
Returns the default color for highlighted text.
|
|
|
The default color to use for inactive texts.
|
|
|
The default color to use for inactive titles.
|
|
|
Returns whether tear-off handles are inserted in KPopupMenus.
|
|
|
Returns if the user specified multihead. In case the display has multiple screens, the return value of this function specifies if the user wants KDE to run on all of them or just on the primary
|
|
|
Returns a font of approx. 48 pt. capable of showing
|
|
|
Returns the default link color.
|
|
|
Returns the default menu font.
|
|
|
This returns the current mouse settings.
|
|
|
Returns the KDE setting for context menus.
|
|
|
Returns whether KDE runs in single (default) or double click mode. see http://developer.kde.org/documentation/standards/kde/style/mouse/index.html
|
|
|
Returns the default taskbar font.
|
|
|
Returns the default text color.
|
|
|
Returns the default toolbar font.
|
|
|
The default color to use when highlighting toolbar buttons.
|
|
|
The path to the trash directory of the current user.
Definition at line 230 of file kglobalsettings.h. |
|
|
Returns the default color for visited links.
|
|
|
Checks whether to show feedback when in item (specifically an icon) is activated.
|
|
|
Returns the speed of the visual activation feedback.
|
|
|
Typically, QScrollView derived classes can be scrolled fast by holding down the Ctrl-button during wheel-scrolling. But QTextEdit and derived classes perform zooming instead of fast scrolling. This value determines whether the user wants to zoom or scroll fast with Ctrl-wheelscroll.
|
|
|
Returns the default window title font.
|
1.2.18