summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/kmfwidgets/kmfchecklistitem.h
blob: d60e77872d0f7092d9a08a3c15114b73f0530c66 (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
//
// C++ Interface: kmfchecklistitem
//
// Description: 
//
//
// Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2003
//
// Copyright: See COPYING file that comes with this distribution
//
//
/***************************************************************************
 *                                                                         *
 *   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 KMFCHECKLISTITEM_H
#define KMFCHECKLISTITEM_H

#include <tqlistview.h>
#include <kdemacros.h>

namespace KMF {
class KMFProtocol;
class KMFProtocolUsage;
class NetfilterObject;

class KDE_EXPORT KMFCheckListItem : public TQCheckListItem
{
public:
	KMFCheckListItem( TQListViewItem *parent, const TQString&, Type tt = Controller, KMFProtocolUsage* = 0 );
	KMFCheckListItem( TQListView *parent, TQListViewItem *after, const TQString&, Type tt = Controller, KMFProtocolUsage* = 0 );
	KMFCheckListItem( TQListViewItem *parent, TQListViewItem *after, const TQString&, Type tt = Controller, KMFProtocolUsage* = 0);
    ~KMFCheckListItem();


public:
	KMFProtocolUsage* protocolUsage() const {
		return m_protocolUsage;
	};

private:
	void loadKMFProtocolUsage( KMFProtocolUsage* );

	KMFProtocolUsage *m_protocolUsage;
};
}
#endif