summaryrefslogtreecommitdiffstats
path: root/kmail/klistboxdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/klistboxdialog.cpp')
-rw-r--r--kmail/klistboxdialog.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kmail/klistboxdialog.cpp b/kmail/klistboxdialog.cpp
index 030ca3b0a..4249d3bf1 100644
--- a/kmail/klistboxdialog.cpp
+++ b/kmail/klistboxdialog.cpp
@@ -5,13 +5,13 @@
#include "klistboxdialog.h"
-#include <qlabel.h>
-#include <qlayout.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
-KListBoxDialog::KListBoxDialog( QString& _selectedString,
- const QString& caption,
- const QString& labelText,
- QWidget* parent,
+KListBoxDialog::KListBoxDialog( TQString& _selectedString,
+ const TQString& caption,
+ const TQString& labelText,
+ TQWidget* parent,
const char* name,
bool modal )
: KDialogBase( parent, name, modal, caption, Ok|Cancel, Ok, true ),
@@ -22,27 +22,27 @@ KListBoxDialog::KListBoxDialog( QString& _selectedString,
setName( "KListBoxDialog" );
resize( 400, 180 );
- QFrame *page = makeMainWidget();
- QVBoxLayout *topLayout = new QVBoxLayout( page, 0, spacingHint() );
- labelAboveLA = new QLabel( page, "labelAboveLA" );
+ TQFrame *page = makeMainWidget();
+ TQVBoxLayout *topLayout = new TQVBoxLayout( page, 0, spacingHint() );
+ labelAboveLA = new TQLabel( page, "labelAboveLA" );
labelAboveLA->setText( labelText );
topLayout->addWidget( labelAboveLA );
- entriesLB = new QListBox( page, "entriesLB" );
+ entriesLB = new TQListBox( page, "entriesLB" );
topLayout->addWidget( entriesLB );
- commentBelowLA = new QLabel( page, "commentBelowLA" );
+ commentBelowLA = new TQLabel( page, "commentBelowLA" );
commentBelowLA->setText( "" );
topLayout->addWidget( commentBelowLA );
commentBelowLA->hide();
// signals and slots connections
- connect( entriesLB, SIGNAL( highlighted( const QString& ) ),
- this, SLOT( highlighted( const QString& ) ) );
- connect( entriesLB, SIGNAL( selected(int) ),
- SLOT( slotOk() ) );
+ connect( entriesLB, TQT_SIGNAL( highlighted( const TQString& ) ),
+ this, TQT_SLOT( highlighted( const TQString& ) ) );
+ connect( entriesLB, TQT_SIGNAL( selected(int) ),
+ TQT_SLOT( slotOk() ) );
// buddies
labelAboveLA->setBuddy( entriesLB );
}
@@ -55,7 +55,7 @@ KListBoxDialog::~KListBoxDialog()
// no need to delete child widgets, Qt does it all for us
}
-void KListBoxDialog::setLabelAbove(const QString& label)
+void KListBoxDialog::setLabelAbove(const TQString& label)
{
labelAboveLA->setText( label );
if( label.isEmpty() )
@@ -64,7 +64,7 @@ void KListBoxDialog::setLabelAbove(const QString& label)
labelAboveLA->show();
}
-void KListBoxDialog::setCommentBelow(const QString& comment)
+void KListBoxDialog::setCommentBelow(const TQString& comment)
{
commentBelowLA->setText( comment );
if( comment.isEmpty() )
@@ -75,7 +75,7 @@ void KListBoxDialog::setCommentBelow(const QString& comment)
-void KListBoxDialog::highlighted( const QString& txt )
+void KListBoxDialog::highlighted( const TQString& txt )
{
selectedString = txt;
}