summaryrefslogtreecommitdiffstats
path: root/src/k3bfirstrun.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 /src/k3bfirstrun.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 'src/k3bfirstrun.cpp')
-rw-r--r--src/k3bfirstrun.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/k3bfirstrun.cpp b/src/k3bfirstrun.cpp
index 23a285a..37eee7a 100644
--- a/src/k3bfirstrun.cpp
+++ b/src/k3bfirstrun.cpp
@@ -22,11 +22,11 @@
#include <kiconloader.h>
#include <kconfig.h>
-#include <qlayout.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
-void K3bFirstRun::run( QWidget* parent )
+void K3bFirstRun::run( TQWidget* tqparent )
{
if( !k3bcore->config()->readBoolEntry( "First run", true ) )
return;
@@ -41,18 +41,18 @@ void K3bFirstRun::run( QWidget* parent )
if( si.allInstalled() )
return;
- K3bFirstRun dlg( parent );
- if( dlg.exec() == QDialog::Accepted )
- si.install( parent );
+ K3bFirstRun dlg( tqparent );
+ if( dlg.exec() == TQDialog::Accepted )
+ si.install( tqparent );
}
-K3bFirstRun::K3bFirstRun( QWidget* parent )
+K3bFirstRun::K3bFirstRun( TQWidget* tqparent )
: KDialogBase( Plain,
i18n("First Run"),
Ok|Cancel,
Ok,
- parent,
+ tqparent,
0,
true,
true )
@@ -60,15 +60,15 @@ K3bFirstRun::K3bFirstRun( QWidget* parent )
setButtonOK( i18n("Enable Konqueror integration") );
setButtonCancel( i18n("No Konqueror integration") );
- QFrame* plain = plainPage();
- QLabel* label = new QLabel( i18n("<p>K3b can integrate itself into Konqueror. This integration "
+ TQFrame* plain = plainPage();
+ TQLabel* label = new TQLabel( i18n("<p>K3b can integrate itself into Konqueror. This integration "
"allows to start K3b from the context menu in the file manager."
"<p><em>The Konqueror integration can always be disabled and "
"enabled again from the K3b settings.</em>"), plain );
- QLabel* pixLabel = new QLabel( plain );
+ TQLabel* pixLabel = new TQLabel( plain );
pixLabel->setPixmap( DesktopIcon( "konqueror" ) );
- QHBoxLayout* lay = new QHBoxLayout( plain );
+ TQHBoxLayout* lay = new TQHBoxLayout( plain );
lay->setMargin( 0 );
lay->setSpacing( spacingHint() );
lay->addWidget( pixLabel );