summaryrefslogtreecommitdiffstats
path: root/libk3b/tools
diff options
context:
space:
mode:
Diffstat (limited to 'libk3b/tools')
-rw-r--r--libk3b/tools/k3bbusywidget.cpp2
-rw-r--r--libk3b/tools/k3bdevicecombobox.cpp8
-rw-r--r--libk3b/tools/k3bdevicehandler.h4
-rw-r--r--libk3b/tools/k3bintmapcombobox.cpp8
-rw-r--r--libk3b/tools/k3blistview.cpp20
-rw-r--r--libk3b/tools/k3blistviewitemanimator.cpp2
-rw-r--r--libk3b/tools/k3bmd5job.cpp6
-rw-r--r--libk3b/tools/k3bmsfedit.cpp4
-rw-r--r--libk3b/tools/k3bmultichoicedialog.cpp4
-rw-r--r--libk3b/tools/k3bpushbutton.cpp2
-rw-r--r--libk3b/tools/k3bradioaction.h12
-rw-r--r--libk3b/tools/k3bsignalwaiter.cpp4
-rw-r--r--libk3b/tools/k3btoolbox.cpp12
13 files changed, 44 insertions, 44 deletions
diff --git a/libk3b/tools/k3bbusywidget.cpp b/libk3b/tools/k3bbusywidget.cpp
index f9e7bc3..8eba682 100644
--- a/libk3b/tools/k3bbusywidget.cpp
+++ b/libk3b/tools/k3bbusywidget.cpp
@@ -27,7 +27,7 @@ K3bBusyWidget::K3bBusyWidget( TQWidget* parent, const char* name )
m_busyTimer = new TQTimer( this );
m_iBusyPosition = 0;
- connect( m_busyTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(animateBusy()) );
+ connect( m_busyTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(animateBusy()) );
m_bBusy = false;
}
diff --git a/libk3b/tools/k3bdevicecombobox.cpp b/libk3b/tools/k3bdevicecombobox.cpp
index 0ca6075..28b7a23 100644
--- a/libk3b/tools/k3bdevicecombobox.cpp
+++ b/libk3b/tools/k3bdevicecombobox.cpp
@@ -36,10 +36,10 @@ K3bDeviceComboBox::K3bDeviceComboBox( TQWidget* parent, const char* name )
: KComboBox( parent, name )
{
d = new Private();
- connect( this, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotActivated(int)) );
- connect( k3bcore->deviceManager(), TQT_SIGNAL(changed(K3bDevice::DeviceManager*)),
- this, TQT_SLOT(slotDeviceManagerChanged(K3bDevice::DeviceManager*)) );
+ connect( this, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotActivated(int)) );
+ connect( k3bcore->deviceManager(), TQ_SIGNAL(changed(K3bDevice::DeviceManager*)),
+ this, TQ_SLOT(slotDeviceManagerChanged(K3bDevice::DeviceManager*)) );
}
diff --git a/libk3b/tools/k3bdevicehandler.h b/libk3b/tools/k3bdevicehandler.h
index 104ca84..4752b17 100644
--- a/libk3b/tools/k3bdevicehandler.h
+++ b/libk3b/tools/k3bdevicehandler.h
@@ -178,8 +178,8 @@ namespace K3bDevice
* Usage:
* \code
* connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::MOUNT, dev ),
- * TQT_SIGNAL(finished(DeviceHandler*)),
- * this, TQT_SLOT(someSlot(DeviceHandler*)) );
+ * TQ_SIGNAL(finished(DeviceHandler*)),
+ * this, TQ_SLOT(someSlot(DeviceHandler*)) );
*
* void someSlot( DeviceHandler* dh ) {
* if( dh->success() ) {
diff --git a/libk3b/tools/k3bintmapcombobox.cpp b/libk3b/tools/k3bintmapcombobox.cpp
index c78280e..29bd238 100644
--- a/libk3b/tools/k3bintmapcombobox.cpp
+++ b/libk3b/tools/k3bintmapcombobox.cpp
@@ -35,10 +35,10 @@ K3bIntMapComboBox::K3bIntMapComboBox( TQWidget* parent, const char* name )
: KComboBox( parent, name )
{
d = new Private;
- connect( this, TQT_SIGNAL(highlighted(int)),
- this, TQT_SLOT(slotItemHighlighted(int)) );
- connect( this, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotItemActivated(int)) );
+ connect( this, TQ_SIGNAL(highlighted(int)),
+ this, TQ_SLOT(slotItemHighlighted(int)) );
+ connect( this, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotItemActivated(int)) );
}
diff --git a/libk3b/tools/k3blistview.cpp b/libk3b/tools/k3blistview.cpp
index 66ab37c..8d22df8 100644
--- a/libk3b/tools/k3blistview.cpp
+++ b/libk3b/tools/k3blistview.cpp
@@ -552,8 +552,8 @@ K3bListView::K3bListView( TQWidget* parent, const char* name )
{
d = new Private;
- connect( header(), TQT_SIGNAL( sizeChange( int, int, int ) ),
- this, TQT_SLOT( updateEditorSize() ) );
+ connect( header(), TQ_SIGNAL( sizeChange( int, int, int ) ),
+ this, TQ_SLOT( updateEditorSize() ) );
m_editorButton = 0;
m_editorComboBox = 0;
@@ -709,8 +709,8 @@ void K3bListView::prepareButton( K3bListViewItem*, int )
{
if( !m_editorButton ) {
m_editorButton = new TQPushButton( viewport() );
- connect( m_editorButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotEditorButtonClicked()) );
+ connect( m_editorButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotEditorButtonClicked()) );
}
// TODO: do some useful things
@@ -724,8 +724,8 @@ TQWidget* K3bListView::prepareEditor( K3bListViewItem* item, int col )
case K3bListViewItem::COMBO:
if( !m_editorComboBox ) {
m_editorComboBox = new TQComboBox( viewport() );
- connect( m_editorComboBox, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(slotEditorComboBoxActivated(const TQString&)) );
+ connect( m_editorComboBox, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(slotEditorComboBoxActivated(const TQString&)) );
m_editorComboBox->installEventFilter( this );
}
m_editorComboBox->clear();
@@ -770,8 +770,8 @@ TQWidget* K3bListView::prepareEditor( K3bListViewItem* item, int col )
if( !m_editorSpinBox ) {
m_editorSpinBox = new TQSpinBox( viewport() );
d->spinBoxLineEdit = static_cast<TQLineEdit*>( m_editorSpinBox->child( 0, "TQLineEdit" ) );
- connect( m_editorSpinBox, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotEditorSpinBoxValueChanged(int)) );
+ connect( m_editorSpinBox, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotEditorSpinBoxValueChanged(int)) );
// m_editorSpinBox->installEventFilter( this );
d->spinBoxLineEdit->installEventFilter( this );
}
@@ -783,8 +783,8 @@ TQWidget* K3bListView::prepareEditor( K3bListViewItem* item, int col )
if( !m_editorMsfEdit ) {
m_editorMsfEdit = new K3bMsfEdit( viewport() );
d->msfEditLineEdit = static_cast<TQLineEdit*>( m_editorMsfEdit->child( 0, "TQLineEdit" ) );
- connect( m_editorMsfEdit, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotEditorMsfEditValueChanged(int)) );
+ connect( m_editorMsfEdit, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotEditorMsfEditValueChanged(int)) );
// m_editorMsfEdit->installEventFilter( this );
d->msfEditLineEdit->installEventFilter( this );
}
diff --git a/libk3b/tools/k3blistviewitemanimator.cpp b/libk3b/tools/k3blistviewitemanimator.cpp
index 8bb5f69..a5ebf21 100644
--- a/libk3b/tools/k3blistviewitemanimator.cpp
+++ b/libk3b/tools/k3blistviewitemanimator.cpp
@@ -53,7 +53,7 @@ void K3bListViewItemAnimator::init()
m_item = 0;
m_column = 0;
m_timer = new TQTimer( this );
- connect( m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAnimate()) );
+ connect( m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotAnimate()) );
}
diff --git a/libk3b/tools/k3bmd5job.cpp b/libk3b/tools/k3bmd5job.cpp
index 39eff96..e1384de 100644
--- a/libk3b/tools/k3bmd5job.cpp
+++ b/libk3b/tools/k3bmd5job.cpp
@@ -73,8 +73,8 @@ K3bMd5Job::K3bMd5Job( K3bJobHandler* jh, TQObject* parent, const char* name )
{
d = new K3bMd5JobPrivate;
d->data = new char[K3bMd5JobPrivate::BUFFERSIZE];
- connect( &d->timer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(slotUpdate()) );
+ connect( &d->timer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(slotUpdate()) );
}
@@ -135,7 +135,7 @@ void K3bMd5Job::setupFdNotifier()
// the TQSocketNotifier will fire once the fd is closed
delete d->fdNotifier;
d->fdNotifier = new TQSocketNotifier( d->fileDes, TQSocketNotifier::Read, this );
- connect( d->fdNotifier, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotUpdate()) );
+ connect( d->fdNotifier, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotUpdate()) );
d->fdNotifier->setEnabled( true );
}
diff --git a/libk3b/tools/k3bmsfedit.cpp b/libk3b/tools/k3bmsfedit.cpp
index 822392e..7926e97 100644
--- a/libk3b/tools/k3bmsfedit.cpp
+++ b/libk3b/tools/k3bmsfedit.cpp
@@ -41,8 +41,8 @@ K3bMsfEdit::K3bMsfEdit( TQWidget* parent, const char* name )
// some very high value (10000 minutes)
setMaxValue( 10000*60*75 );
- connect( this, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotValueChanged(int)) );
+ connect( this, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotValueChanged(int)) );
}
diff --git a/libk3b/tools/k3bmultichoicedialog.cpp b/libk3b/tools/k3bmultichoicedialog.cpp
index 64d228f..de4cb22 100644
--- a/libk3b/tools/k3bmultichoicedialog.cpp
+++ b/libk3b/tools/k3bmultichoicedialog.cpp
@@ -83,7 +83,7 @@ K3bMultiChoiceDialog::K3bMultiChoiceDialog( const TQString& caption,
{
d = new Private();
d->mapper = new TQSignalMapper( this );
- connect( d->mapper, TQT_SIGNAL(mapped(int)), this, TQT_SLOT(done(int)) );
+ connect( d->mapper, TQ_SIGNAL(mapped(int)), this, TQ_SLOT(done(int)) );
setCaption( caption );
@@ -127,7 +127,7 @@ int K3bMultiChoiceDialog::addButton( const KGuiItem& b )
d->buttonLayout->add( button );
d->buttons.append(button);
d->mapper->setMapping( button, d->buttons.count() );
- connect( button, TQT_SIGNAL(clicked()), d->mapper, TQT_SLOT(map()) );
+ connect( button, TQ_SIGNAL(clicked()), d->mapper, TQ_SLOT(map()) );
return d->buttons.count();
}
diff --git a/libk3b/tools/k3bpushbutton.cpp b/libk3b/tools/k3bpushbutton.cpp
index 636cc4b..d7e6b89 100644
--- a/libk3b/tools/k3bpushbutton.cpp
+++ b/libk3b/tools/k3bpushbutton.cpp
@@ -80,7 +80,7 @@ void K3bPushButton::setDelayedPopupMenu( TQPopupMenu* popup )
{
if( !d->popupTimer ) {
d->popupTimer = new TQTimer( this );
- connect( d->popupTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotDelayedPopup()) );
+ connect( d->popupTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotDelayedPopup()) );
}
setPopup( popup );
diff --git a/libk3b/tools/k3bradioaction.h b/libk3b/tools/k3bradioaction.h
index 92be654..f554c0e 100644
--- a/libk3b/tools/k3bradioaction.h
+++ b/libk3b/tools/k3bradioaction.h
@@ -47,8 +47,8 @@ class LIBK3B_EXPORT K3bRadioAction : public TDEToggleAction
/**
* @param text The text that will be displayed.
* @param cut The corresponding keyboard accelerator (shortcut).
- * @param receiver The SLOT's parent.
- * @param slot The TQT_SLOT to invoke to execute this action.
+ * @param receiver The TQ_SLOT's parent.
+ * @param slot The TQ_SLOT to invoke to execute this action.
* @param parent This action's parent.
* @param name An internal name for this action.
*/
@@ -79,8 +79,8 @@ class LIBK3B_EXPORT K3bRadioAction : public TDEToggleAction
* @param text The text that will be displayed.
* @param pix The icons that go with this action.
* @param cut The corresponding keyboard accelerator (shortcut).
- * @param receiver The SLOT's parent.
- * @param slot The TQT_SLOT to invoke to execute this action.
+ * @param receiver The TQ_SLOT's parent.
+ * @param slot The TQ_SLOT to invoke to execute this action.
* @param parent This action's parent.
* @param name An internal name for this action.
*/
@@ -91,8 +91,8 @@ class LIBK3B_EXPORT K3bRadioAction : public TDEToggleAction
* @param text The text that will be displayed.
* @param pix The dynamically loaded icon that goes with this action.
* @param cut The corresponding keyboard accelerator (shortcut).
- * @param receiver The SLOT's parent.
- * @param slot The TQT_SLOT to invoke to execute this action.
+ * @param receiver The TQ_SLOT's parent.
+ * @param slot The TQ_SLOT to invoke to execute this action.
* @param parent This action's parent.
* @param name An internal name for this action.
*/
diff --git a/libk3b/tools/k3bsignalwaiter.cpp b/libk3b/tools/k3bsignalwaiter.cpp
index 50284c4..359ddcf 100644
--- a/libk3b/tools/k3bsignalwaiter.cpp
+++ b/libk3b/tools/k3bsignalwaiter.cpp
@@ -36,7 +36,7 @@ void K3bSignalWaiter::waitForSignal( TQObject* o, const char* signal )
{
K3bSignalWaiter w;
connect( o, signal,
- &w, TQT_SLOT(slotSignal()) );
+ &w, TQ_SLOT(slotSignal()) );
TQApplication::eventLoop()->enterLoop();
}
@@ -47,7 +47,7 @@ void K3bSignalWaiter::waitForJob( K3bJob* job )
if( !job->active() )
return;
- waitForSignal( job, TQT_SIGNAL(finished(bool)) );
+ waitForSignal( job, TQ_SIGNAL(finished(bool)) );
}
diff --git a/libk3b/tools/k3btoolbox.cpp b/libk3b/tools/k3btoolbox.cpp
index b7fa687..a9467f2 100644
--- a/libk3b/tools/k3btoolbox.cpp
+++ b/libk3b/tools/k3btoolbox.cpp
@@ -101,22 +101,22 @@ K3bToolBoxButton::K3bToolBoxButton( TDEAction* action, TQWidget* parent )
// if( ta->isChecked() )
// toggle();
-// connect( ta, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(toggle()) );
-// connect( this, TQT_SIGNAL(toggled(bool)), ta, TQT_SLOT(setChecked(bool)) );
+// connect( ta, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(toggle()) );
+// connect( this, TQ_SIGNAL(toggled(bool)), ta, TQ_SLOT(setChecked(bool)) );
// }
// else
if( TDEActionMenu* am = dynamic_cast<TDEActionMenu*>( action ) ) {
m_popupMenu = am->popupMenu();
- connect( this, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotPopupActivated()) );
+ connect( this, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotPopupActivated()) );
setPopup( m_popupMenu );
}
else {
- connect( this, TQT_SIGNAL(clicked()), action, TQT_SLOT(activate()) );
+ connect( this, TQ_SIGNAL(clicked()), action, TQ_SLOT(activate()) );
}
- connect( action, TQT_SIGNAL(enabled(bool)), this, TQT_SLOT(setEnabled(bool)) );
+ connect( action, TQ_SIGNAL(enabled(bool)), this, TQ_SLOT(setEnabled(bool)) );
}
@@ -141,7 +141,7 @@ K3bToolBoxButton::K3bToolBoxButton( const TQString& text, const TQString& icon,
TQToolTip::add( this, tooltip );
if( receiver && slot )
- connect( this, TQT_SIGNAL(clicked()), receiver, slot );
+ connect( this, TQ_SIGNAL(clicked()), receiver, slot );
}