diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 04:25:13 +0200 |
commit | c4b3c076ff7d33a8205c616611477ae3c7532de7 (patch) | |
tree | 951a8f07f1a0dafc04cb0ca4b2af034809da9883 /kmail/accountwizard.cpp | |
parent | 04b89c2dbd5fb1b865453f3977261a60a70f6bc2 (diff) | |
download | tdepim-c4b3c076ff7d33a8205c616611477ae3c7532de7.tar.gz tdepim-c4b3c076ff7d33a8205c616611477ae3c7532de7.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit ba2a3ce341c0c71bbbcf350fcbcd60c552220b31)
Diffstat (limited to 'kmail/accountwizard.cpp')
-rw-r--r-- | kmail/accountwizard.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kmail/accountwizard.cpp b/kmail/accountwizard.cpp index caafcb353..5ae16164b 100644 --- a/kmail/accountwizard.cpp +++ b/kmail/accountwizard.cpp @@ -215,29 +215,29 @@ void AccountWizard::setupAccountTypePage() void AccountWizard::setupAccountInformationPage() { mAccountInformationPage = new TQWidget( this ); - TQGridLayout *tqlayout = new TQGridLayout( mAccountInformationPage, 3, 2, + TQGridLayout *layout = new TQGridLayout( mAccountInformationPage, 3, 2, KDialog::marginHint(), KDialog::spacingHint() ); TQLabel *label = new TQLabel( i18n( "Real name:" ), mAccountInformationPage ); mRealName = new KLineEdit( mAccountInformationPage ); label->setBuddy( mRealName ); - tqlayout->addWidget( label, 0, 0 ); - tqlayout->addWidget( mRealName, 0, 1 ); + layout->addWidget( label, 0, 0 ); + layout->addWidget( mRealName, 0, 1 ); label = new TQLabel( i18n( "E-mail address:" ), mAccountInformationPage ); mEMailAddress = new KLineEdit( mAccountInformationPage ); label->setBuddy( mEMailAddress ); - tqlayout->addWidget( label, 1, 0 ); - tqlayout->addWidget( mEMailAddress, 1, 1 ); + layout->addWidget( label, 1, 0 ); + layout->addWidget( mEMailAddress, 1, 1 ); label = new TQLabel( i18n( "Organization:" ), mAccountInformationPage ); mOrganization = new KLineEdit( mAccountInformationPage ); label->setBuddy( mOrganization ); - tqlayout->addWidget( label, 2, 0 ); - tqlayout->addWidget( mOrganization, 2, 1 ); + layout->addWidget( label, 2, 0 ); + layout->addWidget( mOrganization, 2, 1 ); addPage( mAccountInformationPage, i18n( "Account Information" ) ); } @@ -245,23 +245,23 @@ void AccountWizard::setupAccountInformationPage() void AccountWizard::setupLoginInformationPage() { mLoginInformationPage = new TQWidget( this ); - TQGridLayout *tqlayout = new TQGridLayout( mLoginInformationPage, 2, 2, + TQGridLayout *layout = new TQGridLayout( mLoginInformationPage, 2, 2, KDialog::marginHint(), KDialog::spacingHint() ); TQLabel *label = new TQLabel( i18n( "Login name:" ), mLoginInformationPage ); mLoginName = new KLineEdit( mLoginInformationPage ); label->setBuddy( mLoginName ); - tqlayout->addWidget( label, 0, 0 ); - tqlayout->addWidget( mLoginName, 0, 1 ); + layout->addWidget( label, 0, 0 ); + layout->addWidget( mLoginName, 0, 1 ); label = new TQLabel( i18n( "Password:" ), mLoginInformationPage ); mPassword = new KLineEdit( mLoginInformationPage ); mPassword->setEchoMode( TQLineEdit::Password ); label->setBuddy( mPassword ); - tqlayout->addWidget( label, 1, 0 ); - tqlayout->addWidget( mPassword, 1, 1 ); + layout->addWidget( label, 1, 0 ); + layout->addWidget( mPassword, 1, 1 ); addPage( mLoginInformationPage, i18n( "Login Information" ) ); } @@ -269,7 +269,7 @@ void AccountWizard::setupLoginInformationPage() void AccountWizard::setupServerInformationPage() { mServerInformationPage = new TQWidget( this ); - TQGridLayout *tqlayout = new TQGridLayout( mServerInformationPage, 3, 2, + TQGridLayout *layout = new TQGridLayout( mServerInformationPage, 3, 2, KDialog::marginHint(), KDialog::spacingHint() ); mIncomingLabel = new TQLabel( mServerInformationPage ); @@ -285,23 +285,23 @@ void AccountWizard::setupServerInformationPage() connect( mChooseLocation, TQT_SIGNAL( clicked() ), this, TQT_SLOT( chooseLocation() ) ); - tqlayout->addWidget( mIncomingLabel, 0, 0, AlignTop ); - tqlayout->addWidget( mIncomingLocationWdg, 0, 1 ); - tqlayout->addWidget( mIncomingServerWdg, 0, 1 ); + layout->addWidget( mIncomingLabel, 0, 0, AlignTop ); + layout->addWidget( mIncomingLocationWdg, 0, 1 ); + layout->addWidget( mIncomingServerWdg, 0, 1 ); TQLabel *label = new TQLabel( i18n( "Outgoing server:" ), mServerInformationPage ); mOutgoingServer = new KLineEdit( mServerInformationPage ); label->setBuddy( mOutgoingServer ); - tqlayout->addWidget( label, 1, 0 ); - tqlayout->addWidget( mOutgoingServer, 1, 1 ); + layout->addWidget( label, 1, 0 ); + layout->addWidget( mOutgoingServer, 1, 1 ); mOutgoingUseSSL = new TQCheckBox( i18n( "Use secure connection (SSL)" ), mServerInformationPage ); - tqlayout->addWidget( mOutgoingUseSSL, 2, 1 ); + layout->addWidget( mOutgoingUseSSL, 2, 1 ); mLocalDelivery = new TQCheckBox( i18n( "Use local delivery" ), mServerInformationPage ); - tqlayout->addWidget( mLocalDelivery, 3, 0 ); + layout->addWidget( mLocalDelivery, 3, 0 ); connect( mLocalDelivery, TQT_SIGNAL( toggled( bool ) ), mOutgoingServer, TQT_SLOT( setDisabled( bool ) ) ); |