diff options
Diffstat (limited to 'src/showfoto/showfoto.cpp')
-rw-r--r-- | src/showfoto/showfoto.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/showfoto/showfoto.cpp b/src/showfoto/showfoto.cpp index 42575833..605524a6 100644 --- a/src/showfoto/showfoto.cpp +++ b/src/showfoto/showfoto.cpp @@ -162,12 +162,12 @@ ShowFoto::ShowFoto(const KURL::List& urlList) // -- Show splash at start ---------------------------- - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("ImageViewer Settings"); TDEGlobal::dirs()->addResourceType("data", TDEGlobal::dirs()->kde_default("data") + "digikam"); TDEGlobal::iconLoader()->addAppDir("digikam"); - if(config->readBoolEntry("ShowSplash", true) && !kapp->isRestored()) + if(config->readBoolEntry("ShowSplash", true) && !tdeApp->isRestored()) { d->splash = new Digikam::SplashScreen("showfoto-splash.png"); d->splash->show(); @@ -356,7 +356,7 @@ void ShowFoto::show() // Report errors from ICC repository path. - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); if(!d->validIccPath) { TQString message = i18n("<qt><p>The ICC profile path seems to be invalid.</p>" @@ -407,7 +407,7 @@ void ShowFoto::setupConnections() void ShowFoto::setupUserArea() { - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("ImageViewer Settings"); TQWidget* widget = new TQWidget(this); @@ -509,7 +509,7 @@ void ShowFoto::readSettings() { readStandardSettings(); - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("ImageViewer Settings"); d->showBarAction->setChecked(config->readBoolEntry("Show Thumbnails", true)); @@ -531,7 +531,7 @@ void ShowFoto::saveSettings() { saveStandardSettings(); - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("ImageViewer Settings"); config->writeEntry("Last Opened Directory", d->lastOpenedDirectory.path() ); @@ -549,7 +549,7 @@ void ShowFoto::applySettings() { applyStandardSettings(); - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("ImageViewer Settings"); // Current image deleted go to trash ? @@ -754,7 +754,7 @@ bool ShowFoto::setup(bool iccSetupPage) if (setup.exec() != TQDialog::Accepted) return false; - kapp->config()->sync(); + tdeApp->config()->sync(); applySettings(); @@ -873,7 +873,7 @@ void ShowFoto::openFolder(const KURL& url) // Determine sort ordering for the entries from configuration setting: - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("ImageViewer Settings"); int flag; @@ -1190,7 +1190,7 @@ void ShowFoto::slideShow(bool startWithCurrent, Digikam::SlideShowSettings& sett { if (!d->thumbBar->countItems()) return; - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("ImageViewer Settings"); settings.exifRotate = config->readBoolEntry("EXIF Rotate", true); @@ -1214,7 +1214,7 @@ void ShowFoto::slideShow(bool startWithCurrent, Digikam::SlideShowSettings& sett settings.pictInfoMap.insert(*it, pictInfo); m_nameLabel->setProgressValue((int)((i++/cnt)*100.0)); - kapp->processEvents(); + tdeApp->processEvents(); } m_nameLabel->progressBarMode(Digikam::StatusProgressBar::TextMode, TQString()); |