From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/recipientseditortest.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kmail/recipientseditortest.cpp') diff --git a/kmail/recipientseditortest.cpp b/kmail/recipientseditortest.cpp index 2455fdba0..44df528c9 100644 --- a/kmail/recipientseditortest.cpp +++ b/kmail/recipientseditortest.cpp @@ -33,22 +33,22 @@ #include #include "aboutdata.h" -#include -#include -#include -#include -#include - -Composer::Composer( QWidget *parent ) - : QWidget( parent ) +#include +#include +#include +#include +#include + +Composer::Composer( TQWidget *parent ) + : TQWidget( parent ) { - QGridLayout *topLayout = new QGridLayout( this ); + TQGridLayout *topLayout = new TQGridLayout( this ); topLayout->setMargin( 4 ); topLayout->setSpacing( 4 ); - QLabel *label = new QLabel( "From:", this ); + TQLabel *label = new TQLabel( "From:", this ); topLayout->addWidget( label, 0, 0 ); - QLineEdit *edit = new QLineEdit( this ); + TQLineEdit *edit = new TQLineEdit( this ); topLayout->addWidget( edit, 0, 1 ); mRecipients = new RecipientsEditor( this ); @@ -58,19 +58,19 @@ Composer::Composer( QWidget *parent ) // mRecipients->setFixedHeight( 10 ); - QTextEdit *editor = new QTextEdit( this ); + TQTextEdit *editor = new TQTextEdit( this ); topLayout->addMultiCellWidget( editor, 2, 2, 0, 1 ); topLayout->setRowStretch( 2, 1 ); - QPushButton *button = new QPushButton( "&Close", this ); + TQPushButton *button = new TQPushButton( "&Close", this ); topLayout->addMultiCellWidget( button, 3, 3, 0, 1 ); - connect( button, SIGNAL( clicked() ), SLOT( slotClose() ) ); + connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( slotClose() ) ); } void Composer::slotClose() { #if 0 - QString text; + TQString text; text += ""; @@ -96,9 +96,9 @@ int main( int argc, char **argv ) KApplication app; - QObject::connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) ); + TQObject::connect( &app, TQT_SIGNAL( lastWindowClosed() ), &app, TQT_SLOT( quit() ) ); - QWidget *wid = new Composer( 0 ); + TQWidget *wid = new Composer( 0 ); wid->show(); -- cgit v1.2.1