Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/3/head
Michele Calgaro 9 months ago
parent e860f57ae8
commit 3477bc314e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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;
}

@ -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: {

Loading…
Cancel
Save