diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-07 23:01:19 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-07 23:01:19 +0900 |
| commit | fb65fdccad224ebc2fa89525637c269f0f2cfa3e (patch) | |
| tree | f7755cb5a999808156e1f219b86cca167668b4a3 | |
| parent | 3d9191b7c5164bb8390228ac313e86db6938f60a (diff) | |
| download | tdeaddons-remove/kde-is-version.tar.gz tdeaddons-remove/kde-is-version.zip | |
Remove use of KDE_IS_VERSIONremove/kde-is-version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
| -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 &) |
