blob: 352cfffda20c5b7ae577d46690ef5b65b6c696cc (
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
66
67
68
69
70
|
//
// C++ Interface:
//
// Description:
//
//
// Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef KMFHOSTWIDGET_H
#define KMFHOSTWIDGET_H
#include "kmyfirewallhostwidget.h"
#include <tqwidget.h>
#include <kdialogbase.h>
#include <kconfig.h>
#include <kglobal.h>
#include <kprocess.h>
#include <tqstring.h>
#include <tqpixmap.h>
#include <tqguardedptr.h>
namespace KMF {
class KMFTarget;
class KMFHostWidget : public KMyFirewallHostWidget
{
Q_OBJECT
TQ_OBJECT
public:
KMFHostWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~KMFHostWidget();
/*$PUBLIC_FUNCTIONS$*/
void loadHost( KMFTarget *target );
void InitGUI();
public slots:
/*$PUBLIC_SLOTS$*/
protected:
/*$PROTECTED_FUNCTIONS$*/
void updateView();
protected slots:
/*$PROTECTED_SLOTS$*/
void slotAddressChanged( int );
void slotSSHPortChanged( int );
void slotOSChanged( const TQString& );
void slotBackaendChanged( const TQString& );
void slotDescriptionChanged();
void slotTestConnection();
void slotTryAutoConfiguration();
void slotTryAutoConfiguration_Callback( KMFTarget* );
signals:
void sigTargetChanged();
private:
TQGuardedPtr<KMFTarget> m_target;
};
}
#endif
|