summaryrefslogtreecommitdiffstats
path: root/libk3b/tools/k3bprogressdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /libk3b/tools/k3bprogressdialog.cpp
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz
k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip
TQt4 port k3b
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/tools/k3bprogressdialog.cpp')
-rw-r--r--libk3b/tools/k3bprogressdialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/libk3b/tools/k3bprogressdialog.cpp b/libk3b/tools/k3bprogressdialog.cpp
index 69a81f5..e0e5a05 100644
--- a/libk3b/tools/k3bprogressdialog.cpp
+++ b/libk3b/tools/k3bprogressdialog.cpp
@@ -17,29 +17,29 @@
#include <k3bbusywidget.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qframe.h>
-#include <qwidgetstack.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqlayout.h>
+#include <tqframe.h>
+#include <tqwidgetstack.h>
#include <klocale.h>
#include <kprogress.h>
-K3bProgressDialog::K3bProgressDialog( const QString& text,
- QWidget* parent,
- const QString& caption,
+K3bProgressDialog::K3bProgressDialog( const TQString& text,
+ TQWidget* tqparent,
+ const TQString& caption,
const char* name )
- : KDialogBase( parent, name, true, caption, Cancel|Ok, Ok, true )
+ : KDialogBase( tqparent, name, true, caption, Cancel|Ok, Ok, true )
{
- QFrame* main = makeMainWidget();
- QGridLayout* mainLayout = new QGridLayout( main );
+ TQFrame* main = makeMainWidget();
+ TQGridLayout* mainLayout = new TQGridLayout( main );
mainLayout->setMargin( marginHint() );
mainLayout->setSpacing( spacingHint() );
- m_label = new QLabel( text, main );
- m_stack = new QWidgetStack( main );
+ m_label = new TQLabel( text, main );
+ m_stack = new TQWidgetStack( main );
m_progressBar = new KProgress( m_stack );
m_busyWidget = new K3bBusyWidget( m_stack );
m_stack->addWidget( m_progressBar );
@@ -71,7 +71,7 @@ int K3bProgressDialog::exec( bool progress )
}
-void K3bProgressDialog::setText( const QString& text )
+void K3bProgressDialog::setText( const TQString& text )
{
m_label->setText( text );
}