Change usage of DECLARE_ENUM macro

This commit is contained in:
Martchus 2016-07-11 22:10:16 +02:00
parent 53712d52c8
commit bd9037f1d5
2 changed files with 4 additions and 4 deletions

View File

@ -19,8 +19,8 @@ QT_FORWARD_DECLARE_CLASS(QUndoStack)
QT_FORWARD_DECLARE_CLASS(QUndoView) QT_FORWARD_DECLARE_CLASS(QUndoView)
namespace Io { namespace Io {
DECLARE_ENUM(EntryType, int) DECLARE_ENUM_CLASS(EntryType, int);
DECLARE_ENUM(FieldType, int) DECLARE_ENUM_CLASS(FieldType, int);
} }
namespace MiscUtils { namespace MiscUtils {

View File

@ -2,7 +2,7 @@
#define ENTRYMODEL_H #define ENTRYMODEL_H
#ifdef MODEL_UNDO_SUPPORT #ifdef MODEL_UNDO_SUPPORT
#include "gui/stacksupport.h" # include "gui/stacksupport.h"
#endif #endif
#include <c++utilities/application/global.h> #include <c++utilities/application/global.h>
@ -12,7 +12,7 @@
namespace Io { namespace Io {
class Entry; class Entry;
class NodeEntry; class NodeEntry;
DECLARE_ENUM(EntryType, int) DECLARE_ENUM_CLASS(EntryType, int);
} }
namespace QtGui { namespace QtGui {