summaryrefslogtreecommitdiffstats
path: root/src/k3bmediaselectiondialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/k3bmediaselectiondialog.cpp')
-rw-r--r--src/k3bmediaselectiondialog.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/k3bmediaselectiondialog.cpp b/src/k3bmediaselectiondialog.cpp
index 3607297..d4aacf5 100644
--- a/src/k3bmediaselectiondialog.cpp
+++ b/src/k3bmediaselectiondialog.cpp
@@ -20,25 +20,25 @@
#include <klocale.h>
-#include <qlayout.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
-K3bMediaSelectionDialog::K3bMediaSelectionDialog( QWidget* parent,
- const QString& title,
- const QString& text,
+K3bMediaSelectionDialog::K3bMediaSelectionDialog( TQWidget* tqparent,
+ const TQString& title,
+ const TQString& text,
bool modal )
: KDialogBase( KDialogBase::Plain,
title.isEmpty() ? i18n("Medium Selection") : title,
Ok|Cancel,
Ok,
- parent,
+ tqparent,
0,
modal )
{
- QGridLayout* lay = new QGridLayout( plainPage() );
+ TQGridLayout* lay = new TQGridLayout( plainPage() );
- QLabel* label = new QLabel( text.isEmpty() ? i18n("Please select a medium:") : text, plainPage() );
+ TQLabel* label = new TQLabel( text.isEmpty() ? i18n("Please select a medium:") : text, plainPage() );
m_combo = new K3bMediaSelectionComboBox( plainPage() );
// lay->setMargin( marginHint() );
@@ -47,8 +47,8 @@ K3bMediaSelectionDialog::K3bMediaSelectionDialog( QWidget* parent,
lay->addWidget( m_combo, 1, 0 );
lay->setRowStretch( 2, 1 );
- connect( m_combo, SIGNAL(selectionChanged(K3bDevice::Device*)),
- this, SLOT(slotSelectionChanged(K3bDevice::Device*)) );
+ connect( m_combo, TQT_SIGNAL(selectionChanged(K3bDevice::Device*)),
+ this, TQT_SLOT(slotSelectionChanged(K3bDevice::Device*)) );
slotSelectionChanged( m_combo->selectedDevice() );
}
@@ -90,11 +90,11 @@ void K3bMediaSelectionDialog::slotSelectionChanged( K3bDevice::Device* dev )
K3bDevice::Device* K3bMediaSelectionDialog::selectMedium( int type, int state, int content,
- QWidget* parent,
- const QString& title, const QString& text,
+ TQWidget* tqparent,
+ const TQString& title, const TQString& text,
bool* canceled )
{
- K3bMediaSelectionDialog dlg( parent, title, text );
+ K3bMediaSelectionDialog dlg( tqparent, title, text );
dlg.setWantedMediumType( type );
dlg.setWantedMediumState( state );
dlg.setWantedMediumContent( content );
@@ -117,11 +117,11 @@ K3bDevice::Device* K3bMediaSelectionDialog::selectMedium( int type, int state, i
K3bDevice::Device* K3bMediaSelectionDialog::selectMedium( int type, int state,
- QWidget* parent,
- const QString& title, const QString& text,
+ TQWidget* tqparent,
+ const TQString& title, const TQString& text,
bool* canceled )
{
- return selectMedium( type, state, K3bMedium::CONTENT_ALL, parent, title, text, canceled );
+ return selectMedium( type, state, K3bMedium::CONTENT_ALL, tqparent, title, text, canceled );
}
#include "k3bmediaselectiondialog.moc"