diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 12:21:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 18:00:18 +0900 |
commit | 2795d5ce0a0315aeba52894ef2b8cdff5d74280e (patch) | |
tree | 44594eabfd5e297a077a7e7ed04d027a8d9ef4b1 | |
parent | 107ab7796f5e050b4d96d1ebf8e7121a61f6279d (diff) | |
download | tdemultimedia-2795d5ce0a0315aeba52894ef2b8cdff5d74280e.tar.gz tdemultimedia-2795d5ce0a0315aeba52894ef2b8cdff5d74280e.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 172024abe61897349878c7421cfd99a8d2aa957a)
-rw-r--r-- | juk/systemtray.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/winskin/waButton.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/juk/systemtray.cpp b/juk/systemtray.cpp index 577817b9..85abc339 100644 --- a/juk/systemtray.cpp +++ b/juk/systemtray.cpp @@ -577,7 +577,7 @@ void SystemTray::mousePressEvent(TQMouseEvent *e) KSystemTray::mousePressEvent(e); break; case Qt::MidButton: - if(!TQT_TQRECT_OBJECT(rect()).contains(e->pos())) + if(!rect().contains(e->pos())) return; if(action("pause")->isEnabled()) action("pause")->activate(); diff --git a/noatun/modules/winskin/waButton.cpp b/noatun/modules/winskin/waButton.cpp index 8dfa7bfb..6ecf4050 100644 --- a/noatun/modules/winskin/waButton.cpp +++ b/noatun/modules/winskin/waButton.cpp @@ -68,7 +68,7 @@ void WaButton::mouseReleaseEvent(TQMouseEvent* e) { else { pressed = false; - if (TQT_TQRECT_OBJECT(this->rect()).contains(e->pos())){ + if (this->rect().contains(e->pos())){ if (_togglable) { _toggled = !_toggled; emit(toggleEvent(_toggled)); |