diff options
| -rw-r--r-- | konq-plugins/domtreeviewer/domtreewindow.cpp | 4 | ||||
| -rw-r--r-- | konq-plugins/rellinks/plugin_rellinks.cpp | 8 |
2 files changed, 2 insertions, 10 deletions
diff --git a/konq-plugins/domtreeviewer/domtreewindow.cpp b/konq-plugins/domtreeviewer/domtreewindow.cpp index e943385..eaf07b7 100644 --- a/konq-plugins/domtreeviewer/domtreewindow.cpp +++ b/konq-plugins/domtreeviewer/domtreewindow.cpp @@ -197,11 +197,7 @@ void DOMTreeWindow::saveProperties(TDEConfig *config) #if 0 if (!m_view->currentURL().isNull()) { -#if KDE_IS_VERSION(3,1,3) config->writePathEntry("lastURL", m_view->currentURL()); -#else - config->writeEntry("lastURL", m_view->currentURL()); -#endif } #endif } diff --git a/konq-plugins/rellinks/plugin_rellinks.cpp b/konq-plugins/rellinks/plugin_rellinks.cpp index 894eb2a..20f2f00 100644 --- a/konq-plugins/rellinks/plugin_rellinks.cpp +++ b/konq-plugins/rellinks/plugin_rellinks.cpp @@ -38,6 +38,7 @@ #include <tdehtml_part.h> #include <tdehtmlview.h> #include <kiconloader.h> +#include <tdeaboutdata.h> #include <tdeinstance.h> #include <tdelocale.h> #include <tdepopupmenu.h> @@ -51,14 +52,9 @@ /** Rellinks factory */ typedef KGenericFactory<RelLinksPlugin> RelLinksFactory; -#include <tdeversion.h> -#if KDE_IS_VERSION(3,2,90) -#include <tdeaboutdata.h> + static const TDEAboutData aboutdata("rellinks", I18N_NOOP("Rellinks") , "1.0" ); K_EXPORT_COMPONENT_FACTORY( librellinksplugin, RelLinksFactory(&aboutdata) ) -#else -K_EXPORT_COMPONENT_FACTORY( librellinksplugin, RelLinksFactory("rellinks") ) -#endif /** Constructor of the plugin. */ RelLinksPlugin::RelLinksPlugin(TQObject *parent, const char *name, const TQStringList &) |
