summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/vpn/vpnGUI.cpp
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/vpn/vpnGUI.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/vpn/vpnGUI.cpp76
1 files changed, 76 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/vpn/vpnGUI.cpp b/noncore/settings/networksettings2/vpn/vpnGUI.cpp
new file mode 100644
index 0000000..708c92b
--- a/dev/null
+++ b/noncore/settings/networksettings2/vpn/vpnGUI.cpp
@@ -0,0 +1,76 @@
1/****************************************************************************
2** Form implementation generated from reading ui file 'vpnGUI.ui'
3**
4** Created: Tue Mar 30 02:42:53 2004
5** by: The User Interface Compiler (uic)
6**
7** WARNING! All changes made in this file will be lost!
8****************************************************************************/
9#include "vpnGUI.h"
10
11#include <qcheckbox.h>
12#include <qlabel.h>
13#include <qlineedit.h>
14#include <qmultilineedit.h>
15#include <qpushbutton.h>
16#include <qlayout.h>
17#include <qvariant.h>
18#include <qtooltip.h>
19#include <qwhatsthis.h>
20
21/*
22 * Constructs a VPNGUI which is a child of 'parent', with the
23 * name 'name' and widget flags set to 'f'
24 */
25VPNGUI::VPNGUI( QWidget* parent, const char* name, WFlags fl )
26 : QWidget( parent, name, fl )
27{
28 if ( !name )
29 setName( "VPN_FRM" );
30 resize( 283, 199 );
31 setCaption( tr( "VPN" ) );
32 VPN_FRMLayout = new QVBoxLayout( this );
33 VPN_FRMLayout->setSpacing( 2 );
34 VPN_FRMLayout->setMargin( 2 );
35
36 Layout4 = new QHBoxLayout;
37 Layout4->setSpacing( 6 );
38 Layout4->setMargin( 0 );
39
40 TextLabel4 = new QLabel( this, "TextLabel4" );
41 TextLabel4->setText( tr( "Name" ) );
42 Layout4->addWidget( TextLabel4 );
43
44 Name_LE = new QLineEdit( this, "Name_LE" );
45 Layout4->addWidget( Name_LE );
46 VPN_FRMLayout->addLayout( Layout4 );
47
48 TextLabel3 = new QLabel( this, "TextLabel3" );
49 TextLabel3->setText( tr( "Description" ) );
50 VPN_FRMLayout->addWidget( TextLabel3 );
51
52 Description_LE = new QMultiLineEdit( this, "Description_LE" );
53 VPN_FRMLayout->addWidget( Description_LE );
54
55 Layout5 = new QHBoxLayout;
56 Layout5->setSpacing( 6 );
57 Layout5->setMargin( 0 );
58
59 Automatic_CB = new QCheckBox( this, "Automatic_CB" );
60 Automatic_CB->setText( tr( "Start automatically" ) );
61 Layout5->addWidget( Automatic_CB );
62
63 Confirm_CB = new QCheckBox( this, "Confirm_CB" );
64 Confirm_CB->setText( tr( "Confirm before start" ) );
65 Layout5->addWidget( Confirm_CB );
66 VPN_FRMLayout->addLayout( Layout5 );
67}
68
69/*
70 * Destroys the object and frees any allocated resources
71 */
72VPNGUI::~VPNGUI()
73{
74 // no need to delete child widgets, Qt does it all for us
75}
76