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/k3bwritingmodewidget.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/k3bwritingmodewidget.cpp') diff --git a/src/k3bwritingmodewidget.cpp b/src/k3bwritingmodewidget.cpp index a2bd696..6a8e563 100644 --- a/src/k3bwritingmodewidget.cpp +++ b/src/k3bwritingmodewidget.cpp @@ -22,26 +22,26 @@ #include #include -#include -#include +#include +#include -static const QString s_autoHelp = i18n("Let K3b select the best-suited mode. This is the recommended selection."); -static const QString s_daoHelp = i18n("Disk At Once or more properly Session At Once. " +static const TQString s_autoHelp = i18n("Let K3b select the best-suited mode. This is the recommended selection."); +static const TQString s_daoHelp = i18n("Disk At Once or more properly Session At Once. " "The laser is never turned off while writing the CD or DVD. " "This is the preferred mode to write audio CDs since it allows " "pregaps other than 2 seconds. Not all writers support DAO.
" "DVD-R(W)s written in DAO provide the best DVD-Video compatibility."); -static const QString s_taoHelp = i18n("Track At Once should be supported by every CD writer. " +static const TQString s_taoHelp = i18n("Track At Once should be supported by every CD writer. " "The laser will be turned off after every track.
" "Most CD writers need this mode for writing multisession CDs."); // TODO: add something like: "No CD-TEXT writing in TAO mode." -static const QString s_rawHelp = i18n("RAW writing mode. The error correction data is created by the " +static const TQString s_rawHelp = i18n("RAW writing mode. The error correction data is created by the " "software instead of the writer device.
" "Try this if your CD writer fails to write in DAO and TAO."); -static const QString s_seqHelp = i18n("Incremental sequential is the default writing mode for DVD-R(W). " +static const TQString s_seqHelp = i18n("Incremental sequential is the default writing mode for DVD-R(W). " "It allows multisession DVD-R(W)s. It only applies to DVD-R(W)."); -static const QString s_ovwHelp = i18n("Restricted Overwrite allows to use a DVD-RW just like a DVD-RAM " +static const TQString s_ovwHelp = i18n("Restricted Overwrite allows to use a DVD-RW just like a DVD-RAM " "or a DVD+RW. The media may just be overwritten. It is not possible " "to write multisession DVD-RWs in this mode but K3b uses growisofs " "to grow an ISO9660 filesystem within the first session, thus allowing " @@ -61,16 +61,16 @@ public: }; -K3bWritingModeWidget::K3bWritingModeWidget( int modes, QWidget* parent, const char* name ) - : K3bIntMapComboBox( parent, name ) +K3bWritingModeWidget::K3bWritingModeWidget( int modes, TQWidget* tqparent, const char* name ) + : K3bIntMapComboBox( tqparent, name ) { init(); setSupportedModes( modes ); } -K3bWritingModeWidget::K3bWritingModeWidget( QWidget* parent, const char* name ) - : K3bIntMapComboBox( parent, name ) +K3bWritingModeWidget::K3bWritingModeWidget( TQWidget* tqparent, const char* name ) + : K3bIntMapComboBox( tqparent, name ) { init(); setSupportedModes( K3b::DAO | K3b::TAO | K3b::RAW ); // default: support all CD-R(W) modes @@ -88,9 +88,9 @@ void K3bWritingModeWidget::init() d = new Private(); d->device = 0; - connect( this, SIGNAL(valueChanged(int)), this, SIGNAL(writingModeChanged(int)) ); + connect( this, TQT_SIGNAL(valueChanged(int)), this, TQT_SIGNAL(writingModeChanged(int)) ); - QToolTip::add( this, i18n("Select the writing mode to use") ); + TQToolTip::add( this, i18n("Select the writing mode to use") ); initWhatsThisHelp(); } @@ -192,7 +192,7 @@ void K3bWritingModeWidget::saveConfig( KConfigBase* c ) void K3bWritingModeWidget::loadConfig( KConfigBase* c ) { - QString mode = c->readEntry( "writing_mode" ); + TQString mode = c->readEntry( "writing_mode" ); if ( mode == "dao" ) setWritingMode( K3b::DAO ); else if( mode == "tao" ) -- cgit v1.2.3