summaryrefslogtreecommitdiffstats
path: root/libk3b/tools
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-09 18:25:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-09 18:28:31 +0900
commit766478630b5e0f435d8aef9ee7ba44651e4e431d (patch)
treef7051c2c461364796929ed39875262b434fe0f42 /libk3b/tools
parentb67830aae3b0bd8e8bfd2be1a7714dcb978ff59b (diff)
downloadk3b-766478630b5e0f435d8aef9ee7ba44651e4e431d.tar.gz
k3b-766478630b5e0f435d8aef9ee7ba44651e4e431d.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libk3b/tools')
-rw-r--r--libk3b/tools/k3bintvalidator.cpp4
-rw-r--r--libk3b/tools/k3blistview.cpp4
-rw-r--r--libk3b/tools/k3bmsfedit.cpp2
-rw-r--r--libk3b/tools/k3bmultichoicedialog.cpp4
4 files changed, 7 insertions, 7 deletions
diff --git a/libk3b/tools/k3bintvalidator.cpp b/libk3b/tools/k3bintvalidator.cpp
index a4d20d4..77e499c 100644
--- a/libk3b/tools/k3bintvalidator.cpp
+++ b/libk3b/tools/k3bintvalidator.cpp
@@ -25,14 +25,14 @@
K3bIntValidator::K3bIntValidator ( TQWidget * parent, const char * name )
- : TQValidator(TQT_TQOBJECT(parent), name)
+ : TQValidator(parent, name)
{
m_min = m_max = 0;
}
K3bIntValidator::K3bIntValidator ( int bottom, int top, TQWidget * parent, const char * name )
- : TQValidator(TQT_TQOBJECT(parent), name)
+ : TQValidator(parent, name)
{
m_min = bottom;
m_max = top;
diff --git a/libk3b/tools/k3blistview.cpp b/libk3b/tools/k3blistview.cpp
index d00dddc..66ab37c 100644
--- a/libk3b/tools/k3blistview.cpp
+++ b/libk3b/tools/k3blistview.cpp
@@ -769,7 +769,7 @@ TQWidget* K3bListView::prepareEditor( K3bListViewItem* item, int col )
case K3bListViewItem::SPIN:
if( !m_editorSpinBox ) {
m_editorSpinBox = new TQSpinBox( viewport() );
- d->spinBoxLineEdit = static_cast<TQLineEdit*>(TQT_TQWIDGET( m_editorSpinBox->child( 0, "TQLineEdit" ) ));
+ d->spinBoxLineEdit = static_cast<TQLineEdit*>( m_editorSpinBox->child( 0, "TQLineEdit" ) );
connect( m_editorSpinBox, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotEditorSpinBoxValueChanged(int)) );
// m_editorSpinBox->installEventFilter( this );
@@ -782,7 +782,7 @@ TQWidget* K3bListView::prepareEditor( K3bListViewItem* item, int col )
case K3bListViewItem::MSF:
if( !m_editorMsfEdit ) {
m_editorMsfEdit = new K3bMsfEdit( viewport() );
- d->msfEditLineEdit = static_cast<TQLineEdit*>(TQT_TQWIDGET( m_editorMsfEdit->child( 0, "TQLineEdit" ) ));
+ d->msfEditLineEdit = static_cast<TQLineEdit*>( m_editorMsfEdit->child( 0, "TQLineEdit" ) );
connect( m_editorMsfEdit, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotEditorMsfEditValueChanged(int)) );
// m_editorMsfEdit->installEventFilter( this );
diff --git a/libk3b/tools/k3bmsfedit.cpp b/libk3b/tools/k3bmsfedit.cpp
index 0e467dc..822392e 100644
--- a/libk3b/tools/k3bmsfedit.cpp
+++ b/libk3b/tools/k3bmsfedit.cpp
@@ -36,7 +36,7 @@ K3bMsfValidator::K3bMsfValidator( TQObject* parent, const char* name )
K3bMsfEdit::K3bMsfEdit( TQWidget* parent, const char* name )
: TQSpinBox( parent, name )
{
- setValidator( new K3bMsfValidator( TQT_TQOBJECT(this) ) );
+ setValidator( new K3bMsfValidator( this ) );
setMinValue( 0 );
// some very high value (10000 minutes)
setMaxValue( 10000*60*75 );
diff --git a/libk3b/tools/k3bmultichoicedialog.cpp b/libk3b/tools/k3bmultichoicedialog.cpp
index c502d95..64d228f 100644
--- a/libk3b/tools/k3bmultichoicedialog.cpp
+++ b/libk3b/tools/k3bmultichoicedialog.cpp
@@ -82,7 +82,7 @@ K3bMultiChoiceDialog::K3bMultiChoiceDialog( const TQString& caption,
: KDialog( parent, name )
{
d = new Private();
- d->mapper = new TQSignalMapper( TQT_TQOBJECT(this) );
+ d->mapper = new TQSignalMapper( this );
connect( d->mapper, TQT_SIGNAL(mapped(int)), this, TQT_SLOT(done(int)) );
setCaption( caption );
@@ -126,7 +126,7 @@ int K3bMultiChoiceDialog::addButton( const KGuiItem& b )
KPushButton* button = new KPushButton( b, this );
d->buttonLayout->add( button );
d->buttons.append(button);
- d->mapper->setMapping( TQT_TQOBJECT(button), d->buttons.count() );
+ d->mapper->setMapping( button, d->buttons.count() );
connect( button, TQT_SIGNAL(clicked()), d->mapper, TQT_SLOT(map()) );
return d->buttons.count();
}