K_PLUGIN_FACTORY_WITH_JSON -> K_PLUGIN_CLASS_WITH_JSON

Now that we require KF5 5.44
This commit is contained in:
Albert Astals Cid 2019-01-07 00:50:21 +01:00
parent 3513aea5bf
commit 7254c1826c

View file

@ -34,7 +34,7 @@
#define OKULAR_EXPORT_PLUGIN(classname, json ) \
static_assert(json[0] != '\0', "arg2 must be a string literal"); \
K_PLUGIN_FACTORY_WITH_JSON(classname ## Factory, json, registerPlugin<classname >();)
K_PLUGIN_CLASS_WITH_JSON(classname, json)
class QByteArray;
class QMutex;