diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:40:41 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-13 22:53:33 +0900 |
commit | 9b77564bcd0389be0f4af6cf74890ca8264f68a3 (patch) | |
tree | 66581b1b8dd58e97eaf3a95845370d019d032551 /src/common | |
parent | ef93b5a56c66ac5e4215eefe5cbbc00d384e5869 (diff) | |
download | piklab-9b77564bcd0389be0f4af6cf74890ca8264f68a3.tar.gz piklab-9b77564bcd0389be0f4af6cf74890ca8264f68a3.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 3477bc314ee51af99a2111d913a171ac5eae7b74)
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/gui/dialog.cpp | 2 | ||||
-rw-r--r-- | src/common/gui/list_view.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/gui/dialog.cpp b/src/common/gui/dialog.cpp index ff04649..9b24656 100644 --- a/src/common/gui/dialog.cpp +++ b/src/common/gui/dialog.cpp @@ -181,7 +181,7 @@ void TreeListDialog::pageDestroyed(TQObject *object) TQListViewItemIterator it(_listView); for (; it.current(); ++it) { Item *item = static_cast<Item *>(it.current()); - if ( TQT_BASE_OBJECT(item->_page)!=TQT_BASE_OBJECT(object) ) continue; + if ( item->_page!=object ) continue; delete item; break; } diff --git a/src/common/gui/list_view.cpp b/src/common/gui/list_view.cpp index d500f7b..97e6b16 100644 --- a/src/common/gui/list_view.cpp +++ b/src/common/gui/list_view.cpp @@ -45,7 +45,7 @@ bool ListView::eventFilter(TQObject *o, TQEvent *e) TQValueList<EditListViewItem *>::const_iterator it; for (it=_editItems.begin(); it!=_editItems.end(); ++it) { for (uint i=0; i<(*it)->_editWidgets.count(); i++) { - if ( TQT_BASE_OBJECT((*it)->_editWidgets[i])==TQT_BASE_OBJECT(o) ) { + if ( (*it)->_editWidgets[i]==o ) { //tqDebug("event %i", e->type()); switch (e->type()) { case TQEvent::KeyPress: { |