Change usage of DECLARE_ENUM macro
This commit is contained in:
parent
d69190a6e5
commit
e0dcf58588
|
@ -7,7 +7,7 @@
|
||||||
#include <QList>
|
#include <QList>
|
||||||
|
|
||||||
namespace Media {
|
namespace Media {
|
||||||
DECLARE_ENUM(KnownField, unsigned int)
|
DECLARE_ENUM_CLASS(KnownField, unsigned int);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Settings {
|
namespace Settings {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include <QList>
|
#include <QList>
|
||||||
|
|
||||||
namespace Media {
|
namespace Media {
|
||||||
DECLARE_ENUM(TagTargetLevel, unsigned char)
|
DECLARE_ENUM_CLASS(TagTargetLevel, unsigned char);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Settings {
|
namespace Settings {
|
||||||
|
|
|
@ -9,7 +9,7 @@ QT_FORWARD_DECLARE_CLASS(QNetworkReply)
|
||||||
|
|
||||||
namespace Media {
|
namespace Media {
|
||||||
class TagValue;
|
class TagValue;
|
||||||
DECLARE_ENUM(KnownField, unsigned int)
|
DECLARE_ENUM_CLASS(KnownField, unsigned int);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace QtGui {
|
namespace QtGui {
|
||||||
|
|
|
@ -15,7 +15,7 @@ QT_FORWARD_DECLARE_CLASS(QItemSelectionModel)
|
||||||
QT_FORWARD_DECLARE_CLASS(QMutex)
|
QT_FORWARD_DECLARE_CLASS(QMutex)
|
||||||
|
|
||||||
namespace Media {
|
namespace Media {
|
||||||
DECLARE_ENUM(TagType, unsigned int)
|
DECLARE_ENUM_CLASS(TagType, unsigned int);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Dialogs {
|
namespace Dialogs {
|
||||||
|
|
|
@ -17,13 +17,13 @@ QT_FORWARD_DECLARE_CLASS(QGraphicsRectItem)
|
||||||
|
|
||||||
namespace Media {
|
namespace Media {
|
||||||
class Tag;
|
class Tag;
|
||||||
DECLARE_ENUM(KnownField, unsigned int)
|
|
||||||
class TagValue;
|
class TagValue;
|
||||||
|
DECLARE_ENUM_CLASS(KnownField, unsigned int);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace QtGui {
|
namespace QtGui {
|
||||||
|
|
||||||
DECLARE_ENUM(PreviousValueHandling, int)
|
DECLARE_ENUM_CLASS(PreviousValueHandling, int);
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class PicturePreviewSelection;
|
class PicturePreviewSelection;
|
||||||
|
|
|
@ -17,7 +17,7 @@ QT_FORWARD_DECLARE_CLASS(QVBoxLayout)
|
||||||
namespace Media {
|
namespace Media {
|
||||||
class Tag;
|
class Tag;
|
||||||
class TagValue;
|
class TagValue;
|
||||||
DECLARE_ENUM(KnownField, unsigned int)
|
DECLARE_ENUM_CLASS(KnownField, unsigned int);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace QtGui {
|
namespace QtGui {
|
||||||
|
|
|
@ -65,7 +65,7 @@ namespace QtGui {
|
||||||
/*!
|
/*!
|
||||||
* \brief The LoadingResult enum specifies whether the file could be parsed.
|
* \brief The LoadingResult enum specifies whether the file could be parsed.
|
||||||
*/
|
*/
|
||||||
enum LoadingResult : char
|
DECLARE_ENUM(LoadingResult, char)
|
||||||
{
|
{
|
||||||
ParsingSuccessful,
|
ParsingSuccessful,
|
||||||
FatalParsingError,
|
FatalParsingError,
|
||||||
|
|
|
@ -28,7 +28,7 @@ QT_FORWARD_DECLARE_CLASS(WEB_VIEW_PROVIDER)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Media {
|
namespace Media {
|
||||||
DECLARE_ENUM(TagType, unsigned int)
|
DECLARE_ENUM_CLASS(TagType, unsigned int);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace QtGui {
|
namespace QtGui {
|
||||||
|
|
|
@ -8,17 +8,15 @@
|
||||||
#include <QPair>
|
#include <QPair>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_FORWARD_DECLARE_CLASS(QVBoxLayout)
|
||||||
class QVBoxLayout;
|
QT_FORWARD_DECLARE_CLASS(QLabel)
|
||||||
class QLabel;
|
|
||||||
QT_END_NAMESPACE
|
|
||||||
|
|
||||||
namespace Media {
|
namespace Media {
|
||||||
class Tag;
|
|
||||||
DECLARE_ENUM(KnownField, unsigned int)
|
|
||||||
DECLARE_ENUM(TagDataType, unsigned int)
|
|
||||||
DECLARE_ENUM(TagTextEncoding, unsigned int)
|
|
||||||
class TagValue;
|
class TagValue;
|
||||||
|
class Tag;
|
||||||
|
DECLARE_ENUM_CLASS(KnownField, unsigned int);
|
||||||
|
DECLARE_ENUM_CLASS(TagDataType, unsigned int);
|
||||||
|
DECLARE_ENUM_CLASS(TagTextEncoding, unsigned int);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Widgets {
|
namespace Widgets {
|
||||||
|
|
Loading…
Reference in New Issue