Changeset View
Changeset View
Standalone View
Standalone View
src/lib/plugin/kpluginmetadata.h
Show All 20 Lines | |||||
21 | 21 | | |||
22 | #include "kcoreaddons_export.h" | 22 | #include "kcoreaddons_export.h" | ||
23 | 23 | | |||
24 | #include <QExplicitlySharedDataPointer> | 24 | #include <QExplicitlySharedDataPointer> | ||
25 | #include <QJsonObject> | 25 | #include <QJsonObject> | ||
26 | #include <QString> | 26 | #include <QString> | ||
27 | #include <QStringList> | 27 | #include <QStringList> | ||
28 | #include <QVector> | 28 | #include <QVector> | ||
29 | #include <QMetaType> | ||||
29 | 30 | | |||
30 | #include <functional> | 31 | #include <functional> | ||
31 | 32 | | |||
32 | class KPluginLoader; | 33 | class KPluginLoader; | ||
33 | class QPluginLoader; | 34 | class QPluginLoader; | ||
34 | class QStringList; | 35 | class QStringList; | ||
35 | class KPluginMetaDataPrivate; | 36 | class KPluginMetaDataPrivate; | ||
36 | class KAboutPerson; | 37 | class KAboutPerson; | ||
▲ Show 20 Lines • Show All 359 Lines • ▼ Show 20 Line(s) | 394 | private: | |||
396 | QExplicitlySharedDataPointer<KPluginMetaDataPrivate> d; // for future binary compatible extensions | 397 | QExplicitlySharedDataPointer<KPluginMetaDataPrivate> d; // for future binary compatible extensions | ||
397 | }; | 398 | }; | ||
398 | 399 | | |||
399 | inline uint qHash(const KPluginMetaData &md, uint seed) | 400 | inline uint qHash(const KPluginMetaData &md, uint seed) | ||
400 | { | 401 | { | ||
401 | return qHash(md.pluginId(), seed); | 402 | return qHash(md.pluginId(), seed); | ||
402 | } | 403 | } | ||
403 | 404 | | |||
405 | Q_DECLARE_METATYPE(KPluginMetaData); | ||||
406 | | ||||
404 | #endif // KPLUGINMETADATA_H | 407 | #endif // KPLUGINMETADATA_H |