diff options
Diffstat (limited to 'kmail/redirectdialog.cpp')
-rw-r--r-- | kmail/redirectdialog.cpp | 34 |
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 ); |