Changeset View
Changeset View
Standalone View
Standalone View
generators/poppler/formfields.h
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Line(s) | 80 | { | |||
---|---|---|---|---|---|
106 | 106 | | |||
107 | private: | 107 | private: | ||
108 | Poppler::FormFieldChoice * m_field; | 108 | Poppler::FormFieldChoice * m_field; | ||
109 | Okular::NormalizedRect m_rect; | 109 | Okular::NormalizedRect m_rect; | ||
110 | int m_id; | 110 | int m_id; | ||
111 | 111 | | |||
112 | }; | 112 | }; | ||
113 | 113 | | |||
114 | class PopplerFormFieldSignature : public Okular::FormFieldSignature | ||||
115 | { | ||||
116 | public: | ||||
117 | PopplerFormFieldSignature( Poppler::FormFieldSignature * field ); | ||||
118 | virtual ~PopplerFormFieldSignature(); | ||||
119 | | ||||
120 | // inherited from Okular::FormField | ||||
121 | Okular::NormalizedRect rect() const override; | ||||
122 | int id() const override; | ||||
123 | QString name() const override; | ||||
124 | QString uiName() const override; | ||||
125 | bool isReadOnly() const override; | ||||
126 | bool isVisible() const override; | ||||
127 | | ||||
128 | // inherited from Okular::FormFieldSignature | ||||
129 | SignatureType signatureType() const override; | ||||
130 | Okular::SignatureInfo* validate() const override; | ||||
131 | | ||||
132 | private: | ||||
133 | Poppler::FormFieldSignature * m_field; | ||||
134 | Okular::NormalizedRect m_rect; | ||||
135 | int m_id; | ||||
136 | }; | ||||
137 | | ||||
114 | #endif | 138 | #endif | ||
aacid: Why do we need all these enums can't we use the ones in poppler¿ |
Why do we need all these enums can't we use the ones in poppler¿