Remove use of KDE_IS_VERSION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/64/head
Michele Calgaro 1 week ago
parent 3d9191b7c5
commit fb65fdccad
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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
}

@ -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 &)

Loading…
Cancel
Save