Doc: correct the format of Q_PLUGIN_METADATA macro in sample codes
Change-Id: I464a0c0a590b0b90cf0fe7ccd448ee9bf704bd4f Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
parent
490e79e39e
commit
02b7b21f9b
@ -42,7 +42,7 @@
|
||||
class MyStylePlugin : public QStylePlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QStyleFactoryInterface" FILE mystyleplugin.json)
|
||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QStyleFactoryInterface" FILE "mystyleplugin.json")
|
||||
public:
|
||||
QStyle *create(const QString &key);
|
||||
};
|
||||
|
@ -45,7 +45,7 @@
|
||||
class MyStylePlugin : public QStylePlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QStyleFactoryInterface" FILE mystyleplugin.json)
|
||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QStyleFactoryInterface" FILE "mystyleplugin.json")
|
||||
public:
|
||||
MyStylePlugin(QObject *parent = 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user