diff options
author | Michele Calgaro <[email protected]> | 2024-01-06 12:59:19 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-06 12:59:19 +0900 |
commit | 61f899bc4e80ae6aeed18a90fc04cecebfa700ad (patch) | |
tree | 166c81f6546c02d8370f7f939fb3a7bb06688b4f /style | |
parent | babc63b811b6e52a4a0003f1aa46cbc981591f73 (diff) | |
download | tde-style-qtcurve-61f899bc4e80ae6aeed18a90fc04cecebfa700ad.tar.gz tde-style-qtcurve-61f899bc4e80ae6aeed18a90fc04cecebfa700ad.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'style')
-rw-r--r-- | style/qtcurve.cpp | 12 | ||||
-rw-r--r-- | style/shortcuthandler.cpp | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp index 29c26a8..01ec4d1 100644 --- a/style/qtcurve.cpp +++ b/style/qtcurve.cpp @@ -1148,7 +1148,7 @@ QtCurveStyle::QtCurveStyle() if (opts.animatedProgress) { itsAnimationTimer = new TQTimer(this); - connect(itsAnimationTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateProgressPos())); + connect(itsAnimationTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateProgressPos())); } setSbType(); @@ -1556,11 +1556,11 @@ void QtCurveStyle::polish(const TQStyleControlElementData &ceData, ControlElemen if(::isKhtmlFormWidget(widget)) { itsKhtmlWidgets[widget]=true; - connect(widget, TQT_SIGNAL(destroyed(TQObject *)), this, TQT_SLOT(tdehtmlWidgetDestroyed(TQObject *))); + connect(widget, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(tdehtmlWidgetDestroyed(TQObject *))); } if(enableFilter && isSpecialHover(widget)) - connect(widget, TQT_SIGNAL(destroyed(TQObject *)), this, TQT_SLOT(hoverWidgetDestroyed(TQObject *))); + connect(widget, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(hoverWidgetDestroyed(TQObject *))); if(isWindowDragWidget(widget)) installObjectEventHandler(ceData, elementFlags, ptr, this); @@ -1754,8 +1754,8 @@ void QtCurveStyle::polish(const TQStyleControlElementData &ceData, ControlElemen } // This bit stolen form polyester... - connect(widget, TQT_SIGNAL(sliderMoved(int)), this, TQT_SLOT(sliderThumbMoved(int))); - connect(widget, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(sliderThumbMoved(int))); + connect(widget, TQ_SIGNAL(sliderMoved(int)), this, TQ_SLOT(sliderThumbMoved(int))); + connect(widget, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(sliderThumbMoved(int))); } else if (::tqt_cast<TQLineEdit*>(widget) || ::tqt_cast<TQTextEdit*>(widget)) { @@ -1813,7 +1813,7 @@ void QtCurveStyle::polish(const TQStyleControlElementData &ceData, ControlElemen { installObjectEventHandler(ceData, elementFlags, ptr, this); itsProgAnimWidgets[widget] = 0; - connect(widget, TQT_SIGNAL(destroyed(TQObject *)), this, TQT_SLOT(progressBarDestroyed(TQObject *))); + connect(widget, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(progressBarDestroyed(TQObject *))); if (!itsAnimationTimer->isActive()) itsAnimationTimer->start(PROGRESS_ANIMATION, false); } diff --git a/style/shortcuthandler.cpp b/style/shortcuthandler.cpp index 7407366..bb27988 100644 --- a/style/shortcuthandler.cpp +++ b/style/shortcuthandler.cpp @@ -77,7 +77,7 @@ void ShortcutHandler::updateWidget(TQWidget *w) { if(!itsUpdated.contains(w)) { - connect(w, SIGNAL(destroyed(TQObject *)), this, SLOT(widgetDestroyed(TQObject *))); + connect(w, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(widgetDestroyed(TQObject *))); itsUpdated.append(w); w->repaint(TRUE); } @@ -151,7 +151,7 @@ bool ShortcutHandler::eventFilter(TQObject *o, TQEvent *e) itsOpenMenus.append(widget); if(itsAltDown && prev) prev->repaint(TRUE); - connect(widget, SIGNAL(destroyed(TQObject *)), this, SLOT(widgetDestroyed(TQObject *))); + connect(widget, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(widgetDestroyed(TQObject *))); } break; case TQEvent::Hide: |