Commit aa1327f1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIt_SILENT: using pragma once directly

parent 66dd308e
Pipeline #56065 skipped
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
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