diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /src/main.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index 54d64b4c..467724d1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9,7 +9,7 @@ #include <kdebug.h> #include <dcopclient.h> -#include <qfileinfo.h> +#include <tqfileinfo.h> #include "splashscreen.h" #include "toplevel.h" @@ -89,10 +89,10 @@ int main(int argc, char *argv[]) KDevIDEExtension::init(); KDevSplashScreen *splash = 0; - QString splashFile = locate("appdata", "pics/kdevelop-splash.png"); + TQString splashFile = locate("appdata", "pics/kdevelop-splash.png"); if (!splashFile.isEmpty()) { - QPixmap pm; + TQPixmap pm; pm.load(splashFile); splash = new KDevSplashScreen( pm ); } @@ -102,8 +102,8 @@ int main(int argc, char *argv[]) if (splash) splash->message( i18n( "Loading Settings" ) ); TopLevel::getInstance()->loadSettings(); - QObject::connect(PluginController::getInstance(), SIGNAL(loadingPlugin(const QString &)), - splash, SLOT(message(const QString &))); + TQObject::connect(PluginController::getInstance(), TQT_SIGNAL(loadingPlugin(const TQString &)), + splash, TQT_SLOT(message(const TQString &))); if (splash) splash->show(); PluginController::getInstance()->loadInitialPlugins(); @@ -125,7 +125,7 @@ int main(int argc, char *argv[]) openProject = true; } else if( args->count() > 0 ){ KURL url = args->url( 0 ); - QString ext = QFileInfo( url.fileName() ).extension(); + TQString ext = TQFileInfo( url.fileName() ).extension(); if( ext == "kdevelop" ){ ProjectManager::getInstance()->loadProject( url ); openProject = true; |