From d8cc8bdfa7fa624a526d5aa1626974e1444cb799 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 27 May 2011 19:21:21 +0000 Subject: 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 --- src/k3bfirstrun.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/k3bfirstrun.cpp') 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 #include -#include -#include +#include +#include -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("

K3b can integrate itself into Konqueror. This integration " + TQFrame* plain = plainPage(); + TQLabel* label = new TQLabel( i18n("

K3b can integrate itself into Konqueror. This integration " "allows to start K3b from the context menu in the file manager." "

The Konqueror integration can always be disabled and " "enabled again from the K3b settings."), 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 ); -- cgit v1.2.1