9#include <QtCore/QDebug>
10#include <QtCore/QVariant>
157 virtual bool SetMetaInfo(
int metaInfoType,
const QVariant& metaInfo) = 0;
226 if (!metaData.isValid()) {
230 const int metaTypeId =
231#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
237 if (metaTypeId != qMetaTypeId<T>()) {
238 I_IF_DEBUG(qWarning() << __FILE__ << __LINE__ <<
"Type mismatch for meta info key:" << key;)
243 return metaData.value<T>();
Common interface for data model objects, which can be changed.
Shared ownership smart pointer for interface types.
#define I_IF_DEBUG(instructions)
Contains the system independent basic implementations of Document/View design pattern.
istd::TSharedInterfacePtr< IDocumentMetaInfo > MetaInfoPtr