summaryrefslogtreecommitdiffstats
path: root/kmail/recipientseditortest.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/recipientseditortest.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/recipientseditortest.cpp')
-rw-r--r--kmail/recipientseditortest.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kmail/recipientseditortest.cpp b/kmail/recipientseditortest.cpp
index 2455fdba..44df528c 100644
--- a/kmail/recipientseditortest.cpp
+++ b/kmail/recipientseditortest.cpp
@@ -33,22 +33,22 @@
#include <kmessagebox.h>
#include "aboutdata.h"
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qtextedit.h>
-
-Composer::Composer( QWidget *parent )
- : QWidget( parent )
+#include <tqpushbutton.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqlineedit.h>
+#include <tqtextedit.h>
+
+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 += "<qt>";
@@ -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();