summaryrefslogtreecommitdiffstats
path: root/kresources/lib/folderselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/lib/folderselectdialog.cpp')
-rw-r--r--kresources/lib/folderselectdialog.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kresources/lib/folderselectdialog.cpp b/kresources/lib/folderselectdialog.cpp
index 07b8bc8fe..0942f8223 100644
--- a/kresources/lib/folderselectdialog.cpp
+++ b/kresources/lib/folderselectdialog.cpp
@@ -32,19 +32,19 @@
#include "folderselectdialog.h"
-#include <qlayout.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
using namespace KPIM;
-FolderSelectDialog::FolderSelectDialog( const QString& caption, const QString& label,
- const QStringList& list )
+FolderSelectDialog::FolderSelectDialog( const TQString& caption, const TQString& label,
+ const TQStringList& list )
: KDialogBase(0, 0, true, caption, Ok, Ok, true)
{
- QFrame* frame = makeMainWidget();
- QVBoxLayout* layout = new QVBoxLayout( frame, 0, spacingHint() );
+ TQFrame* frame = makeMainWidget();
+ TQVBoxLayout* layout = new TQVBoxLayout( frame, 0, spacingHint() );
- QLabel* labelWidget = new QLabel( label, frame );
+ TQLabel* labelWidget = new TQLabel( label, frame );
layout->addWidget( labelWidget );
mListBox = new KListBox( frame );
@@ -53,10 +53,10 @@ FolderSelectDialog::FolderSelectDialog( const QString& caption, const QString& l
mListBox->ensureCurrentVisible();
layout->addWidget( mListBox, 10 );
- connect( mListBox, SIGNAL( doubleClicked( QListBoxItem * ) ),
- SLOT( slotOk() ) );
- connect( mListBox, SIGNAL( returnPressed( QListBoxItem * ) ),
- SLOT( slotOk() ) );
+ connect( mListBox, TQT_SIGNAL( doubleClicked( TQListBoxItem * ) ),
+ TQT_SLOT( slotOk() ) );
+ connect( mListBox, TQT_SIGNAL( returnPressed( TQListBoxItem * ) ),
+ TQT_SLOT( slotOk() ) );
mListBox->setFocus();
@@ -65,19 +65,19 @@ FolderSelectDialog::FolderSelectDialog( const QString& caption, const QString& l
setMinimumWidth( 320 );
}
-QString FolderSelectDialog::getItem( const QString &caption, const QString &label,
- const QStringList& list )
+TQString FolderSelectDialog::getItem( const TQString &caption, const TQString &label,
+ const TQStringList& list )
{
FolderSelectDialog dlg( caption, label, list );
- QString result;
+ TQString result;
if ( dlg.exec() == Accepted )
result = dlg.mListBox->currentText();
return result;
}
-void FolderSelectDialog::closeEvent(QCloseEvent *event)
+void FolderSelectDialog::closeEvent(TQCloseEvent *event)
{
event->ignore();
}