blob: 79ec49ec856ca1a5164bbadd17a7b39ab483d1d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
/***************************************************************************
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 <tqdialog.h>
#include <tqpixmap.h>
#include <kdemacros.h>
class TQLabel;
class TQListView;
class TQListViewItem;
class TQString;
class TQPushButton;
namespace KMF {
/**
*@author Christian Hubinger
*/
class KDE_EXPORT KMFCheckListOutput : public TQDialog {
Q_OBJECT
TQ_OBJECT
public:
KMFCheckListOutput( TQWidget *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 TQString &txt );
/**
Sets the Status of the last created ListItem
*/
void setStatus( bool ok, const TQString &err_msg );
void clearList();
private:
// Functions
void loadIcons();
// Data
TQListView *mlb_outputView;
TQPushButton *mpb_ok;
TQListViewItem *m_currItem;
TQPixmap icon_ok;
TQPixmap icon_err;
TQLabel *text;
};
}
#endif
|