Commit 977fa81a authored by Alexander Lohnau's avatar Alexander Lohnau 💬

Add trailing comma to enums

parent 44afbaed
......@@ -19,7 +19,7 @@ public:
ComicKeyRole = Qt::UserRole+1,
ComicTitleRole = Qt::UserRole+2,
ComicIconRole = Qt::UserRole+3,
ComicHighlightRole = Qt::UserRole+4
ComicHighlightRole = Qt::UserRole+4,
};
explicit ActiveComicModel(QObject *parent = nullptr);
......
......@@ -25,7 +25,7 @@ class ComicArchiveJob : public KJob
ArchiveAll = 0,
ArchiveStartTo,
ArchiveEndTo,
ArchiveFromTo
ArchiveFromTo,
};
/**
......@@ -101,7 +101,7 @@ class ComicArchiveJob : public KJob
enum ArchiveDirection {
Undefined,
Forward,
Backward
Backward,
};
ArchiveType mType;
......
......@@ -13,7 +13,7 @@ class QString;
enum IdentifierType {
Date = 0,
Number,
String
String,
};
/**
......
......@@ -41,7 +41,7 @@ public:
enum TrayStatus {
ActiveStatus = 0,
PassiveStatus,
NeedsAttentionStatus
NeedsAttentionStatus,
};
Q_ENUM(TrayStatus)
......
......@@ -22,7 +22,7 @@ namespace {
FreeStringRole,
UsedStringRole,
MountPointRole,
UsageRole
UsageRole,
};
}
......
......@@ -30,7 +30,7 @@ class MediaFrame : public QObject
enum AddOption
{
NON_RECURSIVE,
RECURSIVE
RECURSIVE,
};
Q_ENUM(AddOption)
......
......@@ -30,13 +30,13 @@ class PLASMA_COMIC_EXPORT ComicProvider : public QObject
enum IdentifierType {
DateIdentifier = 0, ///< References by date
NumberIdentifier, ///< References by numerical identifier
StringIdentifier ///< References by arbitrary string
StringIdentifier, ///< References by arbitrary string
};
enum RequestType {
Page = 0,
Image,
User
User,
};
/**
......
......@@ -115,7 +115,7 @@ class StaticDateWrapper : public QObject
SystemLocaleShortDate = Qt::SystemLocaleShortDate,
SystemLocaleLongDate = Qt::SystemLocaleLongDate,
DefaultLocaleShortDate = Qt::DefaultLocaleShortDate,
DefaultLocaleLongDate = Qt::DefaultLocaleLongDate
DefaultLocaleLongDate = Qt::DefaultLocaleLongDate,
};
Q_ENUM(DateType)
......@@ -157,21 +157,21 @@ class ComicProviderWrapper : public QObject
Left = 0,
Top,
Right,
Bottom
Bottom,
};
Q_ENUM(PositionType)
enum RequestType {
Page = ComicProvider::Page,
Image = ComicProvider::Image,
User = ComicProvider::User
User = ComicProvider::User,
};
Q_ENUM(RequestType)
enum IdentifierType {
DateIdentifier = ComicProvider::DateIdentifier,
NumberIdentifier = ComicProvider::NumberIdentifier,
StringIdentifier = ComicProvider::StringIdentifier
StringIdentifier = ComicProvider::StringIdentifier,
};
Q_ENUM(IdentifierType)
......@@ -181,7 +181,7 @@ class ComicProviderWrapper : public QObject
NextUrl = 2,
FirstUrl = 3,
LastUrl = 4,
UserUrl = 10
UserUrl = 10,
};
Q_ENUM(RedirectedUrlType)
......
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