/src/ffmpegthumbs/build/ffmpegthumbnailersettings5.h
Line | Count | Source |
1 | | // This file is generated by kconfig_compiler_kf6 from ffmpegthumbnailersettings5.kcfg. |
2 | | // All changes you do to this file will be lost. |
3 | | #ifndef FFMPEGTHUMBNAILERSETTINGS_H |
4 | | #define FFMPEGTHUMBNAILERSETTINGS_H |
5 | | |
6 | | #include <kconfigskeleton.h> |
7 | | #include <QCoreApplication> |
8 | | #include <QDebug> |
9 | | |
10 | | class FFMpegThumbnailerSettings : public KConfigSkeleton |
11 | | { |
12 | | public: |
13 | | |
14 | | static FFMpegThumbnailerSettings *self(); |
15 | | ~FFMpegThumbnailerSettings() override; |
16 | | |
17 | | /** |
18 | | Set Embed filmstrip effect |
19 | | */ |
20 | | static |
21 | | void setFilmstrip( bool v ) |
22 | 0 | { |
23 | 0 | if (!self()->isFilmstripImmutable()) |
24 | 0 | self()->mFilmstrip = v; |
25 | 0 | } |
26 | | |
27 | | /** |
28 | | Get Embed filmstrip effect |
29 | | */ |
30 | | static |
31 | | bool filmstrip() |
32 | 682 | { |
33 | 682 | return self()->mFilmstrip; |
34 | 682 | } |
35 | | |
36 | | /** |
37 | | Is Embed filmstrip effect Immutable |
38 | | */ |
39 | | static |
40 | | bool isFilmstripImmutable() |
41 | 0 | { |
42 | 0 | return self()->isImmutable( QStringLiteral( "filmstrip" ) ); |
43 | 0 | } |
44 | | |
45 | | /** |
46 | | Set Sequence seek percentages |
47 | | */ |
48 | | static |
49 | | void setSequenceSeekPercentages( const QList<int> & v ) |
50 | 0 | { |
51 | 0 | if (!self()->isSequenceSeekPercentagesImmutable()) |
52 | 0 | self()->mSequenceSeekPercentages = v; |
53 | 0 | } |
54 | | |
55 | | /** |
56 | | Get Sequence seek percentages |
57 | | */ |
58 | | static |
59 | | QList<int> sequenceSeekPercentages() |
60 | 2.04k | { |
61 | 2.04k | return self()->mSequenceSeekPercentages; |
62 | 2.04k | } |
63 | | |
64 | | /** |
65 | | Is Sequence seek percentages Immutable |
66 | | */ |
67 | | static |
68 | | bool isSequenceSeekPercentagesImmutable() |
69 | 0 | { |
70 | 0 | return self()->isImmutable( QStringLiteral( "sequenceSeekPercentages" ) ); |
71 | 0 | } |
72 | | |
73 | | /** |
74 | | Set Cache size (KiB) |
75 | | */ |
76 | | static |
77 | | void setCacheSize( uint v ) |
78 | 0 | { |
79 | 0 | if (!self()->isCacheSizeImmutable()) |
80 | 0 | self()->mCacheSize = v; |
81 | 0 | } |
82 | | |
83 | | /** |
84 | | Get Cache size (KiB) |
85 | | */ |
86 | | static |
87 | | uint cacheSize() |
88 | 682 | { |
89 | 682 | return self()->mCacheSize; |
90 | 682 | } |
91 | | |
92 | | /** |
93 | | Is Cache size (KiB) Immutable |
94 | | */ |
95 | | static |
96 | | bool isCacheSizeImmutable() |
97 | 0 | { |
98 | 0 | return self()->isImmutable( QStringLiteral( "cacheSize" ) ); |
99 | 0 | } |
100 | | |
101 | | protected: |
102 | | FFMpegThumbnailerSettings(); |
103 | | friend class FFMpegThumbnailerSettingsHelper; |
104 | | |
105 | | |
106 | | // General |
107 | | bool mFilmstrip; |
108 | | QList<int> mSequenceSeekPercentages; |
109 | | uint mCacheSize; |
110 | | }; |
111 | | |
112 | | #endif |
113 | | |