summaryrefslogtreecommitdiffstats
path: root/kmail/klistboxdialog.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/klistboxdialog.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/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;
}