From 25794f504692e5a36c490438814e9dfda8aaa2dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 29 May 2011 19:00:37 +0000 Subject: TQt4 port kchmviewer This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1234150 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index f79bbca..1d1da63 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -64,7 +64,7 @@ int main( int argc, char ** argv ) KApplication app; #else - QApplication app( argc, argv ); + TQApplication app( argc, argv ); #endif appConfig.load(); @@ -79,15 +79,15 @@ int main( int argc, char ** argv ) if ( !client->attach() ) qWarning("DCOP attach failed"); - //QCString realAppId = client->registerAs( kapp->name() ); - QCString realAppId = client->registerAs( "kchmviewer" ); + //TQCString realAppId = client->registerAs( kapp->name() ); + TQCString realAppId = client->registerAs( "kchmviewer" ); #endif mainWindow = new KCHMMainWindow(); mainWindow->show(); #if !defined(USE_KDE) - app.connect( &app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()) ); + app.connect( &app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit()) ); #else app.setMainWidget( mainWindow ); #endif -- cgit v1.2.1