Use tdeApp

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/13/head
Michele Calgaro 7 months ago
parent 5e62d44b6e
commit bc887520bd
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -29,6 +29,6 @@ KCHMSetupDialog_impl::KCHMSetupDialog_impl(TQWidget* parent, const char* name, b
void KCHMSetupDialog_impl::slotShowHelp() void KCHMSetupDialog_impl::slotShowHelp()
{ {
#if defined(USE_KDE) #if defined(USE_KDE)
kapp->invokeHelp(); tdeApp->invokeHelp();
#endif #endif
} }

@ -74,12 +74,12 @@ int main( int argc, char ** argv )
// DCOP stuff // DCOP stuff
KCHMDCOPIface iface; KCHMDCOPIface iface;
DCOPClient *client = kapp->dcopClient(); DCOPClient *client = tdeApp->dcopClient();
if ( !client->attach() ) if ( !client->attach() )
tqWarning("DCOP attach failed"); tqWarning("DCOP attach failed");
//TQCString realAppId = client->registerAs( kapp->name() ); //TQCString realAppId = client->registerAs( tdeApp->name() );
TQCString realAppId = client->registerAs( "kchmviewer" ); TQCString realAppId = client->registerAs( "kchmviewer" );
#endif #endif

Loading…
Cancel
Save