00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __KoCommentDia__
00021 #define __KoCommentDia__
00022
00023 #include <kdialog.h>
00024 #include <koffice_export.h>
00025 class QPushButton;
00026 class Q3MultiLineEdit;
00027
00028 class KOTEXT_EXPORT KoCommentDia : public KDialog
00029 {
00030 Q_OBJECT
00031 public:
00032 KoCommentDia( QWidget *parent, const QString &_note=QString::null, const QString & _authorName=QString::null, const QString &_createNote=QString::null, const char *name=0L );
00033 QString commentText();
00034
00035 private slots:
00036 void slotAddAuthorName();
00037 void slotTextChanged( );
00038
00039 protected:
00040 Q3MultiLineEdit *m_multiLine;
00041 QString authorName;
00042 QPushButton *pbAddAuthorName;
00043 };
00044
00045 #endif