diff options
author | Tim Williams <tmw@autotrain.org> | 2011-10-17 18:47:27 +0100 |
---|---|---|
committer | Tim Williams <tmw@autotrain.org> | 2011-10-17 18:47:27 +0100 |
commit | 76ef832ce5348d12a871223d4c034c7daeaddb82 (patch) | |
tree | 7024a1f39a6114daa8c5ed24bb31a8687c832b9a /mandriva/2010.2/applications/kmetabar/kmetabar-kdemacros.diff | |
parent | ec2515f058c60d2478a549f58376db628ba556b9 (diff) | |
download | tde-packaging-76ef832ce5348d12a871223d4c034c7daeaddb82.tar.gz tde-packaging-76ef832ce5348d12a871223d4c034c7daeaddb82.zip |
Adding the remaining Mandriva patches and spec files
Diffstat (limited to 'mandriva/2010.2/applications/kmetabar/kmetabar-kdemacros.diff')
-rw-r--r-- | mandriva/2010.2/applications/kmetabar/kmetabar-kdemacros.diff | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/mandriva/2010.2/applications/kmetabar/kmetabar-kdemacros.diff b/mandriva/2010.2/applications/kmetabar/kmetabar-kdemacros.diff new file mode 100644 index 000000000..1b796a0a6 --- /dev/null +++ b/mandriva/2010.2/applications/kmetabar/kmetabar-kdemacros.diff @@ -0,0 +1,52 @@ +--- src/kmetabar.h.orig 2005-09-06 12:12:39.000000000 +0200 ++++ src/kmetabar.h 2005-09-06 12:12:59.000000000 +0200 +@@ -8,10 +8,15 @@ + #include <konqsidebarplugin.h> + #include <qstring.h> + #include <qscrollview.h> ++#include <kdemacros.h> + + #include "kmetabar_widget.h" + #include "metascrollview.h" + ++#ifndef KDE_EXPORT ++#define KDE_EXPORT ++#endif ++ + class Metabar : public KonqSidebarPlugin + { + Q_OBJECT +--- src/kmetabar.cpp.orig 2005-09-06 12:00:33.000000000 +0200 ++++ src/kmetabar.cpp 2005-09-06 12:16:13.000000000 +0200 +@@ -2,9 +2,13 @@ + #include <kinstance.h> + #include <qwidget.h> + #include <kdebug.h> ++#include <kdemacros.h> + #include "kmetabar.h" + #include "kmetabar.moc" + ++#ifndef KDE_EXPORT ++#define KDE_EXPORT ++#endif + + Metabar::Metabar(KInstance *inst,QObject *parent,QWidget *widgetParent, QString &desktopName, const char* name): + KonqSidebarPlugin(inst,parent,widgetParent,desktopName,name) +@@ -40,7 +44,7 @@ + + + extern "C" { +- KDE_EXPORT bool add_konqsidebar_kmetabar(QString* fn, QString* param, QMap<QString,QString> *map) { ++ bool add_konqsidebar_kmetabar(QString* fn, QString* param, QMap<QString,QString> *map) { + Q_UNUSED(param); + + map->insert("Type", "Link"); +@@ -55,7 +59,7 @@ + + extern "C" + { +- KDE_EXPORT void* create_konqsidebar_kmetabar(KInstance *instance,QObject *par,QWidget *widp,QString &desktopname,const char *name) ++ void* create_konqsidebar_kmetabar(KInstance *instance,QObject *par,QWidget *widp,QString &desktopname,const char *name) + { + return new Metabar(instance,par,widp,desktopname,name); + } |