summaryrefslogtreecommitdiffstats
path: root/korn/account_input.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /korn/account_input.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
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
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 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<TQString, TQString>& list,
+ComboInput::ComboInput( TQWidget *tqparent, 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, 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 );
}