diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
commit | 25794f504692e5a36c490438814e9dfda8aaa2dd (patch) | |
tree | 8061e6d27b5bc9042afdff177872779c4e8c9015 /src/main.cpp | |
parent | 35ff2a942f63b5201c04f41c3097e61cdd7817e9 (diff) | |
download | kchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.tar.gz kchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.zip |
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
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 |