Changeset View
Changeset View
Standalone View
Standalone View
core/form.cpp
Show First 20 Lines • Show All 288 Lines • ▼ Show 20 Line(s) | 288 | { | |||
---|---|---|---|---|---|
289 | return Qt::AlignVCenter | Qt::AlignLeft; | 289 | return Qt::AlignVCenter | Qt::AlignLeft; | ||
290 | } | 290 | } | ||
291 | 291 | | |||
292 | bool FormFieldChoice::canBeSpellChecked() const | 292 | bool FormFieldChoice::canBeSpellChecked() const | ||
293 | { | 293 | { | ||
294 | return false; | 294 | return false; | ||
295 | } | 295 | } | ||
296 | 296 | | |||
297 | class Okular::FormFieldSignaturePrivate : public Okular::FormFieldPrivate | ||||
298 | { | ||||
299 | public: | ||||
300 | FormFieldSignaturePrivate() | ||||
301 | : FormFieldPrivate( FormField::FormSignature ) | ||||
302 | { | ||||
303 | } | ||||
304 | | ||||
305 | Q_DECLARE_PUBLIC( FormFieldSignature ) | ||||
306 | | ||||
307 | void setValue( const QString& v ) override | ||||
308 | { | ||||
309 | Q_UNUSED( v ) | ||||
310 | } | ||||
311 | | ||||
312 | QString value() const override | ||||
313 | { | ||||
314 | return QString(); | ||||
315 | } | ||||
316 | }; | ||||
317 | | ||||
318 | FormFieldSignature::FormFieldSignature() | ||||
319 | : FormField( *new FormFieldSignaturePrivate() ) | ||||
320 | { | ||||
321 | } | ||||
322 | | ||||
323 | FormFieldSignature::~FormFieldSignature() | ||||
324 | { | ||||
325 | } |