// This file is generated by tdeconfig_compiler from kdesktop.kcfg.
// All changes you do to this file will be lost.

#include "kdesktopsettings.h"

#include <kstaticdeleter.h>

#include <kdebug.h>

KDesktopSettings *KDesktopSettings::mSelf = 0;
static KStaticDeleter<KDesktopSettings> staticKDesktopSettingsDeleter;

KDesktopSettings *KDesktopSettings::self()
{
  if (!mSelf)
     kdFatal() << "you need to call KDesktopSettings::instance before using" << endl;
  return mSelf;
}

void KDesktopSettings::instance(const char *cfgfilename)
{
  if (mSelf) {
     kdError() << "KDesktopSettings::instance called after the first use - ignoring" << endl;
     return;
  }
  staticKDesktopSettingsDeleter.setObject( mSelf, new KDesktopSettings(cfgfilename) );
  mSelf->readConfig();
}

KDesktopSettings::KDesktopSettings(  const char *config  )
  : TDEConfigSkeleton( config )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "Background Common" ) );

  TDEConfigSkeleton::ItemBool  *itemCommonDesktop;
  itemCommonDesktop = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CommonDesktop" ), mCommonDesktop, true );
  addItem( itemCommonDesktop, TQString::fromLatin1( "CommonDesktop" ) );
  TDEConfigSkeleton::ItemBool  *itemCommonScreen;
  itemCommonScreen = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CommonScreen" ), mCommonScreen, true );
  addItem( itemCommonScreen, TQString::fromLatin1( "CommonScreen" ) );
  TDEConfigSkeleton::ItemBool  *itemDrawBackgroundPerScreen;
  itemDrawBackgroundPerScreen = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DrawBackgroundPerScreen" ), mDrawBackgroundPerScreen, false );
  addItem( itemDrawBackgroundPerScreen, TQString::fromLatin1( "DrawBackgroundPerScreen" ) );
  TDEConfigSkeleton::ItemBool  *itemLimitCache;
  itemLimitCache = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "LimitCache" ), mLimitCache, false );
  addItem( itemLimitCache, TQString::fromLatin1( "LimitCache" ) );
  TDEConfigSkeleton::ItemInt  *itemCacheSize;
  itemCacheSize = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CacheSize" ), mCacheSize, 2048 );
  addItem( itemCacheSize, TQString::fromLatin1( "CacheSize" ) );
  TDEConfigSkeleton::ItemInt  *itemBackgroundOpacity;
  itemBackgroundOpacity = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BackgroundOpacity" ), mBackgroundOpacity, 100 );
  addItem( itemBackgroundOpacity, TQString::fromLatin1( "BackgroundOpacity" ) );

  setCurrentGroup( TQString::fromLatin1( "General" ) );

  TDEConfigSkeleton::ItemBool  *itemDesktopEnabled;
  itemDesktopEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Enabled" ), mDesktopEnabled, true );
  addItem( itemDesktopEnabled, TQString::fromLatin1( "DesktopEnabled" ) );
  TDEConfigSkeleton::ItemBool  *itemSetVRoot;
  itemSetVRoot = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SetVRoot" ), mSetVRoot, false );
  addItem( itemSetVRoot, TQString::fromLatin1( "SetVRoot" ) );
  TDEConfigSkeleton::ItemBool  *itemCopyDesktopLinks;
  itemCopyDesktopLinks = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CopyDesktopLinks" ), mCopyDesktopLinks, true );
  addItem( itemCopyDesktopLinks, TQString::fromLatin1( "CopyDesktopLinks" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoLineUpIcons;
  itemAutoLineUpIcons = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoLineUpIcons" ), mAutoLineUpIcons, true );
  addItem( itemAutoLineUpIcons, TQString::fromLatin1( "AutoLineUpIcons" ) );
  TDEConfigSkeleton::ItemBool  *itemSortDirectoriesFirst;
  itemSortDirectoriesFirst = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SortDirectoriesFirst" ), mSortDirectoriesFirst, false );
  addItem( itemSortDirectoriesFirst, TQString::fromLatin1( "SortDirectoriesFirst" ) );
  TDEConfigSkeleton::ItemPath  *itemTerminalApplication;
  itemTerminalApplication = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "TerminalApplication" ), mTerminalApplication, TQString::fromLatin1( "konsole" ) );
  addItem( itemTerminalApplication, TQString::fromLatin1( "TerminalApplication" ) );

  setCurrentGroup( TQString::fromLatin1( "Mouse Buttons" ) );

  TDEConfigSkeleton::ItemBool  *itemWheelSwitchesWorkspace;
  itemWheelSwitchesWorkspace = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "WheelSwitchesWorkspace" ), mWheelSwitchesWorkspace, false );
  addItem( itemWheelSwitchesWorkspace, TQString::fromLatin1( "WheelSwitchesWorkspace" ) );
  TDEConfigSkeleton::ItemString  *itemWheelDirection;
  itemWheelDirection = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "WheelDirection" ), mWheelDirection, TQString::fromLatin1( "Forward" ) );
  addItem( itemWheelDirection, TQString::fromLatin1( "WheelDirection" ) );
  TDEConfigSkeleton::ItemString  *itemLeft;
  itemLeft = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Left" ), mLeft );
  addItem( itemLeft, TQString::fromLatin1( "Left" ) );
  TDEConfigSkeleton::ItemString  *itemMiddle;
  itemMiddle = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Middle" ), mMiddle, TQString::fromLatin1( "WindowListMenu" ) );
  addItem( itemMiddle, TQString::fromLatin1( "Middle" ) );
  TDEConfigSkeleton::ItemString  *itemRight;
  itemRight = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Right" ), mRight, TQString::fromLatin1( "DesktopMenu" ) );
  addItem( itemRight, TQString::fromLatin1( "Right" ) );

  setCurrentGroup( TQString::fromLatin1( "Version" ) );

  TDEConfigSkeleton::ItemInt  *itemKDEVersionMajor;
  itemKDEVersionMajor = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "KDEVersionMajor" ), mKDEVersionMajor, 0 );
  addItem( itemKDEVersionMajor, TQString::fromLatin1( "KDEVersionMajor" ) );
  TDEConfigSkeleton::ItemInt  *itemKDEVersionMinor;
  itemKDEVersionMinor = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "KDEVersionMinor" ), mKDEVersionMinor, 0 );
  addItem( itemKDEVersionMinor, TQString::fromLatin1( "KDEVersionMinor" ) );
  TDEConfigSkeleton::ItemInt  *itemKDEVersionRelease;
  itemKDEVersionRelease = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "KDEVersionRelease" ), mKDEVersionRelease, 0 );
  addItem( itemKDEVersionRelease, TQString::fromLatin1( "KDEVersionRelease" ) );

  setCurrentGroup( TQString::fromLatin1( "FMSettings" ) );

  TDEConfigSkeleton::ItemColor  *itemNormalTextColor;
  itemNormalTextColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "NormalTextColor" ), mNormalTextColor, TQColor( "TQt::white" ) );
  addItem( itemNormalTextColor, TQString::fromLatin1( "NormalTextColor" ) );
  TDEConfigSkeleton::ItemColor  *itemItemTextBackground;
  itemItemTextBackground = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "ItemTextBackground" ), mItemTextBackground );
  addItem( itemItemTextBackground, TQString::fromLatin1( "ItemTextBackground" ) );
  TDEConfigSkeleton::ItemBool  *itemShadowEnabled;
  itemShadowEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShadowEnabled" ), mShadowEnabled, true );
  addItem( itemShadowEnabled, TQString::fromLatin1( "ShadowEnabled" ) );
  TDEConfigSkeleton::ItemString  *itemShadowParameters;
  itemShadowParameters = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "ShadowParameters" ), mShadowParameters, TQString::fromLatin1( "0,0,4.0,120.0,2,1,1,0,0,0" ) );
  addItem( itemShadowParameters, TQString::fromLatin1( "ShadowParameters" ) );

  setCurrentGroup( TQString::fromLatin1( "Desktop Icons" ) );

  TDEConfigSkeleton::ItemBool  *itemShowHidden;
  itemShowHidden = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowHidden" ), mShowHidden, false );
  addItem( itemShowHidden, TQString::fromLatin1( "ShowHidden" ) );
  TDEConfigSkeleton::ItemBool  *itemVertAlign;
  itemVertAlign = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "VertAlign" ), mVertAlign, true );
  addItem( itemVertAlign, TQString::fromLatin1( "VertAlign" ) );
  TDEConfigSkeleton::ItemInt  *itemIconSpacing;
  itemIconSpacing = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "IconSpacing" ), mIconSpacing, 5 );
  addItem( itemIconSpacing, TQString::fromLatin1( "IconSpacing" ) );
  TDEConfigSkeleton::ItemBool  *itemSpacingCtrlScroll;
  itemSpacingCtrlScroll = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SpacingCtrlScroll" ), mSpacingCtrlScroll, false );
  addItem( itemSpacingCtrlScroll, TQString::fromLatin1( "SpacingCtrlScroll" ) );
  TDEConfigSkeleton::ItemStringList  *itemPreview;
  itemPreview = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "Preview" ), mPreview );
  addItem( itemPreview, TQString::fromLatin1( "Preview" ) );
  TDEConfigSkeleton::ItemInt  *itemSortCriterion;
  itemSortCriterion = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SortCriterion" ), mSortCriterion, 0 );
  addItem( itemSortCriterion, TQString::fromLatin1( "SortCriterion" ) );
  TDEConfigSkeleton::ItemBool  *itemDirectoriesFirst;
  itemDirectoriesFirst = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DirectoriesFirst" ), mDirectoriesFirst, true );
  addItem( itemDirectoriesFirst, TQString::fromLatin1( "DirectoriesFirst" ) );
  TDEConfigSkeleton::ItemBool  *itemLockIcons;
  itemLockIcons = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "LockIcons" ), mLockIcons, false );
  addItem( itemLockIcons, TQString::fromLatin1( "LockIcons" ) );
  TDEConfigSkeleton::ItemStringList  *itemAlwaysFirstItems;
  itemAlwaysFirstItems = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "AlwaysFirstItems" ), mAlwaysFirstItems );
  addItem( itemAlwaysFirstItems, TQString::fromLatin1( "AlwaysFirstItems" ) );

  setCurrentGroup( TQString::fromLatin1( "Media" ) );

  TDEConfigSkeleton::ItemBool  *itemMediaEnabled;
  itemMediaEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "enabled" ), mMediaEnabled, true );
  addItem( itemMediaEnabled, TQString::fromLatin1( "MediaEnabled" ) );
  TDEConfigSkeleton::ItemString  *itemExclude;
  itemExclude = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "exclude" ), mExclude, TQString::fromLatin1( "media/nfs_mounted,media/nfs_unmounted,media/hdd_mounted,media/hdd_unmounted,media/floppy_unmounted,media/cdrom_unmounted,media/floppy5_unmounted" ) );
  addItem( itemExclude, TQString::fromLatin1( "exclude" ) );
  TDEConfigSkeleton::ItemBool  *itemMediaFreeSpaceDisplayEnabled;
  itemMediaFreeSpaceDisplayEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "FreeSpaceDisplayEnabled" ), mMediaFreeSpaceDisplayEnabled, true );
  addItem( itemMediaFreeSpaceDisplayEnabled, TQString::fromLatin1( "MediaFreeSpaceDisplayEnabled" ) );

  setCurrentGroup( TQString::fromLatin1( "KDE" ) );

  TDEConfigSkeleton::ItemBool  *itemMacStyle;
  itemMacStyle = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "macStyle" ), mMacStyle, false );
  addItem( itemMacStyle, TQString::fromLatin1( "macStyle" ) );

  setCurrentGroup( TQString::fromLatin1( "Menubar" ) );

  TDEConfigSkeleton::ItemBool  *itemShowMenubar;
  itemShowMenubar = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowMenubar" ), mShowMenubar, false );
  addItem( itemShowMenubar, TQString::fromLatin1( "ShowMenubar" ) );

  setCurrentGroup( TQString::fromLatin1( "ScreenSaver" ) );

  TDEConfigSkeleton::ItemBool  *itemScreenSaverEnabled;
  itemScreenSaverEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Enabled" ), mScreenSaverEnabled, false );
  addItem( itemScreenSaverEnabled, TQString::fromLatin1( "ScreenSaverEnabled" ) );
  TDEConfigSkeleton::ItemInt  *itemTimeout;
  itemTimeout = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Timeout" ), mTimeout, 300 );
  addItem( itemTimeout, TQString::fromLatin1( "Timeout" ) );
  TDEConfigSkeleton::ItemBool  *itemDpmsDependent;
  itemDpmsDependent = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DPMS-dependent" ), mDpmsDependent, true );
  addItem( itemDpmsDependent, TQString::fromLatin1( "DpmsDependent" ) );
  TDEConfigSkeleton::ItemInt  *itemActionTopLeft;
  itemActionTopLeft = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ActionTopLeft" ), mActionTopLeft, 0 );
  addItem( itemActionTopLeft, TQString::fromLatin1( "ActionTopLeft" ) );
  TDEConfigSkeleton::ItemInt  *itemActionTopRight;
  itemActionTopRight = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ActionTopRight" ), mActionTopRight, 0 );
  addItem( itemActionTopRight, TQString::fromLatin1( "ActionTopRight" ) );
  TDEConfigSkeleton::ItemInt  *itemActionBottomLeft;
  itemActionBottomLeft = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ActionBottomLeft" ), mActionBottomLeft, 0 );
  addItem( itemActionBottomLeft, TQString::fromLatin1( "ActionBottomLeft" ) );
  TDEConfigSkeleton::ItemInt  *itemActionBottomRight;
  itemActionBottomRight = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ActionBottomRight" ), mActionBottomRight, 0 );
  addItem( itemActionBottomRight, TQString::fromLatin1( "ActionBottomRight" ) );
  TDEConfigSkeleton::ItemBool  *itemLock;
  itemLock = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Lock" ), mLock, false );
  addItem( itemLock, TQString::fromLatin1( "Lock" ) );
  TDEConfigSkeleton::ItemInt  *itemLockGrace;
  itemLockGrace = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "LockGrace" ), mLockGrace, 5000 );
  addItem( itemLockGrace, TQString::fromLatin1( "LockGrace" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoLogout;
  itemAutoLogout = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoLogout" ), mAutoLogout, false );
  addItem( itemAutoLogout, TQString::fromLatin1( "AutoLogout" ) );
  TDEConfigSkeleton::ItemInt  *itemAutoLogoutTimeout;
  itemAutoLogoutTimeout = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "AutoLogoutTimeout" ), mAutoLogoutTimeout, 600 );
  addItem( itemAutoLogoutTimeout, TQString::fromLatin1( "AutoLogoutTimeout" ) );
  TDEConfigSkeleton::ItemInt  *itemPriority;
  itemPriority = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Priority" ), mPriority, 19 );
  addItem( itemPriority, TQString::fromLatin1( "Priority" ) );
  TDEConfigSkeleton::ItemString  *itemSaver;
  itemSaver = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Saver" ), mSaver );
  addItem( itemSaver, TQString::fromLatin1( "Saver" ) );
  TDEConfigSkeleton::ItemBool  *itemUseUnmanagedLockWindows;
  itemUseUnmanagedLockWindows = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseUnmanagedLockWindows" ), mUseUnmanagedLockWindows, false );
  addItem( itemUseUnmanagedLockWindows, TQString::fromLatin1( "UseUnmanagedLockWindows" ) );
  TDEConfigSkeleton::ItemBool  *itemShowLockDateTime;
  itemShowLockDateTime = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowLockDateTime" ), mShowLockDateTime, true );
  addItem( itemShowLockDateTime, TQString::fromLatin1( "ShowLockDateTime" ) );
  TDEConfigSkeleton::ItemBool  *itemDelaySaverStart;
  itemDelaySaverStart = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DelaySaverStart" ), mDelaySaverStart, true );
  addItem( itemDelaySaverStart, TQString::fromLatin1( "DelaySaverStart" ) );
  TDEConfigSkeleton::ItemBool  *itemHideActiveWindowsFromSaver;
  itemHideActiveWindowsFromSaver = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "HideActiveWindowsFromSaver" ), mHideActiveWindowsFromSaver, true );
  addItem( itemHideActiveWindowsFromSaver, TQString::fromLatin1( "HideActiveWindowsFromSaver" ) );
  TDEConfigSkeleton::ItemBool  *itemHideCancelButton;
  itemHideCancelButton = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "HideCancelButton" ), mHideCancelButton, false );
  addItem( itemHideCancelButton, TQString::fromLatin1( "HideCancelButton" ) );
  TDEConfigSkeleton::ItemBool  *itemUseTDESAK;
  itemUseTDESAK = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseTDESAK" ), mUseTDESAK, true );
  addItem( itemUseTDESAK, TQString::fromLatin1( "UseTDESAK" ) );
  TDEConfigSkeleton::ItemStringList  *itemPluginsUnlock;
  itemPluginsUnlock = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "PluginsUnlock" ), mPluginsUnlock );
  addItem( itemPluginsUnlock, TQString::fromLatin1( "PluginsUnlock" ) );
  TDEConfigSkeleton::ItemStringList  *itemPluginOptions;
  itemPluginOptions = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "PluginOptions" ), mPluginOptions );
  addItem( itemPluginOptions, TQString::fromLatin1( "PluginOptions" ) );

  setCurrentGroup( TQString::fromLatin1( "MiniCli" ) );

  TDEConfigSkeleton::ItemPathList  *itemHistory;
  itemHistory = new TDEConfigSkeleton::ItemPathList( currentGroup(), TQString::fromLatin1( "History" ), mHistory );
  addItem( itemHistory, TQString::fromLatin1( "History" ) );
  TDEConfigSkeleton::ItemInt  *itemHistoryLength;
  itemHistoryLength = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "HistoryLength" ), mHistoryLength, 50 );
  addItem( itemHistoryLength, TQString::fromLatin1( "HistoryLength" ) );
  TDEConfigSkeleton::ItemInt  *itemMiniCLIAutocompletionLength;
  itemMiniCLIAutocompletionLength = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MiniCLIAutocompletionLength" ), mMiniCLIAutocompletionLength, 10 );
  addItem( itemMiniCLIAutocompletionLength, TQString::fromLatin1( "MiniCLIAutocompletionLength" ) );
  TDEConfigSkeleton::ItemBool  *itemMiniCLIFilesystemAutoComplete;
  itemMiniCLIFilesystemAutoComplete = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "MiniCLIFilesystemAutoComplete" ), mMiniCLIFilesystemAutoComplete, false );
  addItem( itemMiniCLIFilesystemAutoComplete, TQString::fromLatin1( "MiniCLIFilesystemAutoComplete" ) );
  TDEConfigSkeleton::ItemBool  *itemMiniCLISystempathAutoComplete;
  itemMiniCLISystempathAutoComplete = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "MiniCLISystempathAutoComplete" ), mMiniCLISystempathAutoComplete, false );
  addItem( itemMiniCLISystempathAutoComplete, TQString::fromLatin1( "MiniCLISystempathAutoComplete" ) );
  TDEConfigSkeleton::ItemBool  *itemMiniCLIHistoryAndFilesystemAutoComplete;
  itemMiniCLIHistoryAndFilesystemAutoComplete = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "MiniCLIHistoryAndFilesystemAutoComplete" ), mMiniCLIHistoryAndFilesystemAutoComplete, false );
  addItem( itemMiniCLIHistoryAndFilesystemAutoComplete, TQString::fromLatin1( "MiniCLIHistoryAndFilesystemAutoComplete" ) );
  TDEConfigSkeleton::ItemPathList  *itemTerminalApps;
  itemTerminalApps = new TDEConfigSkeleton::ItemPathList( currentGroup(), TQString::fromLatin1( "TerminalApps" ), mTerminalApps );
  addItem( itemTerminalApps, TQString::fromLatin1( "TerminalApps" ) );
  TDEConfigSkeleton::ItemPathList  *itemCompletionItems;
  itemCompletionItems = new TDEConfigSkeleton::ItemPathList( currentGroup(), TQString::fromLatin1( "CompletionItems" ), mCompletionItems );
  addItem( itemCompletionItems, TQString::fromLatin1( "CompletionItems" ) );
  TDEConfigSkeleton::ItemInt  *itemCompletionMode;
  itemCompletionMode = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CompletionMode" ), mCompletionMode, TDEGlobalSettings::completionMode() );
  addItem( itemCompletionMode, TQString::fromLatin1( "CompletionMode" ) );
  TDEConfigSkeleton::ItemInt  *itemMaxUsernameCompletions;
  itemMaxUsernameCompletions = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxUsernameCompletions" ), mMaxUsernameCompletions, 30 );
  addItem( itemMaxUsernameCompletions, TQString::fromLatin1( "MaxUsernameCompletions" ) );
}

KDesktopSettings::~KDesktopSettings()
{
  if ( mSelf == this )
    staticKDesktopSettingsDeleter.setObject( mSelf, 0, false );
}

