summaryrefslogtreecommitdiffstats
path: root/kmail/kmtransport.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 /kmail/kmtransport.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 'kmail/kmtransport.cpp')
-rw-r--r--kmail/kmtransport.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/kmtransport.cpp b/kmail/kmtransport.cpp
index dce1ccf07..335025b7d 100644
--- a/kmail/kmtransport.cpp
+++ b/kmail/kmtransport.cpp
@@ -243,9 +243,9 @@ void KMTransportInfo::readPassword() const
}
-KMTransportSelDlg::KMTransportSelDlg( TQWidget *parent, const char *name,
+KMTransportSelDlg::KMTransportSelDlg( TQWidget *tqparent, const char *name,
bool modal )
- : KDialogBase( parent, name, modal, i18n("Add Transport"), Ok|Cancel, Ok )
+ : KDialogBase( tqparent, name, modal, i18n("Add Transport"), Ok|Cancel, Ok )
{
TQFrame *page = makeMainWidget();
TQVBoxLayout *topLayout = new TQVBoxLayout( page, 0, spacingHint() );
@@ -282,9 +282,9 @@ int KMTransportSelDlg::selected( void ) const
KMTransportDialog::KMTransportDialog( const TQString & caption,
KMTransportInfo *transportInfo,
- TQWidget *parent, const char *name,
+ TQWidget *tqparent, const char *name,
bool modal )
- : KDialogBase( parent, name, modal, caption, Ok|Cancel, Ok, true ),
+ : KDialogBase( tqparent, name, modal, caption, Ok|Cancel, Ok, true ),
mServerTest( 0 ),
mTransportInfo( transportInfo ),
mAuthNone( AllAuth ), mAuthSSL( AllAuth ), mAuthTLS( AllAuth )
@@ -498,7 +498,7 @@ void KMTransportDialog::makeSmtpPage()
TQWidget *page2 = new TQWidget( tabWidget );
tabWidget->addTab( page2, i18n("S&ecurity") );
TQVBoxLayout *vlay = new TQVBoxLayout( page2, spacingHint() );
- mSmtp.encryptionGroup = new TQButtonGroup( 1, Qt::Horizontal,
+ mSmtp.encryptionGroup = new TQButtonGroup( 1, TQt::Horizontal,
i18n("Encryption"), page2 );
mSmtp.encryptionNone =
new TQRadioButton( i18n("&None"), mSmtp.encryptionGroup );
@@ -510,7 +510,7 @@ void KMTransportDialog::makeSmtpPage()
TQT_SLOT(slotSmtpEncryptionChanged(int)));
vlay->addWidget( mSmtp.encryptionGroup );
- mSmtp.authGroup = new TQButtonGroup( 1, Qt::Horizontal,
+ mSmtp.authGroup = new TQButtonGroup( 1, TQt::Horizontal,
i18n("Authentication Method"), page2 );
mSmtp.authLogin = new TQRadioButton( i18n("Please translate this "
"authentication method only if you have a good reason", "&LOGIN"),
@@ -615,7 +615,7 @@ void KMTransportDialog::saveSettings()
void KMTransportDialog::slotSendmailChooser()
{
- KFileDialog dialog("/", TQString::null, this, 0, true );
+ KFileDialog dialog("/", TQString(), this, 0, true );
dialog.setCaption(i18n("Choose sendmail Location") );
if( dialog.exec() == TQDialog::Accepted )
@@ -735,7 +735,7 @@ void KMTransportDialog::checkHighest(TQButtonGroup *btnGroup)
{
for ( int i = btnGroup->count() - 1; i >= 0 ; --i )
{
- TQButton * btn = btnGroup->find(i);
+ TQButton * btn = btnGroup->tqfind(i);
if (btn && btn->isEnabled())
{
btn->animateClick();