Commit 5398f4f5 authored by Nikita Baryshnikov's avatar Nikita Baryshnikov Committed by Orgad Shaneh

fix metatype declaration in a few places

Change-Id: I76a12a278db8e74d935e76a5e832daf8e34df2a9
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent e37b1bdf
......@@ -53,6 +53,6 @@ public:
} // namespace BinEditor
Q_DECLARE_METATYPE(QList<BinEditor::Markup>)
Q_DECLARE_METATYPE(BinEditor::Markup)
#endif // MARKUP_H
......@@ -191,7 +191,7 @@ void DiffEditorPlugin::diff()
#include "diffutils.h"
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); }
......
......@@ -50,8 +50,6 @@ using namespace Core;
using namespace Help;
using namespace Help::Internal;
Q_DECLARE_METATYPE(ILocatorFilter*)
HelpIndexFilter::HelpIndexFilter()
: m_needsUpdate(true)
{
......
......@@ -215,6 +215,5 @@ QMLDESIGNERCORE_EXPORT QTextStream& operator<<(QTextStream &stream, const ModelN
}
Q_DECLARE_METATYPE(QmlDesigner::ModelNode)
Q_DECLARE_METATYPE(QList<QmlDesigner::ModelNode>)
#endif // MODELNODE_H
......@@ -49,8 +49,6 @@
using namespace TextEditor;
Q_DECLARE_METATYPE(TextEditor::ICodeStylePreferences *)
namespace TextEditor {
namespace Internal {
......
......@@ -42,8 +42,6 @@ const char UCMANGLER_ID[] = "TextEditor::UppercaseMangler";
const char LCMANGLER_ID[] = "TextEditor::LowercaseMangler";
const char TCMANGLER_ID[] = "TextEditor::TitlecaseMangler";
Q_DECLARE_METATYPE(QList<int>)
// --------------------------------------------------------------------
// Manglers:
// --------------------------------------------------------------------
......
......@@ -37,8 +37,7 @@
#include <diffeditor/differ.h>
Q_DECLARE_METATYPE(DiffEditor::Diff);
Q_DECLARE_METATYPE(QList<DiffEditor::Diff>);
Q_DECLARE_METATYPE(DiffEditor::Diff)
using namespace DiffEditor;
......
......@@ -48,8 +48,6 @@ using namespace TextEditor;
using namespace Internal;
Q_DECLARE_METATYPE(HighlightSequence)
Q_DECLARE_METATYPE(QList<int>)
Q_DECLARE_METATYPE(QList<HighlightSequence>)
//TESTED_COMPONENT=src/plugins/texteditor/generichighlighter
......
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