summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/kmfwidgets/kmfobjectinfo.h
blob: fa3976dc44685a77973731a326c56e9001def31b (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
/***************************************************************************
    begin                : Thu Apr 24 2003
    copyright            : (C) 2003 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 KMFOBJECTINFO_H
#define KMFOBJECTINFO_H

#include <tqwidget.h>
#include "kmyfirewallobjectinfo.h"

#include <kdemacros.h>

/**
  *@author Christian Hubinger
  */
namespace KMF {
class NetfilterObject;
class KMFDoc;

class KDE_EXPORT KMFObjectInfo : public KMyFirewallObjectInfo  {
   Q_OBJECT
  TQ_OBJECT
public: 
	KMFObjectInfo(TQWidget *parent=0, const char *name=0, bool modal=false);
	~KMFObjectInfo();

	void loadNetfilterObject( NetfilterObject* );
	void loadKMFDoc( KMFDoc* );

private slots:
	void accept();
	void reject();
	void slotHelp();
	
private: // data
	NetfilterObject* m_netfilter_object;
	KMFDoc* m_doc;
signals:
	void sigDocumentChanged();
	void sigHideMe();
};
}
#endif