Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit eef3d8d98f)
pull/34/head
Michele Calgaro 1 year ago
parent ff1ab64a5c
commit a248cedfe9
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