forked from qt-creator/qt-creator
fix metatype declaration in a few places
Change-Id: I76a12a278db8e74d935e76a5e832daf8e34df2a9 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
e37b1bdfa4
commit
5398f4f5b1
@@ -53,6 +53,6 @@ public:
|
|||||||
|
|
||||||
} // namespace BinEditor
|
} // namespace BinEditor
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QList<BinEditor::Markup>)
|
Q_DECLARE_METATYPE(BinEditor::Markup)
|
||||||
|
|
||||||
#endif // MARKUP_H
|
#endif // MARKUP_H
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ void DiffEditorPlugin::diff()
|
|||||||
#include "diffutils.h"
|
#include "diffutils.h"
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(DiffEditor::ChunkData)
|
Q_DECLARE_METATYPE(DiffEditor::ChunkData)
|
||||||
Q_DECLARE_METATYPE(QList<DiffEditor::FileData>)
|
Q_DECLARE_METATYPE(DiffEditor::FileData)
|
||||||
|
|
||||||
static inline QString _(const char *string) { return QString::fromLatin1(string); }
|
static inline QString _(const char *string) { return QString::fromLatin1(string); }
|
||||||
|
|
||||||
|
|||||||
@@ -50,8 +50,6 @@ using namespace Core;
|
|||||||
using namespace Help;
|
using namespace Help;
|
||||||
using namespace Help::Internal;
|
using namespace Help::Internal;
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(ILocatorFilter*)
|
|
||||||
|
|
||||||
HelpIndexFilter::HelpIndexFilter()
|
HelpIndexFilter::HelpIndexFilter()
|
||||||
: m_needsUpdate(true)
|
: m_needsUpdate(true)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -215,6 +215,5 @@ QMLDESIGNERCORE_EXPORT QTextStream& operator<<(QTextStream &stream, const ModelN
|
|||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QmlDesigner::ModelNode)
|
Q_DECLARE_METATYPE(QmlDesigner::ModelNode)
|
||||||
Q_DECLARE_METATYPE(QList<QmlDesigner::ModelNode>)
|
|
||||||
|
|
||||||
#endif // MODELNODE_H
|
#endif // MODELNODE_H
|
||||||
|
|||||||
@@ -49,8 +49,6 @@
|
|||||||
|
|
||||||
using namespace TextEditor;
|
using namespace TextEditor;
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(TextEditor::ICodeStylePreferences *)
|
|
||||||
|
|
||||||
namespace TextEditor {
|
namespace TextEditor {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|||||||
@@ -42,8 +42,6 @@ const char UCMANGLER_ID[] = "TextEditor::UppercaseMangler";
|
|||||||
const char LCMANGLER_ID[] = "TextEditor::LowercaseMangler";
|
const char LCMANGLER_ID[] = "TextEditor::LowercaseMangler";
|
||||||
const char TCMANGLER_ID[] = "TextEditor::TitlecaseMangler";
|
const char TCMANGLER_ID[] = "TextEditor::TitlecaseMangler";
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QList<int>)
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
// Manglers:
|
// Manglers:
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
|
|||||||
@@ -37,8 +37,7 @@
|
|||||||
|
|
||||||
#include <diffeditor/differ.h>
|
#include <diffeditor/differ.h>
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(DiffEditor::Diff);
|
Q_DECLARE_METATYPE(DiffEditor::Diff)
|
||||||
Q_DECLARE_METATYPE(QList<DiffEditor::Diff>);
|
|
||||||
|
|
||||||
using namespace DiffEditor;
|
using namespace DiffEditor;
|
||||||
|
|
||||||
|
|||||||
@@ -48,8 +48,6 @@ using namespace TextEditor;
|
|||||||
using namespace Internal;
|
using namespace Internal;
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(HighlightSequence)
|
Q_DECLARE_METATYPE(HighlightSequence)
|
||||||
Q_DECLARE_METATYPE(QList<int>)
|
|
||||||
Q_DECLARE_METATYPE(QList<HighlightSequence>)
|
|
||||||
|
|
||||||
//TESTED_COMPONENT=src/plugins/texteditor/generichighlighter
|
//TESTED_COMPONENT=src/plugins/texteditor/generichighlighter
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user