tdeglobalsettings.cpp
92 static void readXdgUserDirs(TQString *desktop, TQString *documents, TQString *download, TQString *music,
111 *documents = line.remove("XDG_DOCUMENTS_DIR=").remove("\"").replace("$HOME", TQDir::homeDirPath());
115 *download = line.remove("XDG_DOWNLOAD_DIR=").remove("\"").replace("$HOME", TQDir::homeDirPath());
123 *pictures = line.remove("XDG_PICTURES_DIR=").remove("\"").replace("$HOME", TQDir::homeDirPath());
127 *publicShare = line.remove("XDG_PUBLICSHARE_DIR=").remove("\"").replace("$HOME", TQDir::homeDirPath());
131 *templates = line.remove("XDG_TEMPLATES_DIR=").remove("\"").replace("$HOME", TQDir::homeDirPath());
208 static void checkAndCreateXdgFolder(const TQString &folder, const TQString &path, TDEConfig *config)
static TQColor baseColor()
Returns the default base (background) color.
Definition: tdeglobalsettings.cpp:386
static TQRect splashScreenDesktopGeometry()
This function returns the desktop geometry for an application's splash screen.
Definition: tdeglobalsettings.cpp:861
Completion
This enum describes the completion mode used for by the TDECompletion class.
Definition: tdeglobalsettings.h:178
static TQColor alternateBackgroundColor()
Returns the alternate background color used by TDEListView with TDEListViewItem.
Definition: tdeglobalsettings.cpp:422
static int dndEventDelay()
Returns a threshold in pixels for drag & drop operations.
Definition: tdeglobalsettings.cpp:225
static TDEStandardDirs * dirs()
Returns the application standard dirs object.
Definition: tdeglobal.cpp:58
@ CompletionPopup
Lists all possible matches in a popup list-box to choose from.
Definition: tdeglobalsettings.h:198
static bool showIconsOnPushButtons()
This function determines if the user wishes to see icons on the push buttons.
Definition: tdeglobalsettings.cpp:916
void writePathEntry(const TQString &pKey, const TQString &path, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)
Writes a file path.
Definition: tdeconfigbase.cpp:1093
The TDEShortcut class is used to represent a keyboard shortcut to an action.
Definition: tdeshortcut.h:543
static bool opaqueResize()
Whether the user wishes to use opaque resizing.
Definition: tdeglobalsettings.cpp:938
static TQColor highlightedTextColor()
Returns the default color for highlighted text.
Definition: tdeglobalsettings.cpp:404
static bool visualActivate()
Checks whether to show feedback when in item (specifically an icon) is activated.
Definition: tdeglobalsettings.cpp:259
TQString localtdedir() const
Returns the toplevel directory in which TDEStandardDirs will store things.
Definition: kstandarddirs.cpp:1669
static bool singleClick()
Returns whether KDE runs in single (default) or double click mode.
Definition: tdeglobalsettings.cpp:231
static TQColor visitedLinkColor()
Returns the default color for visited links.
Definition: tdeglobalsettings.cpp:462
static bool makeDir(const TQString &dir, int mode=0755)
Recursively creates still-missing directories in the given path.
Definition: kstandarddirs.cpp:1176
static TQFont windowTitleFont()
Returns the default window title font.
Definition: tdeglobalsettings.cpp:534
@ CompletionPopupAuto
Lists all possible matches in a popup list-box to choose from, and automatically fill the result when...
Definition: tdeglobalsettings.h:203
static Completion completionMode()
Returns the preferred completion mode setting.
Definition: tdeglobalsettings.cpp:283
static bool changeCursorOverIcon()
Checks whether the cursor changes over icons.
Definition: tdeglobalsettings.cpp:253
static TQColor activeTextColor()
The default color to use for active texts.
Definition: tdeglobalsettings.cpp:353
static TQColor inactiveTextColor()
The default color to use for inactive texts.
Definition: tdeglobalsettings.cpp:328
virtual void sync()
Flushes all changes that currently reside only in memory back to disk / permanent storage.
Definition: tdeconfigbase.cpp:1738
static TQColor highlightColor()
Returns the default color for text highlights.
Definition: tdeglobalsettings.cpp:413
static KMouseSettings & mouseSettings()
This returns the current mouse settings.
Definition: tdeglobalsettings.cpp:784
static unsigned int visualActivateSpeed()
Returns the speed of the visual activation feedback.
Definition: tdeglobalsettings.cpp:265
static bool showKonqIconActivationEffect()
This function determines if the user wishes to see icon activation effects in Konqueror or KDesktop.
Definition: tdeglobalsettings.cpp:931
static int autoSelectDelay()
Returns the KDE setting for the auto-select option.
Definition: tdeglobalsettings.cpp:277
static TQRect desktopGeometry(const TQPoint &point)
This function returns the desktop geometry for an application that needs to set the geometry of a wid...
Definition: tdeglobalsettings.cpp:880
TQColor readColorEntry(const TQString &pKey, const TQColor *pDefault=0L) const
Reads a TQColor entry.
Definition: tdeconfigbase.cpp:947
bool readBoolEntry(const TQString &pKey, bool bDefault=false) const
Reads a boolean entry.
Definition: tdeconfigbase.cpp:748
static TQFont largeFont(const TQString &text=TQString::null)
Returns a font of approx.
Definition: tdeglobalsettings.cpp:567
static TQColor calculateAlternateBackgroundColor(const TQColor &base)
Calculates a color based on base to be used as alternating color for e.g.
Definition: tdeglobalsettings.cpp:430
static bool showFilePreview(const KURL &)
This function determines if the user wishes to see previews for the selected url.
Definition: tdeglobalsettings.cpp:923
static bool iconUseRoundedRect()
Returns whether icon text is drawn in a rounded style.
Definition: tdeglobalsettings.cpp:237
static TearOffHandle insertTearOffHandle()
Returns whether tear-off handles are inserted in TDEPopupMenus.
Definition: tdeglobalsettings.cpp:243
static TQColor toolBarHighlightColor()
The default color to use when highlighting toolbar buttons.
Definition: tdeglobalsettings.cpp:309
static bool showContextMenusOnPress()
Returns the KDE setting for context menus.
Definition: tdeglobalsettings.cpp:296
static int contextMenuKey()
Returns the KDE setting for the shortcut key to open context menus.
Definition: tdeglobalsettings.cpp:302
static TQColor inactiveTitleColor()
The default color to use for inactive titles.
Definition: tdeglobalsettings.cpp:316
static bool wheelMouseZooms()
Typically, TQScrollView derived classes can be scrolled fast by holding down the Ctrl-button during w...
Definition: tdeglobalsettings.cpp:855
TearOffHandle
This enum describes the return type for insertTearOffHandle() whether to insert a handle or not.
Definition: tdeglobalsettings.h:117
TQFont readFontEntry(const TQString &pKey, const TQFont *pDefault=0L) const
Reads a TQFont value.
Definition: tdeconfigbase.cpp:775
static TQColor buttonBackground()
Returns the button background color.
Definition: tdeglobalsettings.cpp:369
static int buttonLayout()
The layout scheme to use for dialog buttons.
Definition: tdeglobalsettings.cpp:945
TQString readEntry(const TQString &pKey, const TQString &aDefault=TQString::null) const
Reads the value of an entry specified by pKey in the current group.
Definition: tdeconfigbase.cpp:221
static bool isMultiHead()
Returns if the user specified multihead.
Definition: tdeglobalsettings.cpp:842
static bool shadeSortColumn()
Returns if the sorted column in a TDEListView shall be drawn with a shaded background color.
Definition: tdeglobalsettings.cpp:447
static TQColor activeTitleColor()
The default color to use for active titles.
Definition: tdeglobalsettings.cpp:340
A TDEConfigBase derived class for one specific group in a TDEConfig object.
Definition: tdeconfigbase.h:2126
int readNumEntry(const TQString &pKey, int nDefault=0) const
Reads a numerical value.
Definition: tdeconfigbase.cpp:613