diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:41:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 21:00:58 +0900 |
commit | eef3d8d98fd405498799b69174b1ce642188eee3 (patch) | |
tree | 56cf30fcdfd6cb729b34fb0704d663a4e39eb703 /src/gvcore | |
parent | d1b610d43eef32a054c6113ec705f1c982339af8 (diff) | |
download | gwenview-eef3d8d98fd405498799b69174b1ce642188eee3.tar.gz gwenview-eef3d8d98fd405498799b69174b1ce642188eee3.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/gvcore')
-rw-r--r-- | src/gvcore/imageloader.cpp | 2 | ||||
-rw-r--r-- | src/gvcore/imageviewcontroller.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/imageloader.cpp b/src/gvcore/imageloader.cpp index 8b2c546..bb5d68c 100644 --- a/src/gvcore/imageloader.cpp +++ b/src/gvcore/imageloader.cpp @@ -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() ); } //--------------------------------------------------------------------- diff --git a/src/gvcore/imageviewcontroller.cpp b/src/gvcore/imageviewcontroller.cpp index f97c847..008b3d4 100644 --- a/src/gvcore/imageviewcontroller.cpp +++ b/src/gvcore/imageviewcontroller.cpp @@ -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; } |