forked from qt-creator/qt-creator
QmlDesigner: Refactor enumeration handling
Change-Id: I0e163147a0303741af52127ece6f6afd0d2aa658 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -63,6 +63,8 @@
|
||||
#include "endpuppetcommand.h"
|
||||
#include "debugoutputcommand.h"
|
||||
|
||||
#include <enumeration.h>
|
||||
|
||||
namespace QmlDesigner {
|
||||
|
||||
static bool isRegistered=false;
|
||||
@@ -181,6 +183,9 @@ void NodeInstanceServerInterface::registerCommands()
|
||||
|
||||
qRegisterMetaType<DebugOutputCommand>("DebugOutputCommand");
|
||||
qRegisterMetaTypeStreamOperators<DebugOutputCommand>("DebugOutputCommand");
|
||||
|
||||
qRegisterMetaType<Enumeration>("Enumeration");
|
||||
qRegisterMetaTypeStreamOperators<Enumeration>("Enumeration");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user