Commit 6df27c2b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove extra ';'

parent a589ad37
......@@ -22,7 +22,7 @@ public:
Broken = Akonadi::AgentInstance::Broken,
NotConfigured = Akonadi::AgentInstance::NotConfigured,
};
Q_ENUM(AgentStatuses);
Q_ENUM(AgentStatuses)
explicit AgentConfiguration(QObject *parent = nullptr);
~AgentConfiguration() override;
......
......@@ -28,7 +28,7 @@ public:
TypeRole,
TypeLabelRole,
};
Q_ENUM(Roles);
Q_ENUM(Roles)
AddressModel(QObject *parent = nullptr);
void setAddresses(const KContacts::Address::List &addresses);
......
......@@ -88,7 +88,7 @@ public:
Monthly,
Yearly,
};
Q_ENUM(RecurrenceIntervals);
Q_ENUM(RecurrenceIntervals)
enum IncidenceTypes {
TypeEvent = KCalendarCore::IncidenceBase::TypeEvent,
......
......@@ -39,7 +39,7 @@ public:
Todo,
Contact,
};
Q_ENUM(Mode);
Q_ENUM(Mode)
explicit KalendarApplication(QObject *parent = nullptr);
~KalendarApplication() override;
......
......@@ -24,7 +24,7 @@ public:
SizeRole,
URIRole,
};
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit AttachmentsModel(QObject *parent = nullptr, KCalendarCore::Incidence::Ptr incidencePtr = nullptr);
~AttachmentsModel() override = default;
......
......@@ -18,7 +18,7 @@ public:
DisplayNameRole = Qt::UserRole + 1,
ValueRole,
};
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit AttendeeStatusModel(QObject *parent = nullptr);
~AttendeeStatusModel() override = default;
......@@ -53,7 +53,7 @@ public:
StatusRole,
UidRole
};
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit AttendeesModel(QObject *parent = nullptr, KCalendarCore::Incidence::Ptr incidencePtr = nullptr);
~AttendeesModel() override = default;
......
......@@ -74,7 +74,7 @@ public:
IncidenceOccurrence,
LastRole
};
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit IncidenceOccurrenceModel(QObject *parent = nullptr);
~IncidenceOccurrenceModel() override = default;
......
......@@ -25,7 +25,7 @@ class InfiniteCalendarViewModel : public QAbstractListModel
public:
// The decade scale is designed to be used in a 4x3 grid, so shows 12 years at a time
enum Scale { DayScale, ThreeDayScale, WeekScale, MonthScale, YearScale, DecadeScale };
Q_ENUM(Scale);
Q_ENUM(Scale)
enum Roles {
StartDateRole = Qt::UserRole + 1,
......@@ -33,7 +33,7 @@ public:
SelectedMonthRole,
SelectedYearRole,
};
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit InfiniteCalendarViewModel(QObject *parent = nullptr);
~InfiniteCalendarViewModel() override = default;
......
......@@ -16,7 +16,7 @@ public:
NameRole = Qt::UserRole + 1,
IdRole,
};
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit ItemTagsModel(QObject *parent = nullptr);
~ItemTagsModel() override = default;
......
......@@ -17,7 +17,7 @@ public:
enum Roles {
DateRole = Qt::UserRole + 1,
};
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit RecurrenceExceptionsModel(QObject *parent = nullptr, KCalendarCore::Incidence::Ptr incidencePtr = nullptr);
~RecurrenceExceptionsModel() override = default;
......
......@@ -32,7 +32,7 @@ public:
StartOffsetRole,
EndOffsetRole,
};
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit RemindersModel(QObject *parent = nullptr, KCalendarCore::Incidence::Ptr incidencePtr = nullptr);
~RemindersModel() override = default;
......
......@@ -12,7 +12,7 @@ class TimeZoneListModel : public QAbstractListModel
public:
enum Roles { IdRole = Qt::UserRole + 1 };
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit TimeZoneListModel(QObject *parent = nullptr);
~TimeZoneListModel() override = default;
......
......@@ -66,7 +66,7 @@ public:
TopMostParentDueDate, // in the Kirigami TreeListView, which otherwise will create new
TopMostParentPriority // sections for subtasks
};
Q_ENUM(Roles);
Q_ENUM(Roles)
enum BaseTodoModelColumns {
SummaryColumn = TodoModel::SummaryColumn,
......@@ -78,14 +78,14 @@ public:
DescriptionColumn = TodoModel::DescriptionColumn,
CalendarColumn = TodoModel::CalendarColumn,
};
Q_ENUM(BaseTodoModelColumns);
Q_ENUM(BaseTodoModelColumns)
enum ShowComplete {
ShowAll = 0,
ShowCompleteOnly,
ShowIncompleteOnly,
};
Q_ENUM(ShowComplete);
Q_ENUM(ShowComplete)
explicit TodoSortFilterProxyModel(QObject *parent = nullptr);
~TodoSortFilterProxyModel();
......
Supports Markdown
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