diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 35542f4..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 @@ -87,7 +87,7 @@ int main( int argc, char ** argv ) mainWindow->show(); #if !defined(USE_KDE) - app.connect( &app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit()) ); + app.connect( &app, TQ_SIGNAL(lastWindowClosed()), &app, TQ_SLOT(quit()) ); #else app.setMainWidget( mainWindow ); #endif |