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