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
KNotes
Commits
a09a5d72
Commit
a09a5d72
authored
Mar 31, 2021
by
Laurent Montel
😁
Browse files
GIt_SILENT: using pragma once directly
parent
480145e7
Pipeline
#56067
skipped
Changes
70
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
notesagent/notesagent.h
View file @
a09a5d72
...
...
@@ -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
notesagent/notesagentalarmdialog.h
View file @
a09a5d72
...
...
@@ -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
notesagent/notesagentnotedialog.h
View file @
a09a5d72
...
...
@@ -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
notesagent/notesagentsettingsdialog.h
View file @
a09a5d72
...
...
@@ -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
notesagent/notesmanager.h
View file @
a09a5d72
...
...
@@ -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
noteshared/autotests/noteeditorutilstest.h
View file @
a09a5d72
...
...
@@ -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
noteshared/autotests/noteutilstest.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/akonadi/notesakonaditreemodel.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/akonadi/noteschangerecorder.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/alarms/notealarmdialog.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/attributes/autotests/notealarmattributetest.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/attributes/autotests/notedisplayattributetest.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/attributes/autotests/notelockattributetest.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/attributes/autotests/showfoldernotesattributetest.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/attributes/notealarmattribute.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/attributes/notedisplayattribute.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/attributes/notelockattribute.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/attributes/showfoldernotesattribute.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/config/noteactionconfig.h
View file @
a09a5d72
...
...
@@ -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
noteshared/src/config/notenetworkconfig.h
View file @
a09a5d72
...
...
@@ -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
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
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