summaryrefslogtreecommitdiffstats
path: root/konq-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins')
-rw-r--r--konq-plugins/sidebar/metabar/src/metabar.cpp34
-rw-r--r--konq-plugins/webarchiver/webarchivecreator.cpp2
2 files changed, 19 insertions, 17 deletions
diff --git a/konq-plugins/sidebar/metabar/src/metabar.cpp b/konq-plugins/sidebar/metabar/src/metabar.cpp
index d479417..b2967a1 100644
--- a/konq-plugins/sidebar/metabar/src/metabar.cpp
+++ b/konq-plugins/sidebar/metabar/src/metabar.cpp
@@ -36,24 +36,26 @@ void Metabar::handlePreview(const KFileItemList &items)
}
-extern "C" {
- bool add_konqsidebar_metabar(TQString* fn, TQString* param, TQMap<TQString,TQString> *map) {
- Q_UNUSED(param);
-
- map->insert("Type", "Link");
- map->insert("Icon", "metabar");
- map->insert("Name", "Metabar");
- map->insert("Open", "true");
- map->insert("X-TDE-KonqSidebarModule","konqsidebar_metabar");
- fn->setLatin1("metabar%1.desktop");
- return true;
- }
+extern "C"
+{
+ KDE_EXPORT bool add_konqsidebar_metabar(TQString* fn, TQString* param, TQMap<TQString,TQString> *map)
+ {
+ Q_UNUSED(param);
+
+ map->insert("Type", "Link");
+ map->insert("Icon", "metabar");
+ map->insert("Name", "Metabar");
+ map->insert("Open", "true");
+ map->insert("X-TDE-KonqSidebarModule","konqsidebar_metabar");
+ fn->setLatin1("metabar%1.desktop");
+ return true;
+ }
}
extern "C"
{
- void* create_konqsidebar_metabar(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name)
- {
- return new Metabar(instance,par,widp,desktopname,name);
- }
+ KDE_EXPORT void* create_konqsidebar_metabar(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name)
+ {
+ return new Metabar(instance,par,widp,desktopname,name);
+ }
}
diff --git a/konq-plugins/webarchiver/webarchivecreator.cpp b/konq-plugins/webarchiver/webarchivecreator.cpp
index baae48b..bbc3859 100644
--- a/konq-plugins/webarchiver/webarchivecreator.cpp
+++ b/konq-plugins/webarchiver/webarchivecreator.cpp
@@ -32,7 +32,7 @@
extern "C"
{
- ThumbCreator * KDE_EXPORT new_creator()
+ KDE_EXPORT ThumbCreator* KDE_EXPORT new_creator()
{
return new WebArchiveCreator;
}