Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/5/head
Michele Calgaro 1 year ago
parent d1b610d43e
commit eef3d8d98f
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -883,7 +883,7 @@ void ImageLoader::release( const TQObject* owner ) {
}
void ImageLoader::ownerDestroyed() {
deref( TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())));
deref( sender() );
}
//---------------------------------------------------------------------

@ -425,7 +425,7 @@ bool ImageViewController::eventFilter(TQObject* object, TQEvent* event) {
bool isAChildOfStack=false;
TQObject* parentObject;
for (parentObject=object->parent(); parentObject; parentObject=parentObject->parent()) {
if (TQT_BASE_OBJECT(parentObject)==TQT_BASE_OBJECT(d->mStack)) {
if (parentObject==d->mStack) {
isAChildOfStack=true;
break;
}

Loading…
Cancel
Save