From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 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 feafbe86d..e10f66598 100644 --- a/korn/account_input.cpp +++ b/korn/account_input.cpp @@ -44,11 +44,11 @@ TQString AccountInput::configName() const return *_configName; } -TextInput::TextInput( TQWidget *parent, const TQString& title, Type type, const TQString& defaul, const TQString& configName ) +TextInput::TextInput( TQWidget *tqparent, const TQString& title, Type type, const TQString& defaul, const TQString& configName ) : AccountInput( configName ) { - _left = new TQLabel( title, parent, "label" ); - _right = new KLineEdit( "", parent, "edit" ); + _left = new TQLabel( title, tqparent, "label" ); + _right = new KLineEdit( "", tqparent, "edit" ); switch( type ) { case text: @@ -60,11 +60,11 @@ TextInput::TextInput( TQWidget *parent, const TQString& title, Type type, const setValue( defaul ); } -TextInput::TextInput( TQWidget *parent, const TQString& title, int min, int max, const TQString& defaul, const TQString& configName ) +TextInput::TextInput( TQWidget *tqparent, const TQString& title, int min, int max, const TQString& defaul, const TQString& configName ) : AccountInput( configName ) { - _left = new TQLabel( title, parent, "label" ); - _right = new KLineEdit( "", parent, "edit" ); + _left = new TQLabel( title, tqparent, "label" ); + _right = new KLineEdit( "", tqparent, "edit" ); _right->setValidator( new TQIntValidator( min, max, _right, "validator" ) ); setValue( defaul ); } @@ -85,11 +85,11 @@ void TextInput::setValue( const TQString& value ) return _right->setText( value ); } -URLInput::URLInput( TQWidget *parent, const TQString& title, const TQString& defaul, const TQString& configName ) +URLInput::URLInput( TQWidget *tqparent, const TQString& title, const TQString& defaul, const TQString& configName ) : AccountInput( configName ) { - _left = new TQLabel( title, parent, "label" ); - _right = new KURLRequester( "", parent, "kurledit" ); + _left = new TQLabel( title, tqparent, "label" ); + _right = new KURLRequester( "", tqparent, "kurledit" ); setValue( defaul ); } @@ -109,13 +109,13 @@ void URLInput::setValue( const TQString& value ) _right->setURL( value ); } -ComboInput::ComboInput( TQWidget *parent, const TQString& title, const TQMap& list, +ComboInput::ComboInput( TQWidget *tqparent, const TQString& title, const TQMap& list, const TQString& defaul, const TQString& configName ) : AccountInput( configName ) , _list( new TQMap< TQString, TQString >( list ) ) { - _left = new TQLabel( title, parent, "label" ); - _right = new TQComboBox( false, parent, "combo" ); + _left = new TQLabel( title, tqparent, "label" ); + _right = new TQComboBox( false, tqparent, "combo" ); _right->insertStringList( TQStringList( _list->values() ) ); setValue( defaul ); } @@ -142,10 +142,10 @@ void ComboInput::setValue( const TQString& value ) _right->setCurrentItem( -1 ); } -CheckboxInput::CheckboxInput( TQWidget *parent, const TQString& title, const TQString& defaul, const TQString& configName ) +CheckboxInput::CheckboxInput( TQWidget *tqparent, const TQString& title, const TQString& defaul, const TQString& configName ) : AccountInput( configName ) { - _right = new TQCheckBox( title, parent, "checkbox" ); + _right = new TQCheckBox( title, tqparent, "checkbox" ); setValue( defaul ); } -- cgit v1.2.1