Commit 6c22409c authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Register enums of QObject subclasses to metatype system via Q_ENUM

GIT_SILENT
parent 06ec57fd
......@@ -53,6 +53,7 @@ public:
NativeAppErrorFilter,
StaticAnalysisFilter
};
Q_ENUM(OutputFilterStrategy)
explicit OutputModel( const QUrl& builddir , QObject* parent = nullptr );
explicit OutputModel( QObject* parent = nullptr );
......@@ -92,7 +93,4 @@ private:
}
Q_DECLARE_METATYPE( KDevelop::OutputModel::OutputFilterStrategy )
#endif
......@@ -822,6 +822,7 @@ public:
DotToArrow,
ArrowToDot
};
Q_ENUM(Type)
public Q_SLOTS:
void replaceCurrentAccess(MemberAccessReplacer::Type type)
......@@ -864,8 +865,6 @@ static MemberAccessReplacer s_memberAccessReplacer;
}
Q_DECLARE_METATYPE(MemberAccessReplacer::Type)
ClangCodeCompletionContext::ClangCodeCompletionContext(const DUContextPointer& context,
const ParseSessionData::Ptr& sessionData,
const QUrl& url,
......
Markdown is supported
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