From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korn/account_input.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'korn/account_input.cpp') diff --git a/korn/account_input.cpp b/korn/account_input.cpp index c7b35228..7603e56b 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& list, +ComboInput::ComboInput( TQWidget *parent, const TQString& title, const TQMap& 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 ); } -- cgit v1.2.3