diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 01:04:17 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 01:04:17 +0000 |
commit | c3b707c026782768bd8c0e6ae6b574fe8a36802d (patch) | |
tree | 5ca6782031b1546c788290cc0b95524369ff01ea /kmyfirewall/kmfwidgets/kmfchecklistoutput.h | |
download | kmyfirewall-c3b707c026782768bd8c0e6ae6b574fe8a36802d.tar.gz kmyfirewall-c3b707c026782768bd8c0e6ae6b574fe8a36802d.zip |
Added old abandoned KDE3 version of kmyfirewall
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmyfirewall@1091559 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmyfirewall/kmfwidgets/kmfchecklistoutput.h')
-rw-r--r-- | kmyfirewall/kmfwidgets/kmfchecklistoutput.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/kmyfirewall/kmfwidgets/kmfchecklistoutput.h b/kmyfirewall/kmfwidgets/kmfchecklistoutput.h new file mode 100644 index 0000000..73d8887 --- /dev/null +++ b/kmyfirewall/kmfwidgets/kmfchecklistoutput.h @@ -0,0 +1,64 @@ +/*************************************************************************** + begin : Tue Jul 30 2002 + copyright : (C) 2002 by Christian Hubinger + email : chubinger@irrsinnig.org +***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef KMFCHECKLISTOUTPUT_H +#define KMFCHECKLISTOUTPUT_H + +#include <qdialog.h> +#include <qpixmap.h> +#include <kdemacros.h> +class QLabel; +class QListView; +class QListViewItem; +class QString; +class QPushButton; +namespace KMF { +/** + *@author Christian Hubinger + */ + +class KDE_EXPORT KMFCheckListOutput : public QDialog { + Q_OBJECT +public: + KMFCheckListOutput( QWidget *parent = 0, const char *name = 0, bool modal = FALSE, WFlags fl = 0 ); + ~KMFCheckListOutput(); + + /** + Appends one line at the End Of the List + */ + void appendLine( const QString &txt ); + + /** + Sets the Status of the last created ListItem + */ + void setStatus( bool ok, const QString &err_msg ); + + void clearList(); + +private: + + // Functions + void loadIcons(); + + // Data + QListView *mlb_outputView; + QPushButton *mpb_ok; + QListViewItem *m_currItem; + QPixmap icon_ok; + QPixmap icon_err; + QLabel *text; +}; +} +#endif |