diff options
author | Michele Calgaro <[email protected]> | 2024-01-06 12:58:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-09 10:15:44 +0900 |
commit | 8f6829a20f2439f2bcfb7f39ce64eef133e93234 (patch) | |
tree | 1dc5e354119d6224d9f90d93647947db49b88bdb /style | |
parent | 210aaadd2d93af34c05914ba67a83895458601f9 (diff) | |
download | tde-style-baghira-8f6829a20f2439f2bcfb7f39ce64eef133e93234.tar.gz tde-style-baghira-8f6829a20f2439f2bcfb7f39ce64eef133e93234.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 936a0c73f552cce101c9aa5ec64800fad86542a2)
Diffstat (limited to 'style')
-rw-r--r-- | style/baghira.cpp | 4 | ||||
-rw-r--r-- | style/eventfilter.cpp | 2 | ||||
-rw-r--r-- | style/polish.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/style/baghira.cpp b/style/baghira.cpp index 2bd7903..e53c761 100644 --- a/style/baghira.cpp +++ b/style/baghira.cpp @@ -213,7 +213,7 @@ LiquidStyle::LiquidStyle() : TDEStyle( AllowMenuTransparency | FilledFrameWorkar TQTimer* timer = new TQTimer( this ); timer->start(50, false); // if (optionHandler->AnimateProgress()) - connect(timer, SIGNAL(timeout()), this, SLOT(updateProgressPos())); + connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateProgressPos())); activeScroller = NULL; //-------------------------------------- @@ -229,7 +229,7 @@ LiquidStyle::LiquidStyle() : TDEStyle( AllowMenuTransparency | FilledFrameWorkar optionHandler = new OptionHandler( this ); if (optionHandler->style() != Milk && optionHandler->AnimateSlider()) - connect(timer, SIGNAL(timeout()), this, SLOT(updateSliderPos())); + connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateSliderPos())); if (optionHandler->style() == Brushed) bmShower = new BMShower(this); diff --git a/style/eventfilter.cpp b/style/eventfilter.cpp index a701e60..562a31c 100644 --- a/style/eventfilter.cpp +++ b/style/eventfilter.cpp @@ -538,7 +538,7 @@ bool LiquidStyle::objectEventHandler( const TQStyleControlElementData &ceData, return false; mouseButtonPressed_ = true; cursorPos_ = mev->globalPos(); - TQTimer::singleShot(50,this,SLOT(fakeMouse())); + TQTimer::singleShot(50,this,TQ_SLOT(fakeMouse())); return true; // fire this event } if ( ::tqt_cast<TQScrollBar*>(obj) && ((TQMouseEvent*)ev)->button() != TQt::RightButton) diff --git a/style/polish.cpp b/style/polish.cpp index 064fcdb..5998db6 100644 --- a/style/polish.cpp +++ b/style/polish.cpp @@ -725,7 +725,7 @@ void LiquidStyle::polish( const TQStyleControlElementData &ceData, ControlElemen { w->setBackgroundMode( NoBackground ); installObjectEventHandler(ceData, elementFlags, ptr, this); - connect(w, SIGNAL(destroyed(TQObject*)), this, SLOT(progressBarDestroyed(TQObject*))); + connect(w, TQ_SIGNAL(destroyed(TQObject*)), this, TQ_SLOT(progressBarDestroyed(TQObject*))); goto kstpolish; } |