summaryrefslogtreecommitdiffstats
path: root/kmail/redirectdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/redirectdialog.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/redirectdialog.cpp')
-rw-r--r--kmail/redirectdialog.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kmail/redirectdialog.cpp b/kmail/redirectdialog.cpp
index b81a04827..150e6a5d5 100644
--- a/kmail/redirectdialog.cpp
+++ b/kmail/redirectdialog.cpp
@@ -42,39 +42,39 @@ using KRecentAddress::RecentAddresses;
#include <klocale.h>
#include <kmessagebox.h>
-#include <qvbox.h>
-#include <qhbox.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qstringlist.h>
+#include <tqvbox.h>
+#include <tqhbox.h>
+#include <tqtooltip.h>
+#include <tqwhatsthis.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqstringlist.h>
using namespace KMail;
-RedirectDialog::RedirectDialog( QWidget *parent, const char *name,
+RedirectDialog::RedirectDialog( TQWidget *parent, const char *name,
bool modal, bool immediate )
: KDialogBase( parent, name, modal, i18n( "Redirect Message" ),
User1|User2|Cancel, ( immediate ? User1 : User2 ), false )
{
- QVBox *vbox = makeVBoxMainWidget();
- mLabelTo = new QLabel( i18n( "Select the recipient &addresses "
+ TQVBox *vbox = makeVBoxMainWidget();
+ mLabelTo = new TQLabel( i18n( "Select the recipient &addresses "
"to redirect to:" ), vbox );
- QHBox *hbox = new QHBox( vbox );
+ TQHBox *hbox = new TQHBox( vbox );
hbox->setSpacing(4);
mEditTo = new KMLineEdit( true, hbox, "toLine" );
mEditTo->setMinimumWidth( 300 );
- mBtnTo = new QPushButton( QString::null, hbox, "toBtn" );
+ mBtnTo = new TQPushButton( TQString::null, hbox, "toBtn" );
mBtnTo->setPixmap( BarIcon( "contents", KIcon::SizeSmall ) );
mBtnTo->setMinimumSize( mBtnTo->sizeHint() * 1.2 );
- QToolTip::add( mBtnTo, i18n("Use the Address-Selection Dialog") );
- QWhatsThis::add( mBtnTo, i18n("This button opens a separate dialog "
+ TQToolTip::add( mBtnTo, i18n("Use the Address-Selection Dialog") );
+ TQWhatsThis::add( mBtnTo, i18n("This button opens a separate dialog "
"where you can select recipients out "
"of all available addresses." ) );
- connect( mBtnTo, SIGNAL(clicked()), SLOT(slotAddrBook()) );
+ connect( mBtnTo, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddrBook()) );
mLabelTo->setBuddy( mBtnTo );
mEditTo->setFocus();
@@ -118,7 +118,7 @@ void RedirectDialog::slotAddrBook()
mResentTo = mEditTo->text();
if ( !mResentTo.isEmpty() ) {
- QStringList lst = KPIM::splitEmailAddrList( mResentTo );
+ TQStringList lst = KPIM::splitEmailAddrList( mResentTo );
dlg.setSelectedTo( lst );
}
@@ -130,7 +130,7 @@ void RedirectDialog::slotAddrBook()
dlg.setShowCC( false );
dlg.setShowBCC( false );
- if (dlg.exec()==QDialog::Rejected) return;
+ if (dlg.exec()==TQDialog::Rejected) return;
mEditTo->setText( dlg.to().join(", ") );
mEditTo->setEdited( true );