compile
[kdegraphics.git] / okular / core / form_p.h
blob33d778a16652716f115e58faf840e6ca32ccbe9a
1 /***************************************************************************
2 * Copyright (C) 2007 by Pino Toscano <pino@kde.org> *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
10 #ifndef OKULAR_FORM_P_H
11 #define OKULAR_FORM_P_H
13 #include "form.h"
15 #include <QtCore/QString>
17 namespace Okular {
19 class Action;
20 class FormField;
22 class FormFieldPrivate
24 public:
25 FormFieldPrivate( FormField::FieldType type );
26 virtual ~FormFieldPrivate();
28 void setDefault();
30 virtual void setValue( const QString& ) = 0;
31 virtual QString value() const = 0;
33 FormField::FieldType m_type;
34 QString m_default;
35 Action *m_activateAction;
37 Q_DECLARE_PUBLIC( FormField )
38 FormField *q_ptr;
43 #endif