Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Add-ons
Commits
977fa81a
Commit
977fa81a
authored
Jan 18, 2021
by
Alexander Lohnau
Browse files
Add trailing comma to enums
parent
44afbaed
Changes
8
Hide whitespace changes
Inline
Side-by-side
applets/comic/activecomicmodel.h
View file @
977fa81a
...
...
@@ -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
);
...
...
applets/comic/comicarchivejob.h
View file @
977fa81a
...
...
@@ -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
;
...
...
applets/comic/comicinfo.h
View file @
977fa81a
...
...
@@ -13,7 +13,7 @@ class QString;
enum
IdentifierType
{
Date
=
0
,
Number
,
String
String
,
};
/**
...
...
applets/diskquota/plugin/DiskQuota.h
View file @
977fa81a
...
...
@@ -41,7 +41,7 @@ public:
enum
TrayStatus
{
ActiveStatus
=
0
,
PassiveStatus
,
NeedsAttentionStatus
NeedsAttentionStatus
,
};
Q_ENUM
(
TrayStatus
)
...
...
applets/diskquota/plugin/QuotaListModel.cpp
View file @
977fa81a
...
...
@@ -22,7 +22,7 @@ namespace {
FreeStringRole
,
UsedStringRole
,
MountPointRole
,
UsageRole
UsageRole
,
};
}
...
...
applets/mediaframe/plugin/mediaframe.h
View file @
977fa81a
...
...
@@ -30,7 +30,7 @@ class MediaFrame : public QObject
enum
AddOption
{
NON_RECURSIVE
,
RECURSIVE
RECURSIVE
,
};
Q_ENUM
(
AddOption
)
...
...
dataengines/comic/comicprovider.h
View file @
977fa81a
...
...
@@ -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
,
};
/**
...
...
dataengines/comic/comicproviderwrapper.h
View file @
977fa81a
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment