From bc887520bd66fadaff73be6ddf595c2def21e0ff Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 21 Jan 2025 13:36:07 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- src/kchmsetupdialog_impl.cpp | 2 +- src/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kchmsetupdialog_impl.cpp b/src/kchmsetupdialog_impl.cpp index 0c68cba..710f093 100644 --- a/src/kchmsetupdialog_impl.cpp +++ b/src/kchmsetupdialog_impl.cpp @@ -29,6 +29,6 @@ KCHMSetupDialog_impl::KCHMSetupDialog_impl(TQWidget* parent, const char* name, b void KCHMSetupDialog_impl::slotShowHelp() { #if defined(USE_KDE) - kapp->invokeHelp(); + tdeApp->invokeHelp(); #endif } diff --git a/src/main.cpp b/src/main.cpp index 3bfe936..e2c00f1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -74,12 +74,12 @@ int main( int argc, char ** argv ) // DCOP stuff KCHMDCOPIface iface; - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); if ( !client->attach() ) tqWarning("DCOP attach failed"); - //TQCString realAppId = client->registerAs( kapp->name() ); + //TQCString realAppId = client->registerAs( tdeApp->name() ); TQCString realAppId = client->registerAs( "kchmviewer" ); #endif -- cgit v1.2.1