Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KAlarm
Commits
aa1327f1
Commit
aa1327f1
authored
Mar 31, 2021
by
Laurent Montel
😁
Browse files
GIt_SILENT: using pragma once directly
parent
66dd308e
Pipeline
#56065
skipped
Changes
111
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/akonadicollectionsearch.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef AKONADICOLLECTIONSEARCH_H
#define AKONADICOLLECTIONSEARCH_H
#pragma once
#include <AkonadiCore/Collection>
...
...
@@ -68,6 +67,5 @@ class AkonadiCollectionSearch : public QObject
bool
mDelete
;
};
#endif // AKONADICOLLECTIONSEARCH_H
// vim: et sw=4:
src/alarmlistdelegate.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef ALARMLISTDELEGATE_H
#define ALARMLISTDELEGATE_H
#pragma once
#include "alarmlistview.h"
...
...
@@ -23,6 +22,5 @@ public:
void
edit
(
KAEvent
&
,
EventListView
*
)
override
;
};
#endif
// vim: et sw=4:
src/alarmlistview.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef ALARMLISTVIEW_H
#define ALARMLISTVIEW_H
#pragma once
#include "eventlistview.h"
...
...
@@ -44,6 +43,5 @@ private:
QByteArray
mConfigGroup
;
};
#endif // ALARMLISTVIEW_H
// vim: et sw=4:
src/alarmtimewidget.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef ALARMTIMEWIDGET_H
#define ALARMTIMEWIDGET_H
#pragma once
#include <KAlarmCal/DateTime>
...
...
@@ -100,6 +99,5 @@ class AlarmTimeWidget : public QFrame
bool
mTimerSyncing
;
// mTimer is not yet synchronized to the minute boundary
};
#endif // ALARMTIMEWIDGET_H
// vim: et sw=4:
src/autostart/autostart.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef AUTOSTART_H
#define AUTOSTART_H
#pragma once
#include <QCoreApplication>
...
...
@@ -27,6 +26,5 @@ class AutostartApp : public QCoreApplication
QStringList
mArgs
;
};
#endif // AUTOSTART_H
// vim: et sw=4:
src/birthdaydlg.h
View file @
aa1327f1
...
...
@@ -5,8 +5,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef BIRTHDAYDLG_H
#define BIRTHDAYDLG_H
#pragma once
#include <KAlarmCal/KAEvent>
...
...
@@ -81,6 +80,5 @@ protected:
void
focusOutEvent
(
QFocusEvent
*
)
override
{
Q_EMIT
focusLost
();
}
};
#endif // BIRTHDAYDLG_H
// vim: et sw=4:
src/birthdaymodel.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef BIRTHDAYMODEL_H
#define BIRTHDAYMODEL_H
#pragma once
#include <Akonadi/Contact/ContactsTreeModel>
...
...
@@ -71,6 +70,5 @@ class BirthdaySortModel : public QSortFilterProxyModel
QString
mSuffix
;
};
#endif
// vim: et sw=4:
src/commandoptions.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef COMMANDOPTIONS_H
#define COMMANDOPTIONS_H
#pragma once
#include "editdlg.h"
#include "eventid.h"
...
...
@@ -172,6 +171,5 @@ private:
#endif
};
#endif // COMMANDOPTIONS_H
// vim: et sw=4:
src/dbushandler.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DBUSHANDLER_H
#define DBUSHANDLER_H
#pragma once
#include "kalarmiface.h"
...
...
@@ -152,6 +151,5 @@ private:
static
bool
convertRecurrence
(
KARecurrence
&
,
const
KADateTime
&
start
,
int
recurType
,
int
recurInterval
,
int
recurCount
,
const
KADateTime
&
end
);
};
#endif // DBUSHANDLER_H
// vim: et sw=4:
src/deferdlg.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DEFERDLG_H
#define DEFERDLG_H
#pragma once
#include "eventid.h"
...
...
@@ -49,6 +48,5 @@ class DeferAlarmDlg : public QDialog
int
mDeferMinutes
;
// number of minutes deferral selected, or 0 if date/time entered
};
#endif // DEFERDLG_H
// vim: et sw=4:
src/displaycalendar.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DISPLAYCALENDAR_H
#define DISPLAYCALENDAR_H
#pragma once
#include <KAlarmCal/KAEvent>
...
...
@@ -57,6 +56,5 @@ private:
static
bool
mOpen
;
// true if the calendar file is open
};
#endif // DISPLAYCALENDAR_H
// vim: et sw=4:
src/editdlg.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef EDITDLG_H
#define EDITDLG_H
#pragma once
#include "resources/resource.h"
...
...
@@ -217,6 +216,5 @@ private:
bool
mSavedShowInKorganizer
;
// mShowInKorganizer status
};
#endif // EDITDLG_H
// vim: et sw=4:
src/editdlg_p.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef EDITDLG_P_H
#define EDITDLG_P_H
#pragma once
#include <KTextEdit>
#include <QFrame>
...
...
@@ -75,6 +74,5 @@ class CommandEdit : public QWidget
TextEdit
*
mScriptEdit
;
// script edit box
};
#endif // EDITDLG_P_H
// vim: et sw=4:
src/editdlgtypes.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef EDITDLGTYPES_H
#define EDITDLGTYPES_H
#pragma once
#include "editdlg.h"
#include "preferences.h"
...
...
@@ -303,6 +302,5 @@ private:
int
mSavedRepeatPause
;
// sound file repeat pause
};
#endif // EDITDLGTYPES_H
// vim: et sw=4:
src/emailidcombo.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef EMAILIDCOMBO_H
#define EMAILIDCOMBO_H
#pragma once
#include "lib/combobox.h"
...
...
@@ -35,6 +34,5 @@ class EmailIdCombo : public KIdentityManagement::IdentityCombo
bool
mReadOnly
{
false
};
// value cannot be changed
};
#endif // EMAILIDCOMBO_H
// vim: et sw=4:
src/eventid.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef EVENTID_H
#define EVENTID_H
#pragma once
#include "kalarm_debug.h"
...
...
@@ -98,6 +97,5 @@ inline QDebug operator<<(QDebug s, const EventId& id)
return
s
.
space
();
}
#endif // EVENTID_H
// vim: et sw=4:
src/eventlistview.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef EVENTLISTVIEW_H
#define EVENTLISTVIEW_H
#pragma once
#include <KAlarmCal/KAEvent>
...
...
@@ -72,6 +71,5 @@ class EventListDelegate : public QItemDelegate
virtual
void
edit
(
KAEvent
&
,
EventListView
*
)
=
0
;
};
#endif // EVENTLISTVIEW_H
// vim: et sw=4:
src/find.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef FIND_H
#define FIND_H
#pragma once
#include <QObject>
#include <QPointer>
...
...
@@ -61,6 +60,5 @@ class Find : public QObject
bool
mFound
{
false
};
// true if any matches have been found
};
#endif // FIND_H
// vim: et sw=4:
src/fontcolour.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef FONTCOLOUR_H
#define FONTCOLOUR_H
#pragma once
#include <KLocalizedString>
#include <QWidget>
...
...
@@ -53,6 +52,5 @@ class FontColourChooser : public QWidget
bool
mReadOnly
{
false
};
};
#endif
// vim: et sw=4:
src/fontcolourbutton.h
View file @
aa1327f1
...
...
@@ -6,8 +6,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef FONTCOLOURBUTTON_H
#define FONTCOLOURBUTTON_H
#pragma once
#include "lib/pushbutton.h"
...
...
@@ -74,6 +73,5 @@ private:
bool
mReadOnly
{
false
};
};
#endif // FONTCOLOURBUTTON_H
// vim: et sw=4:
Prev
1
2
3
4
5
6
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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