summaryrefslogtreecommitdiffstats
path: root/kmail/recipientseditortest.cpp
diff options
context:
space:
mode:
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 2455fdba0..44df528c9 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();