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 --- libk3b/tools/k3bstdguiitems.cpp | 128 ++++++++++++++++++++-------------------- 1 file changed, 64 insertions(+), 64 deletions(-) (limited to 'libk3b/tools/k3bstdguiitems.cpp') diff --git a/libk3b/tools/k3bstdguiitems.cpp b/libk3b/tools/k3bstdguiitems.cpp index 8a6ab00..ebc9666 100644 --- a/libk3b/tools/k3bstdguiitems.cpp +++ b/libk3b/tools/k3bstdguiitems.cpp @@ -15,45 +15,45 @@ #include "k3bstdguiitems.h" -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include -QCheckBox* K3bStdGuiItems::simulateCheckbox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::simulateCheckbox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("Simulate"), parent, name ); - QWhatsThis::add( c, i18n("

If this option is checked K3b will perform all writing steps with the " + TQCheckBox* c = new TQCheckBox( i18n("Simulate"), tqparent, name ); + TQWhatsThis::add( c, i18n("

If this option is checked K3b will perform all writing steps with the " "laser turned off." "

This is useful, for example, to test a higher writing speed " "or whether your system is able to write on-the-fly." "

Caution: DVD+R(W) does not support simulated writing.") ); - QToolTip::add( c, i18n("Only simulate the writing process") ); + TQToolTip::add( c, i18n("Only simulate the writing process") ); return c; } -QCheckBox* K3bStdGuiItems::daoCheckbox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::daoCheckbox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("Disk at once"), parent, name ); - QWhatsThis::add( c, i18n("

If this option is checked, K3b will write the CD in 'disk at once' mode as " + TQCheckBox* c = new TQCheckBox( i18n("Disk at once"), tqparent, name ); + TQWhatsThis::add( c, i18n("

If this option is checked, K3b will write the CD in 'disk at once' mode as " "compared to 'track at once' (TAO)." "

It is always recommended to use DAO where possible." "

Caution: Track pregaps with a length other than 2 seconds are only supported " "in DAO mode.") ); - QToolTip::add( c, i18n("Write in disk at once mode") ); + TQToolTip::add( c, i18n("Write in disk at once mode") ); return c; } -QCheckBox* K3bStdGuiItems::burnproofCheckbox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::burnproofCheckbox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("Use Burnfree"), parent, name ); - QToolTip::add( c, i18n("Enable Burnfree (or Just Link) to avoid buffer underruns") ); - QWhatsThis::add( c, i18n("

If this option is checked, K3b enables Burnfree " + TQCheckBox* c = new TQCheckBox( i18n("Use Burnfree"), tqparent, name ); + TQToolTip::add( c, i18n("Enable Burnfree (or Just Link) to avoid buffer underruns") ); + TQWhatsThis::add( c, i18n("

If this option is checked, K3b enables Burnfree " "(or Just Link). This is " "a feature of the CD writer which avoids buffer underruns." "

Without burnfree, if the writer cannot get any more " @@ -70,57 +70,57 @@ QCheckBox* K3bStdGuiItems::burnproofCheckbox( QWidget* parent, const char* name return c; } -QCheckBox* K3bStdGuiItems::onlyCreateImagesCheckbox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::onlyCreateImagesCheckbox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("Only create image"), parent, name ); - QWhatsThis::add( c, i18n("

If this option is checked, K3b will only create an " + TQCheckBox* c = new TQCheckBox( i18n("Only create image"), tqparent, name ); + TQWhatsThis::add( c, i18n("

If this option is checked, K3b will only create an " "image and not do any actual writing." "

The image can later be written to a CD/DVD with most current writing " "programs (including K3b of course).") ); - QToolTip::add( c, i18n("Only create an image") ); + TQToolTip::add( c, i18n("Only create an image") ); return c; } -QCheckBox* K3bStdGuiItems::createCacheImageCheckbox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::createCacheImageCheckbox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("Create image"), parent, name ); - QWhatsThis::add( c, i18n("

If this option is checked, K3b will create an image before writing " + TQCheckBox* c = new TQCheckBox( i18n("Create image"), tqparent, name ); + TQWhatsThis::add( c, i18n("

If this option is checked, K3b will create an image before writing " "the files to the CD/DVD. Otherwise the data will be written on-the-fly, " "i.e. no intermediate image will be created." "

Caution: Although writing on-the-fly should work on most systems, make sure " "the data is sent to the writer fast enough.") + i18n("

It is recommended to try a simulation first.") ); - QToolTip::add( c, i18n("Cache the data to be written on the harddisk") ); + TQToolTip::add( c, i18n("Cache the data to be written on the harddisk") ); return c; } -QCheckBox* K3bStdGuiItems::removeImagesCheckbox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::removeImagesCheckbox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("Remove image"), parent, name ); - QWhatsThis::add( c, i18n("

If this option is checked, K3b will remove any created images after the " + TQCheckBox* c = new TQCheckBox( i18n("Remove image"), tqparent, name ); + TQWhatsThis::add( c, i18n("

If this option is checked, K3b will remove any created images after the " "writing has finished." "

Uncheck this if you want to keep the images.") ); - QToolTip::add( c, i18n("Remove images from disk when finished") ); + TQToolTip::add( c, i18n("Remove images from disk when finished") ); return c; } -QCheckBox* K3bStdGuiItems::onTheFlyCheckbox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::onTheFlyCheckbox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("On the fly"), parent, name ); - QWhatsThis::add( c, i18n("

If this option is checked, K3b will not create an image first but write " + TQCheckBox* c = new TQCheckBox( i18n("On the fly"), tqparent, name ); + TQWhatsThis::add( c, i18n("

If this option is checked, K3b will not create an image first but write " "the files directly to the CD/DVD." "

Caution: Although this should work on most systems, make sure " "the data is sent to the writer fast enough.") + i18n("

It is recommended to try a simulation first.") ); - QToolTip::add( c, i18n("Write files directly to CD/DVD without creating an image") ); + TQToolTip::add( c, i18n("Write files directly to CD/DVD without creating an image") ); return c; } -QCheckBox* K3bStdGuiItems::cdTextCheckbox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::cdTextCheckbox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("Write CD-TEXT"), parent, name ); - QToolTip::add( c, i18n("Create CD-TEXT entries") ); - QWhatsThis::add( c, i18n("

If this option is checked K3b uses some otherwise-unused space on the audio " + TQCheckBox* c = new TQCheckBox( i18n("Write CD-TEXT"), tqparent, name ); + TQToolTip::add( c, i18n("Create CD-TEXT entries") ); + TQWhatsThis::add( c, i18n("

If this option is checked K3b uses some otherwise-unused space on the audio " "CD to store additional information, like the artist or the CD title." "

CD-TEXT is an extension to the audio CD standard introduced by Sony." "

CD-TEXT will only be usable on CD players that support this extension " @@ -131,16 +131,16 @@ QCheckBox* K3bStdGuiItems::cdTextCheckbox( QWidget* parent, const char* name ) } -QComboBox* K3bStdGuiItems::paranoiaModeComboBox( QWidget* parent, const char* name ) +TQComboBox* K3bStdGuiItems::paranoiaModeComboBox( TQWidget* tqparent, const char* name ) { - QComboBox* c = new QComboBox( parent, name ); + TQComboBox* c = new TQComboBox( tqparent, name ); c->insertItem( "0" ); c->insertItem( "1" ); c->insertItem( "2" ); c->insertItem( "3" ); c->setCurrentItem( 3 ); - QToolTip::add( c, i18n("Set the paranoia level for reading audio CDs") ); - QWhatsThis::add( c, i18n("

Sets the correction mode for digital audio extraction." + TQToolTip::add( c, i18n("Set the paranoia level for reading audio CDs") ); + TQWhatsThis::add( c, i18n("

Sets the correction mode for digital audio extraction." "

  • 0: No checking, data is copied directly from the drive. " "
  • 1: Perform overlapped reading to avoid jitter.
  • " "
  • 2: Like 1 but with additional checks of the read audio data.
  • " @@ -150,22 +150,22 @@ QComboBox* K3bStdGuiItems::paranoiaModeComboBox( QWidget* parent, const char* na } -QCheckBox* K3bStdGuiItems::startMultisessionCheckBox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::startMultisessionCheckBox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("Start multisession CD"), parent, name ); - QToolTip::add( c, i18n("Do not close the disk to allow additional sessions to be added later") ); - QWhatsThis::add( c, i18n("

    If this option is checked K3b will not close the CD, and will write " + TQCheckBox* c = new TQCheckBox( i18n("Start multisession CD"), tqparent, name ); + TQToolTip::add( c, i18n("Do not close the disk to allow additional sessions to be added later") ); + TQWhatsThis::add( c, i18n("

    If this option is checked K3b will not close the CD, and will write " "a temporary table of contents.

    " "

    This allows further sessions to be appended to the CD later.

    ") ); return c; } -QCheckBox* K3bStdGuiItems::normalizeCheckBox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::normalizeCheckBox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("Normalize volume levels"), parent, name ); - QToolTip::add( c, i18n("Adjust the volume levels of all tracks") ); - QWhatsThis::add( c, i18n("

    If this option is checked K3b will adjust the volume of all tracks " + TQCheckBox* c = new TQCheckBox( i18n("Normalize volume levels"), tqparent, name ); + TQToolTip::add( c, i18n("Adjust the volume levels of all tracks") ); + TQWhatsThis::add( c, i18n("

    If this option is checked K3b will adjust the volume of all tracks " "to a standard level. This is useful for things like creating mixes, " "where different recording levels on different albums can cause the volume " "to vary greatly from song to song." @@ -175,11 +175,11 @@ QCheckBox* K3bStdGuiItems::normalizeCheckBox( QWidget* parent, const char* name } -QCheckBox* K3bStdGuiItems::verifyCheckBox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::verifyCheckBox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("Verify written data"), parent, name ); - QToolTip::add( c, i18n("Compare original with written data") ); - QWhatsThis::add( c, i18n("

    If this option is checked, then after successfully " + TQCheckBox* c = new TQCheckBox( i18n("Verify written data"), tqparent, name ); + TQToolTip::add( c, i18n("Compare original with written data") ); + TQWhatsThis::add( c, i18n("

    If this option is checked, then after successfully " "writing the disk K3b will compare the original source data " "with the written data to verify that the disk has been written " "correctly.") ); @@ -187,11 +187,11 @@ QCheckBox* K3bStdGuiItems::verifyCheckBox( QWidget* parent, const char* name ) } -QCheckBox* K3bStdGuiItems::ignoreAudioReadErrorsCheckBox( QWidget* parent, const char* name ) +TQCheckBox* K3bStdGuiItems::ignoreAudioReadErrorsCheckBox( TQWidget* tqparent, const char* name ) { - QCheckBox* c = new QCheckBox( i18n("Ignore read errors"), parent, name ); - QToolTip::add( c, i18n("Skip unreadable audio sectors") ); - QWhatsThis::add( c, i18n("

    If this option is checked and K3b is not able to read an " + TQCheckBox* c = new TQCheckBox( i18n("Ignore read errors"), tqparent, name ); + TQToolTip::add( c, i18n("Skip unreadable audio sectors") ); + TQWhatsThis::add( c, i18n("

    If this option is checked and K3b is not able to read an " "audio sector from the source CD it will be replaced with zeros " "on the resulting copy." "

    Since audio CD Player are able to interpolate small errors " @@ -200,16 +200,16 @@ QCheckBox* K3bStdGuiItems::ignoreAudioReadErrorsCheckBox( QWidget* parent, const } -QFrame* K3bStdGuiItems::horizontalLine( QWidget* parent, const char* name ) +TQFrame* K3bStdGuiItems::horizontalLine( TQWidget* tqparent, const char* name ) { - QFrame* line = new QFrame( parent, name ); - line->setFrameStyle( QFrame::HLine | QFrame::Sunken ); + TQFrame* line = new TQFrame( tqparent, name ); + line->setFrameStyle( TQFrame::HLine | TQFrame::Sunken ); return line; } -QFrame* K3bStdGuiItems::verticalLine( QWidget* parent, const char* name ) +TQFrame* K3bStdGuiItems::verticalLine( TQWidget* tqparent, const char* name ) { - QFrame* line = new QFrame( parent, name ); - line->setFrameStyle( QFrame::VLine | QFrame::Sunken ); + TQFrame* line = new TQFrame( tqparent, name ); + line->setFrameStyle( TQFrame::VLine | TQFrame::Sunken ); return line; } -- cgit v1.2.3