summaryrefslogtreecommitdiffstats
path: root/src/projects/k3baudiodatasourceeditwidget.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/projects/k3baudiodatasourceeditwidget.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/projects/k3baudiodatasourceeditwidget.cpp')
-rw-r--r--src/projects/k3baudiodatasourceeditwidget.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/projects/k3baudiodatasourceeditwidget.cpp b/src/projects/k3baudiodatasourceeditwidget.cpp
index d54bb5d..541c946 100644
--- a/src/projects/k3baudiodatasourceeditwidget.cpp
+++ b/src/projects/k3baudiodatasourceeditwidget.cpp
@@ -19,27 +19,27 @@
#include <k3baudiodatasource.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qtooltip.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqtooltip.h>
#include <klocale.h>
#include <kdialog.h>
-K3bAudioDataSourceEditWidget::K3bAudioDataSourceEditWidget( QWidget* parent, const char* name )
- : QWidget( parent, name ),
+K3bAudioDataSourceEditWidget::K3bAudioDataSourceEditWidget( TQWidget* tqparent, const char* name )
+ : TQWidget( tqparent, name ),
m_source(0)
{
m_editor = new K3bAudioEditorWidget( this );
m_editStartOffset = new K3bMsfEdit( this );
m_editEndOffset = new K3bMsfEdit( this );
- QLabel* startLabel = new QLabel( i18n("Start Offset") + ":", this );
- QLabel* endLabel = new QLabel( i18n("End Offset") + ":", this );
- endLabel->setAlignment( Qt::AlignRight );
+ TQLabel* startLabel = new TQLabel( i18n("Start Offset") + ":", this );
+ TQLabel* endLabel = new TQLabel( i18n("End Offset") + ":", this );
+ endLabel->tqsetAlignment( TQt::AlignRight );
- QGridLayout* grid = new QGridLayout( this );
+ TQGridLayout* grid = new TQGridLayout( this );
grid->setMargin( 0 );
grid->setSpacing( KDialog::spacingHint() );
@@ -51,16 +51,16 @@ K3bAudioDataSourceEditWidget::K3bAudioDataSourceEditWidget( QWidget* parent, con
grid->setColStretch( 1, 1 );
// setup connections between the msfedits and the editor
- connect( m_editor, SIGNAL(rangeChanged(int, const K3b::Msf&, const K3b::Msf&)),
- this, SLOT(slotRangeModified(int, const K3b::Msf&, const K3b::Msf&)) );
+ connect( m_editor, TQT_SIGNAL(rangeChanged(int, const K3b::Msf&, const K3b::Msf&)),
+ this, TQT_SLOT(slotRangeModified(int, const K3b::Msf&, const K3b::Msf&)) );
- connect( m_editStartOffset, SIGNAL(valueChanged(const K3b::Msf&)),
- this, SLOT(slotStartOffsetEdited(const K3b::Msf&)) );
+ connect( m_editStartOffset, TQT_SIGNAL(valueChanged(const K3b::Msf&)),
+ this, TQT_SLOT(slotStartOffsetEdited(const K3b::Msf&)) );
- connect( m_editEndOffset, SIGNAL(valueChanged(const K3b::Msf&)),
- this, SLOT(slotEndOffsetEdited(const K3b::Msf&)) );
+ connect( m_editEndOffset, TQT_SIGNAL(valueChanged(const K3b::Msf&)),
+ this, TQT_SLOT(slotEndOffsetEdited(const K3b::Msf&)) );
- QToolTip::add( m_editor, i18n("Drag the edges of the highlighted area to define the portion of the "
+ TQToolTip::add( m_editor, i18n("Drag the edges of the highlighted area to define the portion of the "
"audio source you want to include in the Audio CD track. "
"You can also use the input windows to fine-tune your selection.") );
}
@@ -101,7 +101,7 @@ void K3bAudioDataSourceEditWidget::loadSource( K3bAudioDataSource* source )
false,
false,
i18n("Used part of the audio source"),
- colorGroup().highlight() );
+ tqcolorGroup().highlight() );
m_editStartOffset->setMaxValue( source->originalLength().lba() );
m_editEndOffset->setMaxValue( source->originalLength().lba() );