Commit 369dd505 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIt_SILENT: using pragma once directly

parent 6212cf81
Pipeline #56069 skipped
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef JOBTRACKERMODELTEST_H
#define JOBTRACKERMODELTEST_H
#pragma once
#include <QObject>
......@@ -26,4 +25,3 @@ private Q_SLOTS:
void shouldHandleDuplicateJob();
};
#endif // JOBTRACKERTEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef JOBTRACKERSEARCHWIDGETTEST_H
#define JOBTRACKERSEARCHWIDGETTEST_H
#pragma once
#include <QObject>
......@@ -22,4 +21,3 @@ private Q_SLOTS:
void shouldEmitSelectOnlyErrorChanged();
};
#endif // JOBTRACKERSEARCHWIDGETTEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef JOBTRACKERTEST_H
#define JOBTRACKERTEST_H
#pragma once
#include <QObject>
......@@ -25,4 +24,3 @@ private Q_SLOTS:
void shouldHandleJobEnd();
};
#endif // JOBTRACKERTEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_AGENTCONFIGDIALOG_H
#define AKONADICONSOLE_AGENTCONFIGDIALOG_H
#pragma once
#include "ui_agentconfigdialog.h"
#include <AkonadiCore/AgentInstance>
......@@ -29,4 +28,3 @@ private:
Akonadi::AgentInstance m_instance;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_AGENTCONFIGMODEL_H
#define AKONADICONSOLE_AGENTCONFIGMODEL_H
#pragma once
#include <AkonadiCore/AgentInstance>
......@@ -38,4 +37,3 @@ private:
QDBusInterface *m_interface = nullptr;
};
#endif
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_AGENTWIDGET_H
#define AKONADICONSOLE_AGENTWIDGET_H
#pragma once
#include "ui_agentwidget.h"
......@@ -62,4 +61,3 @@ private:
Akonadi::AgentInstance mCloneSource;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef AKONADIBROWSERMODEL_H
#define AKONADIBROWSERMODEL_H
#pragma once
#include <AkonadiCore/changerecorder.h>
#include <AkonadiCore/entitytreemodel.h>
......@@ -62,4 +61,3 @@ private:
AkonadiBrowserModel *mBrowserModel;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_BROWSERWIDGET_H
#define AKONADICONSOLE_BROWSERWIDGET_H
#pragma once
#include <ui_browserwidget_contentview.h>
#include <ui_browserwidget_itemview.h>
......@@ -110,4 +109,3 @@ private:
MessageViewer::Viewer *mMailView = nullptr;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_COLLECTIONACLPAGE_H
#define AKONADICONSOLE_COLLECTIONACLPAGE_H
#pragma once
#include "ui_collectionaclpage.h"
......@@ -24,4 +23,3 @@ private:
Ui::CollectionAclPage ui;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef AKONADI_COLLECTIONATTRIBUTESPAGE_H
#define AKONADI_COLLECTIONATTRIBUTESPAGE_H
#pragma once
#include "ui_collectionattributespage.h"
......@@ -35,4 +34,3 @@ private:
QSet<QString> mChanged;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_COLLECTIONINTERNALSPAGE_H
#define AKONADICONSOLE_COLLECTIONINTERNALSPAGE_H
#pragma once
#include "ui_collectioninternalspage.h"
......@@ -24,4 +23,3 @@ private:
Ui::CollectionInternalsPage ui;
};
#endif
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_CONNECTIONPAGE_H
#define AKONADICONSOLE_CONNECTIONPAGE_H
#pragma once
#include <QWidget>
......@@ -52,4 +51,3 @@ private:
bool mShowAllConnections;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_DBACCESS_H
#define AKONADICONSOLE_DBACCESS_H
#pragma once
class QSqlDatabase;
......@@ -14,4 +13,3 @@ namespace DbAccess
QSqlDatabase database();
}
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_DBBROWSER_H
#define AKONADICONSOLE_DBBROWSER_H
#pragma once
#include "ui_dbbrowser.h"
......@@ -26,4 +25,3 @@ private:
QSqlTableModel *mTableModel = nullptr;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_DBCONSOLE_H
#define AKONADICONSOLE_DBCONSOLE_H
#pragma once
#include "ui_dbconsoletab.h"
#include <QWidget>
......@@ -52,4 +51,3 @@ private:
int mIndex;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef DEBUGFILTERMODEL_H_
#define DEBUGFILTERMODEL_H_
#pragma once
#include <QSet>
#include <QSortFilterProxyModel>
......@@ -34,4 +33,3 @@ private:
QTimer mInvalidateTimer;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_DEBUGMODEL_H_
#define AKONADICONSOLE_DEBUGMODEL_H_
#pragma once
#include <QAbstractItemModel>
#include <QMap>
......@@ -61,4 +60,3 @@ private:
QMap<QString, QString> mSenderCache;
};
#endif
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_DEBUGWIDGET_H
#define AKONADICONSOLE_DEBUGWIDGET_H
#pragma once
#include "debuginterface.h"
......@@ -41,4 +40,3 @@ private:
org::freedesktop::Akonadi::DebugInterface *mDebugInterface = nullptr;
};
#endif
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef INSTANCESELECTOR_H
#define INSTANCESELECTOR_H
#pragma once
#include "libakonadiconsole_export.h"
#include "mainwindow.h"
......@@ -43,4 +42,3 @@ private:
MainWindow *mWindow = nullptr;
};
#endif // INSTANCESELECTOR_H
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef AKONADICONSOLE_JOBTRACKER_H
#define AKONADICONSOLE_JOBTRACKER_H
#pragma once
#include "libakonadiconsole_export.h"
#include <QDateTime>
......@@ -111,4 +110,3 @@ private:
Private *const d;
};
#endif /* JOBTRACKER_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