#include <kdialog.h>
#include <klocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './preferencesdialogbase.ui'
**
** Created: Tue Aug 29 15:39:16 2006
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.6   edited Aug 31 2005 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "preferencesdialogbase.h"

#include <qvariant.h>
#include <qpushbutton.h>
#include <qtabwidget.h>
#include <qgroupbox.h>
#include <qcheckbox.h>
#include <qspinbox.h>
#include <qlabel.h>
#include <kcombobox.h>
#include <kpushbutton.h>
#include <kurlrequester.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/*
 *  Constructs a PreferencesDialogBase as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
PreferencesDialogBase::PreferencesDialogBase( QWidget* parent, const char* name, WFlags fl )
    : QWidget( parent, name, fl )
{
    if ( !name )
	setName( "PreferencesDialogBase" );
    PreferencesDialogBaseLayout = new QGridLayout( this, 1, 1, 11, 6, "PreferencesDialogBaseLayout"); 

    tabWidget3 = new QTabWidget( this, "tabWidget3" );

    tab = new QWidget( tabWidget3, "tab" );
    tabLayout = new QGridLayout( tab, 1, 1, 11, 6, "tabLayout"); 

    groupBox2 = new QGroupBox( tab, "groupBox2" );
    groupBox2->setColumnLayout(0, Qt::Vertical );
    groupBox2->layout()->setSpacing( 6 );
    groupBox2->layout()->setMargin( 11 );
    groupBox2Layout = new QGridLayout( groupBox2->layout() );
    groupBox2Layout->setAlignment( Qt::AlignTop );

    WriteLogCheck = new QCheckBox( groupBox2, "WriteLogCheck" );

    groupBox2Layout->addMultiCellWidget( WriteLogCheck, 1, 1, 0, 1 );

    spinKvpncDebugLevel = new QSpinBox( groupBox2, "spinKvpncDebugLevel" );
    spinKvpncDebugLevel->setEnabled( TRUE );
    spinKvpncDebugLevel->setMaxValue( 99 );
    spinKvpncDebugLevel->setMinValue( 0 );
    spinKvpncDebugLevel->setValue( 0 );

    groupBox2Layout->addWidget( spinKvpncDebugLevel, 2, 0 );

    DontQuitOnCloseEventCheckBox = new QCheckBox( groupBox2, "DontQuitOnCloseEventCheckBox" );

    groupBox2Layout->addWidget( DontQuitOnCloseEventCheckBox, 1, 3 );

    textLabel1_3_2_3 = new QLabel( groupBox2, "textLabel1_3_2_3" );

    groupBox2Layout->addWidget( textLabel1_3_2_3, 2, 1 );

    KeepConnectionFilesCheckBox = new QCheckBox( groupBox2, "KeepConnectionFilesCheckBox" );

    groupBox2Layout->addWidget( KeepConnectionFilesCheckBox, 0, 3 );

    showDebugCheck = new QCheckBox( groupBox2, "showDebugCheck" );

    groupBox2Layout->addMultiCellWidget( showDebugCheck, 0, 0, 0, 2 );
    spacer31 = new QSpacerItem( 380, 21, QSizePolicy::Expanding, QSizePolicy::Minimum );
    groupBox2Layout->addMultiCell( spacer31, 2, 2, 2, 3 );

    tabLayout->addWidget( groupBox2, 0, 0 );

    groupBox3 = new QGroupBox( tab, "groupBox3" );
    groupBox3->setColumnLayout(0, Qt::Vertical );
    groupBox3->layout()->setSpacing( 6 );
    groupBox3->layout()->setMargin( 11 );
    groupBox3Layout = new QGridLayout( groupBox3->layout() );
    groupBox3Layout->setAlignment( Qt::AlignTop );

    checkMinimizeAfterConnectCheck = new QCheckBox( groupBox3, "checkMinimizeAfterConnectCheck" );
    checkMinimizeAfterConnectCheck->setChecked( TRUE );

    groupBox3Layout->addMultiCellWidget( checkMinimizeAfterConnectCheck, 1, 1, 0, 1 );
    spacer24 = new QSpacerItem( 210, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    groupBox3Layout->addMultiCell( spacer24, 1, 1, 2, 3 );

    SilentQuitcheckBox = new QCheckBox( groupBox3, "SilentQuitcheckBox" );

    groupBox3Layout->addWidget( SilentQuitcheckBox, 0, 0 );

    DoAutoConnectCheckBox = new QCheckBox( groupBox3, "DoAutoConnectCheckBox" );
    DoAutoConnectCheckBox->setChecked( TRUE );

    groupBox3Layout->addMultiCellWidget( DoAutoConnectCheckBox, 2, 2, 0, 2 );

    AutoConnectProfileComboBox = new KComboBox( FALSE, groupBox3, "AutoConnectProfileComboBox" );

    groupBox3Layout->addWidget( AutoConnectProfileComboBox, 2, 6 );
    spacer23 = new QSpacerItem( 164, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    groupBox3Layout->addItem( spacer23, 1, 6 );

    spinTryConnectTimeout = new QSpinBox( groupBox3, "spinTryConnectTimeout" );
    spinTryConnectTimeout->setMaxValue( 360 );
    spinTryConnectTimeout->setMinValue( 1 );
    spinTryConnectTimeout->setValue( 15 );

    groupBox3Layout->addWidget( spinTryConnectTimeout, 1, 4 );

    textLabel1_3 = new QLabel( groupBox3, "textLabel1_3" );

    groupBox3Layout->addWidget( textLabel1_3, 1, 5 );
    spacer28_5 = new QSpacerItem( 360, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    groupBox3Layout->addMultiCell( spacer28_5, 2, 2, 3, 5 );
    spacer25 = new QSpacerItem( 570, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    groupBox3Layout->addMultiCell( spacer25, 0, 0, 1, 6 );

    tabLayout->addWidget( groupBox3, 1, 0 );

    LogOutputBox = new QGroupBox( tab, "LogOutputBox" );
    LogOutputBox->setColumnLayout(0, Qt::Vertical );
    LogOutputBox->layout()->setSpacing( 6 );
    LogOutputBox->layout()->setMargin( 11 );
    LogOutputBoxLayout = new QGridLayout( LogOutputBox->layout() );
    LogOutputBoxLayout->setAlignment( Qt::AlignTop );

    ColorGroupBox = new QGroupBox( LogOutputBox, "ColorGroupBox" );
    ColorGroupBox->setColumnLayout(0, Qt::Vertical );
    ColorGroupBox->layout()->setSpacing( 6 );
    ColorGroupBox->layout()->setMargin( 11 );
    ColorGroupBoxLayout = new QGridLayout( ColorGroupBox->layout() );
    ColorGroupBoxLayout->setAlignment( Qt::AlignTop );

    textLabel2_2 = new QLabel( ColorGroupBox, "textLabel2_2" );

    ColorGroupBoxLayout->addWidget( textLabel2_2, 2, 0 );

    DebugLogFontPushButton = new KPushButton( ColorGroupBox, "DebugLogFontPushButton" );

    ColorGroupBoxLayout->addWidget( DebugLogFontPushButton, 4, 3 );

    DebugLogLabel = new QLabel( ColorGroupBox, "DebugLogLabel" );
    DebugLogLabel->setMinimumSize( QSize( 25, 25 ) );
    DebugLogLabel->setPaletteBackgroundColor( QColor( 255, 170, 0 ) );
    DebugLogLabel->setFrameShape( QLabel::Box );
    DebugLogLabel->setFrameShadow( QLabel::Sunken );

    ColorGroupBoxLayout->addWidget( DebugLogLabel, 4, 2 );

    textLabel2_3_2 = new QLabel( ColorGroupBox, "textLabel2_3_2" );

    ColorGroupBoxLayout->addWidget( textLabel2_3_2, 4, 0 );

    RemoteLogLabel = new QLabel( ColorGroupBox, "RemoteLogLabel" );
    RemoteLogLabel->setMinimumSize( QSize( 25, 25 ) );
    RemoteLogLabel->setPaletteBackgroundColor( QColor( 85, 0, 255 ) );
    RemoteLogLabel->setFrameShape( QLabel::Box );
    RemoteLogLabel->setFrameShadow( QLabel::Sunken );

    ColorGroupBoxLayout->addWidget( RemoteLogLabel, 1, 2 );

    InfoLogLabel = new QLabel( ColorGroupBox, "InfoLogLabel" );
    InfoLogLabel->setMinimumSize( QSize( 25, 25 ) );
    InfoLogLabel->setPaletteBackgroundColor( QColor( 0, 0, 0 ) );
    InfoLogLabel->setFrameShape( QLabel::Box );
    InfoLogLabel->setFrameShadow( QLabel::Sunken );
    InfoLogLabel->setLineWidth( 1 );

    ColorGroupBoxLayout->addWidget( InfoLogLabel, 0, 2 );

    ErrorLogLabel = new QLabel( ColorGroupBox, "ErrorLogLabel" );
    ErrorLogLabel->setMinimumSize( QSize( 25, 25 ) );
    ErrorLogLabel->setPaletteBackgroundColor( QColor( 255, 0, 0 ) );
    ErrorLogLabel->setFrameShape( QLabel::Box );
    ErrorLogLabel->setFrameShadow( QLabel::Sunken );

    ColorGroupBoxLayout->addWidget( ErrorLogLabel, 2, 2 );
    spacer28_3_2 = new QSpacerItem( 127, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    ColorGroupBoxLayout->addItem( spacer28_3_2, 2, 1 );
    spacer28_3_3 = new QSpacerItem( 127, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    ColorGroupBoxLayout->addItem( spacer28_3_3, 3, 1 );

    RemoteLogFontPushButton = new KPushButton( ColorGroupBox, "RemoteLogFontPushButton" );

    ColorGroupBoxLayout->addWidget( RemoteLogFontPushButton, 1, 3 );

    textLabel2_3 = new QLabel( ColorGroupBox, "textLabel2_3" );

    ColorGroupBoxLayout->addWidget( textLabel2_3, 3, 0 );

    textLabel2 = new QLabel( ColorGroupBox, "textLabel2" );

    ColorGroupBoxLayout->addWidget( textLabel2, 0, 0 );
    spacer28_3_3_2 = new QSpacerItem( 127, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    ColorGroupBoxLayout->addItem( spacer28_3_3_2, 4, 1 );
    spacer28_3 = new QSpacerItem( 127, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    ColorGroupBoxLayout->addItem( spacer28_3, 0, 1 );
    spacer28_3_3_2_2 = new QSpacerItem( 127, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    ColorGroupBoxLayout->addItem( spacer28_3_3_2_2, 1, 1 );

    textLabel2_3_2_2 = new QLabel( ColorGroupBox, "textLabel2_3_2_2" );

    ColorGroupBoxLayout->addWidget( textLabel2_3_2_2, 1, 0 );

    ErrorLogFontPushButton = new KPushButton( ColorGroupBox, "ErrorLogFontPushButton" );

    ColorGroupBoxLayout->addWidget( ErrorLogFontPushButton, 2, 3 );

    SuccessLogFontPushButton = new KPushButton( ColorGroupBox, "SuccessLogFontPushButton" );

    ColorGroupBoxLayout->addWidget( SuccessLogFontPushButton, 3, 3 );

    InfoLogFontPushButton = new KPushButton( ColorGroupBox, "InfoLogFontPushButton" );

    ColorGroupBoxLayout->addWidget( InfoLogFontPushButton, 0, 3 );

    SuccessLogLabel = new QLabel( ColorGroupBox, "SuccessLogLabel" );
    SuccessLogLabel->setMinimumSize( QSize( 25, 25 ) );
    SuccessLogLabel->setPaletteBackgroundColor( QColor( 0, 170, 0 ) );
    SuccessLogLabel->setFrameShape( QLabel::Box );
    SuccessLogLabel->setFrameShadow( QLabel::Sunken );

    ColorGroupBoxLayout->addWidget( SuccessLogLabel, 3, 2 );

    LogOutputBoxLayout->addMultiCellWidget( ColorGroupBox, 1, 2, 0, 1 );

    UseColorizedLogOutputcheckBox = new QCheckBox( LogOutputBox, "UseColorizedLogOutputcheckBox" );

    LogOutputBoxLayout->addWidget( UseColorizedLogOutputcheckBox, 0, 0 );
    spacer100 = new QSpacerItem( 170, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    LogOutputBoxLayout->addItem( spacer100, 0, 1 );

    LogFontSizeSpinBox = new QSpinBox( LogOutputBox, "LogFontSizeSpinBox" );
    LogFontSizeSpinBox->setEnabled( TRUE );
    LogFontSizeSpinBox->setMaxValue( 4 );
    LogFontSizeSpinBox->setMinValue( -4 );
    LogFontSizeSpinBox->setValue( 0 );

    LogOutputBoxLayout->addWidget( LogFontSizeSpinBox, 0, 2 );

    LogFontSizetextLabel = new QLabel( LogOutputBox, "LogFontSizetextLabel" );

    LogOutputBoxLayout->addWidget( LogFontSizetextLabel, 0, 3 );
    spacer28_2_2_2 = new QSpacerItem( 273, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    LogOutputBoxLayout->addItem( spacer28_2_2_2, 0, 4 );
    spacer26 = new QSpacerItem( 392, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    LogOutputBoxLayout->addMultiCell( spacer26, 1, 1, 2, 4 );
    spacer27 = new QSpacerItem( 20, 173, QSizePolicy::Minimum, QSizePolicy::Expanding );
    LogOutputBoxLayout->addItem( spacer27, 2, 4 );

    tabLayout->addWidget( LogOutputBox, 2, 0 );
    spacer79 = new QSpacerItem( 20, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
    tabLayout->addItem( spacer79, 3, 0 );
    tabWidget3->insertTab( tab, QString::fromLatin1("") );

    tab_2 = new QWidget( tabWidget3, "tab_2" );
    tabLayout_2 = new QGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2"); 

    ProgramsInPathcheckBox = new QCheckBox( tab_2, "ProgramsInPathcheckBox" );
    ProgramsInPathcheckBox->setEnabled( TRUE );
    ProgramsInPathcheckBox->setChecked( TRUE );

    tabLayout_2->addWidget( ProgramsInPathcheckBox, 0, 0 );
    spacer12 = new QSpacerItem( 20, 17, QSizePolicy::Minimum, QSizePolicy::Expanding );
    tabLayout_2->addItem( spacer12, 6, 0 );

    groupBox7 = new QGroupBox( tab_2, "groupBox7" );
    groupBox7->setEnabled( TRUE );
    groupBox7->setColumnLayout(0, Qt::Vertical );
    groupBox7->layout()->setSpacing( 6 );
    groupBox7->layout()->setMargin( 11 );
    groupBox7Layout = new QGridLayout( groupBox7->layout() );
    groupBox7Layout->setAlignment( Qt::AlignTop );

    textLabel1 = new QLabel( groupBox7, "textLabel1" );
    textLabel1->setEnabled( TRUE );

    groupBox7Layout->addWidget( textLabel1, 0, 0 );

    textLabel1_3_2 = new QLabel( groupBox7, "textLabel1_3_2" );

    groupBox7Layout->addWidget( textLabel1_3_2, 1, 0 );

    VpncPathInput = new KURLRequester( groupBox7, "VpncPathInput" );
    VpncPathInput->setEnabled( TRUE );

    groupBox7Layout->addMultiCellWidget( VpncPathInput, 0, 0, 1, 3 );

    spinVpncDebugLevel = new QSpinBox( groupBox7, "spinVpncDebugLevel" );
    spinVpncDebugLevel->setEnabled( TRUE );
    spinVpncDebugLevel->setMaxValue( 99 );
    spinVpncDebugLevel->setMinValue( 0 );
    spinVpncDebugLevel->setValue( 0 );

    groupBox7Layout->addWidget( spinVpncDebugLevel, 1, 1 );
    spacer28 = new QSpacerItem( 192, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    groupBox7Layout->addItem( spacer28, 1, 2 );

    ShowInterfaceIPinTooltipCheckBox = new QCheckBox( groupBox7, "ShowInterfaceIPinTooltipCheckBox" );

    groupBox7Layout->addWidget( ShowInterfaceIPinTooltipCheckBox, 1, 3 );

    tabLayout_2->addWidget( groupBox7, 1, 0 );

    groupBox8_2_2 = new QGroupBox( tab_2, "groupBox8_2_2" );
    groupBox8_2_2->setEnabled( TRUE );
    groupBox8_2_2->setColumnLayout(0, Qt::Vertical );
    groupBox8_2_2->layout()->setSpacing( 6 );
    groupBox8_2_2->layout()->setMargin( 11 );
    groupBox8_2_2Layout = new QGridLayout( groupBox8_2_2->layout() );
    groupBox8_2_2Layout->setAlignment( Qt::AlignTop );

    textLabel1_4_2_2 = new QLabel( groupBox8_2_2, "textLabel1_4_2_2" );
    textLabel1_4_2_2->setEnabled( TRUE );

    groupBox8_2_2Layout->addWidget( textLabel1_4_2_2, 0, 0 );

    FreeswanPathInput = new KURLRequester( groupBox8_2_2, "FreeswanPathInput" );
    FreeswanPathInput->setEnabled( TRUE );

    groupBox8_2_2Layout->addWidget( FreeswanPathInput, 0, 1 );

    tabLayout_2->addWidget( groupBox8_2_2, 2, 0 );

    groupBox8 = new QGroupBox( tab_2, "groupBox8" );
    groupBox8->setEnabled( TRUE );
    groupBox8->setColumnLayout(0, Qt::Vertical );
    groupBox8->layout()->setSpacing( 6 );
    groupBox8->layout()->setMargin( 11 );
    groupBox8Layout = new QGridLayout( groupBox8->layout() );
    groupBox8Layout->setAlignment( Qt::AlignTop );

    SetkeyPathInput = new KURLRequester( groupBox8, "SetkeyPathInput" );
    SetkeyPathInput->setEnabled( TRUE );

    groupBox8Layout->addMultiCellWidget( SetkeyPathInput, 1, 1, 1, 2 );

    textLabel1_3_2_2 = new QLabel( groupBox8, "textLabel1_3_2_2" );

    groupBox8Layout->addWidget( textLabel1_3_2_2, 2, 0 );

    textLabel1_2_3 = new QLabel( groupBox8, "textLabel1_2_3" );

    groupBox8Layout->addWidget( textLabel1_2_3, 1, 0 );

    textLabel1_4 = new QLabel( groupBox8, "textLabel1_4" );

    groupBox8Layout->addWidget( textLabel1_4, 0, 0 );

    RacoonPathInput = new KURLRequester( groupBox8, "RacoonPathInput" );
    RacoonPathInput->setEnabled( TRUE );

    groupBox8Layout->addMultiCellWidget( RacoonPathInput, 0, 0, 1, 2 );

    RacoonDebugLevelComboBox = new KComboBox( FALSE, groupBox8, "RacoonDebugLevelComboBox" );

    groupBox8Layout->addWidget( RacoonDebugLevelComboBox, 2, 1 );
    spacer29 = new QSpacerItem( 330, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    groupBox8Layout->addItem( spacer29, 2, 2 );

    tabLayout_2->addWidget( groupBox8, 3, 0 );

    groupBox8_2_3_2 = new QGroupBox( tab_2, "groupBox8_2_3_2" );
    groupBox8_2_3_2->setEnabled( TRUE );
    groupBox8_2_3_2->setColumnLayout(0, Qt::Vertical );
    groupBox8_2_3_2->layout()->setSpacing( 6 );
    groupBox8_2_3_2->layout()->setMargin( 11 );
    groupBox8_2_3_2Layout = new QGridLayout( groupBox8_2_3_2->layout() );
    groupBox8_2_3_2Layout->setAlignment( Qt::AlignTop );

    textLabel1_4_2_3_2 = new QLabel( groupBox8_2_3_2, "textLabel1_4_2_3_2" );
    textLabel1_4_2_3_2->setEnabled( TRUE );

    groupBox8_2_3_2Layout->addWidget( textLabel1_4_2_3_2, 0, 0 );

    DebugPppdcheckBox = new QCheckBox( groupBox8_2_3_2, "DebugPppdcheckBox" );

    groupBox8_2_3_2Layout->addWidget( DebugPppdcheckBox, 1, 0 );
    spacer13 = new QSpacerItem( 433, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    groupBox8_2_3_2Layout->addItem( spacer13, 1, 1 );

    PppdPathInput = new KURLRequester( groupBox8_2_3_2, "PppdPathInput" );
    PppdPathInput->setEnabled( TRUE );

    groupBox8_2_3_2Layout->addWidget( PppdPathInput, 0, 1 );

    tabLayout_2->addWidget( groupBox8_2_3_2, 4, 0 );

    groupBox8_2_3_2_2 = new QGroupBox( tab_2, "groupBox8_2_3_2_2" );
    groupBox8_2_3_2_2->setEnabled( TRUE );
    groupBox8_2_3_2_2->setColumnLayout(0, Qt::Vertical );
    groupBox8_2_3_2_2->layout()->setSpacing( 6 );
    groupBox8_2_3_2_2->layout()->setMargin( 11 );
    groupBox8_2_3_2_2Layout = new QGridLayout( groupBox8_2_3_2_2->layout() );
    groupBox8_2_3_2_2Layout->setAlignment( Qt::AlignTop );

    textLabel1_4_2_3_2_2 = new QLabel( groupBox8_2_3_2_2, "textLabel1_4_2_3_2_2" );
    textLabel1_4_2_3_2_2->setEnabled( TRUE );

    groupBox8_2_3_2_2Layout->addMultiCellWidget( textLabel1_4_2_3_2_2, 0, 0, 0, 1 );

    OpenvpnPathInput = new KURLRequester( groupBox8_2_3_2_2, "OpenvpnPathInput" );
    OpenvpnPathInput->setEnabled( TRUE );

    groupBox8_2_3_2_2Layout->addMultiCellWidget( OpenvpnPathInput, 0, 0, 2, 3 );

    textLabel1_3_2_2_2 = new QLabel( groupBox8_2_3_2_2, "textLabel1_3_2_2_2" );

    groupBox8_2_3_2_2Layout->addWidget( textLabel1_3_2_2_2, 1, 0 );
    spacer54 = new QSpacerItem( 187, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    groupBox8_2_3_2_2Layout->addItem( spacer54, 1, 1 );

    spinOpenvpnDebugLevel = new QSpinBox( groupBox8_2_3_2_2, "spinOpenvpnDebugLevel" );
    spinOpenvpnDebugLevel->setEnabled( TRUE );
    spinOpenvpnDebugLevel->setMaxValue( 99 );
    spinOpenvpnDebugLevel->setMinValue( 0 );
    spinOpenvpnDebugLevel->setValue( 0 );

    groupBox8_2_3_2_2Layout->addWidget( spinOpenvpnDebugLevel, 1, 2 );
    spacer13_2 = new QSpacerItem( 221, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    groupBox8_2_3_2_2Layout->addItem( spacer13_2, 1, 3 );

    tabLayout_2->addWidget( groupBox8_2_3_2_2, 5, 0 );
    tabWidget3->insertTab( tab_2, QString::fromLatin1("") );

    TabPage = new QWidget( tabWidget3, "TabPage" );
    TabPageLayout = new QGridLayout( TabPage, 1, 1, 11, 6, "TabPageLayout"); 

    layout5 = new QVBoxLayout( 0, 0, 6, "layout5"); 

    layout3 = new QGridLayout( 0, 1, 1, 0, 6, "layout3"); 

    textLabel1_4_2_3_4 = new QLabel( TabPage, "textLabel1_4_2_3_4" );
    textLabel1_4_2_3_4->setEnabled( TRUE );

    layout3->addWidget( textLabel1_4_2_3_4, 3, 0 );

    textLabel1_4_2_3_4_4 = new QLabel( TabPage, "textLabel1_4_2_3_4_4" );
    textLabel1_4_2_3_4_4->setEnabled( TRUE );

    layout3->addWidget( textLabel1_4_2_3_4_4, 4, 0 );
    spacer72 = new QSpacerItem( 101, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    layout3->addMultiCell( spacer72, 5, 5, 1, 2 );
    spacer71 = new QSpacerItem( 101, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    layout3->addMultiCell( spacer71, 4, 4, 1, 2 );
    spacer68 = new QSpacerItem( 81, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    layout3->addItem( spacer68, 1, 2 );

    IfconfigPathInput = new KURLRequester( TabPage, "IfconfigPathInput" );
    IfconfigPathInput->setEnabled( TRUE );

    layout3->addWidget( IfconfigPathInput, 5, 3 );
    spacer73 = new QSpacerItem( 101, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    layout3->addMultiCell( spacer73, 6, 6, 1, 2 );
    spacer70 = new QSpacerItem( 101, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    layout3->addMultiCell( spacer70, 3, 3, 1, 2 );

    KillPathInput = new KURLRequester( TabPage, "KillPathInput" );
    KillPathInput->setEnabled( TRUE );

    layout3->addWidget( KillPathInput, 2, 3 );

    IptablesPathInput = new KURLRequester( TabPage, "IptablesPathInput" );
    IptablesPathInput->setEnabled( TRUE );

    layout3->addWidget( IptablesPathInput, 1, 3 );

    OpenSSLPathInput = new KURLRequester( TabPage, "OpenSSLPathInput" );
    OpenSSLPathInput->setEnabled( TRUE );

    layout3->addWidget( OpenSSLPathInput, 0, 3 );

    textLabel1_4_2 = new QLabel( TabPage, "textLabel1_4_2" );
    textLabel1_4_2->setEnabled( TRUE );

    layout3->addMultiCellWidget( textLabel1_4_2, 0, 0, 0, 1 );

    textLabel1_4_2_3_5 = new QLabel( TabPage, "textLabel1_4_2_3_5" );
    textLabel1_4_2_3_5->setEnabled( TRUE );

    layout3->addMultiCellWidget( textLabel1_4_2_3_5, 1, 1, 0, 1 );
    spacer67 = new QSpacerItem( 71, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    layout3->addItem( spacer67, 0, 2 );

    KillallPathInput = new KURLRequester( TabPage, "KillallPathInput" );
    KillallPathInput->setEnabled( TRUE );

    layout3->addWidget( KillallPathInput, 3, 3 );

    textLabel1_4_2_3_4_6 = new QLabel( TabPage, "textLabel1_4_2_3_4_6" );
    textLabel1_4_2_3_4_6->setEnabled( TRUE );

    layout3->addWidget( textLabel1_4_2_3_4_6, 6, 0 );

    textLabel1_4_2_3_3 = new QLabel( TabPage, "textLabel1_4_2_3_3" );
    textLabel1_4_2_3_3->setEnabled( TRUE );

    layout3->addWidget( textLabel1_4_2_3_3, 2, 0 );

    RoutePathInput = new KURLRequester( TabPage, "RoutePathInput" );
    RoutePathInput->setEnabled( TRUE );

    layout3->addWidget( RoutePathInput, 6, 3 );

    IpPathInput = new KURLRequester( TabPage, "IpPathInput" );
    IpPathInput->setEnabled( TRUE );

    layout3->addWidget( IpPathInput, 4, 3 );

    textLabel1_4_2_3_4_5 = new QLabel( TabPage, "textLabel1_4_2_3_4_5" );
    textLabel1_4_2_3_4_5->setEnabled( TRUE );

    layout3->addWidget( textLabel1_4_2_3_4_5, 5, 0 );
    spacer69 = new QSpacerItem( 101, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    layout3->addMultiCell( spacer69, 2, 2, 1, 2 );
    layout5->addLayout( layout3 );
    spacer14 = new QSpacerItem( 20, 90, QSizePolicy::Minimum, QSizePolicy::Expanding );
    layout5->addItem( spacer14 );

    TabPageLayout->addLayout( layout5, 0, 0 );
    tabWidget3->insertTab( TabPage, QString::fromLatin1("") );

    PreferencesDialogBaseLayout->addWidget( tabWidget3, 0, 0 );
    languageChange();
    resize( QSize(635, 618).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // tab order
    setTabOrder( showDebugCheck, KeepConnectionFilesCheckBox );
    setTabOrder( KeepConnectionFilesCheckBox, WriteLogCheck );
    setTabOrder( WriteLogCheck, DontQuitOnCloseEventCheckBox );
    setTabOrder( DontQuitOnCloseEventCheckBox, spinKvpncDebugLevel );
    setTabOrder( spinKvpncDebugLevel, SilentQuitcheckBox );
    setTabOrder( SilentQuitcheckBox, checkMinimizeAfterConnectCheck );
    setTabOrder( checkMinimizeAfterConnectCheck, spinTryConnectTimeout );
    setTabOrder( spinTryConnectTimeout, UseColorizedLogOutputcheckBox );
    setTabOrder( UseColorizedLogOutputcheckBox, ProgramsInPathcheckBox );
    setTabOrder( ProgramsInPathcheckBox, VpncPathInput );
    setTabOrder( VpncPathInput, spinVpncDebugLevel );
    setTabOrder( spinVpncDebugLevel, ShowInterfaceIPinTooltipCheckBox );
    setTabOrder( ShowInterfaceIPinTooltipCheckBox, FreeswanPathInput );
    setTabOrder( FreeswanPathInput, RacoonPathInput );
    setTabOrder( RacoonPathInput, SetkeyPathInput );
    setTabOrder( SetkeyPathInput, RacoonDebugLevelComboBox );
    setTabOrder( RacoonDebugLevelComboBox, PppdPathInput );
    setTabOrder( PppdPathInput, DebugPppdcheckBox );
    setTabOrder( DebugPppdcheckBox, OpenvpnPathInput );
    setTabOrder( OpenvpnPathInput, spinOpenvpnDebugLevel );
    setTabOrder( spinOpenvpnDebugLevel, tabWidget3 );
    setTabOrder( tabWidget3, DebugLogFontPushButton );
    setTabOrder( DebugLogFontPushButton, RemoteLogFontPushButton );
    setTabOrder( RemoteLogFontPushButton, ErrorLogFontPushButton );
    setTabOrder( ErrorLogFontPushButton, SuccessLogFontPushButton );
    setTabOrder( SuccessLogFontPushButton, InfoLogFontPushButton );
}

/*
 *  Destroys the object and frees any allocated resources
 */
PreferencesDialogBase::~PreferencesDialogBase()
{
    // no need to delete child widgets, Qt does it all for us
}

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void PreferencesDialogBase::languageChange()
{
    setCaption( tr2i18n( "Preferences" ) );
    groupBox2->setTitle( tr2i18n( "Debug" ) );
    WriteLogCheck->setText( tr2i18n( "&Write log file" ) );
    QWhatsThis::add( WriteLogCheck, tr2i18n( "Enable this to do writing a log file. Its located at /root/.kde/share/apps/kvpnc/kvpnc.log" ) );
    QWhatsThis::add( spinKvpncDebugLevel, tr2i18n( "This is the debug level of vpnc" ) );
    DontQuitOnCloseEventCheckBox->setText( tr2i18n( "Dont quit b&y clicking close button" ) );
    QWhatsThis::add( DontQuitOnCloseEventCheckBox, tr2i18n( "Enable this if you want to see the debug console" ) );
    textLabel1_3_2_3->setText( tr2i18n( "Debug level:" ) );
    KeepConnectionFilesCheckBox->setText( tr2i18n( "&Keep connection files" ) );
    QWhatsThis::add( KeepConnectionFilesCheckBox, tr2i18n( "Enable this if you want to see the debug console" ) );
    showDebugCheck->setText( tr2i18n( "Show debug console" ) );
    QWhatsThis::add( showDebugCheck, tr2i18n( "Enable this if you want to see the debug console" ) );
    groupBox3->setTitle( tr2i18n( "Connect Options" ) );
    checkMinimizeAfterConnectCheck->setText( tr2i18n( "Minimi&ze after connect" ) );
    QWhatsThis::add( checkMinimizeAfterConnectCheck, tr2i18n( "Enable this to let kvpnc minimize in kicker after succesful connect" ) );
    SilentQuitcheckBox->setText( tr2i18n( "Use silent &quit" ) );
    QToolTip::add( SilentQuitcheckBox, tr2i18n( "Disconnect and exit without warning\n"
"if still connected and quit called" ) );
    DoAutoConnectCheckBox->setText( tr2i18n( "Do auto connect at startup" ) );
    DoAutoConnectCheckBox->setAccel( QKeySequence( QString::null ) );
    QWhatsThis::add( DoAutoConnectCheckBox, tr2i18n( "Enable this to let connect kvpnc to a given profile at startup" ) );
    textLabel1_3->setText( tr2i18n( "Try connect timeout (s)" ) );
    LogOutputBox->setTitle( tr2i18n( "Log Output" ) );
    ColorGroupBox->setTitle( tr2i18n( "Color Settings" ) );
    textLabel2_2->setText( tr2i18n( "Error message" ) );
    DebugLogFontPushButton->setText( tr2i18n( "&Change..." ) );
    textLabel2_3_2->setText( tr2i18n( "Debug message" ) );
    RemoteLogFontPushButton->setText( tr2i18n( "Change..." ) );
    textLabel2_3->setText( tr2i18n( "Success message" ) );
    textLabel2->setText( tr2i18n( "Informal message" ) );
    textLabel2_3_2_2->setText( tr2i18n( "Remote message" ) );
    ErrorLogFontPushButton->setText( tr2i18n( "Change..." ) );
    SuccessLogFontPushButton->setText( tr2i18n( "Change..." ) );
    InfoLogFontPushButton->setText( tr2i18n( "Change..." ) );
    UseColorizedLogOutputcheckBox->setText( tr2i18n( "Enable colorized log output" ) );
    QWhatsThis::add( LogFontSizeSpinBox, tr2i18n( "This is the debug level of vpnc" ) );
    LogFontSizetextLabel->setText( tr2i18n( "Font size" ) );
    tabWidget3->changeTab( tab, tr2i18n( "K&Vpnc Settings" ) );
    ProgramsInPathcheckBox->setText( tr2i18n( "Programs are in PATH" ) );
    groupBox7->setTitle( tr2i18n( "vpnc" ) );
    textLabel1->setText( tr2i18n( "Path to \"vpnc\":" ) );
    textLabel1_3_2->setText( tr2i18n( "Debug level:" ) );
    QWhatsThis::add( VpncPathInput, tr2i18n( "This is the path to vpnc" ) );
    QWhatsThis::add( spinVpncDebugLevel, tr2i18n( "This is the debug level of vpnc" ) );
    ShowInterfaceIPinTooltipCheckBox->setText( tr2i18n( "Sho&w tunnel IP in tooltip" ) );
    groupBox8_2_2->setTitle( tr2i18n( "FreeS/WAN" ) );
    textLabel1_4_2_2->setText( tr2i18n( "Path to \"ipsec\":" ) );
    QWhatsThis::add( FreeswanPathInput, tr2i18n( "This is the path to vpnc" ) );
    groupBox8->setTitle( tr2i18n( "racoon" ) );
    QWhatsThis::add( SetkeyPathInput, tr2i18n( "This is the path to vpnc-connect" ) );
    textLabel1_3_2_2->setText( tr2i18n( "Debug level:" ) );
    textLabel1_2_3->setText( tr2i18n( "Path to \"setkey\":" ) );
    textLabel1_4->setText( tr2i18n( "Path to \"racoon\":" ) );
    QWhatsThis::add( RacoonPathInput, tr2i18n( "This is the path to vpnc" ) );
    groupBox8_2_3_2->setTitle( tr2i18n( "PPPD" ) );
    textLabel1_4_2_3_2->setText( tr2i18n( "Path to \"pppd\":" ) );
    DebugPppdcheckBox->setText( tr2i18n( "Enable debug" ) );
    QWhatsThis::add( PppdPathInput, tr2i18n( "This is the path to vpnc" ) );
    groupBox8_2_3_2_2->setTitle( tr2i18n( "OpenVPN" ) );
    textLabel1_4_2_3_2_2->setText( tr2i18n( "Path to \"openvpn\":" ) );
    QWhatsThis::add( OpenvpnPathInput, tr2i18n( "This is the path to vpnc" ) );
    textLabel1_3_2_2_2->setText( tr2i18n( "Debug level" ) );
    QWhatsThis::add( spinOpenvpnDebugLevel, tr2i18n( "This is the debug level of vpnc" ) );
    tabWidget3->changeTab( tab_2, tr2i18n( "Dae&mons" ) );
    textLabel1_4_2_3_4->setText( tr2i18n( "Path to \"killall\":" ) );
    textLabel1_4_2_3_4_4->setText( tr2i18n( "Path to \"ip\":" ) );
    QWhatsThis::add( IfconfigPathInput, tr2i18n( "This is the path to vpnc" ) );
    QWhatsThis::add( KillPathInput, tr2i18n( "This is the path to vpnc" ) );
    QWhatsThis::add( IptablesPathInput, tr2i18n( "This is the path to vpnc" ) );
    QWhatsThis::add( OpenSSLPathInput, tr2i18n( "This is the path to vpnc" ) );
    textLabel1_4_2->setText( tr2i18n( "Path to \"openssl\":" ) );
    textLabel1_4_2_3_5->setText( tr2i18n( "Path to \"iptables\"" ) );
    QWhatsThis::add( KillallPathInput, tr2i18n( "This is the path to vpnc" ) );
    textLabel1_4_2_3_4_6->setText( tr2i18n( "Path to \"route\":" ) );
    textLabel1_4_2_3_3->setText( tr2i18n( "Path to \"kill\":" ) );
    QWhatsThis::add( RoutePathInput, tr2i18n( "This is the path to vpnc" ) );
    QWhatsThis::add( IpPathInput, tr2i18n( "This is the path to vpnc" ) );
    textLabel1_4_2_3_4_5->setText( tr2i18n( "Path to \"ifconfig\":" ) );
    tabWidget3->changeTab( TabPage, tr2i18n( "Helper Programs" ) );
}

#include "preferencesdialogbase.moc"
