Commit f5cc5c79 authored by Matthias Möller's avatar Matthias Möller
Browse files

- adding qt5 pluginsystem

- adding qt5 headers

refs #1359

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17080 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9e93e886
...@@ -281,5 +281,9 @@ void SmootherPlugin::simpleLaplace(int _iterations) { ...@@ -281,5 +281,9 @@ void SmootherPlugin::simpleLaplace(int _iterations) {
} }
Q_EXPORT_PLUGIN2( smootherplugin , SmootherPlugin ); #if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( smootherplugin , SmootherPlugin );
#endif
...@@ -62,6 +62,10 @@ class SmootherPlugin : public QObject, BaseInterface, ToolboxInterface, LoggingI ...@@ -62,6 +62,10 @@ class SmootherPlugin : public QObject, BaseInterface, ToolboxInterface, LoggingI
Q_INTERFACES(ScriptInterface) Q_INTERFACES(ScriptInterface)
Q_INTERFACES(BackupInterface) Q_INTERFACES(BackupInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-SimpleSmoother")
#endif
signals: signals:
//BaseInterface //BaseInterface
void updateView(); void updateView();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment