00001 /*************************************************************************** 00002 logwindow.h - description 00003 ------------------- 00004 begin : Wed Feb 14 2001 00005 copyright : (C) 2001 by Javier Campos Morales 00006 email : javi_cms@terra.es 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef LOGWINDOW_H 00019 #define LOGWINDOW_H 00020 00021 #include <qwidget.h> 00022 #include <kdialogbase.h> 00023 #include <qtextview.h> 00024 00029 class LogWindow : public KDialogBase { 00030 Q_OBJECT 00031 public: 00032 LogWindow(QWidget *parent=0, const char *name=0); 00033 ~LogWindow(); 00035 void setText( const QString &text ); 00036 private: 00037 QTextView *logView; 00038 private slots: 00039 void slotClose(); 00040 }; 00041 00042 #endif