diff options
Diffstat (limited to 'ksim/ksimview.cpp')
| -rw-r--r-- | ksim/ksimview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ksim/ksimview.cpp b/ksim/ksimview.cpp index 507e3af..67379c5 100644 --- a/ksim/ksimview.cpp +++ b/ksim/ksimview.cpp @@ -42,7 +42,7 @@ #include <kdebug.h> #include <tdestandarddirs.h> #include <tdemessagebox.h> -#include <kdesktopfile.h> +#include <tdedesktopfile.h> #include <twin.h> #include <krun.h> @@ -299,13 +299,13 @@ void KSim::MainView::reparseConfig(bool emitReload, for (it = list.begin(); it != list.end(); ++it) { if ((*it).isDifferent()) { if ((*it).isEnabled()) { // Go through the added/removed plugins and load/unload them - const KDesktopFile kdf((*it).filename()); + const TDEDesktopFile kdf((*it).filename()); addPlugin(kdf); m_prefDialog->createPage((*it).libName()); } else { m_prefDialog->removePage((*it).libName()); - const KDesktopFile kdf((*it).filename()); + const TDEDesktopFile kdf((*it).filename()); removePlugin(kdf); } } @@ -334,19 +334,19 @@ void KSim::MainView::addPlugins() TQStringList::ConstIterator it; for (it = locatedFiles.begin(); it != locatedFiles.end(); ++it) { - const KDesktopFile kdf(*it, true); + const TDEDesktopFile kdf(*it, true); addPlugin(kdf); } } -void KSim::MainView::addPlugin(const KDesktopFile &file, bool force) +void KSim::MainView::addPlugin(const TDEDesktopFile &file, bool force) { if (force || m_config->enabledMonitor(file.readEntry("X-KSIM-LIBRARY"))) KSim::PluginLoader::self().loadPlugin(file); } // provided for convenience -void KSim::MainView::removePlugin(const KDesktopFile &file) +void KSim::MainView::removePlugin(const TDEDesktopFile &file) { KSim::PluginLoader::self().unloadPlugin(file.readEntry("X-KSIM-LIBRARY").local8Bit()); } |
