summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:40:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 20:51:08 +0900
commit3477bc314ee51af99a2111d913a171ac5eae7b74 (patch)
tree4e8b34008b9040d07297c45f794d697c4c292257
parente860f57ae80a5d37c62b28271367a94959be6172 (diff)
downloadpiklab-3477bc314ee51af99a2111d913a171ac5eae7b74.tar.gz
piklab-3477bc314ee51af99a2111d913a171ac5eae7b74.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/common/gui/dialog.cpp2
-rw-r--r--src/common/gui/list_view.cpp2
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: {