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

GIt_SILENT: using pragma once directly

parent 480145e7
Pipeline #56067 skipped
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTESAGENT_H
#define NOTESAGENT_H
#pragma once
#include <AkonadiAgentBase/agentbase.h>
class NotesManager;
......@@ -47,4 +46,3 @@ private:
NotesManager *mNotesManager = nullptr;
};
#endif // NOTESAGENT_H
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTESAGENTALARMDIALOG_H
#define NOTESAGENTALARMDIALOG_H
#pragma once
#include <Item>
#include <QDialog>
class QListWidget;
......@@ -42,4 +41,3 @@ private:
QLabel *mCurrentDateTime = nullptr;
};
#endif // NOTESAGENTALARMDIALOG_H
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTESAGENTNOTEDIALOG_H
#define NOTESAGENTNOTEDIALOG_H
#pragma once
#include <Item>
#include <QDialog>
......@@ -33,4 +32,3 @@ private:
QLineEdit *mSubject = nullptr;
};
#endif // NOTESAGENTNOTEDIALOG_H
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTESAGENTSETTINGSDIALOG_H
#define NOTESAGENTSETTINGSDIALOG_H
#pragma once
#include <QDialog>
......@@ -30,4 +29,3 @@ private:
NoteShared::NoteNetworkConfigWidget *mNetworkConfig = nullptr;
};
#endif // NOTESAGENTSETTINGSDIALOG_H
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTESMANAGER_H
#define NOTESMANAGER_H
#pragma once
#include <QObject>
......@@ -58,4 +57,3 @@ private:
QPointer<NotesAgentAlarmDialog> mAlarmDialog;
};
#endif // NOTESMANAGER_H
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTEEDITORUTILSTEST_H
#define NOTEEDITORUTILSTEST_H
#pragma once
#include <QObject>
......@@ -20,4 +19,3 @@ private Q_SLOTS:
void testAddCheckmark_data();
};
#endif // NOTEEDITORUTILSTEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTEUTILSTEST_H
#define NOTEUTILSTEST_H
#pragma once
#include <QObject>
......@@ -21,4 +20,3 @@ private Q_SLOTS:
void testExtractNoteText();
};
#endif // NOTEUTILSTEST_H
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTESAKONADITREEMODEL_H
#define NOTESAKONADITREEMODEL_H
#pragma once
#include "noteshared_export.h"
#include <AkonadiCore/EntityTreeModel>
......@@ -25,4 +24,3 @@ public:
};
}
#endif // KNOTESAKONADITREEMODEL_H
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTESCHANGERECORDER_H
#define NOTESCHANGERECORDER_H
#pragma once
#include "noteshared_export.h"
#include <QObject>
......@@ -29,4 +28,3 @@ private:
};
}
#endif // KNOTESCHANGERECORDER_H
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*******************************************************************/
#ifndef NOTEALARMDIALOG_H
#define NOTEALARMDIALOG_H
#pragma once
#include "noteshared_export.h"
#include <QDialog>
......@@ -31,4 +30,3 @@ private:
};
}
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTEALARMATTRIBUTETEST_H
#define NOTEALARMATTRIBUTETEST_H
#pragma once
#include <QObject>
......@@ -23,4 +22,3 @@ private Q_SLOTS:
void shouldHaveType();
};
#endif // NOTEALARMATTRIBUTETEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTEDISPLAYATTRIBUTETEST_H
#define NOTEDISPLAYATTRIBUTETEST_H
#pragma once
#include <QObject>
......@@ -21,4 +20,3 @@ private Q_SLOTS:
void shouldHaveType();
};
#endif // NOTEDISPLAYATTRIBUTETEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTELOCKATTRIBUTETEST_H
#define NOTELOCKATTRIBUTETEST_H
#pragma once
#include <QObject>
......@@ -19,4 +18,3 @@ private Q_SLOTS:
void shouldHaveType();
};
#endif // NOTELOCKATTRIBUTETEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef SHOWFOLDERNOTESATTRIBUTETEST_H
#define SHOWFOLDERNOTESATTRIBUTETEST_H
#pragma once
#include <QObject>
......@@ -19,4 +18,3 @@ private Q_SLOTS:
void shouldHaveType();
};
#endif // SHOWFOLDERNOTESATTRIBUTETEST_H
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTE_ALARM_ATTRIBUTE_H
#define NOTE_ALARM_ATTRIBUTE_H
#pragma once
#include "noteshared_export.h"
#include <AkonadiCore/Attribute>
......@@ -36,4 +35,3 @@ private:
};
}
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTE_DISPLAY_ATTRIBUTE_H
#define NOTE_DISPLAY_ATTRIBUTE_H
#pragma once
#include "noteshared_export.h"
#include <AkonadiCore/Attribute>
......@@ -84,4 +83,3 @@ private:
bool mKeepBelow;
};
}
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef NOTELOCKATTRIBUTE_H
#define NOTELOCKATTRIBUTE_H
#pragma once
#include "noteshared_export.h"
......@@ -30,4 +29,3 @@ public:
};
}
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef SHOWFOLDERNOTESATTRIBUTE_H
#define SHOWFOLDERNOTESATTRIBUTE_H
#pragma once
#include "noteshared_export.h"
#include <AkonadiCore/attribute.h>
......@@ -24,4 +23,3 @@ public:
};
}
#endif // SHOWFOLDERNOTESATTRIBUTE_H
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTEACTIONCONFIG_H
#define NOTEACTIONCONFIG_H
#pragma once
#include "noteshared_export.h"
#include <KCModule>
namespace NoteShared
......@@ -22,4 +21,3 @@ private:
void slotHelpLinkClicked(const QString &);
};
}
#endif // NOTEACTIONCONFIG_H
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NOTENETWORKCONFIG_H
#define NOTENETWORKCONFIG_H
#pragma once
#include "noteshared_export.h"
#include <KCModule>
namespace NoteShared
......@@ -35,4 +34,3 @@ public:
};
}
#endif // NOTENETWORKCONFIG_H
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