summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageviewcontroller.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-07 17:17:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-07 17:17:09 +0900
commit831670cd1aa76b314b447cfa2d9c71603cbbf43e (patch)
tree5616a5ded1d1be90db68f1dbd14091c8a9d57386 /src/gvcore/imageviewcontroller.cpp
parent9e6e0ff97a1c51067ef5144cde7dc30031c2ac3a (diff)
downloadgwenview-831670cd1aa76b314b447cfa2d9c71603cbbf43e.tar.gz
gwenview-831670cd1aa76b314b447cfa2d9c71603cbbf43e.zip
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/gvcore/imageviewcontroller.cpp')
-rw-r--r--src/gvcore/imageviewcontroller.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/imageviewcontroller.cpp b/src/gvcore/imageviewcontroller.cpp
index 008b3d4..03e81dc 100644
--- a/src/gvcore/imageviewcontroller.cpp
+++ b/src/gvcore/imageviewcontroller.cpp
@@ -153,7 +153,7 @@ struct ImageViewController::Private {
TQString library=service->library();
Q_ASSERT(!library.isNull());
LOG("Library:" << library);
- mPlayerPart = KParts::ComponentFactory::createPartInstanceFromService<KParts::ReadOnlyPart>(service, TQT_TQWIDGET(mStack), 0, TQT_TQOBJECT(mStack), 0);
+ mPlayerPart = KParts::ComponentFactory::createPartInstanceFromService<KParts::ReadOnlyPart>(service, mStack, 0, mStack, 0);
if (!mPlayerPart) {
kdWarning() << "Failed to instantiate KPart from library " << library << endl;
return;
@@ -394,7 +394,7 @@ void ImageViewController::slotAutoHide() {
}
// Only hide cursor if we are not over a dialog
- TQWidget* widget = TQT_TQWIDGET(TDEApplication::kApplication()->activeWindow());
+ TQWidget* widget = TDEApplication::kApplication()->activeWindow();
if (!widget || !widget->inherits("TQDialog")) {
TQApplication::setOverrideCursor(blankCursor);
d->mCursorHidden=true;