/src/kio-extras/build/thumbnail/jpegcreatorsettings5.h
Line | Count | Source |
1 | | // This file is generated by kconfig_compiler_kf6 from jpegcreatorsettings5.kcfg. |
2 | | // All changes you do to this file will be lost. |
3 | | #ifndef JPEGCREATORSETTINGS_H |
4 | | #define JPEGCREATORSETTINGS_H |
5 | | |
6 | | #include <kconfigskeleton.h> |
7 | | #include <QCoreApplication> |
8 | | #include <QDebug> |
9 | | |
10 | | class JpegCreatorSettings : public KConfigSkeleton |
11 | | { |
12 | | public: |
13 | | |
14 | | static JpegCreatorSettings *self(); |
15 | | ~JpegCreatorSettings() override; |
16 | | |
17 | | /** |
18 | | Set Rotate JPEG automatically |
19 | | */ |
20 | | static |
21 | | void setRotate( bool v ) |
22 | 0 | { |
23 | 0 | if (!self()->isRotateImmutable()) |
24 | 0 | self()->mRotate = v; |
25 | 0 | } |
26 | | |
27 | | /** |
28 | | Get Rotate JPEG automatically |
29 | | */ |
30 | | static |
31 | | bool rotate() |
32 | 50.2k | { |
33 | 50.2k | return self()->mRotate; |
34 | 50.2k | } |
35 | | |
36 | | /** |
37 | | Is Rotate JPEG automatically Immutable |
38 | | */ |
39 | | static |
40 | | bool isRotateImmutable() |
41 | 0 | { |
42 | 0 | return self()->isImmutable( QStringLiteral( "rotate" ) ); |
43 | 0 | } |
44 | | |
45 | | protected: |
46 | | JpegCreatorSettings(); |
47 | | friend class JpegCreatorSettingsHelper; |
48 | | |
49 | | |
50 | | // General |
51 | | bool mRotate; |
52 | | }; |
53 | | |
54 | | #endif |
55 | | |