diff options
author | Michele Calgaro <[email protected]> | 2023-12-21 11:50:27 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-21 19:10:24 +0900 |
commit | 3ec2e5d1452640f61934f62bb4d5820c09812710 (patch) | |
tree | 850cb1382cc875ec62d4ae1811247f5fddc0d69b /kuiviewer/kuiviewer.cpp | |
parent | e116e9630fefaa0aa8d999e8eb34949ca8fa0724 (diff) | |
download | tdesdk-3ec2e5d1452640f61934f62bb4d5820c09812710.tar.gz tdesdk-3ec2e5d1452640f61934f62bb4d5820c09812710.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kuiviewer/kuiviewer.cpp')
-rw-r--r-- | kuiviewer/kuiviewer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kuiviewer/kuiviewer.cpp b/kuiviewer/kuiviewer.cpp index 430afaa0..00230f2a 100644 --- a/kuiviewer/kuiviewer.cpp +++ b/kuiviewer/kuiviewer.cpp @@ -60,7 +60,7 @@ KUIViewer::KUIViewer() { // now that the Part is loaded, we cast it to a Part to get // our hands on it - m_part = static_cast<KParts::ReadOnlyPart *>(factory->create(TQT_TQOBJECT(this), + m_part = static_cast<KParts::ReadOnlyPart *>(factory->create(this, "kuiviewer_part", "KParts::ReadOnlyPart" )); if (m_part) @@ -97,8 +97,8 @@ void KUIViewer::load(const KURL& url) void KUIViewer::setupActions() { - KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(fileOpen()), actionCollection()); - KStdAction::quit(TQT_TQOBJECT(kapp), TQT_SLOT(quit()), actionCollection()); + KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection()); + KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection()); } void KUIViewer::saveProperties(TDEConfig* /*config*/) |