summaryrefslogtreecommitdiffstats
path: root/arts/gui
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:45:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-17 10:20:32 +0900
commit39a4235db1ca9b470a13686c534c2f10cf6be1b1 (patch)
treec57fbf371226a9b3e9748846b10a3455091dcc89 /arts/gui
parent81c4cdd09da60e40f157a91bbe7828b82754e8e3 (diff)
downloadtdemultimedia-39a4235db1ca9b470a13686c534c2f10cf6be1b1.tar.gz
tdemultimedia-39a4235db1ca9b470a13686c534c2f10cf6be1b1.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 286a061a4cd8a904a0b16b5be4c274a20935d5df)
Diffstat (limited to 'arts/gui')
-rw-r--r--arts/gui/kde/dbtest.cpp2
-rw-r--r--arts/gui/kde/kbutton_impl.cpp8
-rw-r--r--arts/gui/kde/kcombobox_impl.cpp2
-rw-r--r--arts/gui/kde/kfader_impl.cpp2
-rw-r--r--arts/gui/kde/klineedit_impl.cpp4
-rw-r--r--arts/gui/kde/kpoti.cpp8
-rw-r--r--arts/gui/kde/kpoti_impl.cpp2
-rw-r--r--arts/gui/kde/kspinbox_impl.cpp2
-rw-r--r--arts/gui/kde/kvolumefader_impl.cpp2
-rw-r--r--arts/gui/kde/kwidget_impl.cpp4
-rw-r--r--arts/gui/kde/tdepopupbox_impl.cpp6
-rw-r--r--arts/gui/kde/tdepopupbox_private.h4
12 files changed, 23 insertions, 23 deletions
diff --git a/arts/gui/kde/dbtest.cpp b/arts/gui/kde/dbtest.cpp
index e1933b17..57a03730 100644
--- a/arts/gui/kde/dbtest.cpp
+++ b/arts/gui/kde/dbtest.cpp
@@ -12,7 +12,7 @@
dBTestWidget::dBTestWidget( TQWidget* p, const char* n ) : TQWidget( p,n ), dB2VolCalc( -24,6 ) {
kdDebug() << k_funcinfo << endl;
- ( void* ) KStdAction::quit( this, TQT_SLOT( close() ), new TDEActionCollection( this ) );
+ ( void* ) KStdAction::quit( this, TQ_SLOT( close() ), new TDEActionCollection( this ) );
for ( float i=0; i<=1; i+=0.25 )
kdDebug() << i << " : " << amptodb( i ) << "dB" <<endl;
diff --git a/arts/gui/kde/kbutton_impl.cpp b/arts/gui/kde/kbutton_impl.cpp
index 752761b2..dfe4678f 100644
--- a/arts/gui/kde/kbutton_impl.cpp
+++ b/arts/gui/kde/kbutton_impl.cpp
@@ -33,10 +33,10 @@ KButtonMapper::KButtonMapper( KButton_impl *_impl, TQPushButton *but )
, impl( _impl )
, button( but )
{
- connect( but, TQT_SIGNAL( pressed() ), this, TQT_SLOT( pressed() ) );
- connect( but, TQT_SIGNAL( released() ), this, TQT_SLOT( released() ) );
- connect( but, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( toggled( bool ) ) );
- connect( but, TQT_SIGNAL( clicked() ), this, TQT_SLOT( clicked() ) );
+ connect( but, TQ_SIGNAL( pressed() ), this, TQ_SLOT( pressed() ) );
+ connect( but, TQ_SIGNAL( released() ), this, TQ_SLOT( released() ) );
+ connect( but, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( toggled( bool ) ) );
+ connect( but, TQ_SIGNAL( clicked() ), this, TQ_SLOT( clicked() ) );
}
void KButtonMapper::pressed()
diff --git a/arts/gui/kde/kcombobox_impl.cpp b/arts/gui/kde/kcombobox_impl.cpp
index 1bbc36c7..fced3445 100644
--- a/arts/gui/kde/kcombobox_impl.cpp
+++ b/arts/gui/kde/kcombobox_impl.cpp
@@ -34,7 +34,7 @@ ComboBoxIntMapper::ComboBoxIntMapper(KComboBox_impl *impl, KComboBox *co)
: TQObject( co, "map TQt signal to aRts" )
,impl(impl)
{
- connect(co, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(activated(const TQString &)));
+ connect(co, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(activated(const TQString &)));
}
void ComboBoxIntMapper::activated(const TQString & newValue)
diff --git a/arts/gui/kde/kfader_impl.cpp b/arts/gui/kde/kfader_impl.cpp
index cda42179..b667056d 100644
--- a/arts/gui/kde/kfader_impl.cpp
+++ b/arts/gui/kde/kfader_impl.cpp
@@ -34,7 +34,7 @@ using namespace std;
FaderIntMapper::FaderIntMapper(KFader_impl *impl, KFader *kp) :impl(impl)
{
- connect(kp, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(valueChanged(int)));
+ connect(kp, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(valueChanged(int)));
}
void FaderIntMapper::valueChanged(int pos)
diff --git a/arts/gui/kde/klineedit_impl.cpp b/arts/gui/kde/klineedit_impl.cpp
index 6c3c907b..3054270e 100644
--- a/arts/gui/kde/klineedit_impl.cpp
+++ b/arts/gui/kde/klineedit_impl.cpp
@@ -29,8 +29,8 @@ using namespace std;
KLineEditStringMapper::KLineEditStringMapper(KLineEdit_impl *impl, KLineEdit *ke)
:impl(impl)
{
- connect(ke, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(textChanged(const TQString&)));
+ connect(ke, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(textChanged(const TQString&)));
}
void KLineEditStringMapper::textChanged(const TQString& newText)
diff --git a/arts/gui/kde/kpoti.cpp b/arts/gui/kde/kpoti.cpp
index 8fc412a2..03bd905d 100644
--- a/arts/gui/kde/kpoti.cpp
+++ b/arts/gui/kde/kpoti.cpp
@@ -495,14 +495,14 @@ void KPoti::mousePressEvent( TQMouseEvent *e )
subtractPage();
if ( !timer )
timer = new TQTimer( this );
- connect( timer, TQT_SIGNAL(timeout()), TQT_SLOT(repeatTimeout()) );
+ connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(repeatTimeout()) );
timer->start( thresholdTime, TRUE );
} else {
state = TimingUp;
addPage();
if ( !timer )
timer = new TQTimer( this );
- connect( timer, TQT_SIGNAL(timeout()), TQT_SLOT(repeatTimeout()) );
+ connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(repeatTimeout()) );
timer->start( thresholdTime, TRUE );
}
}
@@ -695,9 +695,9 @@ void KPoti::repeatTimeout()
Q_ASSERT( timer );
timer->disconnect();
if ( state == TimingDown )
- connect( timer, TQT_SIGNAL(timeout()), TQT_SLOT(subtractStep()) );
+ connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(subtractStep()) );
else if ( state == TimingUp )
- connect( timer, TQT_SIGNAL(timeout()), TQT_SLOT(addStep()) );
+ connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(addStep()) );
timer->start( repeatTime, FALSE );
}
diff --git a/arts/gui/kde/kpoti_impl.cpp b/arts/gui/kde/kpoti_impl.cpp
index b5d4f043..fbf442f0 100644
--- a/arts/gui/kde/kpoti_impl.cpp
+++ b/arts/gui/kde/kpoti_impl.cpp
@@ -35,7 +35,7 @@ PotiIntMapper::PotiIntMapper(KPoti_impl *impl, KPoti *kp)
: TQObject( kp )
, impl( impl )
{
- connect(kp, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(valueChanged(int)));
+ connect(kp, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(valueChanged(int)));
}
void PotiIntMapper::valueChanged(int pos)
diff --git a/arts/gui/kde/kspinbox_impl.cpp b/arts/gui/kde/kspinbox_impl.cpp
index e352033c..877c080f 100644
--- a/arts/gui/kde/kspinbox_impl.cpp
+++ b/arts/gui/kde/kspinbox_impl.cpp
@@ -32,7 +32,7 @@ using namespace std;
SpinBoxIntMapper::SpinBoxIntMapper(KSpinBox_impl *impl, TQSpinBox *sp)
:impl(impl)
{
- connect(sp, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(valueChanged(int)));
+ connect(sp, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(valueChanged(int)));
}
void SpinBoxIntMapper::valueChanged(int pos)
diff --git a/arts/gui/kde/kvolumefader_impl.cpp b/arts/gui/kde/kvolumefader_impl.cpp
index b32bff35..4236e0cd 100644
--- a/arts/gui/kde/kvolumefader_impl.cpp
+++ b/arts/gui/kde/kvolumefader_impl.cpp
@@ -121,7 +121,7 @@ KVolumeFader_Widget::KVolumeFader_Widget( TQWidget* p, const char* n )
, _value( -1 )
, _dir( Arts::BottomToTop )
, _menu( new TDEPopupMenu( this ) )
- , _aExactValue( new TDEAction( i18n( "Set Exact Value..." ), TDEShortcut(), this, TQT_SLOT( exactValue() ), this ) )
+ , _aExactValue( new TDEAction( i18n( "Set Exact Value..." ), TDEShortcut(), this, TQ_SLOT( exactValue() ), this ) )
{
//kdDebug() << k_funcinfo << endl;
setMinimumSize( 10,10 );
diff --git a/arts/gui/kde/kwidget_impl.cpp b/arts/gui/kde/kwidget_impl.cpp
index 53ccb8ad..e44a818f 100644
--- a/arts/gui/kde/kwidget_impl.cpp
+++ b/arts/gui/kde/kwidget_impl.cpp
@@ -39,8 +39,8 @@ KWidget_impl::KWidget_impl( TQWidget * widget )
* the panel got deleted, our widget will be gone, too)
*/
_guard = new KWidgetGuard(this);
- TQObject::connect(_qwidget, TQT_SIGNAL(destroyed()),
- _guard, TQT_SLOT(widgetDestroyed()));
+ TQObject::connect(_qwidget, TQ_SIGNAL(destroyed()),
+ _guard, TQ_SLOT(widgetDestroyed()));
}
KWidget_impl::~KWidget_impl()
diff --git a/arts/gui/kde/tdepopupbox_impl.cpp b/arts/gui/kde/tdepopupbox_impl.cpp
index 9263fc0d..150cccb7 100644
--- a/arts/gui/kde/tdepopupbox_impl.cpp
+++ b/arts/gui/kde/tdepopupbox_impl.cpp
@@ -64,11 +64,11 @@ TDEPopupBox_widget::TDEPopupBox_widget( TQWidget *parent, const char* name ) : T
_titlebarlayout->setAutoAdd( true );
_showbutton = new ShowButton( _titlebar );
- connect( _showbutton, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( hide( bool ) ) );
+ connect( _showbutton, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( hide( bool ) ) );
_drag = new HandleDrag( _titlebar );
- connect( _drag, TQT_SIGNAL( clicked() ), _showbutton, TQT_SLOT( toggle() ) );
+ connect( _drag, TQ_SIGNAL( clicked() ), _showbutton, TQ_SLOT( toggle() ) );
_ownbutton = new OwnButton( _titlebar );
- connect( _ownbutton, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( own( bool ) ) );
+ connect( _ownbutton, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( own( bool ) ) );
_artswidget = new OwnWidget( _showbutton, this );
diff --git a/arts/gui/kde/tdepopupbox_private.h b/arts/gui/kde/tdepopupbox_private.h
index 1df01f79..21fc3034 100644
--- a/arts/gui/kde/tdepopupbox_private.h
+++ b/arts/gui/kde/tdepopupbox_private.h
@@ -118,7 +118,7 @@ private:
public:
ShowButton( TQWidget *parent, const char* name=0 ) : TQPushButton( parent,name ), _dir( TQBoxLayout::LeftToRight )
{
- connect( this, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( owntoggle( bool ) ) );
+ connect( this, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( owntoggle( bool ) ) );
setToggleButton( true );
_pmleft = TQPixmap( const_cast<const char**>( left_xpm ) );
_pmright = TQPixmap( const_cast<const char**>( right_xpm ) );
@@ -174,7 +174,7 @@ private:
public:
OwnButton( TQWidget *parent, const char* name=0 ) : TQPushButton( parent,name )
{
- connect( this, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( toggle( bool ) ) );
+ connect( this, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( toggle( bool ) ) );
setToggleButton( true );
_pmown = TQPixmap( const_cast<const char**>( own_xpm ) );
_pminside = TQPixmap( const_cast<const char**>( inside_xpm ) );