diff options
Diffstat (limited to 'quanta/src/kqapp.cpp')
-rw-r--r-- | quanta/src/kqapp.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/quanta/src/kqapp.cpp b/quanta/src/kqapp.cpp index fc826178..d5be6159 100644 --- a/quanta/src/kqapp.cpp +++ b/quanta/src/kqapp.cpp @@ -24,7 +24,7 @@ #include <tdecmdlineargs.h> #include <kurl.h> #include <kiconloader.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <tdeglobalsettings.h> #include <ksplashscreen.h> #include <dcopclient.h> @@ -77,7 +77,7 @@ KQApplication::KQApplication() } else */ { - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup("General Options"); int mdiMode = config->readNumEntry("MDI mode", KMdi::IDEAlMode); TQString layout = config->readEntry("Window layout", "Default"); @@ -93,8 +93,8 @@ KQApplication::KQApplication() { sp = new KSplashScreen(UserIcon(SPLASH_PICTURE)); sp->show(); - connect(quantaApp, TQT_SIGNAL(showSplash(bool)), sp, TQT_SLOT(setShown(bool))); - TQTimer::singleShot(10*1000, this, TQT_SLOT(slotSplashTimeout())); + connect(quantaApp, TQ_SIGNAL(showSplash(bool)), sp, TQ_SLOT(setShown(bool))); + TQTimer::singleShot(10*1000, this, TQ_SLOT(slotSplashTimeout())); } setMainWidget(quantaApp); slotInit(); @@ -119,7 +119,7 @@ void KQApplication::slotSplashTimeout() } KQUniqueApplication::KQUniqueApplication() - : KUniqueApplication() + : TDEUniqueApplication() { TDEGlobal::dirs()->addPrefix(PREFIX); dcopClient()->registerAs("quanta", false); @@ -148,7 +148,7 @@ int KQUniqueApplication::newInstance() else { splash = 0L; - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup("General Options"); int mdiMode = config->readNumEntry("MDI mode", KMdi::IDEAlMode); TQString layout = config->readEntry("Window layout", "Default"); @@ -164,8 +164,8 @@ int KQUniqueApplication::newInstance() { sp = new KSplashScreen(UserIcon(SPLASH_PICTURE)); sp->show(); - connect(quantaApp, TQT_SIGNAL(showSplash(bool)), sp, TQT_SLOT(setShown(bool))); - TQTimer::singleShot(10*1000, this, TQT_SLOT(slotSplashTimeout())); + connect(quantaApp, TQ_SIGNAL(showSplash(bool)), sp, TQ_SLOT(setShown(bool))); + TQTimer::singleShot(10*1000, this, TQ_SLOT(slotSplashTimeout())); } setMainWidget(quantaApp); slotInit(); |