summaryrefslogtreecommitdiffstats
path: root/smb4k/configdlg
diff options
context:
space:
mode:
Diffstat (limited to 'smb4k/configdlg')
-rw-r--r--smb4k/configdlg/smb4kauthoptions.cpp4
-rw-r--r--smb4k/configdlg/smb4kauthoptions.h4
-rw-r--r--smb4k/configdlg/smb4kconfigdialog.cpp24
-rw-r--r--smb4k/configdlg/smb4kconfigdialog.h6
-rw-r--r--smb4k/configdlg/smb4knetworkoptions.cpp2
-rw-r--r--smb4k/configdlg/smb4knetworkoptions.h4
-rw-r--r--smb4k/configdlg/smb4krsyncoptions.cpp2
-rw-r--r--smb4k/configdlg/smb4krsyncoptions.h4
-rw-r--r--smb4k/configdlg/smb4ksambaoptions.cpp16
-rw-r--r--smb4k/configdlg/smb4ksambaoptions.h4
-rw-r--r--smb4k/configdlg/smb4kshareoptions.cpp2
-rw-r--r--smb4k/configdlg/smb4kshareoptions.h4
-rw-r--r--smb4k/configdlg/smb4ksuperuseroptions.cpp4
-rw-r--r--smb4k/configdlg/smb4ksuperuseroptions.h4
-rw-r--r--smb4k/configdlg/smb4kuserinterfaceoptions.cpp4
-rw-r--r--smb4k/configdlg/smb4kuserinterfaceoptions.h2
16 files changed, 45 insertions, 45 deletions
diff --git a/smb4k/configdlg/smb4kauthoptions.cpp b/smb4k/configdlg/smb4kauthoptions.cpp
index 6dcbd9d..ac9c918 100644
--- a/smb4k/configdlg/smb4kauthoptions.cpp
+++ b/smb4k/configdlg/smb4kauthoptions.cpp
@@ -39,8 +39,8 @@
// application specific includes
#include "smb4kauthoptions.h"
-Smb4KAuthOptions::Smb4KAuthOptions( TQWidget *tqparent, const char *name )
-: TQWidget( tqparent, name )
+Smb4KAuthOptions::Smb4KAuthOptions( TQWidget *parent, const char *name )
+: TQWidget( parent, name )
{
//
// Default Authentication
diff --git a/smb4k/configdlg/smb4kauthoptions.h b/smb4k/configdlg/smb4kauthoptions.h
index 119f077..59f5849 100644
--- a/smb4k/configdlg/smb4kauthoptions.h
+++ b/smb4k/configdlg/smb4kauthoptions.h
@@ -52,11 +52,11 @@ class Smb4KAuthOptions : public TQWidget
/**
* The constructor.
*
- * @param tqparent The tqparent widget
+ * @param parent The parent widget
*
* @param name The name of this widget
*/
- Smb4KAuthOptions( TQWidget *tqparent = 0, const char *name = 0 );
+ Smb4KAuthOptions( TQWidget *parent = 0, const char *name = 0 );
/**
* The destructor.
diff --git a/smb4k/configdlg/smb4kconfigdialog.cpp b/smb4k/configdlg/smb4kconfigdialog.cpp
index 2c14ded..07b689c 100644
--- a/smb4k/configdlg/smb4kconfigdialog.cpp
+++ b/smb4k/configdlg/smb4kconfigdialog.cpp
@@ -74,8 +74,8 @@ bool always_use_su = false;
bool close_dialog = false;
-Smb4KConfigDialog::Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *tqparent, const char *name )
-: KConfigDialog( tqparent, name, settings )
+Smb4KConfigDialog::Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *parent, const char *name )
+: KConfigDialog( 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
@@ -748,26 +748,26 @@ bool Smb4KConfigDialog::checkSettings()
issues.append( "* "+i18n( "[Authentication] The default user name has not been entered.\n" ) );
}
- // The file tqmask must not be empty.
- KLineEdit *file_tqmask = static_cast<KLineEdit *>( TQT_TQWIDGET(child( "kcfg_FileMask", "KLineEdit", true )) );
+ // The file mask must not be empty.
+ KLineEdit *file_mask = static_cast<KLineEdit *>( TQT_TQWIDGET(child( "kcfg_FileMask", "KLineEdit", true )) );
- if ( file_tqmask && file_tqmask->text().stripWhiteSpace().isEmpty() )
+ if ( file_mask && file_mask->text().stripWhiteSpace().isEmpty() )
{
ok = false;
index++;
- issues.append( "* "+i18n( "[Samba] The file tqmask is empty.\n" ) );
+ issues.append( "* "+i18n( "[Samba] The file mask is empty.\n" ) );
}
- // The directory tqmask must not be empty.
- KLineEdit *directory_tqmask = static_cast<KLineEdit *>( TQT_TQWIDGET(child( "kcfg_DirectoryMask", "KLineEdit", true )) );
+ // The directory mask must not be empty.
+ KLineEdit *directory_mask = static_cast<KLineEdit *>( TQT_TQWIDGET(child( "kcfg_DirectoryMask", "KLineEdit", true )) );
- if ( directory_tqmask && directory_tqmask->text().stripWhiteSpace().isEmpty() )
+ if ( directory_mask && directory_mask->text().stripWhiteSpace().isEmpty() )
{
ok = false;
index++;
- issues.append( "* "+i18n( "[Samba] The directory tqmask is empty.\n" ) );
+ issues.append( "* "+i18n( "[Samba] The directory mask is empty.\n" ) );
}
// The UID must not be empty.
@@ -1198,10 +1198,10 @@ KInstance *Smb4KConfigDialogFactory::instance()
}
-TQObject *Smb4KConfigDialogFactory::createObject( TQObject *tqparent, const char *name, const char *,
+TQObject *Smb4KConfigDialogFactory::createObject( TQObject *parent, const char *name, const char *,
const TQStringList & )
{
- return TQT_TQOBJECT( new Smb4KConfigDialog( Smb4KSettings::self(), TQT_TQWIDGET( tqparent ), name ) );
+ return TQT_TQOBJECT( new Smb4KConfigDialog( Smb4KSettings::self(), TQT_TQWIDGET( parent ), name ) );
}
diff --git a/smb4k/configdlg/smb4kconfigdialog.h b/smb4k/configdlg/smb4kconfigdialog.h
index 4681df2..4a87dc8 100644
--- a/smb4k/configdlg/smb4kconfigdialog.h
+++ b/smb4k/configdlg/smb4kconfigdialog.h
@@ -57,11 +57,11 @@ class Smb4KConfigDialog : public KConfigDialog
* @param settings The Smb4KSettings object that needs to be passed
* so that the settings can be managed.
*
- * @param tqparent The tqparent widget
+ * @param parent The parent widget
*
* @param name The name of this dialog
*/
- Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *tqparent = 0, const char *name = 0 );
+ Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *parent = 0, const char *name = 0 );
/**
* The destructor
@@ -191,7 +191,7 @@ class Smb4KConfigDialogFactory : KLibFactory
static KInstance *instance();
protected:
- TQObject *createObject( TQObject *tqparent = 0, const char *name = 0,
+ TQObject *createObject( TQObject *parent = 0, const char *name = 0,
const char *classname = TQOBJECT_OBJECT_NAME_STRING,
const TQStringList &args = TQStringList() );
diff --git a/smb4k/configdlg/smb4knetworkoptions.cpp b/smb4k/configdlg/smb4knetworkoptions.cpp
index 23b7f22..eab4640 100644
--- a/smb4k/configdlg/smb4knetworkoptions.cpp
+++ b/smb4k/configdlg/smb4knetworkoptions.cpp
@@ -39,7 +39,7 @@
#include "smb4knetworkoptions.h"
#include "../core/smb4ksettings.h"
-Smb4KNetworkOptions::Smb4KNetworkOptions( TQWidget *tqparent, const char *name ) : TQWidget( tqparent, name )
+Smb4KNetworkOptions::Smb4KNetworkOptions( TQWidget *parent, const char *name ) : TQWidget( parent, name )
{
TQGridLayout *grid = new TQGridLayout( this );
grid->setSpacing( 10 );
diff --git a/smb4k/configdlg/smb4knetworkoptions.h b/smb4k/configdlg/smb4knetworkoptions.h
index a23e64f..7d1baf9 100644
--- a/smb4k/configdlg/smb4knetworkoptions.h
+++ b/smb4k/configdlg/smb4knetworkoptions.h
@@ -50,11 +50,11 @@ class Smb4KNetworkOptions : public TQWidget
/**
* The constructor
*
- * @param tqparent The tqparent widget
+ * @param parent The parent widget
*
* @param name The widget's name
*/
- Smb4KNetworkOptions( TQWidget *tqparent = 0, const char *name = 0 );
+ Smb4KNetworkOptions( TQWidget *parent = 0, const char *name = 0 );
/**
* The destructor
diff --git a/smb4k/configdlg/smb4krsyncoptions.cpp b/smb4k/configdlg/smb4krsyncoptions.cpp
index e7ca576..cd2b75c 100644
--- a/smb4k/configdlg/smb4krsyncoptions.cpp
+++ b/smb4k/configdlg/smb4krsyncoptions.cpp
@@ -41,7 +41,7 @@
// application specific includes
#include "smb4krsyncoptions.h"
-Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *tqparent, const char *name ) : TQTabWidget( tqparent, name )
+Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQTabWidget( parent, name )
{
setMargin( 10 );
diff --git a/smb4k/configdlg/smb4krsyncoptions.h b/smb4k/configdlg/smb4krsyncoptions.h
index 9e6aba8..e3f7cd9 100644
--- a/smb4k/configdlg/smb4krsyncoptions.h
+++ b/smb4k/configdlg/smb4krsyncoptions.h
@@ -50,11 +50,11 @@ class Smb4KRsyncOptions : public TQTabWidget
/**
* The constructor.
*
- * @param tqparent The tqparent widget
+ * @param parent The parent widget
*
* @param name The name of this widget
*/
- Smb4KRsyncOptions( TQWidget *tqparent = 0, const char *name = 0 );
+ Smb4KRsyncOptions( TQWidget *parent = 0, const char *name = 0 );
/**
* The destructor
diff --git a/smb4k/configdlg/smb4ksambaoptions.cpp b/smb4k/configdlg/smb4ksambaoptions.cpp
index 6628a60..e80c561 100644
--- a/smb4k/configdlg/smb4ksambaoptions.cpp
+++ b/smb4k/configdlg/smb4ksambaoptions.cpp
@@ -54,8 +54,8 @@
using namespace Smb4KGlobal;
-Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *tqparent, const char *name )
-: TQTabWidget( tqparent, name )
+Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name )
+: TQTabWidget( parent, name )
{
setMargin( 10 );
@@ -202,13 +202,13 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *tqparent, const char *name )
i18n( "Permissions" ), mount_tab );
perms_box->setInsideSpacing( 5 );
- (void) new TQLabel( i18n( "File tqmask:" ), perms_box );
- KLineEdit *ftqmask = new KLineEdit( perms_box, "kcfg_FileMask" );
- ftqmask->tqsetAlignment( TQt::AlignRight );
+ (void) new TQLabel( i18n( "File mask:" ), perms_box );
+ KLineEdit *fmask = new KLineEdit( perms_box, "kcfg_FileMask" );
+ fmask->tqsetAlignment( TQt::AlignRight );
- (void) new TQLabel( i18n( "Directory tqmask:" ), perms_box );
- KLineEdit *dtqmask = new KLineEdit( perms_box, "kcfg_DirectoryMask" );
- dtqmask->tqsetAlignment( TQt::AlignRight );
+ (void) new TQLabel( i18n( "Directory mask:" ), perms_box );
+ KLineEdit *dmask = new KLineEdit( perms_box, "kcfg_DirectoryMask" );
+ dmask->tqsetAlignment( TQt::AlignRight );
(void) new TQLabel( i18n( "Write access:" ), perms_box );
KComboBox *read_mode = new KComboBox( perms_box, "kcfg_WriteAccess" );
diff --git a/smb4k/configdlg/smb4ksambaoptions.h b/smb4k/configdlg/smb4ksambaoptions.h
index 911f82c..e761d73 100644
--- a/smb4k/configdlg/smb4ksambaoptions.h
+++ b/smb4k/configdlg/smb4ksambaoptions.h
@@ -53,11 +53,11 @@ class Smb4KSambaOptions : public TQTabWidget
/**
* The constructor.
*
- * @param tqparent The tqparent widget
+ * @param parent The parent widget
*
* @param name This widget's name
*/
- Smb4KSambaOptions( TQWidget *tqparent = 0, const char *name = 0 );
+ Smb4KSambaOptions( TQWidget *parent = 0, const char *name = 0 );
/**
* The destructor.
diff --git a/smb4k/configdlg/smb4kshareoptions.cpp b/smb4k/configdlg/smb4kshareoptions.cpp
index 040ff88..d1667d2 100644
--- a/smb4k/configdlg/smb4kshareoptions.cpp
+++ b/smb4k/configdlg/smb4kshareoptions.cpp
@@ -45,7 +45,7 @@
#include "smb4kshareoptions.h"
-Smb4KShareOptions::Smb4KShareOptions( TQWidget *tqparent, const char *name ) : TQWidget( tqparent, name )
+Smb4KShareOptions::Smb4KShareOptions( TQWidget *parent, const char *name ) : TQWidget( parent, name )
{
TQGridLayout *grid = new TQGridLayout( this );
grid->setSpacing( 10 );
diff --git a/smb4k/configdlg/smb4kshareoptions.h b/smb4k/configdlg/smb4kshareoptions.h
index 8c115f2..8cca547 100644
--- a/smb4k/configdlg/smb4kshareoptions.h
+++ b/smb4k/configdlg/smb4kshareoptions.h
@@ -50,11 +50,11 @@ class Smb4KShareOptions : public TQWidget
/**
* The constructor.
*
- * @param tqparent The tqparent of this widget
+ * @param parent The parent of this widget
*
* @param name The name of this widget
*/
- Smb4KShareOptions( TQWidget *tqparent = 0, const char *name = 0 );
+ Smb4KShareOptions( TQWidget *parent = 0, const char *name = 0 );
/**
* The destructor.
*/
diff --git a/smb4k/configdlg/smb4ksuperuseroptions.cpp b/smb4k/configdlg/smb4ksuperuseroptions.cpp
index a9dce42..a3e422e 100644
--- a/smb4k/configdlg/smb4ksuperuseroptions.cpp
+++ b/smb4k/configdlg/smb4ksuperuseroptions.cpp
@@ -42,8 +42,8 @@
#include "../core/smb4ksettings.h"
-Smb4KSuperUserOptions::Smb4KSuperUserOptions( TQWidget *tqparent, const char *name )
-: TQWidget( tqparent, name )
+Smb4KSuperUserOptions::Smb4KSuperUserOptions( TQWidget *parent, const char *name )
+: TQWidget( parent, name )
{
TQGridLayout *grid = new TQGridLayout( this );
grid->setSpacing( 10 );
diff --git a/smb4k/configdlg/smb4ksuperuseroptions.h b/smb4k/configdlg/smb4ksuperuseroptions.h
index 9fcffbf..00e9840 100644
--- a/smb4k/configdlg/smb4ksuperuseroptions.h
+++ b/smb4k/configdlg/smb4ksuperuseroptions.h
@@ -51,11 +51,11 @@ class Smb4KSuperUserOptions : public TQWidget
/**
* The constructor
*
- * @param tqparent The tqparent widget
+ * @param parent The parent widget
*
* @param name The name of this widget
*/
- Smb4KSuperUserOptions( TQWidget *tqparent = 0, const char *name = 0 );
+ Smb4KSuperUserOptions( TQWidget *parent = 0, const char *name = 0 );
/**
* The destructor
*/
diff --git a/smb4k/configdlg/smb4kuserinterfaceoptions.cpp b/smb4k/configdlg/smb4kuserinterfaceoptions.cpp
index 2fd83a7..5f7f465 100644
--- a/smb4k/configdlg/smb4kuserinterfaceoptions.cpp
+++ b/smb4k/configdlg/smb4kuserinterfaceoptions.cpp
@@ -37,8 +37,8 @@
#include "smb4kuserinterfaceoptions.h"
#include "../core/smb4ksettings.h"
-Smb4KUserInterfaceOptions::Smb4KUserInterfaceOptions( TQWidget *tqparent, const char *name )
-: TQTabWidget( tqparent, name )
+Smb4KUserInterfaceOptions::Smb4KUserInterfaceOptions( TQWidget *parent, const char *name )
+: TQTabWidget( parent, name )
{
setMargin( 10 );
diff --git a/smb4k/configdlg/smb4kuserinterfaceoptions.h b/smb4k/configdlg/smb4kuserinterfaceoptions.h
index 88414a7..4e848f1 100644
--- a/smb4k/configdlg/smb4kuserinterfaceoptions.h
+++ b/smb4k/configdlg/smb4kuserinterfaceoptions.h
@@ -50,7 +50,7 @@ class Smb4KUserInterfaceOptions : public TQTabWidget
/**
* The constructor
*/
- Smb4KUserInterfaceOptions( TQWidget *tqparent = 0, const char *name = 0 );
+ Smb4KUserInterfaceOptions( TQWidget *parent = 0, const char *name = 0 );
/**
* The destructor