Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Kig
Commits
299bfea8
Commit
299bfea8
authored
Aug 02, 2022
by
Laurent Montel
Browse files
Use #pragma once
parent
c9c36abc
Pipeline
#211836
passed with stage
in 5 minutes and 12 seconds
Changes
125
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
filters/asyexporter.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_ASYEXPORTER_H
#define KIG_FILTERS_ASYEXPORTER_H
#pragma once
#include
"exporter.h"
...
...
@@ -23,5 +22,3 @@ public:
QString
menuIcon
()
const
override
;
void
run
(
const
KigPart
&
doc
,
KigWidget
&
w
)
override
;
};
#endif
filters/asyexporterimpvisitor.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_ASYEXPORTERIMPVISITOR_H
#define KIG_FILTERS_ASYEXPORTERIMPVISITOR_H
#pragma once
#include
"../kig/kig_document.h"
#include
"../kig/kig_part.h"
...
...
@@ -114,5 +113,3 @@ private:
*/
void
plotGenericCurve
(
const
CurveImp
*
imp
);
};
#endif
filters/asyexporteroptions.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
//
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_ASYEXPORTEROPTIONS_H
#define KIG_FILTERS_ASYEXPORTEROPTIONS_H
#pragma once
#include
<QWidget>
...
...
@@ -28,5 +27,3 @@ public:
void
setExtraFrame
(
bool
frame
);
bool
showExtraFrame
()
const
;
};
#endif
filters/cabri-filter.h
View file @
299bfea8
...
...
@@ -3,8 +3,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_CABRI_FILTER_H
#define KIG_FILTERS_CABRI_FILTER_H
#pragma once
#include
"filter.h"
...
...
@@ -35,5 +34,3 @@ public:
friend
class
CabriReader
;
};
#endif
filters/cabri-utils.h
View file @
299bfea8
...
...
@@ -4,8 +4,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_CABRI_UTILS_H
#define KIG_FILTERS_CABRI_UTILS_H
#pragma once
#undef CABRI_DEBUG
...
...
@@ -147,5 +146,3 @@ public:
CabriObject
*
readObject
(
QFile
&
f
)
override
;
void
decodeStyle
(
CabriObject
*
obj
,
Qt
::
PenStyle
&
ps
,
Kig
::
PointStyle
&
pointType
)
override
;
};
#endif
filters/drgeo-filter.h
View file @
299bfea8
...
...
@@ -3,8 +3,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_DRGEO_FILTER_H
#define KIG_FILTERS_DRGEO_FILTER_H
#pragma once
#include
"filter.h"
...
...
@@ -30,5 +29,3 @@ public:
private:
KigDocument
*
importFigure
(
const
QDomNode
&
f
,
const
bool
grid
);
};
#endif
filters/exporter.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_EXPORTER_H
#define KIG_FILTERS_EXPORTER_H
#pragma once
#include
<QAction>
...
...
@@ -84,5 +83,3 @@ public:
QString
menuIcon
()
const
override
;
void
run
(
const
KigPart
&
doc
,
KigWidget
&
w
)
override
;
};
#endif
filters/filter.h
View file @
299bfea8
...
...
@@ -3,8 +3,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef FILTER_H
#define FILTER_H
#pragma once
#include
<QString>
...
...
@@ -82,4 +81,3 @@ public:
*/
virtual
KigDocument
*
load
(
const
QString
&
fromfile
)
=
0
;
};
#endif
filters/filters-common.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef FILTERS_COMMON_H
#define FILTERS_COMMON_H
#pragma once
class
ObjectTypeCalcer
;
class
Coordinate
;
...
...
@@ -16,5 +15,3 @@ class KigDocument;
* parts given by the argument \p arg of obj \p o.
*/
ObjectTypeCalcer
*
filtersConstructTextObject
(
const
Coordinate
&
c
,
ObjectCalcer
*
o
,
const
QByteArray
&
arg
,
const
KigDocument
&
doc
,
bool
needframe
);
#endif // FILTERS_COMMON_H
filters/geogebra-filter.h
View file @
299bfea8
...
...
@@ -6,8 +6,7 @@
*/
#ifndef GEOGEBRA_FILTER_H
#define GEOGEBRA_FILTER_H
#pragma once
#include
"filter.h"
...
...
@@ -33,5 +32,3 @@ protected:
{
}
};
#endif // GEOGEBRA_FILTER_H
filters/imageexporteroptions.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_IMAGEEXPORTEROPTIONS_H
#define KIG_FILTERS_IMAGEEXPORTEROPTIONS_H
#pragma once
#include
"../misc/unit.h"
...
...
@@ -45,5 +44,3 @@ protected slots:
void
slotHeightChanged
(
double
);
void
slotUnitChanged
(
int
);
};
#endif
filters/kgeo-filter.h
View file @
299bfea8
...
...
@@ -3,8 +3,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_KGEO_FILTER_H
#define KIG_FILTERS_KGEO_FILTER_H
#pragma once
#include
"filter.h"
...
...
@@ -38,5 +37,3 @@ protected:
bool
grid
;
bool
axes
;
};
#endif
filters/kgeo-resource.h
View file @
299bfea8
...
...
@@ -8,8 +8,7 @@
/// note: this code comes from KGeo by Marc Bartsch.
#ifndef RESOURCE_H
#define RESOURCE_H
#pragma once
#include
<QString>
#include
<iostream>
...
...
@@ -161,5 +160,3 @@
#define ID_overlayRectSize 24
#define PI 3.1415926535
#endif // RESOURCE_H
filters/kseg-filter.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_KSEG_FILTER_H
#define KIG_FILTERS_KSEG_FILTER_H
#pragma once
#include
"filter.h"
...
...
@@ -22,5 +21,3 @@ public:
bool
supportMime
(
const
QString
&
mime
)
override
;
KigDocument
*
load
(
const
QString
&
fromfile
)
override
;
};
#endif
filters/latexexporter.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_LATEXEXPORTER_H
#define KIG_FILTERS_LATEXEXPORTER_H
#pragma once
#include
"exporter.h"
...
...
@@ -23,5 +22,3 @@ public:
QString
menuIcon
()
const
override
;
void
run
(
const
KigPart
&
doc
,
KigWidget
&
w
)
override
;
};
#endif
filters/latexexporteroptions.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_LATEXEXPORTEROPTIONS_H
#define KIG_FILTERS_LATEXEXPORTEROPTIONS_H
#pragma once
#include
<QWidget>
...
...
@@ -36,5 +35,3 @@ public:
void
setExtraFrame
(
bool
frame
);
bool
showExtraFrame
()
const
;
};
#endif
filters/native-filter.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_NATIVE_FILTER_H
#define KIG_FILTERS_NATIVE_FILTER_H
#pragma once
#include
"filter.h"
...
...
@@ -51,5 +50,3 @@ public:
bool
save
(
const
KigDocument
&
data
,
const
QString
&
file
);
// bool save( const KigDocument& data, QTextStream& stream );
};
#endif
filters/pgfexporterimpvisitor.h
View file @
299bfea8
...
...
@@ -3,8 +3,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_PGFEXPORTERIMPVISITOR_H
#define KIG_FILTERS_PGFEXPORTERIMPVISITOR_H
#pragma once
#include
"../kig/kig_document.h"
#include
"../kig/kig_part.h"
...
...
@@ -119,5 +118,3 @@ private:
*/
void
plotGenericCurve
(
const
CurveImp
*
imp
);
};
#endif
filters/svgexporter.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_SVGEXPORTER_H
#define KIG_FILTERS_SVGEXPORTER_H
#pragma once
#include
"exporter.h"
...
...
@@ -23,5 +22,3 @@ public:
QString
menuIcon
()
const
override
;
void
run
(
const
KigPart
&
part
,
KigWidget
&
w
)
override
;
};
#endif
filters/svgexporteroptions.h
View file @
299bfea8
...
...
@@ -2,8 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef KIG_FILTERS_SVGEXPORTEROPTIONS_H
#define KIG_FILTERS_SVGEXPORTEROPTIONS_H
#pragma once
#include
<QWidget>
...
...
@@ -24,5 +23,3 @@ public:
void
setAxes
(
bool
axes
);
bool
showAxes
()
const
;
};
#endif
Prev
1
2
3
4
5
…
7
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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