kword
KWFootNoteDia.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef footnotedia_h
00021 #define footnotedia_h
00022
00023 #include <kdialogbase.h>
00024 #include "defs.h"
00025 #include "KWVariable.h"
00026 class QRadioButton;
00027 class QLineEdit;
00028 class KWDocument;
00029
00030
00031
00032
00033 class KWFootNoteDia : public KDialogBase
00034 {
00035 Q_OBJECT
00036
00037 public:
00038 KWFootNoteDia( NoteType _noteType, KWFootNoteVariable::Numbering _numberingType, const QString & _manualString, QWidget *parent, KWDocument *_doc, const char *name = 0 );
00039
00040 NoteType noteType() const;
00041 KWFootNoteVariable::Numbering numberingType()const;
00042 QString manualString()const;
00043 void appendManualFootNote( const QString & );
00044 protected:
00045 bool insertFootNote();
00046 bool footNoteAlreadyExists( const QString & );
00047 protected slots:
00048 void footLineChanged( const QString & );
00049 void footNoteTypeChanged();
00050 void slotConfigurate();
00051 private:
00052
00053 QRadioButton *m_rbAuto;
00054 QRadioButton *m_rbManual;
00055
00056 QRadioButton *m_rbFootNote;
00057 QRadioButton *m_rbEndNote;
00058 QLineEdit *m_footLine;
00059 KWDocument *m_doc;
00060 QValueList<QString> manualFootNotes;
00061 };
00062
00063 #endif
00064
00065
|