diff --git a/smb4k/configdlg/smb4ksambaoptions.cpp b/smb4k/configdlg/smb4ksambaoptions.cpp index e80c561..c579b18 100644 --- a/smb4k/configdlg/smb4ksambaoptions.cpp +++ b/smb4k/configdlg/smb4ksambaoptions.cpp @@ -126,11 +126,11 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) (void) new TQLabel( i18n( "User ID:" ), user_group_box ); KLineEdit *user_id = new KLineEdit( user_group_box, "kcfg_UserID" ); - user_id->tqsetAlignment( TQt::AlignRight ); + user_id->setAlignment( TQt::AlignRight ); (void) new TQLabel( i18n( "Group ID:" ), user_group_box ); KLineEdit *group_id = new KLineEdit( user_group_box, "kcfg_GroupID" ); - group_id->tqsetAlignment( TQt::AlignRight ); + group_id->setAlignment( TQt::AlignRight ); TQGroupBox *charset_box = new TQGroupBox( 2, Qt::Horizontal, i18n( "Charset and Codepage" ), mount_tab ); @@ -204,11 +204,11 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) (void) new TQLabel( i18n( "File mask:" ), perms_box ); KLineEdit *fmask = new KLineEdit( perms_box, "kcfg_FileMask" ); - fmask->tqsetAlignment( TQt::AlignRight ); + fmask->setAlignment( TQt::AlignRight ); (void) new TQLabel( i18n( "Directory mask:" ), perms_box ); KLineEdit *dmask = new KLineEdit( perms_box, "kcfg_DirectoryMask" ); - dmask->tqsetAlignment( TQt::AlignRight ); + dmask->setAlignment( TQt::AlignRight ); (void) new TQLabel( i18n( "Write access:" ), perms_box ); KComboBox *read_mode = new KComboBox( perms_box, "kcfg_WriteAccess" ); diff --git a/smb4k/core/smb4khomesshareshandler.cpp b/smb4k/core/smb4khomesshareshandler.cpp index 392581c..bf1431a 100644 --- a/smb4k/core/smb4khomesshareshandler.cpp +++ b/smb4k/core/smb4khomesshareshandler.cpp @@ -117,7 +117,7 @@ const TQString Smb4KHomesSharesHandler::specifyUser( const TQString &host, TQWid // Do the last things before showing. userCombo->setFocus(); - m_dlg->setFixedSize( m_dlg->tqsizeHint() ); + m_dlg->setFixedSize( m_dlg->sizeHint() ); if ( m_dlg->exec() == KDialogBase::Accepted ) { diff --git a/smb4k/core/smb4kpasswordhandler.cpp b/smb4k/core/smb4kpasswordhandler.cpp index e3624ee..e1ee9ee 100644 --- a/smb4k/core/smb4kpasswordhandler.cpp +++ b/smb4k/core/smb4kpasswordhandler.cpp @@ -316,7 +316,7 @@ bool Smb4KPasswordHandler::askpass( const TQString &workgroup, const TQString &h tqlayout->addWidget( pass_edit, 2, 1, 0 ); m_dlg->setMainWidget( frame ); - m_dlg->setFixedSize( 350, m_dlg->tqsizeHint().height() ); + m_dlg->setFixedSize( 350, m_dlg->sizeHint().height() ); m_dlg->enableButtonOK( false ); // Since we have to allow empty passwords, we will only connect diff --git a/smb4k/core/smb4ksettings.cpp b/smb4k/core/smb4ksettings.cpp index 098c6a5..3d0c418 100644 --- a/smb4k/core/smb4ksettings.cpp +++ b/smb4k/core/smb4ksettings.cpp @@ -21,1067 +21,1067 @@ Smb4KSettings *Smb4KSettings::self() } Smb4KSettings::Smb4KSettings( ) - : KConfigSkeleton( TQString::tqfromLatin1( "smb4krc" ) ) + : KConfigSkeleton( TQString::fromLatin1( "smb4krc" ) ) { mSelf = this; - setCurrentGroup( TQString::tqfromLatin1( "Programs" ) ); + setCurrentGroup( TQString::fromLatin1( "Programs" ) ); - mGrepItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "grep" ), mGrep ); + mGrepItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "grep" ), mGrep ); mGrepItem->setLabel( i18n("The path to the program \"grep\"") ); - addItem( mGrepItem, TQString::tqfromLatin1( "grep" ) ); - mAwkItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "awk" ), mAwk ); + addItem( mGrepItem, TQString::fromLatin1( "grep" ) ); + mAwkItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "awk" ), mAwk ); mAwkItem->setLabel( i18n("The path to the program \"awk\"") ); - addItem( mAwkItem, TQString::tqfromLatin1( "awk" ) ); - mSedItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "sed" ), mSed ); + addItem( mAwkItem, TQString::fromLatin1( "awk" ) ); + mSedItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "sed" ), mSed ); mSedItem->setLabel( i18n("The path to the program \"sed\"") ); - addItem( mSedItem, TQString::tqfromLatin1( "sed" ) ); - mXargsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "xargs" ), mXargs ); + addItem( mSedItem, TQString::fromLatin1( "sed" ) ); + mXargsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "xargs" ), mXargs ); mXargsItem->setLabel( i18n("The path to the program \"xargs\"") ); - addItem( mXargsItem, TQString::tqfromLatin1( "xargs" ) ); - mRmdirItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "rmdir" ), mRmdir ); + addItem( mXargsItem, TQString::fromLatin1( "xargs" ) ); + mRmdirItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "rmdir" ), mRmdir ); mRmdirItem->setLabel( i18n("The path to the program \"rmdir\"") ); - addItem( mRmdirItem, TQString::tqfromLatin1( "rmdir" ) ); - mNmblookupItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "nmblookup" ), mNmblookup ); + addItem( mRmdirItem, TQString::fromLatin1( "rmdir" ) ); + mNmblookupItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "nmblookup" ), mNmblookup ); mNmblookupItem->setLabel( i18n("The path to the program \"nmblookup\"") ); - addItem( mNmblookupItem, TQString::tqfromLatin1( "nmblookup" ) ); - mSmbclientItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "smbclient" ), mSmbclient ); + addItem( mNmblookupItem, TQString::fromLatin1( "nmblookup" ) ); + mSmbclientItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbclient" ), mSmbclient ); mSmbclientItem->setLabel( i18n("The path to the program \"smbclient\"") ); - addItem( mSmbclientItem, TQString::tqfromLatin1( "smbclient" ) ); - mSmbspoolItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "smbspool" ), mSmbspool ); + addItem( mSmbclientItem, TQString::fromLatin1( "smbclient" ) ); + mSmbspoolItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbspool" ), mSmbspool ); mSmbspoolItem->setLabel( i18n("The path to the program \"smbspool\"") ); - addItem( mSmbspoolItem, TQString::tqfromLatin1( "smbspool" ) ); - mNetItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "net" ), mNet ); + addItem( mSmbspoolItem, TQString::fromLatin1( "smbspool" ) ); + mNetItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "net" ), mNet ); mNetItem->setLabel( i18n("The path to the program \"net\"") ); - addItem( mNetItem, TQString::tqfromLatin1( "net" ) ); - mMount_cifsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "mount_cifs" ), mMount_cifs ); + addItem( mNetItem, TQString::fromLatin1( "net" ) ); + mMount_cifsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "mount_cifs" ), mMount_cifs ); mMount_cifsItem->setLabel( i18n("The path to the program \"mount.cifs\"") ); - addItem( mMount_cifsItem, TQString::tqfromLatin1( "mount_cifs" ) ); - mUmount_cifsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "umount_cifs" ), mUmount_cifs ); + addItem( mMount_cifsItem, TQString::fromLatin1( "mount_cifs" ) ); + mUmount_cifsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "umount_cifs" ), mUmount_cifs ); mUmount_cifsItem->setLabel( i18n("The path to the program \"umount.cifs\"") ); - addItem( mUmount_cifsItem, TQString::tqfromLatin1( "umount_cifs" ) ); - mSmbmountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "smbmount" ), mSmbmount ); + addItem( mUmount_cifsItem, TQString::fromLatin1( "umount_cifs" ) ); + mSmbmountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbmount" ), mSmbmount ); mSmbmountItem->setLabel( i18n("The path to the program \"smbmount\"") ); - addItem( mSmbmountItem, TQString::tqfromLatin1( "smbmount" ) ); - mSmbumountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "smbumount" ), mSmbumount ); + addItem( mSmbmountItem, TQString::fromLatin1( "smbmount" ) ); + mSmbumountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbumount" ), mSmbumount ); mSmbumountItem->setLabel( i18n("The path to the program \"smbumount\"") ); - addItem( mSmbumountItem, TQString::tqfromLatin1( "smbumount" ) ); - mMountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "mount" ), mMount ); + addItem( mSmbumountItem, TQString::fromLatin1( "smbumount" ) ); + mMountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "mount" ), mMount ); mMountItem->setLabel( i18n("The path to the program \"mount\"") ); - addItem( mMountItem, TQString::tqfromLatin1( "mount" ) ); - mMount_smbfsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "mount_smbfs" ), mMount_smbfs ); + addItem( mMountItem, TQString::fromLatin1( "mount" ) ); + mMount_smbfsItem = new KConfigSkeleton::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::tqfromLatin1( "mount_smbfs" ) ); - mSmbutilItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "smbutil" ), mSmbutil ); + addItem( mMount_smbfsItem, TQString::fromLatin1( "mount_smbfs" ) ); + mSmbutilItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbutil" ), mSmbutil ); mSmbutilItem->setLabel( i18n("The path to the program \"smbutil\" (FreeBSD only)") ); - addItem( mSmbutilItem, TQString::tqfromLatin1( "smbutil" ) ); - mUmountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "umount" ), mUmount ); + addItem( mSmbutilItem, TQString::fromLatin1( "smbutil" ) ); + mUmountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "umount" ), mUmount ); mUmountItem->setLabel( i18n("The path to the program \"umount\"") ); - addItem( mUmountItem, TQString::tqfromLatin1( "umount" ) ); - mSmb4k_mountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "smb4k_mount" ), mSmb4k_mount ); + addItem( mUmountItem, TQString::fromLatin1( "umount" ) ); + mSmb4k_mountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_mount" ), mSmb4k_mount ); mSmb4k_mountItem->setLabel( i18n("The path to the program \"smb4k_mount\"") ); - addItem( mSmb4k_mountItem, TQString::tqfromLatin1( "smb4k_mount" ) ); - mSmb4k_umountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "smb4k_umount" ), mSmb4k_umount ); + addItem( mSmb4k_mountItem, TQString::fromLatin1( "smb4k_mount" ) ); + mSmb4k_umountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_umount" ), mSmb4k_umount ); mSmb4k_umountItem->setLabel( i18n("The path to the program \"smb4k_umount\"") ); - addItem( mSmb4k_umountItem, TQString::tqfromLatin1( "smb4k_umount" ) ); - mSmb4k_killItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "smb4k_kill" ), mSmb4k_kill ); + addItem( mSmb4k_umountItem, TQString::fromLatin1( "smb4k_umount" ) ); + mSmb4k_killItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_kill" ), mSmb4k_kill ); mSmb4k_killItem->setLabel( i18n("The path to the program \"smb4k_kill\"") ); - addItem( mSmb4k_killItem, TQString::tqfromLatin1( "smb4k_kill" ) ); - mSmb4k_catItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "smb4k_cat" ), mSmb4k_cat ); + addItem( mSmb4k_killItem, TQString::fromLatin1( "smb4k_kill" ) ); + mSmb4k_catItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_cat" ), mSmb4k_cat ); mSmb4k_catItem->setLabel( i18n("The path to the program \"smb4k_cat\"") ); - addItem( mSmb4k_catItem, TQString::tqfromLatin1( "smb4k_cat" ) ); - mSmb4k_mvItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "smb4k_mv" ), mSmb4k_mv ); + addItem( mSmb4k_catItem, TQString::fromLatin1( "smb4k_cat" ) ); + mSmb4k_mvItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_mv" ), mSmb4k_mv ); mSmb4k_mvItem->setLabel( i18n("The path to the program \"smb4k_mv\"") ); - addItem( mSmb4k_mvItem, TQString::tqfromLatin1( "smb4k_mv" ) ); - mSuperItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "super" ), mSuper ); + addItem( mSmb4k_mvItem, TQString::fromLatin1( "smb4k_mv" ) ); + mSuperItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "super" ), mSuper ); mSuperItem->setLabel( i18n("The path to the program \"super\" (optional)") ); - addItem( mSuperItem, TQString::tqfromLatin1( "super" ) ); - mSudoItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "sudo" ), mSudo ); + addItem( mSuperItem, TQString::fromLatin1( "super" ) ); + mSudoItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "sudo" ), mSudo ); mSudoItem->setLabel( i18n("The path to the program \"sudo\" (optional)") ); - addItem( mSudoItem, TQString::tqfromLatin1( "sudo" ) ); - mDvipsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "dvips" ), mDvips ); + addItem( mSudoItem, TQString::fromLatin1( "sudo" ) ); + mDvipsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "dvips" ), mDvips ); mDvipsItem->setLabel( i18n("The path to the program \"dvips\" (optional)") ); - addItem( mDvipsItem, TQString::tqfromLatin1( "dvips" ) ); - mEnscriptItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "enscript" ), mEnscript ); + addItem( mDvipsItem, TQString::fromLatin1( "dvips" ) ); + mEnscriptItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "enscript" ), mEnscript ); mEnscriptItem->setLabel( i18n("The path to the program \"enscript\" (optional)") ); - addItem( mEnscriptItem, TQString::tqfromLatin1( "enscript" ) ); - mRsyncItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "rsync" ), mRsync ); + addItem( mEnscriptItem, TQString::fromLatin1( "enscript" ) ); + mRsyncItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "rsync" ), mRsync ); mRsyncItem->setLabel( i18n("The path to the program \"rsync\" (optional)") ); - addItem( mRsyncItem, TQString::tqfromLatin1( "rsync" ) ); - mKonsoleItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "konsole" ), mKonsole ); + addItem( mRsyncItem, TQString::fromLatin1( "rsync" ) ); + mKonsoleItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "konsole" ), mKonsole ); mKonsoleItem->setLabel( i18n("The path to the program \"konsole\" (optional)") ); - addItem( mKonsoleItem, TQString::tqfromLatin1( "konsole" ) ); + addItem( mKonsoleItem, TQString::fromLatin1( "konsole" ) ); - setCurrentGroup( TQString::tqfromLatin1( "UserInterface" ) ); + setCurrentGroup( TQString::fromLatin1( "UserInterface" ) ); - mShowCustomBookmarkLabelItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowCustomBookmarkLabel" ), mShowCustomBookmarkLabel, true ); + mShowCustomBookmarkLabelItem = new KConfigSkeleton::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::tqfromLatin1( "ShowCustomBookmarkLabel" ) ); - mEmbedIntoSystemTrayItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "EmbedIntoSystemTray" ), mEmbedIntoSystemTray, true ); + addItem( mShowCustomBookmarkLabelItem, TQString::fromLatin1( "ShowCustomBookmarkLabel" ) ); + mEmbedIntoSystemTrayItem = new KConfigSkeleton::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::tqfromLatin1( "EmbedIntoSystemTray" ) ); - mStartMainWindowDockedItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "StartMainWindowDocked" ), mStartMainWindowDocked, false ); + addItem( mEmbedIntoSystemTrayItem, TQString::fromLatin1( "EmbedIntoSystemTray" ) ); + mStartMainWindowDockedItem = new KConfigSkeleton::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::tqfromLatin1( "StartMainWindowDocked" ) ); + addItem( mStartMainWindowDockedItem, TQString::fromLatin1( "StartMainWindowDocked" ) ); TQValueList valuesSharesView; { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "IconView" ); + choice.name = TQString::fromLatin1( "IconView" ); valuesSharesView.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "ListView" ); + choice.name = TQString::fromLatin1( "ListView" ); valuesSharesView.append( choice ); } - mSharesViewItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::tqfromLatin1( "SharesView" ), mSharesView, valuesSharesView, EnumSharesView::IconView ); + mSharesViewItem = new KConfigSkeleton::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::tqfromLatin1( "SharesView" ) ); - mShowPrinterSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowPrinterShares" ), mShowPrinterShares, true ); + addItem( mSharesViewItem, TQString::fromLatin1( "SharesView" ) ); + mShowPrinterSharesItem = new KConfigSkeleton::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::tqfromLatin1( "ShowPrinterShares" ) ); - mShowHiddenSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowHiddenShares" ), mShowHiddenShares, true ); + addItem( mShowPrinterSharesItem, TQString::fromLatin1( "ShowPrinterShares" ) ); + mShowHiddenSharesItem = new KConfigSkeleton::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::tqfromLatin1( "ShowHiddenShares" ) ); - mShowHiddenIPCSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowHiddenIPCShares" ), mShowHiddenIPCShares, true ); + addItem( mShowHiddenSharesItem, TQString::fromLatin1( "ShowHiddenShares" ) ); + mShowHiddenIPCSharesItem = new KConfigSkeleton::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::tqfromLatin1( "ShowHiddenIPCShares" ) ); - mShowHiddenADMINSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowHiddenADMINShares" ), mShowHiddenADMINShares, true ); + addItem( mShowHiddenIPCSharesItem, TQString::fromLatin1( "ShowHiddenIPCShares" ) ); + mShowHiddenADMINSharesItem = new KConfigSkeleton::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::tqfromLatin1( "ShowHiddenADMINShares" ) ); - mShowTypeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowType" ), mShowType, true ); + addItem( mShowHiddenADMINSharesItem, TQString::fromLatin1( "ShowHiddenADMINShares" ) ); + mShowTypeItem = new KConfigSkeleton::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::tqfromLatin1( "ShowType" ) ); - mShowIPAddressItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowIPAddress" ), mShowIPAddress, true ); + addItem( mShowTypeItem, TQString::fromLatin1( "ShowType" ) ); + mShowIPAddressItem = new KConfigSkeleton::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::tqfromLatin1( "ShowIPAddress" ) ); - mShowCommentItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowComment" ), mShowComment, true ); + addItem( mShowIPAddressItem, TQString::fromLatin1( "ShowIPAddress" ) ); + mShowCommentItem = new KConfigSkeleton::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::tqfromLatin1( "ShowComment" ) ); - mShowNetworkItemToolTipItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowNetworkItemToolTip" ), mShowNetworkItemToolTip, true ); + addItem( mShowCommentItem, TQString::fromLatin1( "ShowComment" ) ); + mShowNetworkItemToolTipItem = new KConfigSkeleton::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::tqfromLatin1( "ShowNetworkItemToolTip" ) ); - mShowMountPointItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowMountPoint" ), mShowMountPoint, false ); + addItem( mShowNetworkItemToolTipItem, TQString::fromLatin1( "ShowNetworkItemToolTip" ) ); + mShowMountPointItem = new KConfigSkeleton::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::tqfromLatin1( "ShowMountPoint" ) ); - mShowAllSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowAllShares" ), mShowAllShares, false ); + addItem( mShowMountPointItem, TQString::fromLatin1( "ShowMountPoint" ) ); + mShowAllSharesItem = new KConfigSkeleton::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::tqfromLatin1( "ShowAllShares" ) ); - mEnableDropSupportItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "EnableDropSupport" ), mEnableDropSupport, false ); + addItem( mShowAllSharesItem, TQString::fromLatin1( "ShowAllShares" ) ); + mEnableDropSupportItem = new KConfigSkeleton::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::tqfromLatin1( "EnableDropSupport" ) ); - mEnableDragSupportItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "EnableDragSupport" ), mEnableDragSupport, false ); + addItem( mEnableDropSupportItem, TQString::fromLatin1( "EnableDropSupport" ) ); + mEnableDragSupportItem = new KConfigSkeleton::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::tqfromLatin1( "EnableDragSupport" ) ); - mShowShareToolTipItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowShareToolTip" ), mShowShareToolTip, true ); + addItem( mEnableDragSupportItem, TQString::fromLatin1( "EnableDragSupport" ) ); + mShowShareToolTipItem = new KConfigSkeleton::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::tqfromLatin1( "ShowShareToolTip" ) ); - mPreviewHiddenItemsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "PreviewHiddenItems" ), mPreviewHiddenItems, false ); + addItem( mShowShareToolTipItem, TQString::fromLatin1( "ShowShareToolTip" ) ); + mPreviewHiddenItemsItem = new KConfigSkeleton::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::tqfromLatin1( "PreviewHiddenItems" ) ); - mShowOwnerItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowOwner" ), mShowOwner, false ); + addItem( mPreviewHiddenItemsItem, TQString::fromLatin1( "PreviewHiddenItems" ) ); + mShowOwnerItem = new KConfigSkeleton::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::tqfromLatin1( "ShowOwner" ) ); - mShowLoginItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowLogin" ), mShowLogin, false ); + addItem( mShowOwnerItem, TQString::fromLatin1( "ShowOwner" ) ); + mShowLoginItem = new KConfigSkeleton::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::tqfromLatin1( "ShowLogin" ) ); - mShowFileSystemItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowFileSystem" ), mShowFileSystem, true ); + addItem( mShowLoginItem, TQString::fromLatin1( "ShowLogin" ) ); + mShowFileSystemItem = new KConfigSkeleton::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::tqfromLatin1( "ShowFileSystem" ) ); - mShowFreeDiskSpaceItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowFreeDiskSpace" ), mShowFreeDiskSpace, false ); + addItem( mShowFileSystemItem, TQString::fromLatin1( "ShowFileSystem" ) ); + mShowFreeDiskSpaceItem = new KConfigSkeleton::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::tqfromLatin1( "ShowFreeDiskSpace" ) ); - mShowUsedDiskSpaceItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowUsedDiskSpace" ), mShowUsedDiskSpace, false ); + addItem( mShowFreeDiskSpaceItem, TQString::fromLatin1( "ShowFreeDiskSpace" ) ); + mShowUsedDiskSpaceItem = new KConfigSkeleton::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::tqfromLatin1( "ShowUsedDiskSpace" ) ); - mShowTotalDiskSpaceItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowTotalDiskSpace" ), mShowTotalDiskSpace, false ); + addItem( mShowUsedDiskSpaceItem, TQString::fromLatin1( "ShowUsedDiskSpace" ) ); + mShowTotalDiskSpaceItem = new KConfigSkeleton::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::tqfromLatin1( "ShowTotalDiskSpace" ) ); - mShowDiskUsageItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ShowDiskUsage" ), mShowDiskUsage, true ); + addItem( mShowTotalDiskSpaceItem, TQString::fromLatin1( "ShowTotalDiskSpace" ) ); + mShowDiskUsageItem = new KConfigSkeleton::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::tqfromLatin1( "ShowDiskUsage" ) ); + addItem( mShowDiskUsageItem, TQString::fromLatin1( "ShowDiskUsage" ) ); - setCurrentGroup( TQString::tqfromLatin1( "Network" ) ); + setCurrentGroup( TQString::fromLatin1( "Network" ) ); TQValueList valuesBrowseList; { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "LookupDomains" ); + choice.name = TQString::fromLatin1( "LookupDomains" ); valuesBrowseList.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "QueryCurrentMaster" ); + choice.name = TQString::fromLatin1( "QueryCurrentMaster" ); valuesBrowseList.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "QueryCustomMaster" ); + choice.name = TQString::fromLatin1( "QueryCustomMaster" ); valuesBrowseList.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "ScanBroadcastAreas" ); + choice.name = TQString::fromLatin1( "ScanBroadcastAreas" ); valuesBrowseList.append( choice ); } - mBrowseListItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::tqfromLatin1( "BrowseList" ), mBrowseList, valuesBrowseList, EnumBrowseList::LookupDomains ); + mBrowseListItem = new KConfigSkeleton::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::tqfromLatin1( "BrowseList" ) ); - mCustomMasterBrowserItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "CustomMasterBrowser" ), mCustomMasterBrowser ); + addItem( mBrowseListItem, TQString::fromLatin1( "BrowseList" ) ); + mCustomMasterBrowserItem = new KConfigSkeleton::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::tqfromLatin1( "CustomMasterBrowser" ) ); - mBroadcastAreasItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "BroadcastAreas" ), mBroadcastAreas ); + addItem( mCustomMasterBrowserItem, TQString::fromLatin1( "CustomMasterBrowser" ) ); + mBroadcastAreasItem = new KConfigSkeleton::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::tqfromLatin1( "BroadcastAreas" ) ); + addItem( mBroadcastAreasItem, TQString::fromLatin1( "BroadcastAreas" ) ); TQValueList valuesSearchMethod; { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "Nmblookup" ); + choice.name = TQString::fromLatin1( "Nmblookup" ); valuesSearchMethod.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "Smbclient" ); + choice.name = TQString::fromLatin1( "Smbclient" ); valuesSearchMethod.append( choice ); } - mSearchMethodItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::tqfromLatin1( "SearchMethod" ), mSearchMethod, valuesSearchMethod, EnumSearchMethod::Nmblookup ); + mSearchMethodItem = new KConfigSkeleton::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::tqfromLatin1( "SearchMethod" ) ); + addItem( mSearchMethodItem, TQString::fromLatin1( "SearchMethod" ) ); - setCurrentGroup( TQString::tqfromLatin1( "Shares" ) ); + setCurrentGroup( TQString::fromLatin1( "Shares" ) ); - mMountPrefixItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "MountPrefix" ), mMountPrefix, TQString::tqfromLatin1( "${HOME}/smb4k/" ) ); + mMountPrefixItem = new KConfigSkeleton::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::tqfromLatin1( "MountPrefix" ) ); - mForceLowerCaseSubdirsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ForceLowerCaseSubdirs" ), mForceLowerCaseSubdirs, false ); + addItem( mMountPrefixItem, TQString::fromLatin1( "MountPrefix" ) ); + mForceLowerCaseSubdirsItem = new KConfigSkeleton::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::tqfromLatin1( "ForceLowerCaseSubdirs" ) ); - mUnmountSharesOnExitItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UnmountSharesOnExit" ), mUnmountSharesOnExit, false ); + addItem( mForceLowerCaseSubdirsItem, TQString::fromLatin1( "ForceLowerCaseSubdirs" ) ); + mUnmountSharesOnExitItem = new KConfigSkeleton::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::tqfromLatin1( "UnmountSharesOnExit" ) ); - mRemountSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "RemountShares" ), mRemountShares, false ); + addItem( mUnmountSharesOnExitItem, TQString::fromLatin1( "UnmountSharesOnExit" ) ); + mRemountSharesItem = new KConfigSkeleton::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::tqfromLatin1( "RemountShares" ) ); - mUnmountForeignSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UnmountForeignShares" ), mUnmountForeignShares, false ); + addItem( mRemountSharesItem, TQString::fromLatin1( "RemountShares" ) ); + mUnmountForeignSharesItem = new KConfigSkeleton::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::tqfromLatin1( "UnmountForeignShares" ) ); - mCheckIntervalItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "CheckInterval" ), mCheckInterval, 2500 ); + addItem( mUnmountForeignSharesItem, TQString::fromLatin1( "UnmountForeignShares" ) ); + mCheckIntervalItem = new KConfigSkeleton::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::tqfromLatin1( "CheckInterval" ) ); + addItem( mCheckIntervalItem, TQString::fromLatin1( "CheckInterval" ) ); - setCurrentGroup( TQString::tqfromLatin1( "Authentication" ) ); + setCurrentGroup( TQString::fromLatin1( "Authentication" ) ); - mUseWalletItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseWallet" ), mUseWallet, true ); + mUseWalletItem = new KConfigSkeleton::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::tqfromLatin1( "UseWallet" ) ); - mRememberPasswordsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "RememberPasswords" ), mRememberPasswords, true ); + addItem( mUseWalletItem, TQString::fromLatin1( "UseWallet" ) ); + mRememberPasswordsItem = new KConfigSkeleton::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::tqfromLatin1( "RememberPasswords" ) ); - mUseDefaultLoginItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseDefaultLogin" ), mUseDefaultLogin, false ); + addItem( mRememberPasswordsItem, TQString::fromLatin1( "RememberPasswords" ) ); + mUseDefaultLoginItem = new KConfigSkeleton::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::tqfromLatin1( "UseDefaultLogin" ) ); + addItem( mUseDefaultLoginItem, TQString::fromLatin1( "UseDefaultLogin" ) ); - setCurrentGroup( TQString::tqfromLatin1( "Samba" ) ); + setCurrentGroup( TQString::fromLatin1( "Samba" ) ); - mNetBIOSNameItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "NetBIOSName" ), mNetBIOSName ); + mNetBIOSNameItem = new KConfigSkeleton::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::tqfromLatin1( "NetBIOSName" ) ); - mDomainNameItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "DomainName" ), mDomainName ); + addItem( mNetBIOSNameItem, TQString::fromLatin1( "NetBIOSName" ) ); + mDomainNameItem = new KConfigSkeleton::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::tqfromLatin1( "DomainName" ) ); - mSocketOptionsItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "SocketOptions" ), mSocketOptions ); + addItem( mDomainNameItem, TQString::fromLatin1( "DomainName" ) ); + mSocketOptionsItem = new KConfigSkeleton::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::tqfromLatin1( "SocketOptions" ) ); - mNetBIOSScopeItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "NetBIOSScope" ), mNetBIOSScope ); + addItem( mSocketOptionsItem, TQString::fromLatin1( "SocketOptions" ) ); + mNetBIOSScopeItem = new KConfigSkeleton::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::tqfromLatin1( "NetBIOSScope" ) ); - mRemotePortItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "RemotePort" ), mRemotePort, 139 ); + addItem( mNetBIOSScopeItem, TQString::fromLatin1( "NetBIOSScope" ) ); + mRemotePortItem = new KConfigSkeleton::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::tqfromLatin1( "RemotePort" ) ); - mUseKerberosItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseKerberos" ), mUseKerberos, false ); + addItem( mRemotePortItem, TQString::fromLatin1( "RemotePort" ) ); + mUseKerberosItem = new KConfigSkeleton::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::tqfromLatin1( "UseKerberos" ) ); - mMachineAccountItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "MachineAccount" ), mMachineAccount, false ); + addItem( mUseKerberosItem, TQString::fromLatin1( "UseKerberos" ) ); + mMachineAccountItem = new KConfigSkeleton::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::tqfromLatin1( "MachineAccount" ) ); + addItem( mMachineAccountItem, TQString::fromLatin1( "MachineAccount" ) ); TQValueList valuesFilesystem; { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "CIFS" ); + choice.name = TQString::fromLatin1( "CIFS" ); valuesFilesystem.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "SMBFS" ); + choice.name = TQString::fromLatin1( "SMBFS" ); valuesFilesystem.append( choice ); } - mFilesystemItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::tqfromLatin1( "Filesystem" ), mFilesystem, valuesFilesystem, EnumFilesystem::CIFS ); + mFilesystemItem = new KConfigSkeleton::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::tqfromLatin1( "Filesystem" ) ); + addItem( mFilesystemItem, TQString::fromLatin1( "Filesystem" ) ); TQValueList valuesClientCharset; { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "default_charset" ); + choice.name = TQString::fromLatin1( "default_charset" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_1" ); + choice.name = TQString::fromLatin1( "iso8859_1" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_2" ); + choice.name = TQString::fromLatin1( "iso8859_2" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_3" ); + choice.name = TQString::fromLatin1( "iso8859_3" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_4" ); + choice.name = TQString::fromLatin1( "iso8859_4" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_5" ); + choice.name = TQString::fromLatin1( "iso8859_5" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_6" ); + choice.name = TQString::fromLatin1( "iso8859_6" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_7" ); + choice.name = TQString::fromLatin1( "iso8859_7" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_8" ); + choice.name = TQString::fromLatin1( "iso8859_8" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_9" ); + choice.name = TQString::fromLatin1( "iso8859_9" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_13" ); + choice.name = TQString::fromLatin1( "iso8859_13" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_14" ); + choice.name = TQString::fromLatin1( "iso8859_14" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "iso8859_15" ); + choice.name = TQString::fromLatin1( "iso8859_15" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "utf8" ); + choice.name = TQString::fromLatin1( "utf8" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "koi8_r" ); + choice.name = TQString::fromLatin1( "koi8_r" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "koi8_u" ); + choice.name = TQString::fromLatin1( "koi8_u" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "koi8_ru" ); + choice.name = TQString::fromLatin1( "koi8_ru" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp1251" ); + choice.name = TQString::fromLatin1( "cp1251" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "gb2312" ); + choice.name = TQString::fromLatin1( "gb2312" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "big5" ); + choice.name = TQString::fromLatin1( "big5" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "euc_jp" ); + choice.name = TQString::fromLatin1( "euc_jp" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "euc_kr" ); + choice.name = TQString::fromLatin1( "euc_kr" ); valuesClientCharset.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "tis_620" ); + choice.name = TQString::fromLatin1( "tis_620" ); valuesClientCharset.append( choice ); } - mClientCharsetItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::tqfromLatin1( "ClientCharset" ), mClientCharset, valuesClientCharset, EnumClientCharset::default_charset ); + mClientCharsetItem = new KConfigSkeleton::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::tqfromLatin1( "ClientCharset" ) ); + addItem( mClientCharsetItem, TQString::fromLatin1( "ClientCharset" ) ); TQValueList valuesServerCodepage; { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "default_codepage" ); + choice.name = TQString::fromLatin1( "default_codepage" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp437" ); + choice.name = TQString::fromLatin1( "cp437" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp720" ); + choice.name = TQString::fromLatin1( "cp720" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp737" ); + choice.name = TQString::fromLatin1( "cp737" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp775" ); + choice.name = TQString::fromLatin1( "cp775" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp850" ); + choice.name = TQString::fromLatin1( "cp850" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp852" ); + choice.name = TQString::fromLatin1( "cp852" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp855" ); + choice.name = TQString::fromLatin1( "cp855" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp857" ); + choice.name = TQString::fromLatin1( "cp857" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp858" ); + choice.name = TQString::fromLatin1( "cp858" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp860" ); + choice.name = TQString::fromLatin1( "cp860" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp861" ); + choice.name = TQString::fromLatin1( "cp861" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp862" ); + choice.name = TQString::fromLatin1( "cp862" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp863" ); + choice.name = TQString::fromLatin1( "cp863" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp864" ); + choice.name = TQString::fromLatin1( "cp864" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp865" ); + choice.name = TQString::fromLatin1( "cp865" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp866" ); + choice.name = TQString::fromLatin1( "cp866" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp869" ); + choice.name = TQString::fromLatin1( "cp869" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp874" ); + choice.name = TQString::fromLatin1( "cp874" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp932" ); + choice.name = TQString::fromLatin1( "cp932" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp936" ); + choice.name = TQString::fromLatin1( "cp936" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp949" ); + choice.name = TQString::fromLatin1( "cp949" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp950" ); + choice.name = TQString::fromLatin1( "cp950" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp1250" ); + choice.name = TQString::fromLatin1( "cp1250" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp1251" ); + choice.name = TQString::fromLatin1( "cp1251" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp1252" ); + choice.name = TQString::fromLatin1( "cp1252" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp1253" ); + choice.name = TQString::fromLatin1( "cp1253" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp1254" ); + choice.name = TQString::fromLatin1( "cp1254" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp1255" ); + choice.name = TQString::fromLatin1( "cp1255" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp1256" ); + choice.name = TQString::fromLatin1( "cp1256" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp1257" ); + choice.name = TQString::fromLatin1( "cp1257" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "cp1258" ); + choice.name = TQString::fromLatin1( "cp1258" ); valuesServerCodepage.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "tqunicode" ); + choice.name = TQString::fromLatin1( "tqunicode" ); valuesServerCodepage.append( choice ); } - mServerCodepageItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::tqfromLatin1( "ServerCodepage" ), mServerCodepage, valuesServerCodepage, EnumServerCodepage::default_codepage ); + mServerCodepageItem = new KConfigSkeleton::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::tqfromLatin1( "ServerCodepage" ) ); - mUserIDItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "UserID" ), mUserID, TQString( "%1" ).tqarg( (int)getuid() ) ); + addItem( mServerCodepageItem, TQString::fromLatin1( "ServerCodepage" ) ); + mUserIDItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "UserID" ), mUserID, TQString( "%1" ).tqarg( (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::tqfromLatin1( "UserID" ) ); - mGroupIDItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "GroupID" ), mGroupID, TQString( "%1" ).tqarg( (int)getgid() ) ); + addItem( mUserIDItem, TQString::fromLatin1( "UserID" ) ); + mGroupIDItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "GroupID" ), mGroupID, TQString( "%1" ).tqarg( (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::tqfromLatin1( "GroupID" ) ); - mFileMaskItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "FileMask" ), mFileMask, TQString::tqfromLatin1( "0755" ) ); + addItem( mGroupIDItem, TQString::fromLatin1( "GroupID" ) ); + mFileMaskItem = new KConfigSkeleton::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::tqfromLatin1( "FileMask" ) ); - mDirectoryMaskItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "DirectoryMask" ), mDirectoryMask, TQString::tqfromLatin1( "0755" ) ); + addItem( mFileMaskItem, TQString::fromLatin1( "FileMask" ) ); + mDirectoryMaskItem = new KConfigSkeleton::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::tqfromLatin1( "DirectoryMask" ) ); + addItem( mDirectoryMaskItem, TQString::fromLatin1( "DirectoryMask" ) ); TQValueList valuesWriteAccess; { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "ReadWrite" ); + choice.name = TQString::fromLatin1( "ReadWrite" ); valuesWriteAccess.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "ReadOnly" ); + choice.name = TQString::fromLatin1( "ReadOnly" ); valuesWriteAccess.append( choice ); } - mWriteAccessItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::tqfromLatin1( "WriteAccess" ), mWriteAccess, valuesWriteAccess, EnumWriteAccess::ReadWrite ); + mWriteAccessItem = new KConfigSkeleton::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::tqfromLatin1( "WriteAccess" ) ); - mPermissionChecksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "PermissionChecks" ), mPermissionChecks, true ); + addItem( mWriteAccessItem, TQString::fromLatin1( "WriteAccess" ) ); + mPermissionChecksItem = new KConfigSkeleton::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::tqfromLatin1( "PermissionChecks" ) ); - mClientControlsIDsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ClientControlsIDs" ), mClientControlsIDs, false ); + addItem( mPermissionChecksItem, TQString::fromLatin1( "PermissionChecks" ) ); + mClientControlsIDsItem = new KConfigSkeleton::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::tqfromLatin1( "ClientControlsIDs" ) ); - mServerInodeNumbersItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ServerInodeNumbers" ), mServerInodeNumbers, false ); + addItem( mClientControlsIDsItem, TQString::fromLatin1( "ClientControlsIDs" ) ); + mServerInodeNumbersItem = new KConfigSkeleton::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::tqfromLatin1( "ServerInodeNumbers" ) ); - mInodeDataCachingItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "InodeDataCaching" ), mInodeDataCaching, false ); + addItem( mServerInodeNumbersItem, TQString::fromLatin1( "ServerInodeNumbers" ) ); + mInodeDataCachingItem = new KConfigSkeleton::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::tqfromLatin1( "InodeDataCaching" ) ); - mTranslateReservedCharsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "TranslateReservedChars" ), mTranslateReservedChars, false ); + addItem( mInodeDataCachingItem, TQString::fromLatin1( "InodeDataCaching" ) ); + mTranslateReservedCharsItem = new KConfigSkeleton::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::tqfromLatin1( "TranslateReservedChars" ) ); - mNoLockingItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "NoLocking" ), mNoLocking, false ); + addItem( mTranslateReservedCharsItem, TQString::fromLatin1( "TranslateReservedChars" ) ); + mNoLockingItem = new KConfigSkeleton::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::tqfromLatin1( "NoLocking" ) ); - mCustomCIFSOptionsItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "CustomCIFSOptions" ), mCustomCIFSOptions ); + addItem( mNoLockingItem, TQString::fromLatin1( "NoLocking" ) ); + mCustomCIFSOptionsItem = new KConfigSkeleton::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::tqfromLatin1( "CustomCIFSOptions" ) ); - mCachingTimeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "CachingTime" ), mCachingTime, 1000 ); + addItem( mCustomCIFSOptionsItem, TQString::fromLatin1( "CustomCIFSOptions" ) ); + mCachingTimeItem = new KConfigSkeleton::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::tqfromLatin1( "CachingTime" ) ); - mUnicodeSupportItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UnicodeSupport" ), mUnicodeSupport, false ); + addItem( mCachingTimeItem, TQString::fromLatin1( "CachingTime" ) ); + mUnicodeSupportItem = new KConfigSkeleton::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::tqfromLatin1( "UnicodeSupport" ) ); - mLargeFileSystemSupportItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "LargeFileSystemSupport" ), mLargeFileSystemSupport, false ); + addItem( mUnicodeSupportItem, TQString::fromLatin1( "UnicodeSupport" ) ); + mLargeFileSystemSupportItem = new KConfigSkeleton::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::tqfromLatin1( "LargeFileSystemSupport" ) ); + addItem( mLargeFileSystemSupportItem, TQString::fromLatin1( "LargeFileSystemSupport" ) ); TQValueList valuesProtocolHint; { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "Automatic" ); + choice.name = TQString::fromLatin1( "Automatic" ); valuesProtocolHint.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "RPC" ); + choice.name = TQString::fromLatin1( "RPC" ); valuesProtocolHint.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "RAP" ); + choice.name = TQString::fromLatin1( "RAP" ); valuesProtocolHint.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "ADS" ); + choice.name = TQString::fromLatin1( "ADS" ); valuesProtocolHint.append( choice ); } - mProtocolHintItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::tqfromLatin1( "ProtocolHint" ), mProtocolHint, valuesProtocolHint, EnumProtocolHint::Automatic ); + mProtocolHintItem = new KConfigSkeleton::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::tqfromLatin1( "ProtocolHint" ) ); - mNameResolveOrderItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "NameResolveOrder" ), mNameResolveOrder ); + addItem( mProtocolHintItem, TQString::fromLatin1( "ProtocolHint" ) ); + mNameResolveOrderItem = new KConfigSkeleton::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::tqfromLatin1( "NameResolveOrder" ) ); - mBufferSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "BufferSize" ), mBufferSize, 65520 ); + addItem( mNameResolveOrderItem, TQString::fromLatin1( "NameResolveOrder" ) ); + mBufferSizeItem = new KConfigSkeleton::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::tqfromLatin1( "BufferSize" ) ); + addItem( mBufferSizeItem, TQString::fromLatin1( "BufferSize" ) ); TQValueList valuesSigningState; { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "None" ); + choice.name = TQString::fromLatin1( "None" ); valuesSigningState.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "On" ); + choice.name = TQString::fromLatin1( "On" ); valuesSigningState.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "Off" ); + choice.name = TQString::fromLatin1( "Off" ); valuesSigningState.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "Required" ); + choice.name = TQString::fromLatin1( "Required" ); valuesSigningState.append( choice ); } - mSigningStateItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::tqfromLatin1( "SigningState" ), mSigningState, valuesSigningState, EnumSigningState::None ); + mSigningStateItem = new KConfigSkeleton::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::tqfromLatin1( "SigningState" ) ); - mBroadcastAddressItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "BroadcastAddress" ), mBroadcastAddress ); + addItem( mSigningStateItem, TQString::fromLatin1( "SigningState" ) ); + mBroadcastAddressItem = new KConfigSkeleton::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::tqfromLatin1( "BroadcastAddress" ) ); - mUsePort137Item = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UsePort137" ), mUsePort137, false ); + addItem( mBroadcastAddressItem, TQString::fromLatin1( "BroadcastAddress" ) ); + mUsePort137Item = new KConfigSkeleton::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::tqfromLatin1( "UsePort137" ) ); + addItem( mUsePort137Item, TQString::fromLatin1( "UsePort137" ) ); - setCurrentGroup( TQString::tqfromLatin1( "Synchronization" ) ); + setCurrentGroup( TQString::fromLatin1( "Synchronization" ) ); - mRsyncPrefixItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "RsyncPrefix" ), mRsyncPrefix, TQString::tqfromLatin1( "$HOME/smb4k_sync/" ) ); + mRsyncPrefixItem = new KConfigSkeleton::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::tqfromLatin1( "RsyncPrefix" ) ); - mArchiveModeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ArchiveMode" ), mArchiveMode, true ); + addItem( mRsyncPrefixItem, TQString::fromLatin1( "RsyncPrefix" ) ); + mArchiveModeItem = new KConfigSkeleton::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::tqfromLatin1( "ArchiveMode" ) ); - mRecurseIntoDirectoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "RecurseIntoDirectories" ), mRecurseIntoDirectories, true ); + addItem( mArchiveModeItem, TQString::fromLatin1( "ArchiveMode" ) ); + mRecurseIntoDirectoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RecurseIntoDirectories" ), mRecurseIntoDirectories, true ); mRecurseIntoDirectoriesItem->setLabel( i18n("Recurse into subdirectories") ); mRecurseIntoDirectoriesItem->setWhatsThis( i18n("Recurse into directories (-r, --recursive).") ); - addItem( mRecurseIntoDirectoriesItem, TQString::tqfromLatin1( "RecurseIntoDirectories" ) ); - mUpdateTargetItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UpdateTarget" ), mUpdateTarget, true ); + addItem( mRecurseIntoDirectoriesItem, TQString::fromLatin1( "RecurseIntoDirectories" ) ); + mUpdateTargetItem = new KConfigSkeleton::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::tqfromLatin1( "UpdateTarget" ) ); - mUpdateInPlaceItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UpdateInPlace" ), mUpdateInPlace, false ); + addItem( mUpdateTargetItem, TQString::fromLatin1( "UpdateTarget" ) ); + mUpdateInPlaceItem = new KConfigSkeleton::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::tqfromLatin1( "UpdateInPlace" ) ); - mRelativePathNamesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "RelativePathNames" ), mRelativePathNames, false ); + addItem( mUpdateInPlaceItem, TQString::fromLatin1( "UpdateInPlace" ) ); + mRelativePathNamesItem = new KConfigSkeleton::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::tqfromLatin1( "RelativePathNames" ) ); - mNoImpliedDirectoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "NoImpliedDirectories" ), mNoImpliedDirectories, false ); + addItem( mRelativePathNamesItem, TQString::fromLatin1( "RelativePathNames" ) ); + mNoImpliedDirectoriesItem = new KConfigSkeleton::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::tqfromLatin1( "NoImpliedDirectories" ) ); - mTransferDirectoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "TransferDirectories" ), mTransferDirectories, false ); + addItem( mNoImpliedDirectoriesItem, TQString::fromLatin1( "NoImpliedDirectories" ) ); + mTransferDirectoriesItem = new KConfigSkeleton::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::tqfromLatin1( "TransferDirectories" ) ); - mCompressDataItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "CompressData" ), mCompressData, false ); + addItem( mTransferDirectoriesItem, TQString::fromLatin1( "TransferDirectories" ) ); + mCompressDataItem = new KConfigSkeleton::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::tqfromLatin1( "CompressData" ) ); - mPreserveSymlinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "PreserveSymlinks" ), mPreserveSymlinks, true ); + addItem( mCompressDataItem, TQString::fromLatin1( "CompressData" ) ); + mPreserveSymlinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveSymlinks" ), mPreserveSymlinks, true ); mPreserveSymlinksItem->setLabel( i18n("Preserve symlinks") ); mPreserveSymlinksItem->setWhatsThis( i18n("Copy symlinks as symlinks (-l, --links).") ); - addItem( mPreserveSymlinksItem, TQString::tqfromLatin1( "PreserveSymlinks" ) ); - mTransformSymlinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "TransformSymlinks" ), mTransformSymlinks, false ); + addItem( mPreserveSymlinksItem, TQString::fromLatin1( "PreserveSymlinks" ) ); + mTransformSymlinksItem = new KConfigSkeleton::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::tqfromLatin1( "TransformSymlinks" ) ); - mTransformUnsafeSymlinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "TransformUnsafeSymlinks" ), mTransformUnsafeSymlinks, false ); + addItem( mTransformSymlinksItem, TQString::fromLatin1( "TransformSymlinks" ) ); + mTransformUnsafeSymlinksItem = new KConfigSkeleton::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::tqfromLatin1( "TransformUnsafeSymlinks" ) ); - mIgnoreUnsafeSymlinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "IgnoreUnsafeSymlinks" ), mIgnoreUnsafeSymlinks, false ); + addItem( mTransformUnsafeSymlinksItem, TQString::fromLatin1( "TransformUnsafeSymlinks" ) ); + mIgnoreUnsafeSymlinksItem = new KConfigSkeleton::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::tqfromLatin1( "IgnoreUnsafeSymlinks" ) ); - mPreserveHardLinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "PreserveHardLinks" ), mPreserveHardLinks, false ); + addItem( mIgnoreUnsafeSymlinksItem, TQString::fromLatin1( "IgnoreUnsafeSymlinks" ) ); + mPreserveHardLinksItem = new KConfigSkeleton::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::tqfromLatin1( "PreserveHardLinks" ) ); - mKeepDirectorySymlinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "KeepDirectorySymlinks" ), mKeepDirectorySymlinks, false ); + addItem( mPreserveHardLinksItem, TQString::fromLatin1( "PreserveHardLinks" ) ); + mKeepDirectorySymlinksItem = new KConfigSkeleton::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::tqfromLatin1( "KeepDirectorySymlinks" ) ); - mPreservePermissionsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "PreservePermissions" ), mPreservePermissions, true ); + addItem( mKeepDirectorySymlinksItem, TQString::fromLatin1( "KeepDirectorySymlinks" ) ); + mPreservePermissionsItem = new KConfigSkeleton::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::tqfromLatin1( "PreservePermissions" ) ); - mPreserveGroupItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "PreserveGroup" ), mPreserveGroup, true ); + addItem( mPreservePermissionsItem, TQString::fromLatin1( "PreservePermissions" ) ); + mPreserveGroupItem = new KConfigSkeleton::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::tqfromLatin1( "PreserveGroup" ) ); - mPreserveOwnerItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "PreserveOwner" ), mPreserveOwner, true ); + addItem( mPreserveGroupItem, TQString::fromLatin1( "PreserveGroup" ) ); + mPreserveOwnerItem = new KConfigSkeleton::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::tqfromLatin1( "PreserveOwner" ) ); - mPreserveDevicesAndSpecialsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "PreserveDevicesAndSpecials" ), mPreserveDevicesAndSpecials, true ); + addItem( mPreserveOwnerItem, TQString::fromLatin1( "PreserveOwner" ) ); + mPreserveDevicesAndSpecialsItem = new KConfigSkeleton::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::tqfromLatin1( "PreserveDevicesAndSpecials" ) ); - mPreserveTimesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "PreserveTimes" ), mPreserveTimes, true ); + addItem( mPreserveDevicesAndSpecialsItem, TQString::fromLatin1( "PreserveDevicesAndSpecials" ) ); + mPreserveTimesItem = new KConfigSkeleton::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::tqfromLatin1( "PreserveTimes" ) ); - mOmitDirectoryTimesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "OmitDirectoryTimes" ), mOmitDirectoryTimes, false ); + addItem( mPreserveTimesItem, TQString::fromLatin1( "PreserveTimes" ) ); + mOmitDirectoryTimesItem = new KConfigSkeleton::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::tqfromLatin1( "OmitDirectoryTimes" ) ); - mRemoveSourceFilesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "RemoveSourceFiles" ), mRemoveSourceFiles, false ); + addItem( mOmitDirectoryTimesItem, TQString::fromLatin1( "OmitDirectoryTimes" ) ); + mRemoveSourceFilesItem = new KConfigSkeleton::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::tqfromLatin1( "RemoveSourceFiles" ) ); - mDeleteExtraneousItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "DeleteExtraneous" ), mDeleteExtraneous, false ); + addItem( mRemoveSourceFilesItem, TQString::fromLatin1( "RemoveSourceFiles" ) ); + mDeleteExtraneousItem = new KConfigSkeleton::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::tqfromLatin1( "DeleteExtraneous" ) ); - mDeleteBeforeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "DeleteBefore" ), mDeleteBefore, false ); + addItem( mDeleteExtraneousItem, TQString::fromLatin1( "DeleteExtraneous" ) ); + mDeleteBeforeItem = new KConfigSkeleton::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::tqfromLatin1( "DeleteBefore" ) ); - mDeleteAfterItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "DeleteAfter" ), mDeleteAfter, false ); + addItem( mDeleteBeforeItem, TQString::fromLatin1( "DeleteBefore" ) ); + mDeleteAfterItem = new KConfigSkeleton::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::tqfromLatin1( "DeleteAfter" ) ); - mDeleteDuringItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "DeleteDuring" ), mDeleteDuring, false ); + addItem( mDeleteAfterItem, TQString::fromLatin1( "DeleteAfter" ) ); + mDeleteDuringItem = new KConfigSkeleton::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::tqfromLatin1( "DeleteDuring" ) ); - mDeleteExcludedItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "DeleteExcluded" ), mDeleteExcluded, false ); + addItem( mDeleteDuringItem, TQString::fromLatin1( "DeleteDuring" ) ); + mDeleteExcludedItem = new KConfigSkeleton::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::tqfromLatin1( "DeleteExcluded" ) ); - mIgnoreErrorsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "IgnoreErrors" ), mIgnoreErrors, false ); + addItem( mDeleteExcludedItem, TQString::fromLatin1( "DeleteExcluded" ) ); + mIgnoreErrorsItem = new KConfigSkeleton::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::tqfromLatin1( "IgnoreErrors" ) ); - mForceDirectoryDeletionItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "ForceDirectoryDeletion" ), mForceDirectoryDeletion, false ); + addItem( mIgnoreErrorsItem, TQString::fromLatin1( "IgnoreErrors" ) ); + mForceDirectoryDeletionItem = new KConfigSkeleton::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::tqfromLatin1( "ForceDirectoryDeletion" ) ); - mUseMaximumDeleteItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseMaximumDelete" ), mUseMaximumDelete, false ); + addItem( mForceDirectoryDeletionItem, TQString::fromLatin1( "ForceDirectoryDeletion" ) ); + mUseMaximumDeleteItem = new KConfigSkeleton::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::tqfromLatin1( "UseMaximumDelete" ) ); - mMaximumDeleteValueItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "MaximumDeleteValue" ), mMaximumDeleteValue, 0 ); + addItem( mUseMaximumDeleteItem, TQString::fromLatin1( "UseMaximumDelete" ) ); + mMaximumDeleteValueItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaximumDeleteValue" ), mMaximumDeleteValue, 0 ); mMaximumDeleteValueItem->setMinValue(0); mMaximumDeleteValueItem->setLabel( i18n("Value for DeleteMaximum config entry") ); - addItem( mMaximumDeleteValueItem, TQString::tqfromLatin1( "MaximumDeleteValue" ) ); - mUseMinimalTransferSizeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseMinimalTransferSize" ), mUseMinimalTransferSize, false ); + addItem( mMaximumDeleteValueItem, TQString::fromLatin1( "MaximumDeleteValue" ) ); + mUseMinimalTransferSizeItem = new KConfigSkeleton::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::tqfromLatin1( "UseMinimalTransferSize" ) ); - mMinimalTransferSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "MinimalTransferSize" ), mMinimalTransferSize, 0 ); + addItem( mUseMinimalTransferSizeItem, TQString::fromLatin1( "UseMinimalTransferSize" ) ); + mMinimalTransferSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MinimalTransferSize" ), mMinimalTransferSize, 0 ); mMinimalTransferSizeItem->setMinValue(0); mMinimalTransferSizeItem->setLabel( i18n("Value for MinimalTransferSize config entry") ); - addItem( mMinimalTransferSizeItem, TQString::tqfromLatin1( "MinimalTransferSize" ) ); - mUseMaximalTransferSizeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseMaximalTransferSize" ), mUseMaximalTransferSize, false ); + addItem( mMinimalTransferSizeItem, TQString::fromLatin1( "MinimalTransferSize" ) ); + mUseMaximalTransferSizeItem = new KConfigSkeleton::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::tqfromLatin1( "UseMaximalTransferSize" ) ); - mMaximalTransferSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "MaximalTransferSize" ), mMaximalTransferSize, 0 ); + addItem( mUseMaximalTransferSizeItem, TQString::fromLatin1( "UseMaximalTransferSize" ) ); + mMaximalTransferSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaximalTransferSize" ), mMaximalTransferSize, 0 ); mMaximalTransferSizeItem->setMinValue(0); mMaximalTransferSizeItem->setLabel( i18n("Value for MamximalTransferSize config entry") ); - addItem( mMaximalTransferSizeItem, TQString::tqfromLatin1( "MaximalTransferSize" ) ); - mKeepPartialItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "KeepPartial" ), mKeepPartial, false ); + addItem( mMaximalTransferSizeItem, TQString::fromLatin1( "MaximalTransferSize" ) ); + mKeepPartialItem = new KConfigSkeleton::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::tqfromLatin1( "KeepPartial" ) ); - mUsePartialDirectoryItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UsePartialDirectory" ), mUsePartialDirectory, false ); + addItem( mKeepPartialItem, TQString::fromLatin1( "KeepPartial" ) ); + mUsePartialDirectoryItem = new KConfigSkeleton::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::tqfromLatin1( "UsePartialDirectory" ) ); - mPartialDirectoryItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "PartialDirectory" ), mPartialDirectory, TQString::tqfromLatin1( "$HOME" ) ); + addItem( mUsePartialDirectoryItem, TQString::fromLatin1( "UsePartialDirectory" ) ); + mPartialDirectoryItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "PartialDirectory" ), mPartialDirectory, TQString::fromLatin1( "$HOME" ) ); mPartialDirectoryItem->setLabel( i18n("The data for the UsePartialDirectory option") ); - addItem( mPartialDirectoryItem, TQString::tqfromLatin1( "PartialDirectory" ) ); - mUseCVSExcludeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseCVSExclude" ), mUseCVSExclude, false ); + addItem( mPartialDirectoryItem, TQString::fromLatin1( "PartialDirectory" ) ); + mUseCVSExcludeItem = new KConfigSkeleton::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::tqfromLatin1( "UseCVSExclude" ) ); - mUseExcludePatternItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseExcludePattern" ), mUseExcludePattern, false ); + addItem( mUseCVSExcludeItem, TQString::fromLatin1( "UseCVSExclude" ) ); + mUseExcludePatternItem = new KConfigSkeleton::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::tqfromLatin1( "UseExcludePattern" ) ); - mExcludePatternItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "ExcludePattern" ), mExcludePattern ); + addItem( mUseExcludePatternItem, TQString::fromLatin1( "UseExcludePattern" ) ); + mExcludePatternItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "ExcludePattern" ), mExcludePattern ); mExcludePatternItem->setLabel( i18n("Pattern that is used for file exclusion") ); - addItem( mExcludePatternItem, TQString::tqfromLatin1( "ExcludePattern" ) ); - mUseExcludeFromItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseExcludeFrom" ), mUseExcludeFrom, false ); + addItem( mExcludePatternItem, TQString::fromLatin1( "ExcludePattern" ) ); + mUseExcludeFromItem = new KConfigSkeleton::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::tqfromLatin1( "UseExcludeFrom" ) ); - mExcludeFromItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "ExcludeFrom" ), mExcludeFrom, TQString::tqfromLatin1( "$HOME/exclude.txt" ) ); + addItem( mUseExcludeFromItem, TQString::fromLatin1( "UseExcludeFrom" ) ); + mExcludeFromItem = new KConfigSkeleton::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::tqfromLatin1( "ExcludeFrom" ) ); - mUseIncludePatternItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseIncludePattern" ), mUseIncludePattern, false ); + addItem( mExcludeFromItem, TQString::fromLatin1( "ExcludeFrom" ) ); + mUseIncludePatternItem = new KConfigSkeleton::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::tqfromLatin1( "UseIncludePattern" ) ); - mIncludePatternItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "IncludePattern" ), mIncludePattern ); + addItem( mUseIncludePatternItem, TQString::fromLatin1( "UseIncludePattern" ) ); + mIncludePatternItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "IncludePattern" ), mIncludePattern ); mIncludePatternItem->setLabel( i18n("Pattern that is used for file inclusion") ); - addItem( mIncludePatternItem, TQString::tqfromLatin1( "IncludePattern" ) ); - mUseIncludeFromItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseIncludeFrom" ), mUseIncludeFrom, false ); + addItem( mIncludePatternItem, TQString::fromLatin1( "IncludePattern" ) ); + mUseIncludeFromItem = new KConfigSkeleton::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::tqfromLatin1( "UseIncludeFrom" ) ); - mIncludeFromItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "IncludeFrom" ), mIncludeFrom, TQString::tqfromLatin1( "$HOME/include.txt" ) ); + addItem( mUseIncludeFromItem, TQString::fromLatin1( "UseIncludeFrom" ) ); + mIncludeFromItem = new KConfigSkeleton::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::tqfromLatin1( "IncludeFrom" ) ); - mCustomFilteringRulesItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "CustomFilteringRules" ), mCustomFilteringRules ); + addItem( mIncludeFromItem, TQString::fromLatin1( "IncludeFrom" ) ); + mCustomFilteringRulesItem = new KConfigSkeleton::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::tqfromLatin1( "CustomFilteringRules" ) ); - mUseFFilterRuleItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseFFilterRule" ), mUseFFilterRule, false ); + addItem( mCustomFilteringRulesItem, TQString::fromLatin1( "CustomFilteringRules" ) ); + mUseFFilterRuleItem = new KConfigSkeleton::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::tqfromLatin1( "UseFFilterRule" ) ); - mUseFFFilterRuleItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseFFFilterRule" ), mUseFFFilterRule, false ); + addItem( mUseFFilterRuleItem, TQString::fromLatin1( "UseFFilterRule" ) ); + mUseFFFilterRuleItem = new KConfigSkeleton::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::tqfromLatin1( "UseFFFilterRule" ) ); - mEfficientSparseFileHandlingItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "EfficientSparseFileHandling" ), mEfficientSparseFileHandling, false ); + addItem( mUseFFFilterRuleItem, TQString::fromLatin1( "UseFFFilterRule" ) ); + mEfficientSparseFileHandlingItem = new KConfigSkeleton::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::tqfromLatin1( "EfficientSparseFileHandling" ) ); - mCopyFilesWholeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "CopyFilesWhole" ), mCopyFilesWhole, false ); + addItem( mEfficientSparseFileHandlingItem, TQString::fromLatin1( "EfficientSparseFileHandling" ) ); + mCopyFilesWholeItem = new KConfigSkeleton::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::tqfromLatin1( "CopyFilesWhole" ) ); - mOneFileSystemItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "OneFileSystem" ), mOneFileSystem, false ); + addItem( mCopyFilesWholeItem, TQString::fromLatin1( "CopyFilesWhole" ) ); + mOneFileSystemItem = new KConfigSkeleton::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::tqfromLatin1( "OneFileSystem" ) ); - mUpdateExistingItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UpdateExisting" ), mUpdateExisting, false ); + addItem( mOneFileSystemItem, TQString::fromLatin1( "OneFileSystem" ) ); + mUpdateExistingItem = new KConfigSkeleton::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::tqfromLatin1( "UpdateExisting" ) ); - mIgnoreExistingItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "IgnoreExisting" ), mIgnoreExisting, false ); + addItem( mUpdateExistingItem, TQString::fromLatin1( "UpdateExisting" ) ); + mIgnoreExistingItem = new KConfigSkeleton::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::tqfromLatin1( "IgnoreExisting" ) ); - mDelayUpdatesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "DelayUpdates" ), mDelayUpdates, false ); + addItem( mIgnoreExistingItem, TQString::fromLatin1( "IgnoreExisting" ) ); + mDelayUpdatesItem = new KConfigSkeleton::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::tqfromLatin1( "DelayUpdates" ) ); - mMakeBackupsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "MakeBackups" ), mMakeBackups, false ); + addItem( mDelayUpdatesItem, TQString::fromLatin1( "DelayUpdates" ) ); + mMakeBackupsItem = new KConfigSkeleton::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::tqfromLatin1( "MakeBackups" ) ); - mUseBackupSuffixItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseBackupSuffix" ), mUseBackupSuffix, false ); + addItem( mMakeBackupsItem, TQString::fromLatin1( "MakeBackups" ) ); + mUseBackupSuffixItem = new KConfigSkeleton::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::tqfromLatin1( "UseBackupSuffix" ) ); - mBackupSuffixItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "BackupSuffix" ), mBackupSuffix, TQString::tqfromLatin1( "~" ) ); + addItem( mUseBackupSuffixItem, TQString::fromLatin1( "UseBackupSuffix" ) ); + mBackupSuffixItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BackupSuffix" ), mBackupSuffix, TQString::fromLatin1( "~" ) ); mBackupSuffixItem->setLabel( i18n("Backup suffix") ); - addItem( mBackupSuffixItem, TQString::tqfromLatin1( "BackupSuffix" ) ); - mUseBackupDirectoryItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseBackupDirectory" ), mUseBackupDirectory, false ); + addItem( mBackupSuffixItem, TQString::fromLatin1( "BackupSuffix" ) ); + mUseBackupDirectoryItem = new KConfigSkeleton::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::tqfromLatin1( "UseBackupDirectory" ) ); - mBackupDirectoryItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "BackupDirectory" ), mBackupDirectory, TQString::tqfromLatin1( "$HOME" ) ); + addItem( mUseBackupDirectoryItem, TQString::fromLatin1( "UseBackupDirectory" ) ); + mBackupDirectoryItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "BackupDirectory" ), mBackupDirectory, TQString::fromLatin1( "$HOME" ) ); mBackupDirectoryItem->setLabel( i18n("Backup directory") ); - addItem( mBackupDirectoryItem, TQString::tqfromLatin1( "BackupDirectory" ) ); - mUseBlockSizeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseBlockSize" ), mUseBlockSize, false ); + addItem( mBackupDirectoryItem, TQString::fromLatin1( "BackupDirectory" ) ); + mUseBlockSizeItem = new KConfigSkeleton::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::tqfromLatin1( "UseBlockSize" ) ); - mBlockSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "BlockSize" ), mBlockSize, 0 ); + addItem( mUseBlockSizeItem, TQString::fromLatin1( "UseBlockSize" ) ); + mBlockSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockSize" ), mBlockSize, 0 ); mBlockSizeItem->setMinValue(0); mBlockSizeItem->setLabel( i18n("The block size") ); - addItem( mBlockSizeItem, TQString::tqfromLatin1( "BlockSize" ) ); - mUseChecksumSeedItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseChecksumSeed" ), mUseChecksumSeed, false ); + addItem( mBlockSizeItem, TQString::fromLatin1( "BlockSize" ) ); + mUseChecksumSeedItem = new KConfigSkeleton::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::tqfromLatin1( "UseChecksumSeed" ) ); - mChecksumSeedItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "ChecksumSeed" ), mChecksumSeed, 0 ); + addItem( mUseChecksumSeedItem, TQString::fromLatin1( "UseChecksumSeed" ) ); + mChecksumSeedItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ChecksumSeed" ), mChecksumSeed, 0 ); mChecksumSeedItem->setMinValue(0); mChecksumSeedItem->setLabel( i18n("The checksum seed") ); - addItem( mChecksumSeedItem, TQString::tqfromLatin1( "ChecksumSeed" ) ); - mUseChecksumItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseChecksum" ), mUseChecksum, false ); + addItem( mChecksumSeedItem, TQString::fromLatin1( "ChecksumSeed" ) ); + mUseChecksumItem = new KConfigSkeleton::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::tqfromLatin1( "UseChecksum" ) ); + addItem( mUseChecksumItem, TQString::fromLatin1( "UseChecksum" ) ); - setCurrentGroup( TQString::tqfromLatin1( "SuperUser" ) ); + setCurrentGroup( TQString::fromLatin1( "SuperUser" ) ); TQValueList valuesSuperUserProgram; { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "Sudo" ); + choice.name = TQString::fromLatin1( "Sudo" ); valuesSuperUserProgram.append( choice ); } { KConfigSkeleton::ItemEnum::Choice choice; - choice.name = TQString::tqfromLatin1( "Super" ); + choice.name = TQString::fromLatin1( "Super" ); valuesSuperUserProgram.append( choice ); } - mSuperUserProgramItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::tqfromLatin1( "SuperUserProgram" ), mSuperUserProgram, valuesSuperUserProgram, EnumSuperUserProgram::Sudo ); + mSuperUserProgramItem = new KConfigSkeleton::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::tqfromLatin1( "SuperUserProgram" ) ); - mUseForceUnmountItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "UseForceUnmount" ), mUseForceUnmount, false ); + addItem( mSuperUserProgramItem, TQString::fromLatin1( "SuperUserProgram" ) ); + mUseForceUnmountItem = new KConfigSkeleton::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::tqfromLatin1( "UseForceUnmount" ) ); - mAlwaysUseSuperUserItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "AlwaysUseSuperUser" ), mAlwaysUseSuperUser, false ); + addItem( mUseForceUnmountItem, TQString::fromLatin1( "UseForceUnmount" ) ); + mAlwaysUseSuperUserItem = new KConfigSkeleton::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::tqfromLatin1( "AlwaysUseSuperUser" ) ); + addItem( mAlwaysUseSuperUserItem, TQString::fromLatin1( "AlwaysUseSuperUser" ) ); } Smb4KSettings::~Smb4KSettings() diff --git a/smb4k/dialogs/smb4kbookmarkeditor.cpp b/smb4k/dialogs/smb4kbookmarkeditor.cpp index 9e1f33c..d6e33af 100644 --- a/smb4k/dialogs/smb4kbookmarkeditor.cpp +++ b/smb4k/dialogs/smb4kbookmarkeditor.cpp @@ -80,7 +80,7 @@ Smb4KBookmarkEditor::Smb4KBookmarkEditor( TQWidget *parent, const char *name ) tqlayout->addWidget( m_view, 0, 0, 0 ); setInitialSize( configDialogSize( *(Smb4KSettings::self()->config()), "BookmarkEditor" ) ); - setMinimumSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); + setMinimumSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() ); connect( m_view, TQT_SIGNAL( rightButtonPressed( TQListViewItem *, const TQPoint &, int ) ), this, TQT_SLOT( slotRightButtonPressed( TQListViewItem *, const TQPoint &, int ) ) ); diff --git a/smb4k/dialogs/smb4kcustomoptionsdialog.cpp b/smb4k/dialogs/smb4kcustomoptionsdialog.cpp index 8dff9e9..c9b2d1b 100644 --- a/smb4k/dialogs/smb4kcustomoptionsdialog.cpp +++ b/smb4k/dialogs/smb4kcustomoptionsdialog.cpp @@ -292,11 +292,11 @@ void Smb4KCustomOptionsDialog::setupDialog() TQLabel *uid_label = new TQLabel( i18n( "User ID:" ), frame ); m_uid_input = new KLineEdit( frame ); m_uid_input->setMinimumWidth( 200 ); - m_uid_input->tqsetAlignment( TQt::AlignRight ); + m_uid_input->setAlignment( TQt::AlignRight ); TQLabel *gid_label = new TQLabel( i18n( "Group ID:" ), frame ); m_gid_input = new KLineEdit( frame ); m_gid_input->setMinimumWidth( 200 ); - m_gid_input->tqsetAlignment( TQt::AlignRight ); + m_gid_input->setAlignment( TQt::AlignRight ); m_kerberos = new TQCheckBox( i18n( "Try to authenticate with Kerberos (Active Directory)" ), frame ); @@ -317,11 +317,11 @@ void Smb4KCustomOptionsDialog::setupDialog() TQLabel *uid_label = new TQLabel( i18n( "User ID:" ), frame ); m_uid_input = new KLineEdit( frame ); m_uid_input->setMinimumWidth( 200 ); - m_uid_input->tqsetAlignment( TQt::AlignRight ); + m_uid_input->setAlignment( TQt::AlignRight ); TQLabel *gid_label = new TQLabel( i18n( "Group ID:" ), frame ); m_gid_input = new KLineEdit( frame ); m_gid_input->setMinimumWidth( 200 ); - m_gid_input->tqsetAlignment( TQt::AlignRight ); + m_gid_input->setAlignment( TQt::AlignRight ); grid->addWidget( location_label, 0, 0, 0 ); grid->addWidget( location, 0, 1, 0 ); @@ -488,7 +488,7 @@ void Smb4KCustomOptionsDialog::setupDialog() connect( this, TQT_SIGNAL( user1Clicked() ), this, TQT_SLOT( slotDefaultButtonClicked() ) ); - setFixedSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); + setFixedSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() ); } ///////////////////////////////////////////////////////////////////////////// diff --git a/smb4k/dialogs/smb4kmountdialog.cpp b/smb4k/dialogs/smb4kmountdialog.cpp index 131ce8d..0bc109a 100644 --- a/smb4k/dialogs/smb4kmountdialog.cpp +++ b/smb4k/dialogs/smb4kmountdialog.cpp @@ -51,7 +51,7 @@ KDialogBase( Plain, i18n( "Mount Share" ), Ok|Cancel, Ok, parent, name, true, tr setupView(); - setFixedSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); + setFixedSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() ); } diff --git a/smb4k/dialogs/smb4kpreviewdialog.cpp b/smb4k/dialogs/smb4kpreviewdialog.cpp index 07361b2..53bc0bf 100644 --- a/smb4k/dialogs/smb4kpreviewdialog.cpp +++ b/smb4k/dialogs/smb4kpreviewdialog.cpp @@ -79,7 +79,7 @@ Smb4KPreviewDialog::Smb4KPreviewDialog( Smb4KShareItem *item, TQWidget *parent, m_initialized = Smb4KCore::previewer()->preview( m_item ); } - setMinimumSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); + setMinimumSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() ); } diff --git a/smb4k/dialogs/smb4kprintdialog.cpp b/smb4k/dialogs/smb4kprintdialog.cpp index 5443273..1cef14a 100644 --- a/smb4k/dialogs/smb4kprintdialog.cpp +++ b/smb4k/dialogs/smb4kprintdialog.cpp @@ -111,7 +111,7 @@ m_item( item ), m_ip( TQString() ) /* will collect it in an instant */ tqlayout->addWidget( p, 0, 0, 0 ); tqlayout->addWidget( f, 1, 0, 0 ); - setFixedSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); + setFixedSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() ); enableButton( User1, false ); diff --git a/smb4k/dialogs/smb4ksynchronizationdialog.cpp b/smb4k/dialogs/smb4ksynchronizationdialog.cpp index 4b37c89..9a3c453 100644 --- a/smb4k/dialogs/smb4ksynchronizationdialog.cpp +++ b/smb4k/dialogs/smb4ksynchronizationdialog.cpp @@ -116,7 +116,7 @@ m_share( share ) this, TQT_SLOT( slotSynchronizationFinished() ) ); - setFixedSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); + setFixedSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() ); }