summaryrefslogtreecommitdiffstats
path: root/korn/account_input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/account_input.cpp')
-rw-r--r--korn/account_input.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/korn/account_input.cpp b/korn/account_input.cpp
index c7b35228e..7603e56b2 100644
--- a/korn/account_input.cpp
+++ b/korn/account_input.cpp
@@ -44,11 +44,11 @@ TQString AccountInput::configName() const
return *_configName;
}
-TextInput::TextInput( TQWidget *tqparent, const TQString& title, Type type, const TQString& defaul, const TQString& configName )
+TextInput::TextInput( TQWidget *parent, const TQString& title, Type type, const TQString& defaul, const TQString& configName )
: AccountInput( configName )
{
- _left = new TQLabel( title, tqparent, "label" );
- _right = new KLineEdit( "", tqparent, "edit" );
+ _left = new TQLabel( title, parent, "label" );
+ _right = new KLineEdit( "", parent, "edit" );
switch( type )
{
case text:
@@ -60,11 +60,11 @@ TextInput::TextInput( TQWidget *tqparent, const TQString& title, Type type, cons
setValue( defaul );
}
-TextInput::TextInput( TQWidget *tqparent, const TQString& title, int min, int max, const TQString& defaul, const TQString& configName )
+TextInput::TextInput( TQWidget *parent, const TQString& title, int min, int max, const TQString& defaul, const TQString& configName )
: AccountInput( configName )
{
- _left = new TQLabel( title, tqparent, "label" );
- _right = new KLineEdit( "", tqparent, "edit" );
+ _left = new TQLabel( title, parent, "label" );
+ _right = new KLineEdit( "", parent, "edit" );
_right->setValidator( new TQIntValidator( min, max, TQT_TQOBJECT(_right), "validator" ) );
setValue( defaul );
}
@@ -85,11 +85,11 @@ void TextInput::setValue( const TQString& value )
return _right->setText( value );
}
-URLInput::URLInput( TQWidget *tqparent, const TQString& title, const TQString& defaul, const TQString& configName )
+URLInput::URLInput( TQWidget *parent, const TQString& title, const TQString& defaul, const TQString& configName )
: AccountInput( configName )
{
- _left = new TQLabel( title, tqparent, "label" );
- _right = new KURLRequester( "", tqparent, "kurledit" );
+ _left = new TQLabel( title, parent, "label" );
+ _right = new KURLRequester( "", parent, "kurledit" );
setValue( defaul );
}
@@ -109,13 +109,13 @@ void URLInput::setValue( const TQString& value )
_right->setURL( value );
}
-ComboInput::ComboInput( TQWidget *tqparent, const TQString& title, const TQMap<TQString, TQString>& list,
+ComboInput::ComboInput( TQWidget *parent, const TQString& title, const TQMap<TQString, TQString>& list,
const TQString& defaul, const TQString& configName )
: AccountInput( configName )
, _list( new TQMap< TQString, TQString >( list ) )
{
- _left = new TQLabel( title, tqparent, "label" );
- _right = new TQComboBox( false, tqparent, "combo" );
+ _left = new TQLabel( title, parent, "label" );
+ _right = new TQComboBox( false, parent, "combo" );
_right->insertStringList( TQStringList( _list->values() ) );
setValue( defaul );
}
@@ -142,10 +142,10 @@ void ComboInput::setValue( const TQString& value )
_right->setCurrentItem( -1 );
}
-CheckboxInput::CheckboxInput( TQWidget *tqparent, const TQString& title, const TQString& defaul, const TQString& configName )
+CheckboxInput::CheckboxInput( TQWidget *parent, const TQString& title, const TQString& defaul, const TQString& configName )
: AccountInput( configName )
{
- _right = new TQCheckBox( title, tqparent, "checkbox" );
+ _right = new TQCheckBox( title, parent, "checkbox" );
setValue( defaul );
}