summaryrefslogtreecommitdiffstats
path: root/smb4k
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:14:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:14:00 -0600
commit08afc71bbf23b9d08776cc865b1a8c6d26723660 (patch)
tree935b7fac20a3fc7161e2f4239ef516fdf0b6fcc4 /smb4k
parente722dbcb9f9763c062336bf3762d2acf72b7bb25 (diff)
downloadsmb4k-08afc71bbf23b9d08776cc865b1a8c6d26723660.tar.gz
smb4k-08afc71bbf23b9d08776cc865b1a8c6d26723660.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'smb4k')
-rw-r--r--smb4k/configdlg/smb4kconfigdialog.cpp70
-rw-r--r--smb4k/configdlg/smb4kconfigdialog.h26
-rw-r--r--smb4k/core/smb4kpasswordhandler.h2
-rw-r--r--smb4k/core/smb4ksettings.cpp510
-rw-r--r--smb4k/iconview/smb4ksharesiconview.cpp2
-rw-r--r--smb4k/listview/smb4kshareslistview.cpp2
-rw-r--r--smb4k/main.cpp2
-rw-r--r--smb4k/smb4k.cpp4
-rw-r--r--smb4k/smb4ksystemtray.cpp8
9 files changed, 313 insertions, 313 deletions
diff --git a/smb4k/configdlg/smb4kconfigdialog.cpp b/smb4k/configdlg/smb4kconfigdialog.cpp
index 8ac95a4..4b62b2a 100644
--- a/smb4k/configdlg/smb4kconfigdialog.cpp
+++ b/smb4k/configdlg/smb4kconfigdialog.cpp
@@ -57,8 +57,8 @@
using namespace Smb4TDEGlobal;
-TDEInstance *Smb4KConfigDialogFactory::m_instance = 0L;
-TDEAboutData *Smb4KConfigDialogFactory::m_about = 0L;
+TDEInstance *Smb4TDEConfigDialogFactory::m_instance = 0L;
+TDEAboutData *Smb4TDEConfigDialogFactory::m_about = 0L;
// Variables we need to determine if super user entries
// have to be written to /etc/sudoers or /etc/super.tab
@@ -74,8 +74,8 @@ bool always_use_su = false;
bool close_dialog = false;
-Smb4KConfigDialog::Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *parent, const char *name )
-: KConfigDialog( parent, name, settings )
+Smb4TDEConfigDialog::Smb4TDEConfigDialog( Smb4KSettings *settings, TQWidget *parent, const char *name )
+: TDEConfigDialog( parent, name, settings )
{
// FIXME: I guess, normally we would not need to close destructively,
// but at the moment there are issues with the KURLRequester in file
@@ -167,8 +167,8 @@ Smb4KConfigDialog::Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *parent,
addPage( rsync_options, i18n( "Synchronization" ), "bottom" );
addPage( super_user_options, i18n( "Super User" ), "penguin" );
- // Stuff that's not managed by KConfig XT is loaded by
- // Smb4KConfigDialog::showEvent()!
+ // Stuff that's not managed by TDEConfig XT is loaded by
+ // Smb4TDEConfigDialog::showEvent()!
// Resize the dialog
setInitialSize( configDialogSize( *(Smb4KSettings::self()->config()), "ConfigDialog" ) );
@@ -188,12 +188,12 @@ Smb4KConfigDialog::Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *parent,
}
-Smb4KConfigDialog::~Smb4KConfigDialog()
+Smb4TDEConfigDialog::~Smb4TDEConfigDialog()
{
}
-void Smb4KConfigDialog::loadCustomSambaOptions()
+void Smb4TDEConfigDialog::loadCustomSambaOptions()
{
// Get the list view:
KListView *custom_list = static_cast<KListView *>( TQT_TQWIDGET(child( "CustomOptionsList", "KListView", true )) );
@@ -389,7 +389,7 @@ void Smb4KConfigDialog::loadCustomSambaOptions()
}
-void Smb4KConfigDialog::saveCustomSambaOptions()
+void Smb4TDEConfigDialog::saveCustomSambaOptions()
{
// Get the list view:
KListView *custom_list = static_cast<KListView *>( TQT_TQWIDGET(child( "CustomOptionsList", "KListView", true )) );
@@ -509,7 +509,7 @@ void Smb4KConfigDialog::saveCustomSambaOptions()
}
-void Smb4KConfigDialog::loadAuthenticationData()
+void Smb4TDEConfigDialog::loadAuthenticationData()
{
// Load the default login info and put it into the configuration
// page:
@@ -533,7 +533,7 @@ void Smb4KConfigDialog::loadAuthenticationData()
}
-void Smb4KConfigDialog::saveAuthenticationData()
+void Smb4TDEConfigDialog::saveAuthenticationData()
{
// Read the default login info from the configuration page
// and pass it to the password handler, but only if the wallet
@@ -566,7 +566,7 @@ void Smb4KConfigDialog::saveAuthenticationData()
}
-bool Smb4KConfigDialog::writeSuperUserEntries()
+bool Smb4TDEConfigDialog::writeSuperUserEntries()
{
TQRadioButton *sudo = static_cast<TQRadioButton *>( TQT_TQWIDGET(child( "SudoButton", TQRADIOBUTTON_OBJECT_NAME_STRING, true )) );
TQRadioButton *super = static_cast<TQRadioButton *>( TQT_TQWIDGET(child( "SuperButton", TQRADIOBUTTON_OBJECT_NAME_STRING, true )) );
@@ -638,7 +638,7 @@ bool Smb4KConfigDialog::writeSuperUserEntries()
}
-void Smb4KConfigDialog::removeSuperUserEntries()
+void Smb4TDEConfigDialog::removeSuperUserEntries()
{
TQRadioButton *sudo = static_cast<TQRadioButton *>( TQT_TQWIDGET(child( "SudoButton", TQRADIOBUTTON_OBJECT_NAME_STRING, true )) );
TQRadioButton *super = static_cast<TQRadioButton *>( TQT_TQWIDGET(child( "SuperButton", TQRADIOBUTTON_OBJECT_NAME_STRING, true )) );
@@ -686,7 +686,7 @@ void Smb4KConfigDialog::removeSuperUserEntries()
}
-bool Smb4KConfigDialog::checkSettings()
+bool Smb4TDEConfigDialog::checkSettings()
{
bool ok = true;
TQString issues = TQString();
@@ -917,7 +917,7 @@ bool Smb4KConfigDialog::checkSettings()
}
-void Smb4KConfigDialog::showEvent( TQShowEvent *e )
+void Smb4TDEConfigDialog::showEvent( TQShowEvent *e )
{
// Spontaneous show events come from outside the application.
// We do not want to react on them.
@@ -933,7 +933,7 @@ void Smb4KConfigDialog::showEvent( TQShowEvent *e )
// TQT_SLOT IMPLEMENTATIONS
/////////////////////////////////////////////////////////////////////////////
-void Smb4KConfigDialog::slotApply()
+void Smb4TDEConfigDialog::slotApply()
{
// If some settings are not complete, stop here and give
// the user the opportunity to fill in the needed string(s).
@@ -952,14 +952,14 @@ void Smb4KConfigDialog::slotApply()
setEnabled( false );
}
- // The 'Apply' button will be disabled by KConfigDialog, so we do not
+ // The 'Apply' button will be disabled by TDEConfigDialog, so we do not
// need to do it here.
- KConfigDialog::slotApply();
+ TDEConfigDialog::slotApply();
}
-void Smb4KConfigDialog::slotOk()
+void Smb4TDEConfigDialog::slotOk()
{
// If some settings are not complete, stop here and give
// the user the opportunity to fill in the needed string(s).
@@ -978,7 +978,7 @@ void Smb4KConfigDialog::slotOk()
// Smb4KFileIO::finished() signal is received.
if ( !writeSuperUserEntries() )
{
- KConfigDialog::slotOk();
+ TDEConfigDialog::slotOk();
}
else
{
@@ -986,14 +986,14 @@ void Smb4KConfigDialog::slotOk()
// is received.
setEnabled( false );
- // Tell Smb4KConfigDialog::slotReceivedFileIOFinished()
+ // Tell Smb4TDEConfigDialog::slotReceivedFileIOFinished()
// to close the dialog.
close_dialog = true;
}
}
-void Smb4KConfigDialog::slotCancel()
+void Smb4TDEConfigDialog::slotCancel()
{
// Reset the custom Samba options tab:
Smb4KSambaOptions *samba_options = static_cast<Smb4KSambaOptions *>( TQT_TQWIDGET(child( "SambaOptions", "Smb4KSambaOptions", true )) );
@@ -1003,11 +1003,11 @@ void Smb4KConfigDialog::slotCancel()
samba_options->resetCustomTab();
}
- KConfigDialog::slotCancel();
+ TDEConfigDialog::slotCancel();
}
-void Smb4KConfigDialog::slotCustomSambaSettingsChanged()
+void Smb4TDEConfigDialog::slotCustomSambaSettingsChanged()
{
// Get the list view and all other input widgets:
KListView *view = static_cast<KListView *>( TQT_TQWIDGET(child( "CustomOptionsList", "KListView", true )) );
@@ -1123,7 +1123,7 @@ void Smb4KConfigDialog::slotCustomSambaSettingsChanged()
}
-void Smb4KConfigDialog::slotRemoveSuperUserEntries()
+void Smb4TDEConfigDialog::slotRemoveSuperUserEntries()
{
// Disable this widget until Smb4KFileIO::finished()
// is received.
@@ -1133,7 +1133,7 @@ void Smb4KConfigDialog::slotRemoveSuperUserEntries()
}
-void Smb4KConfigDialog::slotReceivedFileIOFailed()
+void Smb4TDEConfigDialog::slotReceivedFileIOFailed()
{
#ifdef __linux__
TQCheckBox *force = static_cast<TQCheckBox *>( TQT_TQWIDGET(child( "kcfg_UseForceUnmount", TQCHECKBOX_OBJECT_NAME_STRING, true )) );
@@ -1153,14 +1153,14 @@ void Smb4KConfigDialog::slotReceivedFileIOFailed()
}
-void Smb4KConfigDialog::slotReceivedFileIOFinished()
+void Smb4TDEConfigDialog::slotReceivedFileIOFinished()
{
// Enable the widget again.
setEnabled( true );
if ( close_dialog )
{
- KConfigDialog::slotOk();
+ TDEConfigDialog::slotOk();
}
}
@@ -1169,13 +1169,13 @@ void Smb4KConfigDialog::slotReceivedFileIOFinished()
// FACTORY STUFF
/////////////////////////////////////////////////////////////////////////////
-Smb4KConfigDialogFactory::Smb4KConfigDialogFactory()
+Smb4TDEConfigDialogFactory::Smb4TDEConfigDialogFactory()
: KLibFactory()
{
}
-Smb4KConfigDialogFactory::~Smb4KConfigDialogFactory()
+Smb4TDEConfigDialogFactory::~Smb4TDEConfigDialogFactory()
{
delete m_instance;
delete m_about;
@@ -1184,11 +1184,11 @@ Smb4KConfigDialogFactory::~Smb4KConfigDialogFactory()
}
-TDEInstance *Smb4KConfigDialogFactory::instance()
+TDEInstance *Smb4TDEConfigDialogFactory::instance()
{
if( !m_instance )
{
- m_about = new TDEAboutData( "smb4kconfigdialog", I18N_NOOP( "Smb4KConfigDialog" ), "1.0" );
+ m_about = new TDEAboutData( "smb4kconfigdialog", I18N_NOOP( "Smb4TDEConfigDialog" ), "1.0" );
m_about->addAuthor("Alexander Reinholdt", 0, "dustpuppy@users.berlios.de");
m_about->setLicense( TDEAboutData::License_GPL );
m_instance = new TDEInstance( m_about );
@@ -1198,10 +1198,10 @@ TDEInstance *Smb4KConfigDialogFactory::instance()
}
-TQObject *Smb4KConfigDialogFactory::createObject( TQObject *parent, const char *name, const char *,
+TQObject *Smb4TDEConfigDialogFactory::createObject( TQObject *parent, const char *name, const char *,
const TQStringList & )
{
- return TQT_TQOBJECT( new Smb4KConfigDialog( Smb4KSettings::self(), TQT_TQWIDGET( parent ), name ) );
+ return TQT_TQOBJECT( new Smb4TDEConfigDialog( Smb4KSettings::self(), TQT_TQWIDGET( parent ), name ) );
}
@@ -1215,7 +1215,7 @@ extern "C"
void *init_libsmb4kconfigdialog()
{
TDEGlobal::locale()->insertCatalogue( "smb4k" );
- return new Smb4KConfigDialogFactory;
+ return new Smb4TDEConfigDialogFactory;
}
}
diff --git a/smb4k/configdlg/smb4kconfigdialog.h b/smb4k/configdlg/smb4kconfigdialog.h
index ece086b..55aab71 100644
--- a/smb4k/configdlg/smb4kconfigdialog.h
+++ b/smb4k/configdlg/smb4kconfigdialog.h
@@ -45,7 +45,7 @@ class Smb4KSettings;
* @author Alexander Reinholdt <dustpuppy@users.berlios.de>
*/
-class Smb4KConfigDialog : public KConfigDialog
+class Smb4TDEConfigDialog : public TDEConfigDialog
{
Q_OBJECT
@@ -61,12 +61,12 @@ class Smb4KConfigDialog : public KConfigDialog
*
* @param name The name of this dialog
*/
- Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *parent = 0, const char *name = 0 );
+ Smb4TDEConfigDialog( Smb4KSettings *settings, TQWidget *parent = 0, const char *name = 0 );
/**
* The destructor
*/
- ~Smb4KConfigDialog();
+ ~Smb4TDEConfigDialog();
protected:
/**
@@ -79,20 +79,20 @@ class Smb4KConfigDialog : public KConfigDialog
protected slots:
/**
- * Reimplemented from KConfigDialog. This slot does application
- * specific stuff first and then executes KConfigDialog::slotApply().
+ * Reimplemented from TDEConfigDialog. This slot does application
+ * specific stuff first and then executes TDEConfigDialog::slotApply().
*/
void slotApply();
/**
- * Reimplemented from KConfigDialog. This slot does application
- * specific stuff first and then executes KConfigDialog::slotOk().
+ * Reimplemented from TDEConfigDialog. This slot does application
+ * specific stuff first and then executes TDEConfigDialog::slotOk().
*/
void slotOk();
/**
- *Reimplemented from KConfigDialog. This slot does application
- * specific stuff first and then executes KConfigDialog::slotCancel().
+ *Reimplemented from TDEConfigDialog. This slot does application
+ * specific stuff first and then executes TDEConfigDialog::slotCancel().
*/
void slotCancel();
@@ -117,7 +117,7 @@ class Smb4KConfigDialog : public KConfigDialog
/**
* This slot is activated if the Smb4KFileIO::finished() signal is
- * received. It closes the dialog by invoking KConfigDialog::slotOk().
+ * received. It closes the dialog by invoking TDEConfigDialog::slotOk().
*/
void slotReceivedFileIOFinished();
@@ -169,7 +169,7 @@ class TDEInstance;
class TDEAboutData;
-class Smb4KConfigDialogFactory : KLibFactory
+class Smb4TDEConfigDialogFactory : KLibFactory
{
Q_OBJECT
@@ -178,12 +178,12 @@ class Smb4KConfigDialogFactory : KLibFactory
/**
* The constructor.
*/
- Smb4KConfigDialogFactory();
+ Smb4TDEConfigDialogFactory();
/**
* The destructor.
*/
- virtual ~Smb4KConfigDialogFactory();
+ virtual ~Smb4TDEConfigDialogFactory();
/**
* The instance
diff --git a/smb4k/core/smb4kpasswordhandler.h b/smb4k/core/smb4kpasswordhandler.h
index b1c13cb..04fafbb 100644
--- a/smb4k/core/smb4kpasswordhandler.h
+++ b/smb4k/core/smb4kpasswordhandler.h
@@ -70,7 +70,7 @@ class Smb4KPasswordHandler : public TQObject
/**
* The constructor.
*
- * @param config The KConfig object that should be used
+ * @param config The TDEConfig object that should be used
*
* @param handler The Smb4KHomesSharesHandler object that is needed to retrieve
* infos in case we need to look up authentication information for
diff --git a/smb4k/core/smb4ksettings.cpp b/smb4k/core/smb4ksettings.cpp
index 4bbac1c..8fc39bb 100644
--- a/smb4k/core/smb4ksettings.cpp
+++ b/smb4k/core/smb4ksettings.cpp
@@ -21,284 +21,284 @@ Smb4KSettings *Smb4KSettings::self()
}
Smb4KSettings::Smb4KSettings( )
- : KConfigSkeleton( TQString::fromLatin1( "smb4krc" ) )
+ : TDEConfigSkeleton( TQString::fromLatin1( "smb4krc" ) )
{
mSelf = this;
setCurrentGroup( TQString::fromLatin1( "Programs" ) );
- mGrepItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "grep" ), mGrep );
+ mGrepItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "grep" ), mGrep );
mGrepItem->setLabel( i18n("The path to the program \"grep\"") );
addItem( mGrepItem, TQString::fromLatin1( "grep" ) );
- mAwkItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "awk" ), mAwk );
+ mAwkItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "awk" ), mAwk );
mAwkItem->setLabel( i18n("The path to the program \"awk\"") );
addItem( mAwkItem, TQString::fromLatin1( "awk" ) );
- mSedItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "sed" ), mSed );
+ mSedItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "sed" ), mSed );
mSedItem->setLabel( i18n("The path to the program \"sed\"") );
addItem( mSedItem, TQString::fromLatin1( "sed" ) );
- mXargsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "xargs" ), mXargs );
+ mXargsItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "xargs" ), mXargs );
mXargsItem->setLabel( i18n("The path to the program \"xargs\"") );
addItem( mXargsItem, TQString::fromLatin1( "xargs" ) );
- mRmdirItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "rmdir" ), mRmdir );
+ mRmdirItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "rmdir" ), mRmdir );
mRmdirItem->setLabel( i18n("The path to the program \"rmdir\"") );
addItem( mRmdirItem, TQString::fromLatin1( "rmdir" ) );
- mNmblookupItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "nmblookup" ), mNmblookup );
+ mNmblookupItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "nmblookup" ), mNmblookup );
mNmblookupItem->setLabel( i18n("The path to the program \"nmblookup\"") );
addItem( mNmblookupItem, TQString::fromLatin1( "nmblookup" ) );
- mSmbclientItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbclient" ), mSmbclient );
+ mSmbclientItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbclient" ), mSmbclient );
mSmbclientItem->setLabel( i18n("The path to the program \"smbclient\"") );
addItem( mSmbclientItem, TQString::fromLatin1( "smbclient" ) );
- mSmbspoolItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbspool" ), mSmbspool );
+ mSmbspoolItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbspool" ), mSmbspool );
mSmbspoolItem->setLabel( i18n("The path to the program \"smbspool\"") );
addItem( mSmbspoolItem, TQString::fromLatin1( "smbspool" ) );
- mNetItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "net" ), mNet );
+ mNetItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "net" ), mNet );
mNetItem->setLabel( i18n("The path to the program \"net\"") );
addItem( mNetItem, TQString::fromLatin1( "net" ) );
- mMount_cifsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "mount_cifs" ), mMount_cifs );
+ mMount_cifsItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "mount_cifs" ), mMount_cifs );
mMount_cifsItem->setLabel( i18n("The path to the program \"mount.cifs\"") );
addItem( mMount_cifsItem, TQString::fromLatin1( "mount_cifs" ) );
- mUmount_cifsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "umount_cifs" ), mUmount_cifs );
+ mUmount_cifsItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "umount_cifs" ), mUmount_cifs );
mUmount_cifsItem->setLabel( i18n("The path to the program \"umount.cifs\"") );
addItem( mUmount_cifsItem, TQString::fromLatin1( "umount_cifs" ) );
- mSmbmountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbmount" ), mSmbmount );
+ mSmbmountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbmount" ), mSmbmount );
mSmbmountItem->setLabel( i18n("The path to the program \"smbmount\"") );
addItem( mSmbmountItem, TQString::fromLatin1( "smbmount" ) );
- mSmbumountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbumount" ), mSmbumount );
+ mSmbumountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbumount" ), mSmbumount );
mSmbumountItem->setLabel( i18n("The path to the program \"smbumount\"") );
addItem( mSmbumountItem, TQString::fromLatin1( "smbumount" ) );
- mMountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "mount" ), mMount );
+ mMountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "mount" ), mMount );
mMountItem->setLabel( i18n("The path to the program \"mount\"") );
addItem( mMountItem, TQString::fromLatin1( "mount" ) );
- mMount_smbfsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "mount_smbfs" ), mMount_smbfs );
+ mMount_smbfsItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "mount_smbfs" ), mMount_smbfs );
mMount_smbfsItem->setLabel( i18n("The path to the program \"mount_smbfs\" (FreeBSD only)") );
addItem( mMount_smbfsItem, TQString::fromLatin1( "mount_smbfs" ) );
- mSmbutilItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbutil" ), mSmbutil );
+ mSmbutilItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smbutil" ), mSmbutil );
mSmbutilItem->setLabel( i18n("The path to the program \"smbutil\" (FreeBSD only)") );
addItem( mSmbutilItem, TQString::fromLatin1( "smbutil" ) );
- mUmountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "umount" ), mUmount );
+ mUmountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "umount" ), mUmount );
mUmountItem->setLabel( i18n("The path to the program \"umount\"") );
addItem( mUmountItem, TQString::fromLatin1( "umount" ) );
- mSmb4k_mountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_mount" ), mSmb4k_mount );
+ mSmb4k_mountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_mount" ), mSmb4k_mount );
mSmb4k_mountItem->setLabel( i18n("The path to the program \"smb4k_mount\"") );
addItem( mSmb4k_mountItem, TQString::fromLatin1( "smb4k_mount" ) );
- mSmb4k_umountItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_umount" ), mSmb4k_umount );
+ mSmb4k_umountItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_umount" ), mSmb4k_umount );
mSmb4k_umountItem->setLabel( i18n("The path to the program \"smb4k_umount\"") );
addItem( mSmb4k_umountItem, TQString::fromLatin1( "smb4k_umount" ) );
- mSmb4k_killItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_kill" ), mSmb4k_kill );
+ mSmb4k_killItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_kill" ), mSmb4k_kill );
mSmb4k_killItem->setLabel( i18n("The path to the program \"smb4k_kill\"") );
addItem( mSmb4k_killItem, TQString::fromLatin1( "smb4k_kill" ) );
- mSmb4k_catItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_cat" ), mSmb4k_cat );
+ mSmb4k_catItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_cat" ), mSmb4k_cat );
mSmb4k_catItem->setLabel( i18n("The path to the program \"smb4k_cat\"") );
addItem( mSmb4k_catItem, TQString::fromLatin1( "smb4k_cat" ) );
- mSmb4k_mvItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_mv" ), mSmb4k_mv );
+ mSmb4k_mvItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "smb4k_mv" ), mSmb4k_mv );
mSmb4k_mvItem->setLabel( i18n("The path to the program \"smb4k_mv\"") );
addItem( mSmb4k_mvItem, TQString::fromLatin1( "smb4k_mv" ) );
- mSuperItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "super" ), mSuper );
+ mSuperItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "super" ), mSuper );
mSuperItem->setLabel( i18n("The path to the program \"super\" (optional)") );
addItem( mSuperItem, TQString::fromLatin1( "super" ) );
- mSudoItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "sudo" ), mSudo );
+ mSudoItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "sudo" ), mSudo );
mSudoItem->setLabel( i18n("The path to the program \"sudo\" (optional)") );
addItem( mSudoItem, TQString::fromLatin1( "sudo" ) );
- mDvipsItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "dvips" ), mDvips );
+ mDvipsItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "dvips" ), mDvips );
mDvipsItem->setLabel( i18n("The path to the program \"dvips\" (optional)") );
addItem( mDvipsItem, TQString::fromLatin1( "dvips" ) );
- mEnscriptItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "enscript" ), mEnscript );
+ mEnscriptItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "enscript" ), mEnscript );
mEnscriptItem->setLabel( i18n("The path to the program \"enscript\" (optional)") );
addItem( mEnscriptItem, TQString::fromLatin1( "enscript" ) );
- mRsyncItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "rsync" ), mRsync );
+ mRsyncItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "rsync" ), mRsync );
mRsyncItem->setLabel( i18n("The path to the program \"rsync\" (optional)") );
addItem( mRsyncItem, TQString::fromLatin1( "rsync" ) );
- mKonsoleItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "konsole" ), mKonsole );
+ mKonsoleItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "konsole" ), mKonsole );
mKonsoleItem->setLabel( i18n("The path to the program \"konsole\" (optional)") );
addItem( mKonsoleItem, TQString::fromLatin1( "konsole" ) );
setCurrentGroup( TQString::fromLatin1( "UserInterface" ) );
- mShowCustomBookmarkLabelItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowCustomBookmarkLabel" ), mShowCustomBookmarkLabel, true );
+ mShowCustomBookmarkLabelItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowCustomBookmarkLabel" ), mShowCustomBookmarkLabel, true );
mShowCustomBookmarkLabelItem->setLabel( i18n("Show custom bookmark label if available") );
mShowCustomBookmarkLabelItem->setWhatsThis( i18n("Do not show the name of the share that is represented by the bookmark but the custom label that was defined in the bookmark editor.") );
addItem( mShowCustomBookmarkLabelItem, TQString::fromLatin1( "ShowCustomBookmarkLabel" ) );
- mEmbedIntoSystemTrayItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EmbedIntoSystemTray" ), mEmbedIntoSystemTray, true );
+ mEmbedIntoSystemTrayItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EmbedIntoSystemTray" ), mEmbedIntoSystemTray, true );
mEmbedIntoSystemTrayItem->setLabel( i18n("Embed application into system tray") );
mEmbedIntoSystemTrayItem->setWhatsThis( i18n("Embed the application into the system tray. The system tray widget provides a popup menu with several commonly used tasks so that you do not need to bring up the main window everytime. If this setting is chosen you have to use \"Quit\" from the \"File\" menu or the system tray widget to exit the application.") );
addItem( mEmbedIntoSystemTrayItem, TQString::fromLatin1( "EmbedIntoSystemTray" ) );
- mStartMainWindowDockedItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "StartMainWindowDocked" ), mStartMainWindowDocked, false );
+ mStartMainWindowDockedItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "StartMainWindowDocked" ), mStartMainWindowDocked, false );
mStartMainWindowDockedItem->setLabel( i18n("Start docked") );
mStartMainWindowDockedItem->setWhatsThis( i18n("Start the application docked to the system tray, i.e. only the system tray widget is shown and the main window is hidden. You can bring the main window up by clicking on the system tray widget or by choosing \"Restore\" from its popup menu.") );
addItem( mStartMainWindowDockedItem, TQString::fromLatin1( "StartMainWindowDocked" ) );
- TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesSharesView;
+ TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesSharesView;
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "IconView" );
valuesSharesView.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "ListView" );
valuesSharesView.append( choice );
}
- mSharesViewItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SharesView" ), mSharesView, valuesSharesView, EnumSharesView::IconView );
+ mSharesViewItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SharesView" ), mSharesView, valuesSharesView, EnumSharesView::IconView );
mSharesViewItem->setLabel( i18n("How the shares should be displayed") );
mSharesViewItem->setWhatsThis( i18n("Choose the kind of view you prefer for displaying the mounted shares. There is an icon view or a list view available.") );
addItem( mSharesViewItem, TQString::fromLatin1( "SharesView" ) );
- mShowPrinterSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowPrinterShares" ), mShowPrinterShares, true );
+ mShowPrinterSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowPrinterShares" ), mShowPrinterShares, true );
mShowPrinterSharesItem->setLabel( i18n("Show printer shares") );
mShowPrinterSharesItem->setWhatsThis( i18n("Printer shares will be displayed in the network browser.") );
addItem( mShowPrinterSharesItem, TQString::fromLatin1( "ShowPrinterShares" ) );
- mShowHiddenSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowHiddenShares" ), mShowHiddenShares, true );
+ mShowHiddenSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowHiddenShares" ), mShowHiddenShares, true );
mShowHiddenSharesItem->setLabel( i18n("Show hidden shares") );
mShowHiddenSharesItem->setWhatsThis( i18n("Hidden shares will be displayed in the network browser. Hidden shares are ending with a $ sign, e.g. Musik$ or IPC$.") );
addItem( mShowHiddenSharesItem, TQString::fromLatin1( "ShowHiddenShares" ) );
- mShowHiddenIPCSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowHiddenIPCShares" ), mShowHiddenIPCShares, true );
+ mShowHiddenIPCSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowHiddenIPCShares" ), mShowHiddenIPCShares, true );
mShowHiddenIPCSharesItem->setLabel( i18n("Show hidden IPC$ shares") );
mShowHiddenIPCSharesItem->setWhatsThis( i18n("Hidden IPC$ shares will be displayed in the network browser.") );
addItem( mShowHiddenIPCSharesItem, TQString::fromLatin1( "ShowHiddenIPCShares" ) );
- mShowHiddenADMINSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowHiddenADMINShares" ), mShowHiddenADMINShares, true );
+ mShowHiddenADMINSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowHiddenADMINShares" ), mShowHiddenADMINShares, true );
mShowHiddenADMINSharesItem->setLabel( i18n("Show hidden ADMIN$ shares") );
mShowHiddenADMINSharesItem->setWhatsThis( i18n("Hidden ADMIN$ shares will be displayed in the network browser.") );
addItem( mShowHiddenADMINSharesItem, TQString::fromLatin1( "ShowHiddenADMINShares" ) );
- mShowTypeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowType" ), mShowType, true );
+ mShowTypeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowType" ), mShowType, true );
mShowTypeItem->setLabel( i18n("Show the type of a share") );
mShowTypeItem->setWhatsThis( i18n("The type of a share will be displayed in a separate column in the network browser. It can either be Disk, Print or IPC.") );
addItem( mShowTypeItem, TQString::fromLatin1( "ShowType" ) );
- mShowIPAddressItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowIPAddress" ), mShowIPAddress, true );
+ mShowIPAddressItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowIPAddress" ), mShowIPAddress, true );
mShowIPAddressItem->setLabel( i18n("Show the IP address of a server") );
mShowIPAddressItem->setWhatsThis( i18n("The IP address of the server will be displayed in a separate column in the network browser.") );
addItem( mShowIPAddressItem, TQString::fromLatin1( "ShowIPAddress" ) );
- mShowCommentItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowComment" ), mShowComment, true );
+ mShowCommentItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowComment" ), mShowComment, true );
mShowCommentItem->setLabel( i18n("Show the comment of a share") );
mShowCommentItem->setWhatsThis( i18n("The comment describing the server or share will be displayed in a separate column in the network browser.") );
addItem( mShowCommentItem, TQString::fromLatin1( "ShowComment" ) );
- mShowNetworkItemToolTipItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowNetworkItemToolTip" ), mShowNetworkItemToolTip, true );
+ mShowNetworkItemToolTipItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowNetworkItemToolTip" ), mShowNetworkItemToolTip, true );
mShowNetworkItemToolTipItem->setLabel( i18n("Show a tooltip with information about the network item") );
mShowNetworkItemToolTipItem->setWhatsThis( i18n("The tooltip shows various information about the current network item.") );
addItem( mShowNetworkItemToolTipItem, TQString::fromLatin1( "ShowNetworkItemToolTip" ) );
- mShowMountPointItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowMountPoint" ), mShowMountPoint, false );
+ mShowMountPointItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowMountPoint" ), mShowMountPoint, false );
mShowMountPointItem->setLabel( i18n("Show the mount point of a share instead of its name") );
mShowMountPointItem->setWhatsThis( i18n("A share is normally displayed with its name in the shares view. Choosing this feature will cause the exchange of the share name by the mount point.") );
addItem( mShowMountPointItem, TQString::fromLatin1( "ShowMountPoint" ) );
- mShowAllSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowAllShares" ), mShowAllShares, false );
+ mShowAllSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowAllShares" ), mShowAllShares, false );
mShowAllSharesItem->setLabel( i18n("Show all shares that are mounted on the system") );
mShowAllSharesItem->setWhatsThis( i18n("You will not only see the shares that were mounted and are owned by you, but also all other mounts using the SMBFS and CIFS file system that are present on the system.") );
addItem( mShowAllSharesItem, TQString::fromLatin1( "ShowAllShares" ) );
- mEnableDropSupportItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EnableDropSupport" ), mEnableDropSupport, false );
+ mEnableDropSupportItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EnableDropSupport" ), mEnableDropSupport, false );
mEnableDropSupportItem->setLabel( i18n("Allow the dropping of files and directories onto share icons") );
mEnableDropSupportItem->setWhatsThis( i18n("This setting allows you to drop files or whole directories onto the share icons, which will cause them to be copied.") );
addItem( mEnableDropSupportItem, TQString::fromLatin1( "EnableDropSupport" ) );
- mEnableDragSupportItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EnableDragSupport" ), mEnableDragSupport, false );
+ mEnableDragSupportItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EnableDragSupport" ), mEnableDragSupport, false );
mEnableDragSupportItem->setLabel( i18n("Allow the dragging of share icons") );
mEnableDragSupportItem->setWhatsThis( i18n("This setting allows you to drag a share item out of Smb4K and onto the desktop or into a file manager. Only enable it if you think you absolutely need it and read the handbook before you mark this checkbox.") );
addItem( mEnableDragSupportItem, TQString::fromLatin1( "EnableDragSupport" ) );
- mShowShareToolTipItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowShareToolTip" ), mShowShareToolTip, true );
+ mShowShareToolTipItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowShareToolTip" ), mShowShareToolTip, true );
mShowShareToolTipItem->setLabel( i18n("Show a tooltip with information about the share") );
mShowShareToolTipItem->setWhatsThis( i18n("The tooltip shows various information about the current share.") );
addItem( mShowShareToolTipItem, TQString::fromLatin1( "ShowShareToolTip" ) );
- mPreviewHiddenItemsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreviewHiddenItems" ), mPreviewHiddenItems, false );
+ mPreviewHiddenItemsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreviewHiddenItems" ), mPreviewHiddenItems, false );
mPreviewHiddenItemsItem->setLabel( i18n("Show hidden files and directories when previewing a share") );
mPreviewHiddenItemsItem->setWhatsThis( i18n("Display hidden files and directories in the preview dialog. The names of hidden files and directories are beginning with a period and are usually needed for very specific purposes (configuration file of an application, etc.). Since they are not of any importance for your regular work, you normally do not need to enable this feature.") );
addItem( mPreviewHiddenItemsItem, TQString::fromLatin1( "PreviewHiddenItems" ) );
- mShowOwnerItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowOwner" ), mShowOwner, false );
+ mShowOwnerItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowOwner" ), mShowOwner, false );
mShowOwnerItem->setLabel( i18n("Show owner and group (SMBFS only)") );
mShowOwnerItem->setWhatsThis( i18n("Show the UID and GID that own all files on the mounted file system. At the moment the column will only contain an entry if the share was mounted with the SMBFS file system.") );
addItem( mShowOwnerItem, TQString::fromLatin1( "ShowOwner" ) );
- mShowLoginItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowLogin" ), mShowLogin, false );
+ mShowLoginItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowLogin" ), mShowLogin, false );
mShowLoginItem->setLabel( i18n("Show login (CIFS only)") );
mShowLoginItem->setWhatsThis( i18n("Show the login that was used to authenticate to the server. The column will only contain an entry if the share was mounted with the CIFS file system.") );
addItem( mShowLoginItem, TQString::fromLatin1( "ShowLogin" ) );
- mShowFileSystemItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowFileSystem" ), mShowFileSystem, true );
+ mShowFileSystemItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowFileSystem" ), mShowFileSystem, true );
mShowFileSystemItem->setLabel( i18n("Show file system") );
mShowFileSystemItem->setWhatsThis( i18n("Show the file system that was used for mounting the share.") );
addItem( mShowFileSystemItem, TQString::fromLatin1( "ShowFileSystem" ) );
- mShowFreeDiskSpaceItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowFreeDiskSpace" ), mShowFreeDiskSpace, false );
+ mShowFreeDiskSpaceItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowFreeDiskSpace" ), mShowFreeDiskSpace, false );
mShowFreeDiskSpaceItem->setLabel( i18n("Show free disk space") );
mShowFreeDiskSpaceItem->setWhatsThis( i18n("Show the free disk space that is left on the share.") );
addItem( mShowFreeDiskSpaceItem, TQString::fromLatin1( "ShowFreeDiskSpace" ) );
- mShowUsedDiskSpaceItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowUsedDiskSpace" ), mShowUsedDiskSpace, false );
+ mShowUsedDiskSpaceItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowUsedDiskSpace" ), mShowUsedDiskSpace, false );
mShowUsedDiskSpaceItem->setLabel( i18n("Show used disk space") );
mShowUsedDiskSpaceItem->setWhatsThis( i18n("Show the disk space that is already used on the share.") );
addItem( mShowUsedDiskSpaceItem, TQString::fromLatin1( "ShowUsedDiskSpace" ) );
- mShowTotalDiskSpaceItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowTotalDiskSpace" ), mShowTotalDiskSpace, false );
+ mShowTotalDiskSpaceItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowTotalDiskSpace" ), mShowTotalDiskSpace, false );
mShowTotalDiskSpaceItem->setLabel( i18n("Show total disk space") );
mShowTotalDiskSpaceItem->setWhatsThis( i18n("Show the total disk space of the share.") );
addItem( mShowTotalDiskSpaceItem, TQString::fromLatin1( "ShowTotalDiskSpace" ) );
- mShowDiskUsageItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowDiskUsage" ), mShowDiskUsage, true );
+ mShowDiskUsageItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowDiskUsage" ), mShowDiskUsage, true );
mShowDiskUsageItem->setLabel( i18n("Show disk usage") );
mShowDiskUsageItem->setWhatsThis( i18n("Show the space that is used on the share in percent.") );
addItem( mShowDiskUsageItem, TQString::fromLatin1( "ShowDiskUsage" ) );
setCurrentGroup( TQString::fromLatin1( "Network" ) );
- TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesBrowseList;
+ TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesBrowseList;
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "LookupDomains" );
valuesBrowseList.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "QueryCurrentMaster" );
valuesBrowseList.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "QueryCustomMaster" );
valuesBrowseList.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "ScanBroadcastAreas" );
valuesBrowseList.append( choice );
}
- mBrowseListItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "BrowseList" ), mBrowseList, valuesBrowseList, EnumBrowseList::LookupDomains );
+ mBrowseListItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "BrowseList" ), mBrowseList, valuesBrowseList, EnumBrowseList::LookupDomains );
mBrowseListItem->setLabel( i18n("Method how to retrieve the browse list") );
mBrowseListItem->setWhatsThis( i18n("Choose the method how to compile the initial browse list. There are four options available: The first one is the default one and employs \"nmblookup -M -- -\" to discover all workgroups, domains, and their master browsers on your network neighborhood. The second one instructs Smb4K to query the current master browser of your workgroup or domain to retrieve the browse list. The third is similar to the second one except that you can define the master browser that should be queried. If you choose the last option, the provided list of broadcast areas will be scanned using \"nmblookup -B x.x.x.x -- '*'\".") );
addItem( mBrowseListItem, TQString::fromLatin1( "BrowseList" ) );
- mCustomMasterBrowserItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CustomMasterBrowser" ), mCustomMasterBrowser );
+ mCustomMasterBrowserItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CustomMasterBrowser" ), mCustomMasterBrowser );
mCustomMasterBrowserItem->setLabel( i18n("A custom master browser that is to be queried") );
mCustomMasterBrowserItem->setWhatsThis( i18n("Enter the name or IP address of a master browser here that should be queried to compile the initial browse list.") );
addItem( mCustomMasterBrowserItem, TQString::fromLatin1( "CustomMasterBrowser" ) );
- mBroadcastAreasItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BroadcastAreas" ), mBroadcastAreas );
+ mBroadcastAreasItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BroadcastAreas" ), mBroadcastAreas );
mBroadcastAreasItem->setLabel( i18n("A custom list of broadcast addresses") );
mBroadcastAreasItem->setWhatsThis( i18n("Enter a comma-separated list of broadcast addresses here (e.g. 192.168.0.255, 192.168.1.255). It is used to scan for all known hosts in the respective broadcast areas.") );
addItem( mBroadcastAreasItem, TQString::fromLatin1( "BroadcastAreas" ) );
- TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesSearchMethod;
+ TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesSearchMethod;
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "Nmblookup" );
valuesSearchMethod.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "Smbclient" );
valuesSearchMethod.append( choice );
}
- mSearchMethodItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SearchMethod" ), mSearchMethod, valuesSearchMethod, EnumSearchMethod::Nmblookup );
+ mSearchMethodItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SearchMethod" ), mSearchMethod, valuesSearchMethod, EnumSearchMethod::Nmblookup );
mSearchMethodItem->setLabel( i18n("Method for searching for remote hosts") );
mSearchMethodItem->setWhatsThis( i18n("Smb4K is able to search for remote hosts either using nmblookup or smbclient. The nmblookup method is very reliable and works well. However, if your network is configured uncommonly and you experience problems when searching, you should try the smbclient method. But please note that you lose the ability to search for IP addresses in that case.") );
addItem( mSearchMethodItem, TQString::fromLatin1( "SearchMethod" ) );
setCurrentGroup( TQString::fromLatin1( "Shares" ) );
- mMountPrefixItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "MountPrefix" ), mMountPrefix, TQString::fromLatin1( "${HOME}/smb4k/" ) );
+ mMountPrefixItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "MountPrefix" ), mMountPrefix, TQString::fromLatin1( "${HOME}/smb4k/" ) );
mMountPrefixItem->setLabel( i18n("The mount prefix") );
mMountPrefixItem->setWhatsThis( i18n("This is the prefix where Smb4K will create the mount points and mount the remote shares.") );
addItem( mMountPrefixItem, TQString::fromLatin1( "MountPrefix" ) );
- mForceLowerCaseSubdirsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ForceLowerCaseSubdirs" ), mForceLowerCaseSubdirs, false );
+ mForceLowerCaseSubdirsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ForceLowerCaseSubdirs" ), mForceLowerCaseSubdirs, false );
mForceLowerCaseSubdirsItem->setLabel( i18n("Force the subdirectories created by Smb4K to be lowercase") );
mForceLowerCaseSubdirsItem->setWhatsThis( i18n("All names of the subdirectories created by Smb4K below the mount prefix will be lowercase.") );
addItem( mForceLowerCaseSubdirsItem, TQString::fromLatin1( "ForceLowerCaseSubdirs" ) );
- mUnmountSharesOnExitItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UnmountSharesOnExit" ), mUnmountSharesOnExit, false );
+ mUnmountSharesOnExitItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UnmountSharesOnExit" ), mUnmountSharesOnExit, false );
mUnmountSharesOnExitItem->setLabel( i18n("Unmount the shares owned by the user on exit") );
mUnmountSharesOnExitItem->setWhatsThis( i18n("Unmount all shares that belong to you when the program exits.") );
addItem( mUnmountSharesOnExitItem, TQString::fromLatin1( "UnmountSharesOnExit" ) );
- mRemountSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RemountShares" ), mRemountShares, false );
+ mRemountSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RemountShares" ), mRemountShares, false );
mRemountSharesItem->setLabel( i18n("Remount shares") );
mRemountSharesItem->setWhatsThis( i18n("Remount all your shares that were still mounted when you exited the program. Shares that were mounted by other users are ignored.") );
addItem( mRemountSharesItem, TQString::fromLatin1( "RemountShares" ) );
- mUnmountForeignSharesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UnmountForeignShares" ), mUnmountForeignShares, false );
+ mUnmountForeignSharesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UnmountForeignShares" ), mUnmountForeignShares, false );
mUnmountForeignSharesItem->setLabel( i18n("Allow the unmounting of shares owned by other users") );
mUnmountForeignSharesItem->setWhatsThis( i18n("Allow the unmounting of shares that were mounted by other users. In most cases you need super user privileges for this. Please think before you enable this option!") );
addItem( mUnmountForeignSharesItem, TQString::fromLatin1( "UnmountForeignShares" ) );
- mCheckIntervalItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CheckInterval" ), mCheckInterval, 2500 );
+ mCheckIntervalItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CheckInterval" ), mCheckInterval, 2500 );
mCheckIntervalItem->setMinValue(500);
mCheckIntervalItem->setMaxValue(300000);
mCheckIntervalItem->setLabel( i18n("Interval between checks for new and inaccessible shares") );
@@ -307,778 +307,778 @@ Smb4KSettings::Smb4KSettings( )
setCurrentGroup( TQString::fromLatin1( "Authentication" ) );
- mUseWalletItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseWallet" ), mUseWallet, true );
+ mUseWalletItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseWallet" ), mUseWallet, true );
mUseWalletItem->setLabel( i18n("Use a wallet to store authentication data") );
mUseWalletItem->setWhatsThis( i18n("Use a wallet to store the authentication data. The login name and the password name are stored encrypted on your hard drive. If this setting is disabled, the authentication data is not stored permanently but only temporarily.") );
addItem( mUseWalletItem, TQString::fromLatin1( "UseWallet" ) );
- mRememberPasswordsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RememberPasswords" ), mRememberPasswords, true );
+ mRememberPasswordsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RememberPasswords" ), mRememberPasswords, true );
mRememberPasswordsItem->setLabel( i18n("Remember passwords if no wallet is used") );
mRememberPasswordsItem->setWhatsThis( i18n("If you decided to store the login names and passwords only temporarily, Smb4K will remember them until the program exits. If you disable this setting, you will have to provide the authentication data everytime it is needed.") );
addItem( mRememberPasswordsItem, TQString::fromLatin1( "RememberPasswords" ) );
- mUseDefaultLoginItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseDefaultLogin" ), mUseDefaultLogin, false );
+ mUseDefaultLoginItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseDefaultLogin" ), mUseDefaultLogin, false );
mUseDefaultLoginItem->setLabel( i18n("Use a default login") );
mUseDefaultLoginItem->setWhatsThis( i18n("Enable the usage of a default login name and password. The authentication data provided below is then used by default to authenticate to a remote server. This is very useful e.g. if you are working in an Active Directory environment or an NT domain.") );
addItem( mUseDefaultLoginItem, TQString::fromLatin1( "UseDefaultLogin" ) );
setCurrentGroup( TQString::fromLatin1( "Samba" ) );
- mNetBIOSNameItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "NetBIOSName" ), mNetBIOSName );
+ mNetBIOSNameItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "NetBIOSName" ), mNetBIOSName );
mNetBIOSNameItem->setLabel( i18n("The NetBIOS name of this computer") );
mNetBIOSNameItem->setWhatsThis( i18n("This is the NetBIOS name of this computer that is used by Smb4K. By default, it is either the NetBIOS name that is defined in the smb.conf file or the host name.") );
addItem( mNetBIOSNameItem, TQString::fromLatin1( "NetBIOSName" ) );
- mDomainNameItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DomainName" ), mDomainName );
+ mDomainNameItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DomainName" ), mDomainName );
mDomainNameItem->setLabel( i18n("The name of the workgroup/domain this computer is in") );
mDomainNameItem->setWhatsThis( i18n("This is the workgroup or domain this computer is or should be in. By default, it is the workgroup that is defined in the smb.conf file.") );
addItem( mDomainNameItem, TQString::fromLatin1( "DomainName" ) );
- mSocketOptionsItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "SocketOptions" ), mSocketOptions );
+ mSocketOptionsItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "SocketOptions" ), mSocketOptions );
mSocketOptionsItem->setLabel( i18n("The socket options") );
mSocketOptionsItem->setWhatsThis( i18n("These are the TCP socket options that are used by nmblookup, smbmount and smbclient. Socket options are controls on the networking layer of the operating systems which allow the connection to be tuned. See the manual page of smb.conf for more information.") );
addItem( mSocketOptionsItem, TQString::fromLatin1( "SocketOptions" ) );
- mNetBIOSScopeItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "NetBIOSScope" ), mNetBIOSScope );
+ mNetBIOSScopeItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "NetBIOSScope" ), mNetBIOSScope );
mNetBIOSScopeItem->setLabel( i18n("The NetBIOS scope") );
mNetBIOSScopeItem->setWhatsThis( i18n("This sets the NetBIOS scope that nmblookup, smbmount and smbclient will operate under. It should not be set unless every machine on your network neighborhood sets this value.") );
addItem( mNetBIOSScopeItem, TQString::fromLatin1( "NetBIOSScope" ) );
- mRemotePortItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "RemotePort" ), mRemotePort, 139 );
+ mRemotePortItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "RemotePort" ), mRemotePort, 139 );
mRemotePortItem->setMinValue(1);
mRemotePortItem->setMaxValue(65535);
mRemotePortItem->setLabel( i18n("The remote SMB port") );
mRemotePortItem->setWhatsThis( i18n("This is the port that is to be used for connecting to remote servers. Please note that this is independent of the settings in the smb.conf file.") );
addItem( mRemotePortItem, TQString::fromLatin1( "RemotePort" ) );
- mUseKerberosItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseKerberos" ), mUseKerberos, false );
+ mUseKerberosItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseKerberos" ), mUseKerberos, false );
mUseKerberosItem->setLabel( i18n("Use Kerberos for authentication") );
mUseKerberosItem->setWhatsThis( i18n("Try to authenticate with Kerberos. This is only useful in an Active Directory environment. The setting affects the smbmount and smbclient command.") );
addItem( mUseKerberosItem, TQString::fromLatin1( "UseKerberos" ) );
- mMachineAccountItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "MachineAccount" ), mMachineAccount, false );
+ mMachineAccountItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "MachineAccount" ), mMachineAccount, false );
mMachineAccountItem->setLabel( i18n("Use machine account for login") );
mMachineAccountItem->setWhatsThis( i18n("Make queries to the remote server using the machine account of the local server. The setting affects the net and the smbclient command.") );
addItem( mMachineAccountItem, TQString::fromLatin1( "MachineAccount" ) );
- TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesFilesystem;
+ TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesFilesystem;
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "CIFS" );
valuesFilesystem.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "SMBFS" );
valuesFilesystem.append( choice );
}
- mFilesystemItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "Filesystem" ), mFilesystem, valuesFilesystem, EnumFilesystem::CIFS );
+ mFilesystemItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "Filesystem" ), mFilesystem, valuesFilesystem, EnumFilesystem::CIFS );
mFilesystemItem->setLabel( i18n("The file system that is used for mounting remote shares") );
mFilesystemItem->setWhatsThis( i18n("This is the file system that will be used to mount the remote shares. The Common Internet File System (CIFS) is supported by Windows 2000 and above as well as by Samba. It offers many improvements and advancements compared to the Server Message Block File System (SMBFS) which is used by Windows 9x and below.") );
addItem( mFilesystemItem, TQString::fromLatin1( "Filesystem" ) );
- TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesClientCharset;
+ TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesClientCharset;
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "default_charset" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_1" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_2" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_3" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_4" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_5" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_6" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_7" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_8" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_9" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_13" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_14" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "iso8859_15" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "utf8" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "koi8_r" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "koi8_u" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "koi8_ru" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp1251" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "gb2312" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "big5" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "euc_jp" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "euc_kr" );
valuesClientCharset.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "tis_620" );
valuesClientCharset.append( choice );
}
- mClientCharsetItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "ClientCharset" ), mClientCharset, valuesClientCharset, EnumClientCharset::default_charset );
+ mClientCharsetItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "ClientCharset" ), mClientCharset, valuesClientCharset, EnumClientCharset::default_charset );
mClientCharsetItem->setLabel( i18n("The charset used by the client") );
mClientCharsetItem->setWhatsThis( i18n("This is the charset that is used by the client side (i.e. your side) either to convert local path names to and from Unicode in case of the CIFS file system or for codepage to charset translations (NLS) in case of the SMBFS file system. If you keep the default setting, Smb4K will try to automatically determine the charset by looking up the \"unix charset\" option in the smb.conf.") );
addItem( mClientCharsetItem, TQString::fromLatin1( "ClientCharset" ) );
- TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesServerCodepage;
+ TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesServerCodepage;
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "default_codepage" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp437" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp720" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp737" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp775" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp850" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp852" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp855" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp857" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp858" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp860" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp861" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp862" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp863" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp864" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp865" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp866" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp869" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp874" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp932" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp936" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp949" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp950" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp1250" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp1251" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp1252" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp1253" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp1254" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp1255" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp1256" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp1257" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "cp1258" );
valuesServerCodepage.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "unicode" );
valuesServerCodepage.append( choice );
}
- mServerCodepageItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "ServerCodepage" ), mServerCodepage, valuesServerCodepage, EnumServerCodepage::default_codepage );
+ mServerCodepageItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "ServerCodepage" ), mServerCodepage, valuesServerCodepage, EnumServerCodepage::default_codepage );
mServerCodepageItem->setLabel( i18n("The codepage used by the server") );
mServerCodepageItem->setWhatsThis( i18n("This is the codepage that is used by the server. The setting is only available with the SMBFS file system. If you keep the default setting, Smb4K will try to automatically determine the codepage by looking up the \"dos charset\" option in the smb.conf.") );
addItem( mServerCodepageItem, TQString::fromLatin1( "ServerCodepage" ) );
- mUserIDItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "UserID" ), mUserID, TQString( "%1" ).arg( (int)getuid() ) );
+ mUserIDItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "UserID" ), mUserID, TQString( "%1" ).arg( (int)getuid() ) );
mUserIDItem->setLabel( i18n("The user ID that is to be used for mounting") );
mUserIDItem->setWhatsThis( i18n("Here you can enter the user ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS file system and the remote server supports the CIFS Unix Extentions, this setting will be ignored.") );
addItem( mUserIDItem, TQString::fromLatin1( "UserID" ) );
- mGroupIDItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "GroupID" ), mGroupID, TQString( "%1" ).arg( (int)getgid() ) );
+ mGroupIDItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "GroupID" ), mGroupID, TQString( "%1" ).arg( (int)getgid() ) );
mGroupIDItem->setLabel( i18n("The group ID that is to be used for mounting") );
mGroupIDItem->setWhatsThis( i18n("Here you can enter the group ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS file system and the remote server supports the CIFS Unix Extentions, this setting will be ignored.") );
addItem( mGroupIDItem, TQString::fromLatin1( "GroupID" ) );
- mFileMaskItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "FileMask" ), mFileMask, TQString::fromLatin1( "0755" ) );
+ mFileMaskItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "FileMask" ), mFileMask, TQString::fromLatin1( "0755" ) );
mFileMaskItem->setLabel( i18n("The file mask for a share") );
mFileMaskItem->setWhatsThis( i18n("This is the mask that will be used for creating files. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.") );
addItem( mFileMaskItem, TQString::fromLatin1( "FileMask" ) );
- mDirectoryMaskItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DirectoryMask" ), mDirectoryMask, TQString::fromLatin1( "0755" ) );
+ mDirectoryMaskItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DirectoryMask" ), mDirectoryMask, TQString::fromLatin1( "0755" ) );
mDirectoryMaskItem->setLabel( i18n("The directory mask for a share") );
mDirectoryMaskItem->setWhatsThis( i18n("This is the mask that will be used for creating directories. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.") );
addItem( mDirectoryMaskItem, TQString::fromLatin1( "DirectoryMask" ) );
- TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesWriteAccess;
+ TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesWriteAccess;
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "ReadWrite" );
valuesWriteAccess.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "ReadOnly" );
valuesWriteAccess.append( choice );
}
- mWriteAccessItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "WriteAccess" ), mWriteAccess, valuesWriteAccess, EnumWriteAccess::ReadWrite );
+ mWriteAccessItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "WriteAccess" ), mWriteAccess, valuesWriteAccess, EnumWriteAccess::ReadWrite );
mWriteAccessItem->setLabel( i18n("The write access granted for the share") );
mWriteAccessItem->setWhatsThis( i18n("Here you can choose if the shares should be mounted in read and write mode or only read-only.") );
addItem( mWriteAccessItem, TQString::fromLatin1( "WriteAccess" ) );
- mPermissionChecksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PermissionChecks" ), mPermissionChecks, true );
+ mPermissionChecksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PermissionChecks" ), mPermissionChecks, true );
mPermissionChecksItem->setLabel( i18n("Do permission checks") );
mPermissionChecksItem->setWhatsThis( i18n("The client side (i.e. your side) will check if you have the right UID/GID to manipulate a file or directory. You might want to switch this feature off if the server(s) support the CIFS Unix Extensions and you are not allowed to access the files and directories. This setting does not affect the normal ACL check.") );
addItem( mPermissionChecksItem, TQString::fromLatin1( "PermissionChecks" ) );
- mClientControlsIDsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ClientControlsIDs" ), mClientControlsIDs, false );
+ mClientControlsIDsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ClientControlsIDs" ), mClientControlsIDs, false );
mClientControlsIDsItem->setLabel( i18n("Set UID and GID") );
mClientControlsIDsItem->setWhatsThis( i18n("In case the server supports the CIFS Unix Extensions, the client side (i.e. your side) attempts to set the effective UID and GID of the current process on newly created files, directories and devices. If this feature is turned off, the default UID and GID defined for the share will be used. It is recommended that you read the manual page of mount.cifs before you change this setting.") );
addItem( mClientControlsIDsItem, TQString::fromLatin1( "ClientControlsIDs" ) );
- mServerInodeNumbersItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ServerInodeNumbers" ), mServerInodeNumbers, false );
+ mServerInodeNumbersItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ServerInodeNumbers" ), mServerInodeNumbers, false );
mServerInodeNumbersItem->setLabel( i18n("Use server inode numbers") );
mServerInodeNumbersItem->setWhatsThis( i18n("Use inode numbers (unique persistent file identifiers) returned by the server instead of automatically generating temporary inode numbers on the client side.") );
addItem( mServerInodeNumbersItem, TQString::fromLatin1( "ServerInodeNumbers" ) );
- mInodeDataCachingItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "InodeDataCaching" ), mInodeDataCaching, false );
+ mInodeDataCachingItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "InodeDataCaching" ), mInodeDataCaching, false );
mInodeDataCachingItem->setLabel( i18n("Do not cache inode data") );
mInodeDataCachingItem->setWhatsThis( i18n("Directly read from and write to files opened on the share. In some cases this can provide better performance than the default behavior which caches reads and writes.") );
addItem( mInodeDataCachingItem, TQString::fromLatin1( "InodeDataCaching" ) );
- mTranslateReservedCharsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TranslateReservedChars" ), mTranslateReservedChars, false );
+ mTranslateReservedCharsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TranslateReservedChars" ), mTranslateReservedChars, false );
mTranslateReservedCharsItem->setLabel( i18n("Translate reserved characters") );
mTranslateReservedCharsItem->setWhatsThis( i18n("Translate six of the seven reserved characters (including the colon, question mark, pipe, asterisk, greater than and less than characters but not the backslash) to remap range (above 0xF000). This allows you to open files that were created with such characters. This has no effect if the server does not support Unicode.") );
addItem( mTranslateReservedCharsItem, TQString::fromLatin1( "TranslateReservedChars" ) );
- mNoLockingItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "NoLocking" ), mNoLocking, false );
+ mNoLockingItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "NoLocking" ), mNoLocking, false );
mNoLockingItem->setLabel( i18n("Do not use locking") );
mNoLockingItem->setWhatsThis( i18n("Do not use locking. Do not start lockd.") );
addItem( mNoLockingItem, TQString::fromLatin1( "NoLocking" ) );
- mCustomCIFSOptionsItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CustomCIFSOptions" ), mCustomCIFSOptions );
+ mCustomCIFSOptionsItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CustomCIFSOptions" ), mCustomCIFSOptions );
mCustomCIFSOptionsItem->setLabel( i18n("Advanced custom options for the CIFS file system") );
mCustomCIFSOptionsItem->setWhatsThis( i18n("Here you can enter advanced options for the CIFS file system in a comma-separated list (refer to the manual page of mount.cifs to learn more). The list will be added AS IS to the \"-o\" argument of mount.cifs. Please do not enter options that have already been defined in the configuration dialog.") );
addItem( mCustomCIFSOptionsItem, TQString::fromLatin1( "CustomCIFSOptions" ) );
- mCachingTimeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CachingTime" ), mCachingTime, 1000 );
+ mCachingTimeItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CachingTime" ), mCachingTime, 1000 );
mCachingTimeItem->setLabel( i18n("Determines how long directory listings are cached") );
mCachingTimeItem->setWhatsThis( i18n("This setting determines how long a directory listing is cached in milliseconds. A high value means it takes longer until changes on the server are noticed on the client side (i.e. your side), but it can also give you an increase in performance on large directories, especially on long distances. You need Linux kernel 2.4.2 or later to take advantage of this setting.") );
addItem( mCachingTimeItem, TQString::fromLatin1( "CachingTime" ) );
- mUnicodeSupportItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UnicodeSupport" ), mUnicodeSupport, false );
+ mUnicodeSupportItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UnicodeSupport" ), mUnicodeSupport, false );
mUnicodeSupportItem->setLabel( i18n("Unicode support") );
mUnicodeSupportItem->setWhatsThis( i18n("Use Unicode when communicating with the server. This will give you better support for non-ASCII character sets with the SMBFS file system.") );
addItem( mUnicodeSupportItem, TQString::fromLatin1( "UnicodeSupport" ) );
- mLargeFileSystemSupportItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "LargeFileSystemSupport" ), mLargeFileSystemSupport, false );
+ mLargeFileSystemSupportItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "LargeFileSystemSupport" ), mLargeFileSystemSupport, false );
mLargeFileSystemSupportItem->setLabel( i18n("Long file support") );
mLargeFileSystemSupportItem->setWhatsThis( i18n("Large file support (LFS) enables you to read and write \n"
"files bigger than 2 GB on shares that were mounted with the SMBFS file system.") );
addItem( mLargeFileSystemSupportItem, TQString::fromLatin1( "LargeFileSystemSupport" ) );
- TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesProtocolHint;
+ TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesProtocolHint;
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "Automatic" );
valuesProtocolHint.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "RPC" );
valuesProtocolHint.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "RAP" );
valuesProtocolHint.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "ADS" );
valuesProtocolHint.append( choice );
}
- mProtocolHintItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "ProtocolHint" ), mProtocolHint, valuesProtocolHint, EnumProtocolHint::Automatic );
+ mProtocolHintItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "ProtocolHint" ), mProtocolHint, valuesProtocolHint, EnumProtocolHint::Automatic );
mProtocolHintItem->setLabel( i18n("The protocol that is used with the net command") );
mProtocolHintItem->setWhatsThis( i18n("Here you can choose the protocol that will be used by the net command for the communication with remote servers if appropriate. In most cases the automatic detection will work fine and you should not need to change the default setting. However, if you experience problems, use the RPC protocol for newer operating systems (Windows NT4 and above) and the RAP protocol for older ones (Windows 98/NT3 and below). Functions that need the ADS protocol (for Active Directory environments) have not been implemented yet, so you can ignore that one for now.") );
addItem( mProtocolHintItem, TQString::fromLatin1( "ProtocolHint" ) );
- mNameResolveOrderItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "NameResolveOrder" ), mNameResolveOrder );
+ mNameResolveOrderItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "NameResolveOrder" ), mNameResolveOrder );
mNameResolveOrderItem->setLabel( i18n("Name resolve order used by smbclient") );
mNameResolveOrderItem->setWhatsThis( i18n("This option is used to determine what naming services and in what order are used to resolve host names and IP addresses. It takes a space-separated list of up to four different name resolution options. Those are: lmhost, host, wins, bcast. See the manual page of smbclient for further information.") );
addItem( mNameResolveOrderItem, TQString::fromLatin1( "NameResolveOrder" ) );
- mBufferSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BufferSize" ), mBufferSize, 65520 );
+ mBufferSizeItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BufferSize" ), mBufferSize, 65520 );
mBufferSizeItem->setMinValue(0);
mBufferSizeItem->setLabel( i18n("Transmit/send buffer size used by smbclient") );
mBufferSizeItem->setWhatsThis( i18n("This option changes the transmit/send buffer size when getting or putting a file from/to the server. The default is 65520 bytes. Setting this value smaller has been observed to speed up file transfers to and from Windows 9x servers.") );
addItem( mBufferSizeItem, TQString::fromLatin1( "BufferSize" ) );
- TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesSigningState;
+ TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesSigningState;
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "None" );
valuesSigningState.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "On" );
valuesSigningState.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "Off" );
valuesSigningState.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "Required" );
valuesSigningState.append( choice );
}
- mSigningStateItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SigningState" ), mSigningState, valuesSigningState, EnumSigningState::None );
+ mSigningStateItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SigningState" ), mSigningState, valuesSigningState, EnumSigningState::None );
mSigningStateItem->setLabel( i18n("Signing state") );
mSigningStateItem->setWhatsThis( i18n("Set the signing state for smbclient.") );
addItem( mSigningStateItem, TQString::fromLatin1( "SigningState" ) );
- mBroadcastAddressItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BroadcastAddress" ), mBroadcastAddress );
+ mBroadcastAddressItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BroadcastAddress" ), mBroadcastAddress );
mBroadcastAddressItem->setLabel( i18n("The broadcast address used by nmblookup") );
mBroadcastAddressItem->setWhatsThis( i18n("Queries performed with nmblookup will be send to the given broadcast address. Without this option the default behavior is to send the queries to the broadcast address of the network interface that was either auto-detected or defined in the \"interfaces\" parameter of the smb.conf file.") );
addItem( mBroadcastAddressItem, TQString::fromLatin1( "BroadcastAddress" ) );
- mUsePort137Item = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UsePort137" ), mUsePort137, false );
+ mUsePort137Item = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UsePort137" ), mUsePort137, false );
mUsePort137Item->setLabel( i18n("Use UDP port 137 with nmblookup") );
mUsePort137Item->setWhatsThis( i18n("Try and bind to UDP port 137 to send and receive UDP datagrams. The reason for this option is a bug in Windows 95 where it ignores the source port of the requesting packet and only replies to UDP port 137. Unfortunately, on most Unix systems super user privileges are needed to bind to this port. Please read the manual page of nmblookup for more information.") );
addItem( mUsePort137Item, TQString::fromLatin1( "UsePort137" ) );
setCurrentGroup( TQString::fromLatin1( "Synchronization" ) );
- mRsyncPrefixItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "RsyncPrefix" ), mRsyncPrefix, TQString::fromLatin1( "$HOME/smb4k_sync/" ) );
+ mRsyncPrefixItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "RsyncPrefix" ), mRsyncPrefix, TQString::fromLatin1( "$HOME/smb4k_sync/" ) );
mRsyncPrefixItem->setLabel( i18n("Prefix for synchronization") );
mRsyncPrefixItem->setWhatsThis( i18n("This is the path where Smb4K will store the files and directories during synchronization. If you plan to synchronize only with one remote share, then you can put the data directly in this directory. If you want to synchronize with several remote shares, then you should create a subdirectory for each share and choose the appropriate one in the synchronization dialog.") );
addItem( mRsyncPrefixItem, TQString::fromLatin1( "RsyncPrefix" ) );
- mArchiveModeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ArchiveMode" ), mArchiveMode, true );
+ mArchiveModeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ArchiveMode" ), mArchiveMode, true );
mArchiveModeItem->setLabel( i18n("Use archive mode") );
mArchiveModeItem->setWhatsThis( i18n("Use archive mode (-a, --archive). This is a short form of -rlptgoD.") );
addItem( mArchiveModeItem, TQString::fromLatin1( "ArchiveMode" ) );
- mRecurseIntoDirectoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RecurseIntoDirectories" ), mRecurseIntoDirectories, true );
+ mRecurseIntoDirectoriesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RecurseIntoDirectories" ), mRecurseIntoDirectories, true );
mRecurseIntoDirectoriesItem->setLabel( i18n("Recurse into subdirectories") );
mRecurseIntoDirectoriesItem->setWhatsThis( i18n("Recurse into directories (-r, --recursive).") );
addItem( mRecurseIntoDirectoriesItem, TQString::fromLatin1( "RecurseIntoDirectories" ) );
- mUpdateTargetItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UpdateTarget" ), mUpdateTarget, true );
+ mUpdateTargetItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UpdateTarget" ), mUpdateTarget, true );
mUpdateTargetItem->setLabel( i18n("Skip files that are newer in the target directory") );
mUpdateTargetItem->setWhatsThis( i18n("Update files in the destination directory that are older than in the source directory (-u, --update).") );
addItem( mUpdateTargetItem, TQString::fromLatin1( "UpdateTarget" ) );
- mUpdateInPlaceItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UpdateInPlace" ), mUpdateInPlace, false );
+ mUpdateInPlaceItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UpdateInPlace" ), mUpdateInPlace, false );
mUpdateInPlaceItem->setLabel( i18n("Update destination files in place") );
mUpdateInPlaceItem->setWhatsThis( i18n("Update destination files in-place (--inplace). By default, rsync first creates a new copy of a file and moves it into place after its transfer finished. If you enable this feature, no copy will be created but the destination file will immediately be overwritten instead. An exception to this is if you combine this option with --backup.") );
addItem( mUpdateInPlaceItem, TQString::fromLatin1( "UpdateInPlace" ) );
- mRelativePathNamesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RelativePathNames" ), mRelativePathNames, false );
+ mRelativePathNamesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RelativePathNames" ), mRelativePathNames, false );
mRelativePathNamesItem->setLabel( i18n("Use relative path names") );
mRelativePathNamesItem->setWhatsThis( i18n("Use relative paths (-R, --relative). This means that the full path names specified on the command line are sent to the server rather than just the last parts of the file names.") );
addItem( mRelativePathNamesItem, TQString::fromLatin1( "RelativePathNames" ) );
- mNoImpliedDirectoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "NoImpliedDirectories" ), mNoImpliedDirectories, false );
+ mNoImpliedDirectoriesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "NoImpliedDirectories" ), mNoImpliedDirectories, false );
mNoImpliedDirectoriesItem->setLabel( i18n("Don't send implied directories with --relative") );
mNoImpliedDirectoriesItem->setWhatsThis( i18n("Don't send implied directories with --relative (--no-implied-dirs). This means that the corresponding path elements on the destination system are left unchanged if they exist, and any missing implied directories are created with default attributes. This even allows these implied path elements to have big differences, such as being a symlink to a directory on one side of the transfer, and a real directory on the other side.") );
addItem( mNoImpliedDirectoriesItem, TQString::fromLatin1( "NoImpliedDirectories" ) );
- mTransferDirectoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TransferDirectories" ), mTransferDirectories, false );
+ mTransferDirectoriesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TransferDirectories" ), mTransferDirectories, false );
mTransferDirectoriesItem->setLabel( i18n("Transfer directories without recursing") );
mTransferDirectoriesItem->setWhatsThis( i18n("Transfer directories without recursing (-d, --dirs). This means that all top-level subdirectories are transferred but without their contents.") );
addItem( mTransferDirectoriesItem, TQString::fromLatin1( "TransferDirectories" ) );
- mCompressDataItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompressData" ), mCompressData, false );
+ mCompressDataItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CompressData" ), mCompressData, false );
mCompressDataItem->setLabel( i18n("Compress data during transfer") );
mCompressDataItem->setWhatsThis( i18n("Compress data during transfer (-z, --compress). This significantly reduces the amount of data that is being transferred. You may want to use this option, if you have a slow connection.") );
addItem( mCompressDataItem, TQString::fromLatin1( "CompressData" ) );
- mPreserveSymlinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveSymlinks" ), mPreserveSymlinks, true );
+ mPreserveSymlinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveSymlinks" ), mPreserveSymlinks, true );
mPreserveSymlinksItem->setLabel( i18n("Preserve symlinks") );
mPreserveSymlinksItem->setWhatsThis( i18n("Copy symlinks as symlinks (-l, --links).") );
addItem( mPreserveSymlinksItem, TQString::fromLatin1( "PreserveSymlinks" ) );
- mTransformSymlinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TransformSymlinks" ), mTransformSymlinks, false );
+ mTransformSymlinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TransformSymlinks" ), mTransformSymlinks, false );
mTransformSymlinksItem->setLabel( i18n("Transform symlinks") );
mTransformSymlinksItem->setWhatsThis( i18n("Transform symlinks into the items they are pointing to (-L, --copy-links).") );
addItem( mTransformSymlinksItem, TQString::fromLatin1( "TransformSymlinks" ) );
- mTransformUnsafeSymlinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TransformUnsafeSymlinks" ), mTransformUnsafeSymlinks, false );
+ mTransformUnsafeSymlinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TransformUnsafeSymlinks" ), mTransformUnsafeSymlinks, false );
mTransformUnsafeSymlinksItem->setLabel( i18n("Only transform unsafe symlinks") );
mTransformUnsafeSymlinksItem->setWhatsThis( i18n("Transform unsafe symlinks into the items they are pointing to (--copy-unsafe-links). This means that only those symlinks are transformed that point to items that are outside the copied tree. Absolute symlinks are treated the same way. This option has no additional effect if --copy-links has also been specified.") );
addItem( mTransformUnsafeSymlinksItem, TQString::fromLatin1( "TransformUnsafeSymlinks" ) );
- mIgnoreUnsafeSymlinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IgnoreUnsafeSymlinks" ), mIgnoreUnsafeSymlinks, false );
+ mIgnoreUnsafeSymlinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IgnoreUnsafeSymlinks" ), mIgnoreUnsafeSymlinks, false );
mIgnoreUnsafeSymlinksItem->setLabel( i18n("Ignore unsafe symlinks") );
mIgnoreUnsafeSymlinksItem->setWhatsThis( i18n("Ignore symlinks that point outside the copied tree (--safe-links). All absolute symlinks are also ignored. If you use this option in conjunction with --relative you might get unexpected results.") );
addItem( mIgnoreUnsafeSymlinksItem, TQString::fromLatin1( "IgnoreUnsafeSymlinks" ) );
- mPreserveHardLinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveHardLinks" ), mPreserveHardLinks, false );
+ mPreserveHardLinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveHardLinks" ), mPreserveHardLinks, false );
mPreserveHardLinksItem->setLabel( i18n("Preserve hard links") );
mPreserveHardLinksItem->setWhatsThis( i18n("Preserve hard links (-H, --hard-links). This options causes rsync to preserve the hard links that are found during the transfer. Without it, hard links are treated as though they were separate files.") );
addItem( mPreserveHardLinksItem, TQString::fromLatin1( "PreserveHardLinks" ) );
- mKeepDirectorySymlinksItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "KeepDirectorySymlinks" ), mKeepDirectorySymlinks, false );
+ mKeepDirectorySymlinksItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "KeepDirectorySymlinks" ), mKeepDirectorySymlinks, false );
mKeepDirectorySymlinksItem->setLabel( i18n("Keep directory symlinks") );
mKeepDirectorySymlinksItem->setWhatsThis( i18n("Treat symlinked directories on the receiving side as though they were real ones (-K, --keep-dirlinks). This only works if the symlink matches a real directory from the sending side. Without this option, the receiver's symlink will be deleted and replaced with a real directory.") );
addItem( mKeepDirectorySymlinksItem, TQString::fromLatin1( "KeepDirectorySymlinks" ) );
- mPreservePermissionsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreservePermissions" ), mPreservePermissions, true );
+ mPreservePermissionsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreservePermissions" ), mPreservePermissions, true );
mPreservePermissionsItem->setLabel( i18n("Preserve permissions") );
mPreservePermissionsItem->setWhatsThis( i18n("Preserve permissions (-p, --perms). The permissions of the destination file will be same as the source file. For what happens if this option is switched off, please read rsync's manual page.") );
addItem( mPreservePermissionsItem, TQString::fromLatin1( "PreservePermissions" ) );
- mPreserveGroupItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveGroup" ), mPreserveGroup, true );
+ mPreserveGroupItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveGroup" ), mPreserveGroup, true );
mPreserveGroupItem->setLabel( i18n("Preserve group") );
mPreserveGroupItem->setWhatsThis( i18n("Preserve the group (-g, --group). The group of the destination file will be set to the same value as the source file.") );
addItem( mPreserveGroupItem, TQString::fromLatin1( "PreserveGroup" ) );
- mPreserveOwnerItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveOwner" ), mPreserveOwner, true );
+ mPreserveOwnerItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveOwner" ), mPreserveOwner, true );
mPreserveOwnerItem->setLabel( i18n("Preserve owner (super user only)") );
mPreserveOwnerItem->setWhatsThis( i18n("Preserve the owner (-o, --owner). The owner of the destination file will be set to the same value as the source file, but only if the receiving rsync is run as the super user. Without this option, the owner is set to the invoking user on the receiving side.") );
addItem( mPreserveOwnerItem, TQString::fromLatin1( "PreserveOwner" ) );
- mPreserveDevicesAndSpecialsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveDevicesAndSpecials" ), mPreserveDevicesAndSpecials, true );
+ mPreserveDevicesAndSpecialsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveDevicesAndSpecials" ), mPreserveDevicesAndSpecials, true );
mPreserveDevicesAndSpecialsItem->setLabel( i18n("Preserve device and special files") );
mPreserveDevicesAndSpecialsItem->setWhatsThis( i18n("Preserve device and special files (-D, --devices --specials). This option causes rsync to transfer character and block devices as well as special files such as named sockets and fifos. It works only partially if rsync is not run as super user and the --super option is not specified.") );
addItem( mPreserveDevicesAndSpecialsItem, TQString::fromLatin1( "PreserveDevicesAndSpecials" ) );
- mPreserveTimesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveTimes" ), mPreserveTimes, true );
+ mPreserveTimesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PreserveTimes" ), mPreserveTimes, true );
mPreserveTimesItem->setLabel( i18n("Preserve times") );
mPreserveTimesItem->setWhatsThis( i18n("Preserve times (-t, --times). The modification times are transferred along with the files. For what happens if this option is switched off, please read rsync's manual page.") );
addItem( mPreserveTimesItem, TQString::fromLatin1( "PreserveTimes" ) );
- mOmitDirectoryTimesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OmitDirectoryTimes" ), mOmitDirectoryTimes, false );
+ mOmitDirectoryTimesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OmitDirectoryTimes" ), mOmitDirectoryTimes, false );
mOmitDirectoryTimesItem->setLabel( i18n("Omit directories when preserving times") );
mOmitDirectoryTimesItem->setWhatsThis( i18n("Omit directories when preserving times (-O, --omit-dir-times). This means that directories are omitted when modification times are being preserved. Thus, this feature only works in conjunction with --times.") );
addItem( mOmitDirectoryTimesItem, TQString::fromLatin1( "OmitDirectoryTimes" ) );
- mRemoveSourceFilesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RemoveSourceFiles" ), mRemoveSourceFiles, false );
+ mRemoveSourceFilesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RemoveSourceFiles" ), mRemoveSourceFiles, false );
mRemoveSourceFilesItem->setLabel( i18n("Remove synchronized source files") );
mRemoveSourceFilesItem->setWhatsThis( i18n("Remove all synchronized source files (--remove-source-files). This tells rsync to remove from the sending side the non-directory items that are a part of the transfer and have been successfully duplicated on the receiving side.") );
addItem( mRemoveSourceFilesItem, TQString::fromLatin1( "RemoveSourceFiles" ) );
- mDeleteExtraneousItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteExtraneous" ), mDeleteExtraneous, false );
+ mDeleteExtraneousItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteExtraneous" ), mDeleteExtraneous, false );
mDeleteExtraneousItem->setLabel( i18n("Delete extraneous files") );
mDeleteExtraneousItem->setWhatsThis( i18n("Delete extraneous files from destination (--delete). This tells rsync to delete all files from the receiving side that are not present on the sending side, but only for the directories that are being synchronized.") );
addItem( mDeleteExtraneousItem, TQString::fromLatin1( "DeleteExtraneous" ) );
- mDeleteBeforeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteBefore" ), mDeleteBefore, false );
+ mDeleteBeforeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteBefore" ), mDeleteBefore, false );
mDeleteBeforeItem->setLabel( i18n("Delete files before transfer") );
mDeleteBeforeItem->setWhatsThis( i18n("Delete files on the receiving side before the transfer starts (--delete-before). This is the default behavior if --delete or --delete-excluded is specified without one of the --delete-WHEN options.") );
addItem( mDeleteBeforeItem, TQString::fromLatin1( "DeleteBefore" ) );
- mDeleteAfterItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteAfter" ), mDeleteAfter, false );
+ mDeleteAfterItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteAfter" ), mDeleteAfter, false );
mDeleteAfterItem->setLabel( i18n("Delete files after transfer") );
mDeleteAfterItem->setWhatsThis( i18n("Delete files on the receiving side after the transfer has completed (--delete-after, --del).") );
addItem( mDeleteAfterItem, TQString::fromLatin1( "DeleteAfter" ) );
- mDeleteDuringItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteDuring" ), mDeleteDuring, false );
+ mDeleteDuringItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteDuring" ), mDeleteDuring, false );
mDeleteDuringItem->setLabel( i18n("Delete files during transfer") );
mDeleteDuringItem->setWhatsThis( i18n("Delete files on the receiving side during the transfer (--delete-during). This method is faster than --delete-before or --delete-after, but it is only supported with rsync 2.6.4 or later.") );
addItem( mDeleteDuringItem, TQString::fromLatin1( "DeleteDuring" ) );
- mDeleteExcludedItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteExcluded" ), mDeleteExcluded, false );
+ mDeleteExcludedItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteExcluded" ), mDeleteExcluded, false );
mDeleteExcludedItem->setLabel( i18n("Also delete excluded files from destination directory") );
mDeleteExcludedItem->setWhatsThis( i18n("Also delete excluded files from destination directory (--delete-excluded). In addition to deleting the files on the receiving side that are not on the sending side, this tells rsync to also delete any files on the receiving side that are excluded. Refer to rsync's manual page for further information.") );
addItem( mDeleteExcludedItem, TQString::fromLatin1( "DeleteExcluded" ) );
- mIgnoreErrorsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IgnoreErrors" ), mIgnoreErrors, false );
+ mIgnoreErrorsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IgnoreErrors" ), mIgnoreErrors, false );
mIgnoreErrorsItem->setLabel( i18n("Delete even if I/O errors occur") );
mIgnoreErrorsItem->setWhatsThis( i18n("Delete even if I/O errors occur (--ignore-errors). This option has to be specified in conjunction with --delete to take effect.") );
addItem( mIgnoreErrorsItem, TQString::fromLatin1( "IgnoreErrors" ) );
- mForceDirectoryDeletionItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ForceDirectoryDeletion" ), mForceDirectoryDeletion, false );
+ mForceDirectoryDeletionItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ForceDirectoryDeletion" ), mForceDirectoryDeletion, false );
mForceDirectoryDeletionItem->setLabel( i18n("Force deletion of non-void directories") );
mForceDirectoryDeletionItem->setWhatsThis( i18n("Force deletion of directories even if they are not empty (--force). This option tells rsync to delete a non-empty directory when it is to be replaced by a non-directory. This is only relevant if deletions are not active.") );
addItem( mForceDirectoryDeletionItem, TQString::fromLatin1( "ForceDirectoryDeletion" ) );
- mUseMaximumDeleteItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseMaximumDelete" ), mUseMaximumDelete, false );
+ mUseMaximumDeleteItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseMaximumDelete" ), mUseMaximumDelete, false );
mUseMaximumDeleteItem->setLabel( i18n("Only delete a maximum number of files") );
mUseMaximumDeleteItem->setWhatsThis( i18n("Only delete as many files as defined here (--max-delete=NUM). This tells rsync not to delete more than NUM files or directories (NUM must be non-zero). This is useful when mirroring very large trees to prevent disasters.") );
addItem( mUseMaximumDeleteItem, TQString::fromLatin1( "UseMaximumDelete" ) );
- mMaximumDeleteValueItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaximumDeleteValue" ), mMaximumDeleteValue, 0 );
+ mMaximumDeleteValueItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaximumDeleteValue" ), mMaximumDeleteValue, 0 );
mMaximumDeleteValueItem->setMinValue(0);
mMaximumDeleteValueItem->setLabel( i18n("Value for DeleteMaximum config entry") );
addItem( mMaximumDeleteValueItem, TQString::fromLatin1( "MaximumDeleteValue" ) );
- mUseMinimalTransferSizeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseMinimalTransferSize" ), mUseMinimalTransferSize, false );
+ mUseMinimalTransferSizeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseMinimalTransferSize" ), mUseMinimalTransferSize, false );
mUseMinimalTransferSizeItem->setLabel( i18n("Don't transfer any file smaller than SIZE") );
mUseMinimalTransferSizeItem->setWhatsThis( i18n("This option causes rsync to not transfer any file that is smaller than the specified size (--min-size=SIZE).") );
addItem( mUseMinimalTransferSizeItem, TQString::fromLatin1( "UseMinimalTransferSize" ) );
- mMinimalTransferSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MinimalTransferSize" ), mMinimalTransferSize, 0 );
+ mMinimalTransferSizeItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MinimalTransferSize" ), mMinimalTransferSize, 0 );
mMinimalTransferSizeItem->setMinValue(0);
mMinimalTransferSizeItem->setLabel( i18n("Value for MinimalTransferSize config entry") );
addItem( mMinimalTransferSizeItem, TQString::fromLatin1( "MinimalTransferSize" ) );
- mUseMaximalTransferSizeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseMaximalTransferSize" ), mUseMaximalTransferSize, false );
+ mUseMaximalTransferSizeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseMaximalTransferSize" ), mUseMaximalTransferSize, false );
mUseMaximalTransferSizeItem->setLabel( i18n("Don't transfer any file smaller than SIZE") );
mUseMaximalTransferSizeItem->setWhatsThis( i18n("This option causes rsync to not transfer any file that is larger than the specified size (--max-size=SIZE).") );
addItem( mUseMaximalTransferSizeItem, TQString::fromLatin1( "UseMaximalTransferSize" ) );
- mMaximalTransferSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaximalTransferSize" ), mMaximalTransferSize, 0 );
+ mMaximalTransferSizeItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaximalTransferSize" ), mMaximalTransferSize, 0 );
mMaximalTransferSizeItem->setMinValue(0);
mMaximalTransferSizeItem->setLabel( i18n("Value for MamximalTransferSize config entry") );
addItem( mMaximalTransferSizeItem, TQString::fromLatin1( "MaximalTransferSize" ) );
- mKeepPartialItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "KeepPartial" ), mKeepPartial, false );
+ mKeepPartialItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "KeepPartial" ), mKeepPartial, false );
mKeepPartialItem->setLabel( i18n("Keep partially transferred files") );
mKeepPartialItem->setWhatsThis( i18n("Keep partially transferred files (--partial). The default behavor is that any partially transferred file is deleted if the transfer is interrupted.") );
addItem( mKeepPartialItem, TQString::fromLatin1( "KeepPartial" ) );
- mUsePartialDirectoryItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UsePartialDirectory" ), mUsePartialDirectory, false );
+ mUsePartialDirectoryItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UsePartialDirectory" ), mUsePartialDirectory, false );
mUsePartialDirectoryItem->setLabel( i18n("The directory where to put a partially transferred file into.") );
mUsePartialDirectoryItem->setWhatsThis( i18n("Put a partially transferred file into this directory (--partial-dir=DIR). This is a better way than the --partial option to keep partial files, because the partially transferred file is kept in a different directory and the destination file is not overwritten.") );
addItem( mUsePartialDirectoryItem, TQString::fromLatin1( "UsePartialDirectory" ) );
- mPartialDirectoryItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "PartialDirectory" ), mPartialDirectory, TQString::fromLatin1( "$HOME" ) );
+ mPartialDirectoryItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "PartialDirectory" ), mPartialDirectory, TQString::fromLatin1( "$HOME" ) );
mPartialDirectoryItem->setLabel( i18n("The data for the UsePartialDirectory option") );
addItem( mPartialDirectoryItem, TQString::fromLatin1( "PartialDirectory" ) );
- mUseCVSExcludeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseCVSExclude" ), mUseCVSExclude, false );
+ mUseCVSExcludeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseCVSExclude" ), mUseCVSExclude, false );
mUseCVSExcludeItem->setLabel( i18n("Auto-ignore files in the same way CVS does") );
mUseCVSExcludeItem->setWhatsThis( i18n("Auto-ignore files in the same way CVS does (-C, --cvs-exclude). This is a useful shorthand for excluding a broad range of files that you often do not want to transfer between systems. This option uses the same algorithm that CVS uses to determine if a file should be ignored.") );
addItem( mUseCVSExcludeItem, TQString::fromLatin1( "UseCVSExclude" ) );
- mUseExcludePatternItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseExcludePattern" ), mUseExcludePattern, false );
+ mUseExcludePatternItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseExcludePattern" ), mUseExcludePattern, false );
mUseExcludePatternItem->setLabel( i18n("Exclude files that match a certain pattern") );
mUseExcludePatternItem->setWhatsThis( i18n("Exclude files that match a certain pattern (--exclude=PATTERN). This is a special filter rule. For further information on filter rules see rsync's manual page.") );
addItem( mUseExcludePatternItem, TQString::fromLatin1( "UseExcludePattern" ) );
- mExcludePatternItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "ExcludePattern" ), mExcludePattern );
+ mExcludePatternItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "ExcludePattern" ), mExcludePattern );
mExcludePatternItem->setLabel( i18n("Pattern that is used for file exclusion") );
addItem( mExcludePatternItem, TQString::fromLatin1( "ExcludePattern" ) );
- mUseExcludeFromItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseExcludeFrom" ), mUseExcludeFrom, false );
+ mUseExcludeFromItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseExcludeFrom" ), mUseExcludeFrom, false );
mUseExcludeFromItem->setLabel( i18n("Read exclude patterns from a file") );
mUseExcludeFromItem->setWhatsThis( i18n("Read exclude patterns from a file (--exclude-from=FILE). This option is similar to the --exclude=PATTERN option except that the exclude patterns are read from a file. This is a special filter rule. For further information on filter rules see rsync's manual page.") );
addItem( mUseExcludeFromItem, TQString::fromLatin1( "UseExcludeFrom" ) );
- mExcludeFromItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "ExcludeFrom" ), mExcludeFrom, TQString::fromLatin1( "$HOME/exclude.txt" ) );
+ mExcludeFromItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "ExcludeFrom" ), mExcludeFrom, TQString::fromLatin1( "$HOME/exclude.txt" ) );
mExcludeFromItem->setLabel( i18n("The file from which the exclude patterns are read") );
addItem( mExcludeFromItem, TQString::fromLatin1( "ExcludeFrom" ) );
- mUseIncludePatternItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseIncludePattern" ), mUseIncludePattern, false );
+ mUseIncludePatternItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseIncludePattern" ), mUseIncludePattern, false );
mUseIncludePatternItem->setLabel( i18n("Do not exclude files matching a certain pattern") );
mUseIncludePatternItem->setWhatsThis( i18n("Do not exclude files matching a certain pattern (--include=PATTERN). This is a special filter rule. For further information on filter rules see rsync's manual page.") );
addItem( mUseIncludePatternItem, TQString::fromLatin1( "UseIncludePattern" ) );
- mIncludePatternItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "IncludePattern" ), mIncludePattern );
+ mIncludePatternItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "IncludePattern" ), mIncludePattern );
mIncludePatternItem->setLabel( i18n("Pattern that is used for file inclusion") );
addItem( mIncludePatternItem, TQString::fromLatin1( "IncludePattern" ) );
- mUseIncludeFromItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseIncludeFrom" ), mUseIncludeFrom, false );
+ mUseIncludeFromItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseIncludeFrom" ), mUseIncludeFrom, false );
mUseIncludeFromItem->setLabel( i18n("Read include patterns from a file") );
mUseIncludeFromItem->setWhatsThis( i18n("Read include patterns from a file (--include-from=FILE). This option is similar to the --include=PATTERN option except that the include patterns are read from a file. This is a special filter rule. For further information on filter rules see rsync's manual page.") );
addItem( mUseIncludeFromItem, TQString::fromLatin1( "UseIncludeFrom" ) );
- mIncludeFromItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "IncludeFrom" ), mIncludeFrom, TQString::fromLatin1( "$HOME/include.txt" ) );
+ mIncludeFromItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "IncludeFrom" ), mIncludeFrom, TQString::fromLatin1( "$HOME/include.txt" ) );
mIncludeFromItem->setLabel( i18n("The file from which the include patterns are read") );
addItem( mIncludeFromItem, TQString::fromLatin1( "IncludeFrom" ) );
- mCustomFilteringRulesItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CustomFilteringRules" ), mCustomFilteringRules );
+ mCustomFilteringRulesItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CustomFilteringRules" ), mCustomFilteringRules );
mCustomFilteringRulesItem->setLabel( i18n("Add custom file-filtering rules") );
mCustomFilteringRulesItem->setWhatsThis( i18n("Add custom file-filtering rules (-f, --filter=RULE). This option allows you to add rules to selectively exclude certain files from the list of files to be transferred.") );
addItem( mCustomFilteringRulesItem, TQString::fromLatin1( "CustomFilteringRules" ) );
- mUseFFilterRuleItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseFFilterRule" ), mUseFFilterRule, false );
+ mUseFFilterRuleItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseFFilterRule" ), mUseFFilterRule, false );
mUseFFilterRuleItem->setLabel( i18n("Use -F filter rule") );
mUseFFilterRuleItem->setWhatsThis( i18n("This filter rule tells rsync to look for per-directory .rsync-filter files that have been sprinkled through the hierarchy and use their rules to filter the files in the transfer. It has no effect, if you also choose to use the --filter='exclude .rsync-filter' rule.") );
addItem( mUseFFilterRuleItem, TQString::fromLatin1( "UseFFilterRule" ) );
- mUseFFFilterRuleItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseFFFilterRule" ), mUseFFFilterRule, false );
+ mUseFFFilterRuleItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseFFFilterRule" ), mUseFFFilterRule, false );
mUseFFFilterRuleItem->setLabel( i18n("Use -FF filter rule") );
mUseFFFilterRuleItem->setWhatsThis( i18n("This rule filters out the .rsync-filter files from the transfer. These files normally contain filter rules that can be activated by choosing the --filter='dir-merge /.rsync-filter' rule and deselecting this one.") );
addItem( mUseFFFilterRuleItem, TQString::fromLatin1( "UseFFFilterRule" ) );
- mEfficientSparseFileHandlingItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EfficientSparseFileHandling" ), mEfficientSparseFileHandling, false );
+ mEfficientSparseFileHandlingItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EfficientSparseFileHandling" ), mEfficientSparseFileHandling, false );
mEfficientSparseFileHandlingItem->setLabel( i18n("Handle sparse files efficiently") );
mEfficientSparseFileHandlingItem->setWhatsThis( i18n("Handle sparse files efficiently (-S, --sparse) so that they take up less space on the destination. This option conflicts with --inplace. For further information read rsync's manual page.") );
addItem( mEfficientSparseFileHandlingItem, TQString::fromLatin1( "EfficientSparseFileHandling" ) );
- mCopyFilesWholeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CopyFilesWhole" ), mCopyFilesWhole, false );
+ mCopyFilesWholeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CopyFilesWhole" ), mCopyFilesWhole, false );
mCopyFilesWholeItem->setLabel( i18n("Copy files whole (no rsync algorithm)") );
mCopyFilesWholeItem->setWhatsThis( i18n("Copy files whole (-W, --whole-file). With this option the incremental rsync algorithm is not used and the whole file is sent as-is instead.") );
addItem( mCopyFilesWholeItem, TQString::fromLatin1( "CopyFilesWhole" ) );
- mOneFileSystemItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OneFileSystem" ), mOneFileSystem, false );
+ mOneFileSystemItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OneFileSystem" ), mOneFileSystem, false );
mOneFileSystemItem->setLabel( i18n("Do not cross file system boundaries") );
mOneFileSystemItem->setWhatsThis( i18n("Do not cross file system boundaries (-x, --one-file-system). This tells rsync to avoid crossing a filesystem boundary when recursing. For further information on this option, read the manual page.") );
addItem( mOneFileSystemItem, TQString::fromLatin1( "OneFileSystem" ) );
- mUpdateExistingItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UpdateExisting" ), mUpdateExisting, false );
+ mUpdateExistingItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UpdateExisting" ), mUpdateExisting, false );
mUpdateExistingItem->setLabel( i18n("Skip creating new files on the receiving side") );
mUpdateExistingItem->setWhatsThis( i18n("Skip creating new files on the receiving side (--existing). This tells rsync to skip creating files (including directories) that do not exist yet on the destination. If this option is combined with the --ignore-existing option, no files will be updated (which can be useful if all you want to do is to delete extraneous files).") );
addItem( mUpdateExistingItem, TQString::fromLatin1( "UpdateExisting" ) );
- mIgnoreExistingItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IgnoreExisting" ), mIgnoreExisting, false );
+ mIgnoreExistingItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IgnoreExisting" ), mIgnoreExisting, false );
mIgnoreExistingItem->setLabel( i18n("Skip updating files that exist on the receiving side") );
mIgnoreExistingItem->setWhatsThis( i18n("Skip updating files that already exist on the receiving side (--ignore-existing). Existing directories are not ignored.") );
addItem( mIgnoreExistingItem, TQString::fromLatin1( "IgnoreExisting" ) );
- mDelayUpdatesItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DelayUpdates" ), mDelayUpdates, false );
+ mDelayUpdatesItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DelayUpdates" ), mDelayUpdates, false );
mDelayUpdatesItem->setLabel( i18n("Delay updates until the end of the transfer") );
mDelayUpdatesItem->setWhatsThis( i18n("Delay updates until the end of the transfer (--delay-updates). This option puts the temporary file from each updated file into a holding directory until the end of the transfer, at which time all the files are renamed and copied into place in rapid succession.") );
addItem( mDelayUpdatesItem, TQString::fromLatin1( "DelayUpdates" ) );
- mMakeBackupsItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "MakeBackups" ), mMakeBackups, false );
+ mMakeBackupsItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "MakeBackups" ), mMakeBackups, false );
mMakeBackupsItem->setLabel( i18n("Make backups") );
mMakeBackupsItem->setWhatsThis( i18n("Make backups (-b, --backup). With this option, preexisting destination files are renamed as each file is transferred or deleted. You can control where the backup file goes and what (if any) suffix gets appended using the --backup-dir=DIR and --suffix=SUFFIX options.") );
addItem( mMakeBackupsItem, TQString::fromLatin1( "MakeBackups" ) );
- mUseBackupSuffixItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseBackupSuffix" ), mUseBackupSuffix, false );
+ mUseBackupSuffixItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseBackupSuffix" ), mUseBackupSuffix, false );
mUseBackupSuffixItem->setLabel( i18n("Use a suffix for backups") );
mUseBackupSuffixItem->setWhatsThis( i18n("Use this suffix for backups (--suffix=SUFFIX).") );
addItem( mUseBackupSuffixItem, TQString::fromLatin1( "UseBackupSuffix" ) );
- mBackupSuffixItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BackupSuffix" ), mBackupSuffix, TQString::fromLatin1( "~" ) );
+ mBackupSuffixItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "BackupSuffix" ), mBackupSuffix, TQString::fromLatin1( "~" ) );
mBackupSuffixItem->setLabel( i18n("Backup suffix") );
addItem( mBackupSuffixItem, TQString::fromLatin1( "BackupSuffix" ) );
- mUseBackupDirectoryItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseBackupDirectory" ), mUseBackupDirectory, false );
+ mUseBackupDirectoryItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseBackupDirectory" ), mUseBackupDirectory, false );
mUseBackupDirectoryItem->setLabel( i18n("Put backups into a certain directory") );
mUseBackupDirectoryItem->setWhatsThis( i18n("Store backups in this directory (--backup-dir=DIR).") );
addItem( mUseBackupDirectoryItem, TQString::fromLatin1( "UseBackupDirectory" ) );
- mBackupDirectoryItem = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "BackupDirectory" ), mBackupDirectory, TQString::fromLatin1( "$HOME" ) );
+ mBackupDirectoryItem = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "BackupDirectory" ), mBackupDirectory, TQString::fromLatin1( "$HOME" ) );
mBackupDirectoryItem->setLabel( i18n("Backup directory") );
addItem( mBackupDirectoryItem, TQString::fromLatin1( "BackupDirectory" ) );
- mUseBlockSizeItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseBlockSize" ), mUseBlockSize, false );
+ mUseBlockSizeItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseBlockSize" ), mUseBlockSize, false );
mUseBlockSizeItem->setLabel( i18n("Force a fixed checksum block-size") );
mUseBlockSizeItem->setWhatsThis( i18n("Force a fixed checksum block-size (-B, --block-size=SIZE). This forces the block size used in the rsync algorithm to a fixed value.") );
addItem( mUseBlockSizeItem, TQString::fromLatin1( "UseBlockSize" ) );
- mBlockSizeItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockSize" ), mBlockSize, 0 );
+ mBlockSizeItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockSize" ), mBlockSize, 0 );
mBlockSizeItem->setMinValue(0);
mBlockSizeItem->setLabel( i18n("The block size") );
addItem( mBlockSizeItem, TQString::fromLatin1( "BlockSize" ) );
- mUseChecksumSeedItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseChecksumSeed" ), mUseChecksumSeed, false );
+ mUseChecksumSeedItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseChecksumSeed" ), mUseChecksumSeed, false );
mUseChecksumSeedItem->setLabel( i18n("Set block/file checksum seed") );
mUseChecksumSeedItem->setWhatsThis( i18n("Set block/file checksum seed (--checksum-seed=NUM). Set the MD4 checksum seed to this integer. This 4 byte checksum seed is included in each block and file MD4 checksum calculation. By default the checksum seed is generated by the server and defaults to the current time.") );
addItem( mUseChecksumSeedItem, TQString::fromLatin1( "UseChecksumSeed" ) );
- mChecksumSeedItem = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ChecksumSeed" ), mChecksumSeed, 0 );
+ mChecksumSeedItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ChecksumSeed" ), mChecksumSeed, 0 );
mChecksumSeedItem->setMinValue(0);
mChecksumSeedItem->setLabel( i18n("The checksum seed") );
addItem( mChecksumSeedItem, TQString::fromLatin1( "ChecksumSeed" ) );
- mUseChecksumItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseChecksum" ), mUseChecksum, false );
+ mUseChecksumItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseChecksum" ), mUseChecksum, false );
mUseChecksumItem->setLabel( i18n("Skip files based on a checksum") );
mUseChecksumItem->setWhatsThis( i18n("Skip files based on a checksum and not based on modification time and size (-c, --checksum). For further information on how this feature works read rsync's manual page.") );
addItem( mUseChecksumItem, TQString::fromLatin1( "UseChecksum" ) );
setCurrentGroup( TQString::fromLatin1( "SuperUser" ) );
- TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesSuperUserProgram;
+ TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesSuperUserProgram;
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "Sudo" );
valuesSuperUserProgram.append( choice );
}
{
- KConfigSkeleton::ItemEnum::Choice choice;
+ TDEConfigSkeleton::ItemEnum::Choice choice;
choice.name = TQString::fromLatin1( "Super" );
valuesSuperUserProgram.append( choice );
}
- mSuperUserProgramItem = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SuperUserProgram" ), mSuperUserProgram, valuesSuperUserProgram, EnumSuperUserProgram::Sudo );
+ mSuperUserProgramItem = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "SuperUserProgram" ), mSuperUserProgram, valuesSuperUserProgram, EnumSuperUserProgram::Sudo );
mSuperUserProgramItem->setLabel( i18n("The program that should be used to gain super user privileges") );
mSuperUserProgramItem->setWhatsThis( i18n("Choose the program that will grant you limited super user privileges for mounting and unmounting remote shares. You can either select sudo, the standard tool for this purpose on most distributions, or super.") );
addItem( mSuperUserProgramItem, TQString::fromLatin1( "SuperUserProgram" ) );
- mUseForceUnmountItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseForceUnmount" ), mUseForceUnmount, false );
+ mUseForceUnmountItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseForceUnmount" ), mUseForceUnmount, false );
mUseForceUnmountItem->setLabel( i18n("Use super user privileges to unmount inaccessible shares") );
mUseForceUnmountItem->setWhatsThis( i18n("Unmount a share under Linux by force. This even works if the file system is \"busy\", because it is immediately detached from the file system hierarchy and all references to it are cleaned up later when it is not busy anymore. Linux kernel 2.4.11 or later is needed to take advantage of this feature. Use with case! Note, that you will need the root password to write the necessary changes to the configuration file.") );
addItem( mUseForceUnmountItem, TQString::fromLatin1( "UseForceUnmount" ) );
- mAlwaysUseSuperUserItem = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AlwaysUseSuperUser" ), mAlwaysUseSuperUser, false );
+ mAlwaysUseSuperUserItem = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AlwaysUseSuperUser" ), mAlwaysUseSuperUser, false );
mAlwaysUseSuperUserItem->setLabel( i18n("Use super user privileges to mount and unmount shares") );
mAlwaysUseSuperUserItem->setWhatsThis( i18n("Use super user privileges for mounting and unmounting remote shares. This feature is only needed, if you are not allowed to use smbmount, smbumount, mount.cifs and umount.cifs as normal user. Note, that you will need the root password to write the necessary changes to the configuration file.") );
addItem( mAlwaysUseSuperUserItem, TQString::fromLatin1( "AlwaysUseSuperUser" ) );
diff --git a/smb4k/iconview/smb4ksharesiconview.cpp b/smb4k/iconview/smb4ksharesiconview.cpp
index 9ca0485..bc486b1 100644
--- a/smb4k/iconview/smb4ksharesiconview.cpp
+++ b/smb4k/iconview/smb4ksharesiconview.cpp
@@ -160,7 +160,7 @@ void Smb4KSharesIconView::contentsDropEvent( TQDropEvent *e )
}
// We only allow copying:
- KIO::CopyJob *job = KIO::copy( src, dest, true );
+ TDEIO::CopyJob *job = TDEIO::copy( src, dest, true );
job->setAutoErrorHandlingEnabled( true, NULL );
#if TDE_VERSION_MAJOR >= 3 && TDE_VERSION_MINOR >= 5
job->setAutoWarningHandlingEnabled( true );
diff --git a/smb4k/listview/smb4kshareslistview.cpp b/smb4k/listview/smb4kshareslistview.cpp
index 0943f7a..1f52edc 100644
--- a/smb4k/listview/smb4kshareslistview.cpp
+++ b/smb4k/listview/smb4kshareslistview.cpp
@@ -165,7 +165,7 @@ void Smb4KSharesListView::contentsDropEvent( TQDropEvent *e )
}
// We only allow copying:
- KIO::CopyJob *job = KIO::copy( src, dest, true );
+ TDEIO::CopyJob *job = TDEIO::copy( src, dest, true );
job->setAutoErrorHandlingEnabled( true, NULL );
#if TDE_VERSION_MAJOR >= 3 && TDE_VERSION_MINOR >= 5
job->setAutoWarningHandlingEnabled( true );
diff --git a/smb4k/main.cpp b/smb4k/main.cpp
index 828a274..1936f63 100644
--- a/smb4k/main.cpp
+++ b/smb4k/main.cpp
@@ -116,7 +116,7 @@ int main( int argc, char *argv[] )
// Check the current config file and remove it if it belongs to
// a version < 0.9.0.
- KConfig config( "smb4krc", false, false, "config" );
+ TDEConfig config( "smb4krc", false, false, "config" );
if ( !config.groupList().isEmpty() &&
(config.groupList().contains( "Browse Options" ) != 0 ||
diff --git a/smb4k/smb4k.cpp b/smb4k/smb4k.cpp
index 5ac4e23..de2ade8 100644
--- a/smb4k/smb4k.cpp
+++ b/smb4k/smb4k.cpp
@@ -561,7 +561,7 @@ void Smb4KApp::slotConfigDialog()
{
// If the config dialog is already created and cached,
// we do not create a new one but show the old instead:
- if ( KConfigDialog::showDialog( "ConfigDialog" ) )
+ if ( TDEConfigDialog::showDialog( "ConfigDialog" ) )
{
return;
}
@@ -571,7 +571,7 @@ void Smb4KApp::slotConfigDialog()
if ( config_factory )
{
- KConfigDialog *dlg = static_cast<KConfigDialog *>( TQT_TQWIDGET(config_factory->create( TQT_TQOBJECT(this), "ConfigDialog", "KConfigDialog" )) );
+ TDEConfigDialog *dlg = static_cast<TDEConfigDialog *>( TQT_TQWIDGET(config_factory->create( TQT_TQOBJECT(this), "ConfigDialog", "TDEConfigDialog" )) );
if ( dlg )
{
diff --git a/smb4k/smb4ksystemtray.cpp b/smb4k/smb4ksystemtray.cpp
index 9ac6e57..9dd160b 100644
--- a/smb4k/smb4ksystemtray.cpp
+++ b/smb4k/smb4ksystemtray.cpp
@@ -174,9 +174,9 @@ void Smb4KSystemTray::slotConfigDialog()
{
// If the config dialog is already created and cached,
// we do not create a new one but show the old instead:
- KConfigDialog *dlg = NULL;
+ TDEConfigDialog *dlg = NULL;
- if ( (dlg = KConfigDialog::exists( "ConfigDialog" )) && KConfigDialog::showDialog( "ConfigDialog" ) )
+ if ( (dlg = TDEConfigDialog::exists( "ConfigDialog" )) && TDEConfigDialog::showDialog( "ConfigDialog" ) )
{
// To make sure we do not connect the config dialog several times
// to slotSettingsChanged(), we break the connection first and re-
@@ -194,11 +194,11 @@ void Smb4KSystemTray::slotConfigDialog()
{
if ( parentWidget() && parentWidget()->isShown() )
{
- dlg = static_cast<KConfigDialog *>( TQT_TQWIDGET(config_factory->create( TQT_TQOBJECT(parentWidget()), "ConfigDialog", "KConfigDialog" )) );
+ dlg = static_cast<TDEConfigDialog *>( TQT_TQWIDGET(config_factory->create( TQT_TQOBJECT(parentWidget()), "ConfigDialog", "TDEConfigDialog" )) );
}
else
{
- dlg = static_cast<KConfigDialog *>( TQT_TQWIDGET(config_factory->create( TQT_TQOBJECT(this), "ConfigDialog", "KConfigDialog" )) );
+ dlg = static_cast<TDEConfigDialog *>( TQT_TQWIDGET(config_factory->create( TQT_TQOBJECT(this), "ConfigDialog", "TDEConfigDialog" )) );
}
// ... and show it.