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

#include "smb4ksettings.h"

#include <tdelocale.h>

#include <kstaticdeleter.h>

Smb4KSettings *Smb4KSettings::mSelf = 0;
static KStaticDeleter<Smb4KSettings> staticSmb4KSettingsDeleter;

Smb4KSettings *Smb4KSettings::self()
{
  if ( !mSelf ) {
    staticSmb4KSettingsDeleter.setObject( mSelf, new Smb4KSettings() );
    mSelf->readConfig();
  }

  return mSelf;
}

Smb4KSettings::Smb4KSettings(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "smb4krc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "Programs" ) );

  mGrepItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "grep" ), mGrep );
  mGrepItem->setLabel( i18n("The path to the program \"grep\"") );
  addItem( mGrepItem, TQString::fromLatin1( "grep" ) );
  mAwkItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "awk" ), mAwk );
  mAwkItem->setLabel( i18n("The path to the program \"awk\"") );
  addItem( mAwkItem, TQString::fromLatin1( "awk" ) );
  mSedItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "sed" ), mSed );
  mSedItem->setLabel( i18n("The path to the program \"sed\"") );
  addItem( mSedItem, TQString::fromLatin1( "sed" ) );
  mXargsItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "xargs" ), mXargs );
  mXargsItem->setLabel( i18n("The path to the program \"xargs\"") );
  addItem( mXargsItem, TQString::fromLatin1( "xargs" ) );
  mRmdirItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "rmdir" ), mRmdir );
  mRmdirItem->setLabel( i18n("The path to the program \"rmdir\"") );
  addItem( mRmdirItem, TQString::fromLatin1( "rmdir" ) );
  mNmblookupItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "nmblookup" ), mNmblookup );
  mNmblookupItem->setLabel( i18n("The path to the program \"nmblookup\"") );
  addItem( mNmblookupItem, TQString::fromLatin1( "nmblookup" ) );
  mSmbclientItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbclient" ), mSmbclient );
  mSmbclientItem->setLabel( i18n("The path to the program \"smbclient\"") );
  addItem( mSmbclientItem, TQString::fromLatin1( "smbclient" ) );
  mSmbspoolItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbspool" ), mSmbspool );
  mSmbspoolItem->setLabel( i18n("The path to the program \"smbspool\"") );
  addItem( mSmbspoolItem, TQString::fromLatin1( "smbspool" ) );
  mNetItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "net" ), mNet );
  mNetItem->setLabel( i18n("The path to the program \"net\"") );
  addItem( mNetItem, TQString::fromLatin1( "net" ) );
  mMount_cifsItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "mount_cifs" ), mMount_cifs );
  mMount_cifsItem->setLabel( i18n("The path to the program \"mount.cifs\"") );
  addItem( mMount_cifsItem, TQString::fromLatin1( "mount_cifs" ) );
  mUmount_cifsItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "umount_cifs" ), mUmount_cifs );
  mUmount_cifsItem->setLabel( i18n("The path to the program \"umount.cifs\"") );
  addItem( mUmount_cifsItem, TQString::fromLatin1( "umount_cifs" ) );
  mSmbmountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbmount" ), mSmbmount );
  mSmbmountItem->setLabel( i18n("The path to the program \"smbmount\"") );
  addItem( mSmbmountItem, TQString::fromLatin1( "smbmount" ) );
  mSmbumountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbumount" ), mSmbumount );
  mSmbumountItem->setLabel( i18n("The path to the program \"smbumount\"") );
  addItem( mSmbumountItem, TQString::fromLatin1( "smbumount" ) );
  mMountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "mount" ), mMount );
  mMountItem->setLabel( i18n("The path to the program \"mount\"") );
  addItem( mMountItem, TQString::fromLatin1( "mount" ) );
  mMount_smbfsItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "mount_smbfs" ), mMount_smbfs );
  mMount_smbfsItem->setLabel( i18n("The path to the program \"mount_smbfs\" (FreeBSD only)") );
  addItem( mMount_smbfsItem, TQString::fromLatin1( "mount_smbfs" ) );
  mSmbutilItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbutil" ), mSmbutil );
  mSmbutilItem->setLabel( i18n("The path to the program \"smbutil\" (FreeBSD only)") );
  addItem( mSmbutilItem, TQString::fromLatin1( "smbutil" ) );
  mUmountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "umount" ), mUmount );
  mUmountItem->setLabel( i18n("The path to the program \"umount\"") );
  addItem( mUmountItem, TQString::fromLatin1( "umount" ) );
  mSmb4k_mountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_mount" ), mSmb4k_mount );
  mSmb4k_mountItem->setLabel( i18n("The path to the program \"smb4k_mount\"") );
  addItem( mSmb4k_mountItem, TQString::fromLatin1( "smb4k_mount" ) );
  mSmb4k_umountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_umount" ), mSmb4k_umount );
  mSmb4k_umountItem->setLabel( i18n("The path to the program \"smb4k_umount\"") );
  addItem( mSmb4k_umountItem, TQString::fromLatin1( "smb4k_umount" ) );
  mSmb4k_killItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_kill" ), mSmb4k_kill );
  mSmb4k_killItem->setLabel( i18n("The path to the program \"smb4k_kill\"") );
  addItem( mSmb4k_killItem, TQString::fromLatin1( "smb4k_kill" ) );
  mSmb4k_catItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_cat" ), mSmb4k_cat );
  mSmb4k_catItem->setLabel( i18n("The path to the program \"smb4k_cat\"") );
  addItem( mSmb4k_catItem, TQString::fromLatin1( "smb4k_cat" ) );
  mSmb4k_mvItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_mv" ), mSmb4k_mv );
  mSmb4k_mvItem->setLabel( i18n("The path to the program \"smb4k_mv\"") );
  addItem( mSmb4k_mvItem, TQString::fromLatin1( "smb4k_mv" ) );
  mSuperItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "super" ), mSuper );
  mSuperItem->setLabel( i18n("The path to the program \"super\" (optional)") );
  addItem( mSuperItem, TQString::fromLatin1( "super" ) );
  mSudoItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "sudo" ), mSudo );
  mSudoItem->setLabel( i18n("The path to the program \"sudo\" (optional)") );
  addItem( mSudoItem, TQString::fromLatin1( "sudo" ) );
  mDvipsItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "dvips" ), mDvips );
  mDvipsItem->setLabel( i18n("The path to the program \"dvips\" (optional)") );
  addItem( mDvipsItem, TQString::fromLatin1( "dvips" ) );
  mEnscriptItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "enscript" ), mEnscript );
  mEnscriptItem->setLabel( i18n("The path to the program \"enscript\" (optional)") );
  addItem( mEnscriptItem, TQString::fromLatin1( "enscript" ) );
  mRsyncItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "rsync" ), mRsync );
  mRsyncItem->setLabel( i18n("The path to the program \"rsync\" (optional)") );
  addItem( mRsyncItem, TQString::fromLatin1( "rsync" ) );
  mKonsoleItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "konsole" ), mKonsole );
  mKonsoleItem->setLabel( i18n("The path to the program \"konsole\" (optional)") );
  addItem( mKonsoleItem, TQString::fromLatin1( "konsole" ) );

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

  mShowCustomBookmarkLabelItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowCustomBookmarkLabel" ), mShowCustomBookmarkLabel, true );
  mShowCustomBookmarkLabelItem->setLabel( i18n("Show custom bookmark label if available") );
  mShowCustomBookmarkLabelItem->setWhatsThis( i18n("Do not show the name of the share that is represented by the bookmark but the custom label that was defined in the bookmark editor.") );
  addItem( mShowCustomBookmarkLabelItem, TQString::fromLatin1( "ShowCustomBookmarkLabel" ) );
  mEmbedIntoSystemTrayItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EmbedIntoSystemTray" ), mEmbedIntoSystemTray, true );
  mEmbedIntoSystemTrayItem->setLabel( i18n("Embed application into system tray") );
  mEmbedIntoSystemTrayItem->setWhatsThis( i18n("Embed the application into the system tray. The system tray widget provides a popup menu with several commonly used tasks so that you do not need to bring up the main window everytime. If this setting is chosen you have to use \"Quit\" from the \"File\" menu or the system tray widget to exit the application.") );
  addItem( mEmbedIntoSystemTrayItem, TQString::fromLatin1( "EmbedIntoSystemTray" ) );
  mStartMainWindowDockedItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "StartMainWindowDocked" ), mStartMainWindowDocked, false );
  mStartMainWindowDockedItem->setLabel( i18n("Start docked") );
  mStartMainWindowDockedItem->setWhatsThis( i18n("Start the application docked to the system tray, i.e. only the system tray widget is shown and the main window is hidden. You can bring the main window up by clicking on the system tray widget or by choosing \"Restore\" from its popup menu.") );
  addItem( mStartMainWindowDockedItem, TQString::fromLatin1( "StartMainWindowDocked" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesSharesView;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "IconView" );
    valuesSharesView.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "ListView" );
    valuesSharesView.append( choice );
  }
  mSharesViewItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SharesView" ), mSharesView, valuesSharesView, EnumSharesView::IconView );
  mSharesViewItem->setLabel( i18n("How the shares should be displayed") );
  mSharesViewItem->setWhatsThis( i18n("Choose the kind of view you prefer for displaying the mounted shares. There is an icon view or a list view available.") );
  addItem( mSharesViewItem, TQString::fromLatin1( "SharesView" ) );
  mShowPrinterSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowPrinterShares" ), mShowPrinterShares, true );
  mShowPrinterSharesItem->setLabel( i18n("Show printer shares") );
  mShowPrinterSharesItem->setWhatsThis( i18n("Printer shares will be displayed in the network browser.") );
  addItem( mShowPrinterSharesItem, TQString::fromLatin1( "ShowPrinterShares" ) );
  mShowHiddenSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowHiddenShares" ), mShowHiddenShares, true );
  mShowHiddenSharesItem->setLabel( i18n("Show hidden shares") );
  mShowHiddenSharesItem->setWhatsThis( i18n("Hidden shares will be displayed in the network browser. Hidden shares are ending with a $ sign, e.g. Musik$ or IPC$.") );
  addItem( mShowHiddenSharesItem, TQString::fromLatin1( "ShowHiddenShares" ) );
  mShowHiddenIPCSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowHiddenIPCShares" ), mShowHiddenIPCShares, true );
  mShowHiddenIPCSharesItem->setLabel( i18n("Show hidden IPC$ shares") );
  mShowHiddenIPCSharesItem->setWhatsThis( i18n("Hidden IPC$ shares will be displayed in the network browser.") );
  addItem( mShowHiddenIPCSharesItem, TQString::fromLatin1( "ShowHiddenIPCShares" ) );
  mShowHiddenADMINSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowHiddenADMINShares" ), mShowHiddenADMINShares, true );
  mShowHiddenADMINSharesItem->setLabel( i18n("Show hidden ADMIN$ shares") );
  mShowHiddenADMINSharesItem->setWhatsThis( i18n("Hidden ADMIN$ shares will be displayed in the network browser.") );
  addItem( mShowHiddenADMINSharesItem, TQString::fromLatin1( "ShowHiddenADMINShares" ) );
  mShowTypeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowType" ), mShowType, true );
  mShowTypeItem->setLabel( i18n("Show the type of a share") );
  mShowTypeItem->setWhatsThis( i18n("The type of a share will be displayed in a separate column in the network browser. It can either be Disk, Print or IPC.") );
  addItem( mShowTypeItem, TQString::fromLatin1( "ShowType" ) );
  mShowIPAddressItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowIPAddress" ), mShowIPAddress, true );
  mShowIPAddressItem->setLabel( i18n("Show the IP address of a server") );
  mShowIPAddressItem->setWhatsThis( i18n("The IP address of the server will be displayed in a separate column in the network browser.") );
  addItem( mShowIPAddressItem, TQString::fromLatin1( "ShowIPAddress" ) );
  mShowCommentItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowComment" ), mShowComment, true );
  mShowCommentItem->setLabel( i18n("Show the comment of a share") );
  mShowCommentItem->setWhatsThis( i18n("The comment describing the server or share will be displayed in a separate column in the network browser.") );
  addItem( mShowCommentItem, TQString::fromLatin1( "ShowComment" ) );
  mShowNetworkItemToolTipItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowNetworkItemToolTip" ), mShowNetworkItemToolTip, true );
  mShowNetworkItemToolTipItem->setLabel( i18n("Show a tooltip with information about the network item") );
  mShowNetworkItemToolTipItem->setWhatsThis( i18n("The tooltip shows various information about the current network item.") );
  addItem( mShowNetworkItemToolTipItem, TQString::fromLatin1( "ShowNetworkItemToolTip" ) );
  mShowMountPointItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowMountPoint" ), mShowMountPoint, false );
  mShowMountPointItem->setLabel( i18n("Show the mount point of a share instead of its name") );
  mShowMountPointItem->setWhatsThis( i18n("A share is normally displayed with its name in the shares view. Choosing this feature will cause the exchange of the share name by the mount point.") );
  addItem( mShowMountPointItem, TQString::fromLatin1( "ShowMountPoint" ) );
  mShowAllSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowAllShares" ), mShowAllShares, false );
  mShowAllSharesItem->setLabel( i18n("Show all shares that are mounted on the system") );
  mShowAllSharesItem->setWhatsThis( i18n("You will not only see the shares that were mounted and are owned by you, but also all other mounts using the SMBFS and CIFS file system that are present on the system.") );
  addItem( mShowAllSharesItem, TQString::fromLatin1( "ShowAllShares" ) );
  mEnableDropSupportItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EnableDropSupport" ), mEnableDropSupport, false );
  mEnableDropSupportItem->setLabel( i18n("Allow the dropping of files and directories onto share icons") );
  mEnableDropSupportItem->setWhatsThis( i18n("This setting allows you to drop files or whole directories onto the share icons, which will cause them to be copied.") );
  addItem( mEnableDropSupportItem, TQString::fromLatin1( "EnableDropSupport" ) );
  mEnableDragSupportItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EnableDragSupport" ), mEnableDragSupport, false );
  mEnableDragSupportItem->setLabel( i18n("Allow the dragging of share icons") );
  mEnableDragSupportItem->setWhatsThis( i18n("This setting allows you to drag a share item out of Smb4K and onto the desktop or into a file manager. Only enable it if you think you absolutely need it and read the handbook before you mark this checkbox.") );
  addItem( mEnableDragSupportItem, TQString::fromLatin1( "EnableDragSupport" ) );
  mShowShareToolTipItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowShareToolTip" ), mShowShareToolTip, true );
  mShowShareToolTipItem->setLabel( i18n("Show a tooltip with information about the share") );
  mShowShareToolTipItem->setWhatsThis( i18n("The tooltip shows various information about the current share.") );
  addItem( mShowShareToolTipItem, TQString::fromLatin1( "ShowShareToolTip" ) );
  mPreviewHiddenItemsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreviewHiddenItems" ), mPreviewHiddenItems, false );
  mPreviewHiddenItemsItem->setLabel( i18n("Show hidden files and directories when previewing a share") );
  mPreviewHiddenItemsItem->setWhatsThis( i18n("Display hidden files and directories in the preview dialog. The names of hidden files and directories are beginning with a period and are usually needed for very specific purposes (configuration file of an application, etc.). Since they are not of any importance for your regular work, you normally do not need to enable this feature.") );
  addItem( mPreviewHiddenItemsItem, TQString::fromLatin1( "PreviewHiddenItems" ) );
  mShowOwnerItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowOwner" ), mShowOwner, false );
  mShowOwnerItem->setLabel( i18n("Show owner and group (SMBFS only)") );
  mShowOwnerItem->setWhatsThis( i18n("Show the UID and GID that own all files on the mounted file system. At the moment the column will only contain an entry if the share was mounted with the SMBFS file system.") );
  addItem( mShowOwnerItem, TQString::fromLatin1( "ShowOwner" ) );
  mShowLoginItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowLogin" ), mShowLogin, false );
  mShowLoginItem->setLabel( i18n("Show login (CIFS only)") );
  mShowLoginItem->setWhatsThis( i18n("Show the login that was used to authenticate to the server. The column will only contain an entry if the share was mounted with the CIFS file system.") );
  addItem( mShowLoginItem, TQString::fromLatin1( "ShowLogin" ) );
  mShowFileSystemItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowFileSystem" ), mShowFileSystem, true );
  mShowFileSystemItem->setLabel( i18n("Show file system") );
  mShowFileSystemItem->setWhatsThis( i18n("Show the file system that was used for mounting the share.") );
  addItem( mShowFileSystemItem, TQString::fromLatin1( "ShowFileSystem" ) );
  mShowFreeDiskSpaceItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowFreeDiskSpace" ), mShowFreeDiskSpace, false );
  mShowFreeDiskSpaceItem->setLabel( i18n("Show free disk space") );
  mShowFreeDiskSpaceItem->setWhatsThis( i18n("Show the free disk space that is left on the share.") );
  addItem( mShowFreeDiskSpaceItem, TQString::fromLatin1( "ShowFreeDiskSpace" ) );
  mShowUsedDiskSpaceItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowUsedDiskSpace" ), mShowUsedDiskSpace, false );
  mShowUsedDiskSpaceItem->setLabel( i18n("Show used disk space") );
  mShowUsedDiskSpaceItem->setWhatsThis( i18n("Show the disk space that is already used on the share.") );
  addItem( mShowUsedDiskSpaceItem, TQString::fromLatin1( "ShowUsedDiskSpace" ) );
  mShowTotalDiskSpaceItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowTotalDiskSpace" ), mShowTotalDiskSpace, false );
  mShowTotalDiskSpaceItem->setLabel( i18n("Show total disk space") );
  mShowTotalDiskSpaceItem->setWhatsThis( i18n("Show the total disk space of the share.") );
  addItem( mShowTotalDiskSpaceItem, TQString::fromLatin1( "ShowTotalDiskSpace" ) );
  mShowDiskUsageItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowDiskUsage" ), mShowDiskUsage, true );
  mShowDiskUsageItem->setLabel( i18n("Show disk usage") );
  mShowDiskUsageItem->setWhatsThis( i18n("Show the space that is used on the share in percent.") );
  addItem( mShowDiskUsageItem, TQString::fromLatin1( "ShowDiskUsage" ) );

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

  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesBrowseList;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "LookupDomains" );
    valuesBrowseList.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "QueryCurrentMaster" );
    valuesBrowseList.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "QueryCustomMaster" );
    valuesBrowseList.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "ScanBroadcastAreas" );
    valuesBrowseList.append( choice );
  }
  mBrowseListItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "BrowseList" ), mBrowseList, valuesBrowseList, EnumBrowseList::LookupDomains );
  mBrowseListItem->setLabel( i18n("Method how to retrieve the browse list") );
  mBrowseListItem->setWhatsThis( i18n("Choose the method how to compile the initial browse list. There are four options available: The first one is the default one and employs \"nmblookup -M -- -\" to discover all workgroups, domains, and their master browsers on your network neighborhood. The second one instructs Smb4K to query the current master browser of your workgroup or domain to retrieve the browse list. The third is similar to the second one except that you can define the master browser that should be queried. If you choose the last option, the provided list of broadcast areas will be scanned using \"nmblookup -B x.x.x.x -- '*'\".") );
  addItem( mBrowseListItem, TQString::fromLatin1( "BrowseList" ) );
  mCustomMasterBrowserItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CustomMasterBrowser" ), mCustomMasterBrowser );
  mCustomMasterBrowserItem->setLabel( i18n("A custom master browser that is to be queried") );
  mCustomMasterBrowserItem->setWhatsThis( i18n("Enter the name or IP address of a master browser here that should be queried to compile the initial browse list.") );
  addItem( mCustomMasterBrowserItem, TQString::fromLatin1( "CustomMasterBrowser" ) );
  mBroadcastAreasItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BroadcastAreas" ), mBroadcastAreas );
  mBroadcastAreasItem->setLabel( i18n("A custom list of broadcast addresses") );
  mBroadcastAreasItem->setWhatsThis( i18n("Enter a comma-separated list of broadcast addresses here (e.g. 192.168.0.255, 192.168.1.255). It is used to scan for all known hosts in the respective broadcast areas.") );
  addItem( mBroadcastAreasItem, TQString::fromLatin1( "BroadcastAreas" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesSearchMethod;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Nmblookup" );
    valuesSearchMethod.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Smbclient" );
    valuesSearchMethod.append( choice );
  }
  mSearchMethodItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SearchMethod" ), mSearchMethod, valuesSearchMethod, EnumSearchMethod::Nmblookup );
  mSearchMethodItem->setLabel( i18n("Method for searching for remote hosts") );
  mSearchMethodItem->setWhatsThis( i18n("Smb4K is able to search for remote hosts either using nmblookup or smbclient. The nmblookup method is very reliable and works well. However, if your network is configured uncommonly and you experience problems when searching, you should try the smbclient method. But please note that you lose the ability to search for IP addresses in that case.") );
  addItem( mSearchMethodItem, TQString::fromLatin1( "SearchMethod" ) );

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

  mMountPrefixItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "MountPrefix" ), mMountPrefix, TQString::fromLatin1( "${HOME}/smb4k/" ) );
  mMountPrefixItem->setLabel( i18n("The mount prefix") );
  mMountPrefixItem->setWhatsThis( i18n("This is the prefix where Smb4K will create the mount points and mount the remote shares.") );
  addItem( mMountPrefixItem, TQString::fromLatin1( "MountPrefix" ) );
  mForceLowerCaseSubdirsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ForceLowerCaseSubdirs" ), mForceLowerCaseSubdirs, false );
  mForceLowerCaseSubdirsItem->setLabel( i18n("Force the subdirectories created by Smb4K to be lowercase") );
  mForceLowerCaseSubdirsItem->setWhatsThis( i18n("All names of the subdirectories created by Smb4K below the mount prefix will be lowercase.") );
  addItem( mForceLowerCaseSubdirsItem, TQString::fromLatin1( "ForceLowerCaseSubdirs" ) );
  mUnmountSharesOnExitItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UnmountSharesOnExit" ), mUnmountSharesOnExit, false );
  mUnmountSharesOnExitItem->setLabel( i18n("Unmount the shares owned by the user on exit") );
  mUnmountSharesOnExitItem->setWhatsThis( i18n("Unmount all shares that belong to you when the program exits.") );
  addItem( mUnmountSharesOnExitItem, TQString::fromLatin1( "UnmountSharesOnExit" ) );
  mRemountSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RemountShares" ), mRemountShares, false );
  mRemountSharesItem->setLabel( i18n("Remount shares") );
  mRemountSharesItem->setWhatsThis( i18n("Remount all your shares that were still mounted when you exited the program. Shares that were mounted by other users are ignored.") );
  addItem( mRemountSharesItem, TQString::fromLatin1( "RemountShares" ) );
  mUnmountForeignSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UnmountForeignShares" ), mUnmountForeignShares, false );
  mUnmountForeignSharesItem->setLabel( i18n("Allow the unmounting of shares owned by other users") );
  mUnmountForeignSharesItem->setWhatsThis( i18n("Allow the unmounting of shares that were mounted by other users. In most cases you need super user privileges for this. Please think before you enable this option!") );
  addItem( mUnmountForeignSharesItem, TQString::fromLatin1( "UnmountForeignShares" ) );
  mCheckIntervalItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CheckInterval" ), mCheckInterval, 2500 );
  mCheckIntervalItem->setMinValue(500);
  mCheckIntervalItem->setMaxValue(300000);
  mCheckIntervalItem->setLabel( i18n("Interval between checks for new and inaccessible shares") );
  mCheckIntervalItem->setWhatsThis( i18n("This is the time that elapses until Smb4K checks again for new mounts and unmounts. The lower limit is 500 ms, the upper one 300000 ms. Please note that the smaller the interval gets the higher is your system load.") );
  addItem( mCheckIntervalItem, TQString::fromLatin1( "CheckInterval" ) );

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

  mUseWalletItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseWallet" ), mUseWallet, true );
  mUseWalletItem->setLabel( i18n("Use a wallet to store authentication data") );
  mUseWalletItem->setWhatsThis( i18n("Use a wallet to store the authentication data. The login name and the password name are stored encrypted on your hard drive. If this setting is disabled, the authentication data is not stored permanently but only temporarily.") );
  addItem( mUseWalletItem, TQString::fromLatin1( "UseWallet" ) );
  mRememberPasswordsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RememberPasswords" ), mRememberPasswords, true );
  mRememberPasswordsItem->setLabel( i18n("Remember passwords if no wallet is used") );
  mRememberPasswordsItem->setWhatsThis( i18n("If you decided to store the login names and passwords only temporarily, Smb4K will remember them until the program exits. If you disable this setting, you will have to provide the authentication data everytime it is needed.") );
  addItem( mRememberPasswordsItem, TQString::fromLatin1( "RememberPasswords" ) );
  mUseDefaultLoginItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseDefaultLogin" ), mUseDefaultLogin, false );
  mUseDefaultLoginItem->setLabel( i18n("Use a default login") );
  mUseDefaultLoginItem->setWhatsThis( i18n("Enable the usage of a default login name and password. The authentication data provided below is then used by default to authenticate to a remote server. This is very useful e.g. if you are working in an Active Directory environment or an NT domain.") );
  addItem( mUseDefaultLoginItem, TQString::fromLatin1( "UseDefaultLogin" ) );

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

  mNetBIOSNameItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "NetBIOSName" ), mNetBIOSName );
  mNetBIOSNameItem->setLabel( i18n("The NetBIOS name of this computer") );
  mNetBIOSNameItem->setWhatsThis( i18n("This is the NetBIOS name of this computer that is used by Smb4K. By default, it is either the NetBIOS name that is defined in the smb.conf file or the host name.") );
  addItem( mNetBIOSNameItem, TQString::fromLatin1( "NetBIOSName" ) );
  mDomainNameItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DomainName" ), mDomainName );
  mDomainNameItem->setLabel( i18n("The name of the workgroup/domain this computer is in") );
  mDomainNameItem->setWhatsThis( i18n("This is the workgroup or domain this computer is or should be in. By default, it is the workgroup that is defined in the smb.conf file.") );
  addItem( mDomainNameItem, TQString::fromLatin1( "DomainName" ) );
  mSocketOptionsItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "SocketOptions" ), mSocketOptions );
  mSocketOptionsItem->setLabel( i18n("The socket options") );
  mSocketOptionsItem->setWhatsThis( i18n("These are the TCP socket options that are used by nmblookup, smbmount and smbclient. Socket options are controls on the networking layer of the operating systems which allow the connection to be tuned. See the manual page of smb.conf for more information.") );
  addItem( mSocketOptionsItem, TQString::fromLatin1( "SocketOptions" ) );
  mNetBIOSScopeItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "NetBIOSScope" ), mNetBIOSScope );
  mNetBIOSScopeItem->setLabel( i18n("The NetBIOS scope") );
  mNetBIOSScopeItem->setWhatsThis( i18n("This sets the NetBIOS scope that nmblookup, smbmount and smbclient will operate under. It should not be set unless every machine on your network neighborhood sets this value.") );
  addItem( mNetBIOSScopeItem, TQString::fromLatin1( "NetBIOSScope" ) );
  mRemotePortItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "RemotePort" ), mRemotePort, 139 );
  mRemotePortItem->setMinValue(1);
  mRemotePortItem->setMaxValue(65535);
  mRemotePortItem->setLabel( i18n("The remote SMB port") );
  mRemotePortItem->setWhatsThis( i18n("This is the port that is to be used for connecting to remote servers. Please note that this is independent of the settings in the smb.conf file.") );
  addItem( mRemotePortItem, TQString::fromLatin1( "RemotePort" ) );
  mUseKerberosItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseKerberos" ), mUseKerberos, false );
  mUseKerberosItem->setLabel( i18n("Use Kerberos for authentication") );
  mUseKerberosItem->setWhatsThis( i18n("Try to authenticate with Kerberos. This is only useful in an Active Directory environment. The setting affects the smbmount and smbclient command.") );
  addItem( mUseKerberosItem, TQString::fromLatin1( "UseKerberos" ) );
  mMachineAccountItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "MachineAccount" ), mMachineAccount, false );
  mMachineAccountItem->setLabel( i18n("Use machine account for login") );
  mMachineAccountItem->setWhatsThis( i18n("Make queries to the remote server using the machine account of the local server. The setting affects the net and the smbclient command.") );
  addItem( mMachineAccountItem, TQString::fromLatin1( "MachineAccount" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesFilesystem;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "CIFS" );
    valuesFilesystem.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "SMBFS" );
    valuesFilesystem.append( choice );
  }
  mFilesystemItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "Filesystem" ), mFilesystem, valuesFilesystem, EnumFilesystem::CIFS );
  mFilesystemItem->setLabel( i18n("The file system that is used for mounting remote shares") );
  mFilesystemItem->setWhatsThis( i18n("This is the file system that will be used to mount the remote shares. The Common Internet File System (CIFS) is supported by Windows 2000 and above as well as by Samba. It offers many improvements and advancements compared to the Server Message Block File System (SMBFS) which is used by Windows 9x and below.") );
  addItem( mFilesystemItem, TQString::fromLatin1( "Filesystem" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesClientCharset;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "default_charset" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_1" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_2" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_3" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_4" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_5" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_6" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_7" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_8" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_9" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_13" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_14" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "iso8859_15" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "utf8" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "koi8_r" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "koi8_u" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "koi8_ru" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp1251" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "gb2312" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "big5" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "euc_jp" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "euc_kr" );
    valuesClientCharset.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "tis_620" );
    valuesClientCharset.append( choice );
  }
  mClientCharsetItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "ClientCharset" ), mClientCharset, valuesClientCharset, EnumClientCharset::default_charset );
  mClientCharsetItem->setLabel( i18n("The charset used by the client") );
  mClientCharsetItem->setWhatsThis( i18n("This is the charset that is used by the client side (i.e. your side) either to convert local path names to and from Unicode in case of the CIFS file system or for codepage to charset translations (NLS) in case of the SMBFS file system. If you keep the default setting, Smb4K will try to automatically determine the charset by looking up the \"unix charset\" option in the smb.conf.") );
  addItem( mClientCharsetItem, TQString::fromLatin1( "ClientCharset" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesServerCodepage;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "default_codepage" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp437" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp720" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp737" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp775" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp850" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp852" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp855" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp857" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp858" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp860" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp861" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp862" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp863" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp864" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp865" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp866" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp869" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp874" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp932" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp936" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp949" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp950" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp1250" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp1251" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp1252" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp1253" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp1254" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp1255" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp1256" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp1257" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "cp1258" );
    valuesServerCodepage.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "unicode" );
    valuesServerCodepage.append( choice );
  }
  mServerCodepageItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "ServerCodepage" ), mServerCodepage, valuesServerCodepage, EnumServerCodepage::default_codepage );
  mServerCodepageItem->setLabel( i18n("The codepage used by the server") );
  mServerCodepageItem->setWhatsThis( i18n("This is the codepage that is used by the server. The setting is only available with the SMBFS file system. If you keep the default setting, Smb4K will try to automatically determine the codepage by looking up the \"dos charset\" option in the smb.conf.") );
  addItem( mServerCodepageItem, TQString::fromLatin1( "ServerCodepage" ) );
  mUserIDItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "UserID" ), mUserID, TQString( "%1" ).arg( (int)getuid() ) );
  mUserIDItem->setLabel( i18n("The user ID that is to be used for mounting") );
  mUserIDItem->setWhatsThis( i18n("Here you can enter the user ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS file system and the remote server supports the CIFS Unix Extentions, this setting will be ignored.") );
  addItem( mUserIDItem, TQString::fromLatin1( "UserID" ) );
  mGroupIDItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "GroupID" ), mGroupID, TQString( "%1" ).arg( (int)getgid() ) );
  mGroupIDItem->setLabel( i18n("The group ID that is to be used for mounting") );
  mGroupIDItem->setWhatsThis( i18n("Here you can enter the group ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS file system and the remote server supports the CIFS Unix Extentions, this setting will be ignored.") );
  addItem( mGroupIDItem, TQString::fromLatin1( "GroupID" ) );
  mFileMaskItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "FileMask" ), mFileMask, TQString::fromLatin1( "0755" ) );
  mFileMaskItem->setLabel( i18n("The file mask for a share") );
  mFileMaskItem->setWhatsThis( i18n("This is the mask that will be used for creating files. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.") );
  addItem( mFileMaskItem, TQString::fromLatin1( "FileMask" ) );
  mDirectoryMaskItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DirectoryMask" ), mDirectoryMask, TQString::fromLatin1( "0755" ) );
  mDirectoryMaskItem->setLabel( i18n("The directory mask for a share") );
  mDirectoryMaskItem->setWhatsThis( i18n("This is the mask that will be used for creating directories. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.") );
  addItem( mDirectoryMaskItem, TQString::fromLatin1( "DirectoryMask" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesWriteAccess;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "ReadWrite" );
    valuesWriteAccess.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "ReadOnly" );
    valuesWriteAccess.append( choice );
  }
  mWriteAccessItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "WriteAccess" ), mWriteAccess, valuesWriteAccess, EnumWriteAccess::ReadWrite );
  mWriteAccessItem->setLabel( i18n("The write access granted for the share") );
  mWriteAccessItem->setWhatsThis( i18n("Here you can choose if the shares should be mounted in read and write mode or only read-only.") );
  addItem( mWriteAccessItem, TQString::fromLatin1( "WriteAccess" ) );
  mPermissionChecksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PermissionChecks" ), mPermissionChecks, true );
  mPermissionChecksItem->setLabel( i18n("Do permission checks") );
  mPermissionChecksItem->setWhatsThis( i18n("The client side (i.e. your side) will check if you have the right UID/GID to manipulate a file or directory. You might want to switch this feature off if the server(s) support the CIFS Unix Extensions and you are not allowed to access the files and directories. This setting does not affect the normal ACL check.") );
  addItem( mPermissionChecksItem, TQString::fromLatin1( "PermissionChecks" ) );
  mClientControlsIDsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ClientControlsIDs" ), mClientControlsIDs, false );
  mClientControlsIDsItem->setLabel( i18n("Set UID and GID") );
  mClientControlsIDsItem->setWhatsThis( i18n("In case the server supports the CIFS Unix Extensions, the client side (i.e. your side) attempts to set the effective UID and GID of the current process on newly created files, directories and devices. If this feature is turned off, the default UID and GID defined for the share will be used. It is recommended that you read the manual page of mount.cifs before you change this setting.") );
  addItem( mClientControlsIDsItem, TQString::fromLatin1( "ClientControlsIDs" ) );
  mServerInodeNumbersItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ServerInodeNumbers" ), mServerInodeNumbers, false );
  mServerInodeNumbersItem->setLabel( i18n("Use server inode numbers") );
  mServerInodeNumbersItem->setWhatsThis( i18n("Use inode numbers (unique persistent file identifiers) returned by the server instead of automatically generating temporary inode numbers on the client side.") );
  addItem( mServerInodeNumbersItem, TQString::fromLatin1( "ServerInodeNumbers" ) );
  mInodeDataCachingItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "InodeDataCaching" ), mInodeDataCaching, false );
  mInodeDataCachingItem->setLabel( i18n("Do not cache inode data") );
  mInodeDataCachingItem->setWhatsThis( i18n("Directly read from and write to files opened on the share. In some cases this can provide better performance than the default behavior which caches reads and writes.") );
  addItem( mInodeDataCachingItem, TQString::fromLatin1( "InodeDataCaching" ) );
  mTranslateReservedCharsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TranslateReservedChars" ), mTranslateReservedChars, false );
  mTranslateReservedCharsItem->setLabel( i18n("Translate reserved characters") );
  mTranslateReservedCharsItem->setWhatsThis( i18n("Translate six of the seven reserved characters (including the colon, question mark, pipe, asterisk, greater than and less than characters but not the backslash) to remap range (above 0xF000). This allows you to open files that were created with such characters. This has no effect if the server does not support Unicode.") );
  addItem( mTranslateReservedCharsItem, TQString::fromLatin1( "TranslateReservedChars" ) );
  mNoLockingItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "NoLocking" ), mNoLocking, false );
  mNoLockingItem->setLabel( i18n("Do not use locking") );
  mNoLockingItem->setWhatsThis( i18n("Do not use locking. Do not start lockd.") );
  addItem( mNoLockingItem, TQString::fromLatin1( "NoLocking" ) );
  mCustomCIFSOptionsItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CustomCIFSOptions" ), mCustomCIFSOptions );
  mCustomCIFSOptionsItem->setLabel( i18n("Advanced custom options for the CIFS file system") );
  mCustomCIFSOptionsItem->setWhatsThis( i18n("Here you can enter advanced options for the CIFS file system in a comma-separated list (refer to the manual page of mount.cifs to learn more). The list will be added AS IS to the \"-o\" argument of mount.cifs. Please do not enter options that have already been defined in the configuration dialog.") );
  addItem( mCustomCIFSOptionsItem, TQString::fromLatin1( "CustomCIFSOptions" ) );
  mCachingTimeItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CachingTime" ), mCachingTime, 1000 );
  mCachingTimeItem->setLabel( i18n("Determines how long directory listings are cached") );
  mCachingTimeItem->setWhatsThis( i18n("This setting determines how long a directory listing is cached in milliseconds. A high value means it takes longer until changes on the server are noticed on the client side (i.e. your side), but it can also give you an increase in performance on large directories, especially on long distances. You need Linux kernel 2.4.2 or later to take advantage of this setting.") );
  addItem( mCachingTimeItem, TQString::fromLatin1( "CachingTime" ) );
  mUnicodeSupportItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UnicodeSupport" ), mUnicodeSupport, false );
  mUnicodeSupportItem->setLabel( i18n("Unicode support") );
  mUnicodeSupportItem->setWhatsThis( i18n("Use Unicode when communicating with the server. This will give you better support for non-ASCII character sets with the SMBFS file system.") );
  addItem( mUnicodeSupportItem, TQString::fromLatin1( "UnicodeSupport" ) );
  mLargeFileSystemSupportItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "LargeFileSystemSupport" ), mLargeFileSystemSupport, false );
  mLargeFileSystemSupportItem->setLabel( i18n("Long file support") );
  mLargeFileSystemSupportItem->setWhatsThis( i18n("Large file support (LFS) enables you to read and write \n"
"files bigger than 2 GB on shares that were mounted with the SMBFS file system.") );
  addItem( mLargeFileSystemSupportItem, TQString::fromLatin1( "LargeFileSystemSupport" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesProtocolHint;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Automatic" );
    valuesProtocolHint.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "RPC" );
    valuesProtocolHint.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "RAP" );
    valuesProtocolHint.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "ADS" );
    valuesProtocolHint.append( choice );
  }
  mProtocolHintItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "ProtocolHint" ), mProtocolHint, valuesProtocolHint, EnumProtocolHint::Automatic );
  mProtocolHintItem->setLabel( i18n("The protocol that is used with the net command") );
  mProtocolHintItem->setWhatsThis( i18n("Here you can choose the protocol that will be used by the net command for the communication with remote servers if appropriate. In most cases the automatic detection will work fine and you should not need to change the default setting. However, if you experience problems, use the RPC protocol for newer operating systems (Windows NT4 and above) and the RAP protocol for older ones (Windows 98/NT3 and below). Functions that need the ADS protocol (for Active Directory environments) have not been implemented yet, so you can ignore that one for now.") );
  addItem( mProtocolHintItem, TQString::fromLatin1( "ProtocolHint" ) );
  mNameResolveOrderItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "NameResolveOrder" ), mNameResolveOrder );
  mNameResolveOrderItem->setLabel( i18n("Name resolve order used by smbclient") );
  mNameResolveOrderItem->setWhatsThis( i18n("This option is used to determine what naming services and in what order are used to resolve host names and IP addresses. It takes a space-separated list of up to four different name resolution options. Those are: lmhost, host, wins, bcast. See the manual page of smbclient for further information.") );
  addItem( mNameResolveOrderItem, TQString::fromLatin1( "NameResolveOrder" ) );
  mBufferSizeItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BufferSize" ), mBufferSize, 65520 );
  mBufferSizeItem->setMinValue(0);
  mBufferSizeItem->setLabel( i18n("Transmit/send buffer size used by smbclient") );
  mBufferSizeItem->setWhatsThis( i18n("This option changes the transmit/send buffer size when getting or putting a file from/to the server. The default is 65520 bytes. Setting this value smaller has been observed to speed up file transfers to and from Windows 9x servers.") );
  addItem( mBufferSizeItem, TQString::fromLatin1( "BufferSize" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesSigningState;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "None" );
    valuesSigningState.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "On" );
    valuesSigningState.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Off" );
    valuesSigningState.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Required" );
    valuesSigningState.append( choice );
  }
  mSigningStateItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SigningState" ), mSigningState, valuesSigningState, EnumSigningState::None );
  mSigningStateItem->setLabel( i18n("Signing state") );
  mSigningStateItem->setWhatsThis( i18n("Set the signing state for smbclient.") );
  addItem( mSigningStateItem, TQString::fromLatin1( "SigningState" ) );
  mBroadcastAddressItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BroadcastAddress" ), mBroadcastAddress );
  mBroadcastAddressItem->setLabel( i18n("The broadcast address used by nmblookup") );
  mBroadcastAddressItem->setWhatsThis( i18n("Queries performed with nmblookup will be send to the given broadcast address. Without this option the default behavior is to send the queries to the broadcast address of the network interface that was either auto-detected or defined in the \"interfaces\" parameter of the smb.conf file.") );
  addItem( mBroadcastAddressItem, TQString::fromLatin1( "BroadcastAddress" ) );
  mUsePort137Item = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UsePort137" ), mUsePort137, false );
  mUsePort137Item->setLabel( i18n("Use UDP port 137 with nmblookup") );
  mUsePort137Item->setWhatsThis( i18n("Try and bind to UDP port 137 to send and receive UDP datagrams. The reason for this option is a bug in Windows 95 where it ignores the source port of the requesting packet and only replies to UDP port 137. Unfortunately, on most Unix systems super user privileges are needed to bind to this port. Please read the manual page of nmblookup for more information.") );
  addItem( mUsePort137Item, TQString::fromLatin1( "UsePort137" ) );

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

  mRsyncPrefixItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "RsyncPrefix" ), mRsyncPrefix, TQString::fromLatin1( "$HOME/smb4k_sync/" ) );
  mRsyncPrefixItem->setLabel( i18n("Prefix for synchronization") );
  mRsyncPrefixItem->setWhatsThis( i18n("This is the path where Smb4K will store the files and directories during synchronization. If you plan to synchronize only with one remote share, then you can put the data directly in this directory. If you want to synchronize with several remote shares, then you should create a subdirectory for each share and choose the appropriate one in the synchronization dialog.") );
  addItem( mRsyncPrefixItem, TQString::fromLatin1( "RsyncPrefix" ) );
  mArchiveModeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ArchiveMode" ), mArchiveMode, true );
  mArchiveModeItem->setLabel( i18n("Use archive mode") );
  mArchiveModeItem->setWhatsThis( i18n("Use archive mode (-a, --archive). This is a short form of -rlptgoD.") );
  addItem( mArchiveModeItem, TQString::fromLatin1( "ArchiveMode" ) );
  mRecurseIntoDirectoriesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RecurseIntoDirectories" ), mRecurseIntoDirectories, true );
  mRecurseIntoDirectoriesItem->setLabel( i18n("Recurse into subdirectories") );
  mRecurseIntoDirectoriesItem->setWhatsThis( i18n("Recurse into directories (-r, --recursive).") );
  addItem( mRecurseIntoDirectoriesItem, TQString::fromLatin1( "RecurseIntoDirectories" ) );
  mUpdateTargetItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UpdateTarget" ), mUpdateTarget, true );
  mUpdateTargetItem->setLabel( i18n("Skip files that are newer in the target directory") );
  mUpdateTargetItem->setWhatsThis( i18n("Update files in the destination directory that are older than in the source directory (-u, --update).") );
  addItem( mUpdateTargetItem, TQString::fromLatin1( "UpdateTarget" ) );
  mUpdateInPlaceItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UpdateInPlace" ), mUpdateInPlace, false );
  mUpdateInPlaceItem->setLabel( i18n("Update destination files in place") );
  mUpdateInPlaceItem->setWhatsThis( i18n("Update destination files in-place (--inplace). By default, rsync first creates a new copy of a file and moves it into place after its transfer finished. If you enable this feature, no copy will be created but the destination file will immediately be overwritten instead. An exception to this is if you combine this option with --backup.") );
  addItem( mUpdateInPlaceItem, TQString::fromLatin1( "UpdateInPlace" ) );
  mRelativePathNamesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RelativePathNames" ), mRelativePathNames, false );
  mRelativePathNamesItem->setLabel( i18n("Use relative path names") );
  mRelativePathNamesItem->setWhatsThis( i18n("Use relative paths (-R, --relative). This means that the full path names specified on the command line are sent to the server rather than just the last parts of the file names.") );
  addItem( mRelativePathNamesItem, TQString::fromLatin1( "RelativePathNames" ) );
  mNoImpliedDirectoriesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "NoImpliedDirectories" ), mNoImpliedDirectories, false );
  mNoImpliedDirectoriesItem->setLabel( i18n("Don't send implied directories with --relative") );
  mNoImpliedDirectoriesItem->setWhatsThis( i18n("Don't send implied directories with --relative (--no-implied-dirs). This means that the corresponding path elements on the destination system are left unchanged if they exist, and any missing implied directories are created with default attributes. This even allows these implied path elements to have big differences, such as being a symlink to a directory on one side of the transfer, and a real directory on the other side.") );
  addItem( mNoImpliedDirectoriesItem, TQString::fromLatin1( "NoImpliedDirectories" ) );
  mTransferDirectoriesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TransferDirectories" ), mTransferDirectories, false );
  mTransferDirectoriesItem->setLabel( i18n("Transfer directories without recursing") );
  mTransferDirectoriesItem->setWhatsThis( i18n("Transfer directories without recursing (-d, --dirs). This means that all top-level subdirectories are transferred but without their contents.") );
  addItem( mTransferDirectoriesItem, TQString::fromLatin1( "TransferDirectories" ) );
  mCompressDataItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompressData" ), mCompressData, false );
  mCompressDataItem->setLabel( i18n("Compress data during transfer") );
  mCompressDataItem->setWhatsThis( i18n("Compress data during transfer (-z, --compress). This significantly reduces the amount of data that is being transferred. You may want to use this option, if you have a slow connection.") );
  addItem( mCompressDataItem, TQString::fromLatin1( "CompressData" ) );
  mPreserveSymlinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveSymlinks" ), mPreserveSymlinks, true );
  mPreserveSymlinksItem->setLabel( i18n("Preserve symlinks") );
  mPreserveSymlinksItem->setWhatsThis( i18n("Copy symlinks as symlinks (-l, --links).") );
  addItem( mPreserveSymlinksItem, TQString::fromLatin1( "PreserveSymlinks" ) );
  mTransformSymlinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TransformSymlinks" ), mTransformSymlinks, false );
  mTransformSymlinksItem->setLabel( i18n("Transform symlinks") );
  mTransformSymlinksItem->setWhatsThis( i18n("Transform symlinks into the items they are pointing to (-L, --copy-links).") );
  addItem( mTransformSymlinksItem, TQString::fromLatin1( "TransformSymlinks" ) );
  mTransformUnsafeSymlinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TransformUnsafeSymlinks" ), mTransformUnsafeSymlinks, false );
  mTransformUnsafeSymlinksItem->setLabel( i18n("Only transform unsafe symlinks") );
  mTransformUnsafeSymlinksItem->setWhatsThis( i18n("Transform unsafe symlinks into the items they are pointing to (--copy-unsafe-links). This means that only those symlinks are transformed that point to items that are outside the copied tree. Absolute symlinks are treated the same way. This option has no additional effect if --copy-links has also been specified.") );
  addItem( mTransformUnsafeSymlinksItem, TQString::fromLatin1( "TransformUnsafeSymlinks" ) );
  mIgnoreUnsafeSymlinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IgnoreUnsafeSymlinks" ), mIgnoreUnsafeSymlinks, false );
  mIgnoreUnsafeSymlinksItem->setLabel( i18n("Ignore unsafe symlinks") );
  mIgnoreUnsafeSymlinksItem->setWhatsThis( i18n("Ignore symlinks that point outside the copied tree (--safe-links). All absolute symlinks are also ignored. If you use this option in conjunction with --relative you might get unexpected results.") );
  addItem( mIgnoreUnsafeSymlinksItem, TQString::fromLatin1( "IgnoreUnsafeSymlinks" ) );
  mPreserveHardLinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveHardLinks" ), mPreserveHardLinks, false );
  mPreserveHardLinksItem->setLabel( i18n("Preserve hard links") );
  mPreserveHardLinksItem->setWhatsThis( i18n("Preserve hard links (-H, --hard-links). This options causes rsync to preserve the hard links that are found during the transfer. Without it, hard links are treated as though they were separate files.") );
  addItem( mPreserveHardLinksItem, TQString::fromLatin1( "PreserveHardLinks" ) );
  mKeepDirectorySymlinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "KeepDirectorySymlinks" ), mKeepDirectorySymlinks, false );
  mKeepDirectorySymlinksItem->setLabel( i18n("Keep directory symlinks") );
  mKeepDirectorySymlinksItem->setWhatsThis( i18n("Treat symlinked directories on the receiving side as though they were real ones (-K, --keep-dirlinks). This only works if the symlink matches a real directory from the sending side. Without this option, the receiver's symlink will be deleted and replaced with a real directory.") );
  addItem( mKeepDirectorySymlinksItem, TQString::fromLatin1( "KeepDirectorySymlinks" ) );
  mPreservePermissionsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreservePermissions" ), mPreservePermissions, true );
  mPreservePermissionsItem->setLabel( i18n("Preserve permissions") );
  mPreservePermissionsItem->setWhatsThis( i18n("Preserve permissions (-p, --perms). The permissions of the destination file will be same as the source file. For what happens if this option is switched off, please read rsync's manual page.") );
  addItem( mPreservePermissionsItem, TQString::fromLatin1( "PreservePermissions" ) );
  mPreserveGroupItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveGroup" ), mPreserveGroup, true );
  mPreserveGroupItem->setLabel( i18n("Preserve group") );
  mPreserveGroupItem->setWhatsThis( i18n("Preserve the group (-g, --group). The group of the destination file will be set to the same value as the source file.") );
  addItem( mPreserveGroupItem, TQString::fromLatin1( "PreserveGroup" ) );
  mPreserveOwnerItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveOwner" ), mPreserveOwner, true );
  mPreserveOwnerItem->setLabel( i18n("Preserve owner (super user only)") );
  mPreserveOwnerItem->setWhatsThis( i18n("Preserve the owner (-o, --owner). The owner of the destination file will be set to the same value as the source file, but only if the receiving rsync is run as the super user. Without this option, the owner is set to the invoking user on the receiving side.") );
  addItem( mPreserveOwnerItem, TQString::fromLatin1( "PreserveOwner" ) );
  mPreserveDevicesAndSpecialsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveDevicesAndSpecials" ), mPreserveDevicesAndSpecials, true );
  mPreserveDevicesAndSpecialsItem->setLabel( i18n("Preserve device and special files") );
  mPreserveDevicesAndSpecialsItem->setWhatsThis( i18n("Preserve device and special files (-D, --devices --specials). This option causes rsync to transfer character and block devices as well as special files such as named sockets and fifos. It works only partially if rsync is not run as super user and the --super option is not specified.") );
  addItem( mPreserveDevicesAndSpecialsItem, TQString::fromLatin1( "PreserveDevicesAndSpecials" ) );
  mPreserveTimesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveTimes" ), mPreserveTimes, true );
  mPreserveTimesItem->setLabel( i18n("Preserve times") );
  mPreserveTimesItem->setWhatsThis( i18n("Preserve times (-t, --times). The modification times are transferred along with the files. For what happens if this option is switched off, please read rsync's manual page.") );
  addItem( mPreserveTimesItem, TQString::fromLatin1( "PreserveTimes" ) );
  mOmitDirectoryTimesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OmitDirectoryTimes" ), mOmitDirectoryTimes, false );
  mOmitDirectoryTimesItem->setLabel( i18n("Omit directories when preserving times") );
  mOmitDirectoryTimesItem->setWhatsThis( i18n("Omit directories when preserving times (-O, --omit-dir-times). This means that directories are omitted when modification times are being preserved. Thus, this feature only works in conjunction with --times.") );
  addItem( mOmitDirectoryTimesItem, TQString::fromLatin1( "OmitDirectoryTimes" ) );
  mRemoveSourceFilesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RemoveSourceFiles" ), mRemoveSourceFiles, false );
  mRemoveSourceFilesItem->setLabel( i18n("Remove synchronized source files") );
  mRemoveSourceFilesItem->setWhatsThis( i18n("Remove all synchronized source files (--remove-source-files). This tells rsync to remove from the sending side the non-directory items that are a part of the transfer and have been successfully duplicated on the receiving side.") );
  addItem( mRemoveSourceFilesItem, TQString::fromLatin1( "RemoveSourceFiles" ) );
  mDeleteExtraneousItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteExtraneous" ), mDeleteExtraneous, false );
  mDeleteExtraneousItem->setLabel( i18n("Delete extraneous files") );
  mDeleteExtraneousItem->setWhatsThis( i18n("Delete extraneous files from destination (--delete). This tells rsync to delete all files from the receiving side that are not present on the sending side, but only for the directories that are being synchronized.") );
  addItem( mDeleteExtraneousItem, TQString::fromLatin1( "DeleteExtraneous" ) );
  mDeleteBeforeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteBefore" ), mDeleteBefore, false );
  mDeleteBeforeItem->setLabel( i18n("Delete files before transfer") );
  mDeleteBeforeItem->setWhatsThis( i18n("Delete files on the receiving side before the transfer starts (--delete-before). This is the default behavior if --delete or --delete-excluded is specified without one of the --delete-WHEN options.") );
  addItem( mDeleteBeforeItem, TQString::fromLatin1( "DeleteBefore" ) );
  mDeleteAfterItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteAfter" ), mDeleteAfter, false );
  mDeleteAfterItem->setLabel( i18n("Delete files after transfer") );
  mDeleteAfterItem->setWhatsThis( i18n("Delete files on the receiving side after the transfer has completed (--delete-after, --del).") );
  addItem( mDeleteAfterItem, TQString::fromLatin1( "DeleteAfter" ) );
  mDeleteDuringItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteDuring" ), mDeleteDuring, false );
  mDeleteDuringItem->setLabel( i18n("Delete files during transfer") );
  mDeleteDuringItem->setWhatsThis( i18n("Delete files on the receiving side during the transfer (--delete-during). This method is faster than --delete-before or --delete-after, but it is only supported with rsync 2.6.4 or later.") );
  addItem( mDeleteDuringItem, TQString::fromLatin1( "DeleteDuring" ) );
  mDeleteExcludedItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteExcluded" ), mDeleteExcluded, false );
  mDeleteExcludedItem->setLabel( i18n("Also delete excluded files from destination directory") );
  mDeleteExcludedItem->setWhatsThis( i18n("Also delete excluded files from destination directory (--delete-excluded). In addition to deleting the files on the receiving side that are not on the sending side, this tells rsync to also delete any files on the receiving side that are excluded. Refer to rsync's manual page for further information.") );
  addItem( mDeleteExcludedItem, TQString::fromLatin1( "DeleteExcluded" ) );
  mIgnoreErrorsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IgnoreErrors" ), mIgnoreErrors, false );
  mIgnoreErrorsItem->setLabel( i18n("Delete even if I/O errors occur") );
  mIgnoreErrorsItem->setWhatsThis( i18n("Delete even if I/O errors occur (--ignore-errors). This option has to be specified in conjunction with --delete to take effect.") );
  addItem( mIgnoreErrorsItem, TQString::fromLatin1( "IgnoreErrors" ) );
  mForceDirectoryDeletionItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ForceDirectoryDeletion" ), mForceDirectoryDeletion, false );
  mForceDirectoryDeletionItem->setLabel( i18n("Force deletion of non-void directories") );
  mForceDirectoryDeletionItem->setWhatsThis( i18n("Force deletion of directories even if they are not empty (--force). This option tells rsync to delete a non-empty directory when it is to be replaced by a non-directory. This is only relevant if deletions are not active.") );
  addItem( mForceDirectoryDeletionItem, TQString::fromLatin1( "ForceDirectoryDeletion" ) );
  mUseMaximumDeleteItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseMaximumDelete" ), mUseMaximumDelete, false );
  mUseMaximumDeleteItem->setLabel( i18n("Only delete a maximum number of files") );
  mUseMaximumDeleteItem->setWhatsThis( i18n("Only delete as many files as defined here (--max-delete=NUM). This tells rsync not to delete more than NUM files or directories (NUM must be non-zero). This is useful when mirroring very large trees to prevent disasters.") );
  addItem( mUseMaximumDeleteItem, TQString::fromLatin1( "UseMaximumDelete" ) );
  mMaximumDeleteValueItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaximumDeleteValue" ), mMaximumDeleteValue, 0 );
  mMaximumDeleteValueItem->setMinValue(0);
  mMaximumDeleteValueItem->setLabel( i18n("Value for DeleteMaximum config entry") );
  addItem( mMaximumDeleteValueItem, TQString::fromLatin1( "MaximumDeleteValue" ) );
  mUseMinimalTransferSizeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseMinimalTransferSize" ), mUseMinimalTransferSize, false );
  mUseMinimalTransferSizeItem->setLabel( i18n("Don't transfer any file smaller than SIZE") );
  mUseMinimalTransferSizeItem->setWhatsThis( i18n("This option causes rsync to not transfer any file that is smaller than the specified size (--min-size=SIZE).") );
  addItem( mUseMinimalTransferSizeItem, TQString::fromLatin1( "UseMinimalTransferSize" ) );
  mMinimalTransferSizeItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MinimalTransferSize" ), mMinimalTransferSize, 0 );
  mMinimalTransferSizeItem->setMinValue(0);
  mMinimalTransferSizeItem->setLabel( i18n("Value for MinimalTransferSize config entry") );
  addItem( mMinimalTransferSizeItem, TQString::fromLatin1( "MinimalTransferSize" ) );
  mUseMaximalTransferSizeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseMaximalTransferSize" ), mUseMaximalTransferSize, false );
  mUseMaximalTransferSizeItem->setLabel( i18n("Don't transfer any file smaller than SIZE") );
  mUseMaximalTransferSizeItem->setWhatsThis( i18n("This option causes rsync to not transfer any file that is larger than the specified size (--max-size=SIZE).") );
  addItem( mUseMaximalTransferSizeItem, TQString::fromLatin1( "UseMaximalTransferSize" ) );
  mMaximalTransferSizeItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaximalTransferSize" ), mMaximalTransferSize, 0 );
  mMaximalTransferSizeItem->setMinValue(0);
  mMaximalTransferSizeItem->setLabel( i18n("Value for MamximalTransferSize config entry") );
  addItem( mMaximalTransferSizeItem, TQString::fromLatin1( "MaximalTransferSize" ) );
  mKeepPartialItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "KeepPartial" ), mKeepPartial, false );
  mKeepPartialItem->setLabel( i18n("Keep partially transferred files") );
  mKeepPartialItem->setWhatsThis( i18n("Keep partially transferred files (--partial). The default behavor is that any partially transferred file is deleted if the transfer is interrupted.") );
  addItem( mKeepPartialItem, TQString::fromLatin1( "KeepPartial" ) );
  mUsePartialDirectoryItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UsePartialDirectory" ), mUsePartialDirectory, false );
  mUsePartialDirectoryItem->setLabel( i18n("The directory where to put a partially transferred file into.") );
  mUsePartialDirectoryItem->setWhatsThis( i18n("Put a partially transferred file into this directory (--partial-dir=DIR). This is a better way than the --partial option to keep partial files, because the partially transferred file is kept in a different directory and the destination file is not overwritten.") );
  addItem( mUsePartialDirectoryItem, TQString::fromLatin1( "UsePartialDirectory" ) );
  mPartialDirectoryItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "PartialDirectory" ), mPartialDirectory, TQString::fromLatin1( "$HOME" ) );
  mPartialDirectoryItem->setLabel( i18n("The data for the UsePartialDirectory option") );
  addItem( mPartialDirectoryItem, TQString::fromLatin1( "PartialDirectory" ) );
  mUseCVSExcludeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseCVSExclude" ), mUseCVSExclude, false );
  mUseCVSExcludeItem->setLabel( i18n("Auto-ignore files in the same way CVS does") );
  mUseCVSExcludeItem->setWhatsThis( i18n("Auto-ignore files in the same way CVS does (-C, --cvs-exclude). This is a useful shorthand for excluding a broad range of files that you often do not want to transfer between systems. This option uses the same algorithm that CVS uses to determine if a file should be ignored.") );
  addItem( mUseCVSExcludeItem, TQString::fromLatin1( "UseCVSExclude" ) );
  mUseExcludePatternItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseExcludePattern" ), mUseExcludePattern, false );
  mUseExcludePatternItem->setLabel( i18n("Exclude files that match a certain pattern") );
  mUseExcludePatternItem->setWhatsThis( i18n("Exclude files that match a certain pattern (--exclude=PATTERN). This is a special filter rule. For further information on filter rules see rsync's manual page.") );
  addItem( mUseExcludePatternItem, TQString::fromLatin1( "UseExcludePattern" ) );
  mExcludePatternItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "ExcludePattern" ), mExcludePattern );
  mExcludePatternItem->setLabel( i18n("Pattern that is used for file exclusion") );
  addItem( mExcludePatternItem, TQString::fromLatin1( "ExcludePattern" ) );
  mUseExcludeFromItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseExcludeFrom" ), mUseExcludeFrom, false );
  mUseExcludeFromItem->setLabel( i18n("Read exclude patterns from a file") );
  mUseExcludeFromItem->setWhatsThis( i18n("Read exclude patterns from a file (--exclude-from=FILE). This option is similar to the --exclude=PATTERN option except that the exclude patterns are read from a file. This is a special filter rule. For further information on filter rules see rsync's manual page.") );
  addItem( mUseExcludeFromItem, TQString::fromLatin1( "UseExcludeFrom" ) );
  mExcludeFromItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "ExcludeFrom" ), mExcludeFrom, TQString::fromLatin1( "$HOME/exclude.txt" ) );
  mExcludeFromItem->setLabel( i18n("The file from which the exclude patterns are read") );
  addItem( mExcludeFromItem, TQString::fromLatin1( "ExcludeFrom" ) );
  mUseIncludePatternItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseIncludePattern" ), mUseIncludePattern, false );
  mUseIncludePatternItem->setLabel( i18n("Do not exclude files matching a certain pattern") );
  mUseIncludePatternItem->setWhatsThis( i18n("Do not exclude files matching a certain pattern (--include=PATTERN). This is a special filter rule. For further information on filter rules see rsync's manual page.") );
  addItem( mUseIncludePatternItem, TQString::fromLatin1( "UseIncludePattern" ) );
  mIncludePatternItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "IncludePattern" ), mIncludePattern );
  mIncludePatternItem->setLabel( i18n("Pattern that is used for file inclusion") );
  addItem( mIncludePatternItem, TQString::fromLatin1( "IncludePattern" ) );
  mUseIncludeFromItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseIncludeFrom" ), mUseIncludeFrom, false );
  mUseIncludeFromItem->setLabel( i18n("Read include patterns from a file") );
  mUseIncludeFromItem->setWhatsThis( i18n("Read include patterns from a file (--include-from=FILE). This option is similar to the --include=PATTERN option except that the include patterns are read from a file. This is a special filter rule. For further information on filter rules see rsync's manual page.") );
  addItem( mUseIncludeFromItem, TQString::fromLatin1( "UseIncludeFrom" ) );
  mIncludeFromItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "IncludeFrom" ), mIncludeFrom, TQString::fromLatin1( "$HOME/include.txt" ) );
  mIncludeFromItem->setLabel( i18n("The file from which the include patterns are read") );
  addItem( mIncludeFromItem, TQString::fromLatin1( "IncludeFrom" ) );
  mCustomFilteringRulesItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CustomFilteringRules" ), mCustomFilteringRules );
  mCustomFilteringRulesItem->setLabel( i18n("Add custom file-filtering rules") );
  mCustomFilteringRulesItem->setWhatsThis( i18n("Add custom file-filtering rules (-f, --filter=RULE). This option allows you to add rules to selectively exclude certain files from the list of files to be transferred.") );
  addItem( mCustomFilteringRulesItem, TQString::fromLatin1( "CustomFilteringRules" ) );
  mUseFFilterRuleItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseFFilterRule" ), mUseFFilterRule, false );
  mUseFFilterRuleItem->setLabel( i18n("Use -F filter rule") );
  mUseFFilterRuleItem->setWhatsThis( i18n("This filter rule tells rsync to look for per-directory .rsync-filter files that have been sprinkled through the hierarchy and use their rules to filter the files in the transfer. It has no effect, if you also choose to use the --filter='exclude .rsync-filter' rule.") );
  addItem( mUseFFilterRuleItem, TQString::fromLatin1( "UseFFilterRule" ) );
  mUseFFFilterRuleItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseFFFilterRule" ), mUseFFFilterRule, false );
  mUseFFFilterRuleItem->setLabel( i18n("Use -FF filter rule") );
  mUseFFFilterRuleItem->setWhatsThis( i18n("This rule filters out the .rsync-filter files from the transfer. These files normally contain filter rules that can be activated by choosing the --filter='dir-merge /.rsync-filter' rule and deselecting this one.") );
  addItem( mUseFFFilterRuleItem, TQString::fromLatin1( "UseFFFilterRule" ) );
  mEfficientSparseFileHandlingItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EfficientSparseFileHandling" ), mEfficientSparseFileHandling, false );
  mEfficientSparseFileHandlingItem->setLabel( i18n("Handle sparse files efficiently") );
  mEfficientSparseFileHandlingItem->setWhatsThis( i18n("Handle sparse files efficiently (-S, --sparse) so that they take up less space on the destination. This option conflicts with --inplace. For further information read rsync's manual page.") );
  addItem( mEfficientSparseFileHandlingItem, TQString::fromLatin1( "EfficientSparseFileHandling" ) );
  mCopyFilesWholeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CopyFilesWhole" ), mCopyFilesWhole, false );
  mCopyFilesWholeItem->setLabel( i18n("Copy files whole (no rsync algorithm)") );
  mCopyFilesWholeItem->setWhatsThis( i18n("Copy files whole (-W, --whole-file). With this option the incremental rsync algorithm is not used and the whole file is sent as-is instead.") );
  addItem( mCopyFilesWholeItem, TQString::fromLatin1( "CopyFilesWhole" ) );
  mOneFileSystemItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OneFileSystem" ), mOneFileSystem, false );
  mOneFileSystemItem->setLabel( i18n("Do not cross file system boundaries") );
  mOneFileSystemItem->setWhatsThis( i18n("Do not cross file system boundaries (-x, --one-file-system). This tells rsync to avoid crossing a filesystem boundary when recursing. For further information on this option, read the manual page.") );
  addItem( mOneFileSystemItem, TQString::fromLatin1( "OneFileSystem" ) );
  mUpdateExistingItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UpdateExisting" ), mUpdateExisting, false );
  mUpdateExistingItem->setLabel( i18n("Skip creating new files on the receiving side") );
  mUpdateExistingItem->setWhatsThis( i18n("Skip creating new files on the receiving side (--existing). This tells rsync to skip creating files (including directories) that do not exist yet on the destination. If this option is combined with the --ignore-existing option, no files will be updated (which can be useful if all you want to do is to delete extraneous files).") );
  addItem( mUpdateExistingItem, TQString::fromLatin1( "UpdateExisting" ) );
  mIgnoreExistingItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IgnoreExisting" ), mIgnoreExisting, false );
  mIgnoreExistingItem->setLabel( i18n("Skip updating files that exist on the receiving side") );
  mIgnoreExistingItem->setWhatsThis( i18n("Skip updating files that already exist on the receiving side (--ignore-existing). Existing directories are not ignored.") );
  addItem( mIgnoreExistingItem, TQString::fromLatin1( "IgnoreExisting" ) );
  mDelayUpdatesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DelayUpdates" ), mDelayUpdates, false );
  mDelayUpdatesItem->setLabel( i18n("Delay updates until the end of the transfer") );
  mDelayUpdatesItem->setWhatsThis( i18n("Delay updates until the end of the transfer (--delay-updates). This option puts the temporary file from each updated file into a holding directory until the end of the transfer, at which time all the files are renamed and copied into place in rapid succession.") );
  addItem( mDelayUpdatesItem, TQString::fromLatin1( "DelayUpdates" ) );
  mMakeBackupsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "MakeBackups" ), mMakeBackups, false );
  mMakeBackupsItem->setLabel( i18n("Make backups") );
  mMakeBackupsItem->setWhatsThis( i18n("Make backups (-b, --backup). With this option, preexisting destination files are renamed as each file is transferred or deleted. You can control where the backup file goes and what (if any) suffix gets appended using the --backup-dir=DIR and --suffix=SUFFIX options.") );
  addItem( mMakeBackupsItem, TQString::fromLatin1( "MakeBackups" ) );
  mUseBackupSuffixItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseBackupSuffix" ), mUseBackupSuffix, false );
  mUseBackupSuffixItem->setLabel( i18n("Use a suffix for backups") );
  mUseBackupSuffixItem->setWhatsThis( i18n("Use this suffix for backups (--suffix=SUFFIX).") );
  addItem( mUseBackupSuffixItem, TQString::fromLatin1( "UseBackupSuffix" ) );
  mBackupSuffixItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BackupSuffix" ), mBackupSuffix, TQString::fromLatin1( "~" ) );
  mBackupSuffixItem->setLabel( i18n("Backup suffix") );
  addItem( mBackupSuffixItem, TQString::fromLatin1( "BackupSuffix" ) );
  mUseBackupDirectoryItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseBackupDirectory" ), mUseBackupDirectory, false );
  mUseBackupDirectoryItem->setLabel( i18n("Put backups into a certain directory") );
  mUseBackupDirectoryItem->setWhatsThis( i18n("Store backups in this directory (--backup-dir=DIR).") );
  addItem( mUseBackupDirectoryItem, TQString::fromLatin1( "UseBackupDirectory" ) );
  mBackupDirectoryItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "BackupDirectory" ), mBackupDirectory, TQString::fromLatin1( "$HOME" ) );
  mBackupDirectoryItem->setLabel( i18n("Backup directory") );
  addItem( mBackupDirectoryItem, TQString::fromLatin1( "BackupDirectory" ) );
  mUseBlockSizeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseBlockSize" ), mUseBlockSize, false );
  mUseBlockSizeItem->setLabel( i18n("Force a fixed checksum block-size") );
  mUseBlockSizeItem->setWhatsThis( i18n("Force a fixed checksum block-size (-B, --block-size=SIZE). This forces the block size used in the rsync algorithm to a fixed value.") );
  addItem( mUseBlockSizeItem, TQString::fromLatin1( "UseBlockSize" ) );
  mBlockSizeItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockSize" ), mBlockSize, 0 );
  mBlockSizeItem->setMinValue(0);
  mBlockSizeItem->setLabel( i18n("The block size") );
  addItem( mBlockSizeItem, TQString::fromLatin1( "BlockSize" ) );
  mUseChecksumSeedItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseChecksumSeed" ), mUseChecksumSeed, false );
  mUseChecksumSeedItem->setLabel( i18n("Set block/file checksum seed") );
  mUseChecksumSeedItem->setWhatsThis( i18n("Set block/file checksum seed (--checksum-seed=NUM). Set the MD4 checksum seed to this integer. This 4 byte checksum seed is included in each block and file MD4 checksum calculation. By default the checksum seed is generated by the server and defaults to the current time.") );
  addItem( mUseChecksumSeedItem, TQString::fromLatin1( "UseChecksumSeed" ) );
  mChecksumSeedItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ChecksumSeed" ), mChecksumSeed, 0 );
  mChecksumSeedItem->setMinValue(0);
  mChecksumSeedItem->setLabel( i18n("The checksum seed") );
  addItem( mChecksumSeedItem, TQString::fromLatin1( "ChecksumSeed" ) );
  mUseChecksumItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseChecksum" ), mUseChecksum, false );
  mUseChecksumItem->setLabel( i18n("Skip files based on a checksum") );
  mUseChecksumItem->setWhatsThis( i18n("Skip files based on a checksum and not based on modification time and size (-c, --checksum). For further information on how this feature works read rsync's manual page.") );
  addItem( mUseChecksumItem, TQString::fromLatin1( "UseChecksum" ) );

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

  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesSuperUserProgram;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Sudo" );
    valuesSuperUserProgram.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Super" );
    valuesSuperUserProgram.append( choice );
  }
  mSuperUserProgramItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SuperUserProgram" ), mSuperUserProgram, valuesSuperUserProgram, EnumSuperUserProgram::Sudo );
  mSuperUserProgramItem->setLabel( i18n("The program that should be used to gain super user privileges") );
  mSuperUserProgramItem->setWhatsThis( i18n("Choose the program that will grant you limited super user privileges for mounting and unmounting remote shares. You can either select sudo, the standard tool for this purpose on most distributions, or super.") );
  addItem( mSuperUserProgramItem, TQString::fromLatin1( "SuperUserProgram" ) );
  mUseForceUnmountItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseForceUnmount" ), mUseForceUnmount, false );
  mUseForceUnmountItem->setLabel( i18n("Use super user privileges to unmount inaccessible shares") );
  mUseForceUnmountItem->setWhatsThis( i18n("Unmount a share under Linux by force. This even works if the file system is \"busy\", because it is immediately detached from the file system hierarchy and all references to it are cleaned up later when it is not busy anymore. Linux kernel 2.4.11 or later is needed to take advantage of this feature. Use with case! Note, that you will need the root password to write the necessary changes to the configuration file.") );
  addItem( mUseForceUnmountItem, TQString::fromLatin1( "UseForceUnmount" ) );
  mAlwaysUseSuperUserItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AlwaysUseSuperUser" ), mAlwaysUseSuperUser, false );
  mAlwaysUseSuperUserItem->setLabel( i18n("Use super user privileges to mount and unmount shares") );
  mAlwaysUseSuperUserItem->setWhatsThis( i18n("Use super user privileges for mounting and unmounting remote shares. This feature is only needed, if you are not allowed to use smbmount, smbumount, mount.cifs and umount.cifs as normal user. Note, that you will need the root password to write the necessary changes to the configuration file.") );
  addItem( mAlwaysUseSuperUserItem, TQString::fromLatin1( "AlwaysUseSuperUser" ) );
}

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

