kpresenter
KPrNoteBar.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef NOTEBAR_H
00022 #define NOTEBAR_H
00023
00024 #include <qwidget.h>
00025
00026 class QPainter;
00027 class QLabel;
00028
00029 class KPrDocument;
00030 class KPrView;
00031 class KPrinter;
00032 class KTextEdit;
00033
00034 class KPrNoteBar : public QWidget
00035 {
00036 Q_OBJECT
00037
00038 public:
00039 KPrNoteBar( QWidget *_parent, KPrView *_view );
00040 ~KPrNoteBar();
00041
00042 void setCurrentNoteText( const QString &_text );
00043
00044
00045 void printNotes( QPainter *_painter, KPrinter *_printer, QValueList<int> );
00046
00047 QString getNotesTextForPrinting(QValueList<int>) const;
00048
00049 private slots:
00050 void slotTextChanged();
00051 void slotSelectionChanged();
00052 void slotCopyAvailable( bool );
00053 void slotUndoAvailable( bool );
00054 void slotRedoAvailable( bool );
00055
00056 private:
00057 ::KTextEdit *textEdit;
00058 QLabel *label;
00059
00060 KPrView *view;
00061
00062 bool initialize;
00063 };
00064
00065 #endif
|