00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef RESTOREOUTPUT_H
00010 #define RESTOREOUTPUT_H
00011
00012 #include <qtextedit.h>
00013 #include <qpushbutton.h>
00014 #include <kapplication.h>
00015
00016 #include "restoreoutputdlg.h"
00017
00018
00020
00024 class RestoreOutput : public restoreoutputdlg
00025 {
00026 Q_OBJECT
00027
00028
00029 public:
00030
00032 RestoreOutput(QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
00033
00035 ~RestoreOutput();
00036
00038
00041 void appendOutput(const QString& text);
00042
00044
00047 void appendError(const QString& text);
00048
00050
00053 void appendCommand(const QString& text);
00054
00056
00059 void CloseEnabled();
00060
00061
00062
00063 public slots:
00064
00066 virtual void btnClose_clicked();
00067
00069
00074 virtual void closeEvent(QCloseEvent *e);
00075
00076
00077
00078 private:
00079
00081 QWidget* restoreWin;
00082
00084
00087 void Close();
00088
00089 };
00090
00091 #endif
00092