summaryrefslogtreecommitdiffstats
path: root/kuiviewer/kuiviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kuiviewer/kuiviewer.cpp')
-rw-r--r--kuiviewer/kuiviewer.cpp6
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*/)