Commit 82d977b3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIt_SILENT: using pragma once directly

parent 8a367771
Pipeline #56066 skipped
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef CONFIGFILE_H
#define CONFIGFILE_H
#pragma once
#include "setupobject.h"
#include <QVector>
......@@ -43,4 +42,3 @@ private:
bool m_editMode = false;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef CRYPTOPAGE_H
#define CRYPTOPAGE_H
#pragma once
#include "key.h"
#include "page.h"
......@@ -50,4 +49,3 @@ private:
QPointer<KeyGenerationJob> mKeyGenerationJob;
};
#endif // CRYPTOPAGE_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef DIALOG_H
#define DIALOG_H
#pragma once
#include "setupmanager.h"
#include <KAssistantDialog>
......@@ -54,4 +53,3 @@ private:
QVector<KPageWidgetItem *> mDynamicPages;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef DYNAMICPAGE_H
#define DYNAMICPAGE_H
#pragma once
#include "page.h"
......@@ -23,4 +22,3 @@ private:
QWidget *m_dynamicWidget = nullptr;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef GLOBAL_H
#define GLOBAL_H
#pragma once
#include <QStringList>
#include <QUrl>
......@@ -25,4 +24,3 @@ Q_REQUIRED_RESULT QStringList assistants();
Q_REQUIRED_RESULT QString unpackAssistant(const QUrl &remotePackageUrl);
}
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef IDENTITY_H
#define IDENTITY_H
#pragma once
#include "setupobject.h"
......@@ -47,4 +46,3 @@ private:
KIdentityManagement::Identity *m_identity = nullptr;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef INPROCESS_MAIN_H
#define INPROCESS_MAIN_H
#pragma once
#include "dialog.h"
#include "global.h"
......@@ -25,4 +24,3 @@ public Q_SLOTS:
void run(const QStringList &types, QWidget *parent);
};
#endif
......@@ -4,8 +4,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef AUTOCONFIGKOLABFREEBUSY_H
#define AUTOCONFIGKOLABFREEBUSY_H
#pragma once
#include "autoconfigkolabmail.h"
......@@ -52,4 +51,3 @@ struct freebusy {
Ispdb::authType authentication;
};
#endif // AUTOCONFIGKOLABFREEBUSY_H
......@@ -4,8 +4,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef AUTOCONFIGKOLABLDAP_H
#define AUTOCONFIGKOLABLDAP_H
#pragma once
#include "autoconfigkolabmail.h"
#include <kldap/ldapserver.h>
......@@ -61,4 +60,3 @@ struct ldapServer {
int sizeLimit;
};
#endif // AUTOCONFIGKOLABLDAP_H
......@@ -4,8 +4,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef AUTOCONFIGKOLABMAIL_H
#define AUTOCONFIGKOLABMAIL_H
#pragma once
#include "ispdb.h"
......@@ -22,4 +21,3 @@ private:
void slotResult(KJob *);
};
#endif // AUTOCONFIGKOLABMAIL_H
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef ISPDB_H
#define ISPDB_H
#pragma once
#include <QObject>
......@@ -203,4 +202,3 @@ struct identity {
};
QDebug operator<<(QDebug d, const identity &t);
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KEY_H
#define KEY_H
#pragma once
#include "setupobject.h"
......@@ -60,4 +59,3 @@ private:
PublishingMethod m_publishingMethod = NoPublishing;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef LDAP_H
#define LDAP_H
#pragma once
#include "setupobject.h"
#include <KLDAP/LdapServer>
......@@ -72,4 +71,3 @@ private:
bool m_editMode = false;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef LOADPAGE_H
#define LOADPAGE_H
#pragma once
#include "page.h"
......@@ -36,4 +35,3 @@ private:
Kross::Action *m_action = nullptr;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef PAGE_H
#define PAGE_H
#pragma once
#include <QWidget>
......@@ -50,4 +49,3 @@ private:
bool m_valid = false;
};
#endif // PAGE_H
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef PERSONALDATA_H
#define PERSONALDATA_H
#pragma once
#include "dialog.h"
#include "page.h"
......@@ -46,4 +45,3 @@ private:
SetupManager *mSetupManager = nullptr;
};
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef PROVIDERPAGE_H
#define PROVIDERPAGE_H
#pragma once
#include "page.h"
#include <QStandardItemModel>
......@@ -56,4 +55,3 @@ private:
bool m_newPageReady = false;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef RESOURCE_H
#define RESOURCE_H
#pragma once
#include "setupobject.h"
#include <QMap>
......@@ -38,4 +37,3 @@ private:
bool m_editMode = false;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef RESTORELDAPSETTINGSJOB_H
#define RESTORELDAPSETTINGSJOB_H
#pragma once
#include <KConfigGroup>
#include <KLDAP/LdapServer>
......@@ -48,4 +47,3 @@ private:
KConfigGroup mCurrentGroup;
};
#endif // RESTORELDAPSETTINGSJOB_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef SERVERTEST_H
#define SERVERTEST_H
#pragma once
#include <QObject>
......@@ -39,4 +38,3 @@ private:
MailTransport::ServerTest *m_serverTest = nullptr;
};
#endif
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