#include <kdialog.h>
#include <tdelocale.h>

/****************************************************************************
** Form implementation generated from reading ui file 'dtepeditdlgs.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "dtepeditdlgs.h"

#include <ntqvariant.h>
#include <kpushbutton.h>
#include <klineedit.h>
#include <kcombobox.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqlabel.h>
#include <ntqgroupbox.h>
#include <ntqwidgetstack.h>
#include <ntqcheckbox.h>
#include <ntqlistbox.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

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

    tabWidget = new TQTabWidget( this, "tabWidget" );

    tab = new TQWidget( tabWidget, "tab" );
    tabLayout = new TQGridLayout( tab, 1, 1, 11, 6, "tabLayout"); 

    textLabel1 = new TQLabel( tab, "textLabel1" );
    textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) );

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

    textLabel2 = new TQLabel( tab, "textLabel2" );
    textLabel2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, textLabel2->sizePolicy().hasHeightForWidth() ) );

    tabLayout->addWidget( textLabel2, 1, 0 );
    spacer2 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout->addMultiCell( spacer2, 3, 3, 3, 5 );

    nameEdit = new KLineEdit( tab, "nameEdit" );
    nameEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, nameEdit->sizePolicy().hasHeightForWidth() ) );

    tabLayout->addMultiCellWidget( nameEdit, 0, 0, 1, 5 );

    nickNameEdit = new KLineEdit( tab, "nickNameEdit" );
    nickNameEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, nickNameEdit->sizePolicy().hasHeightForWidth() ) );

    tabLayout->addMultiCellWidget( nickNameEdit, 1, 1, 1, 5 );
    spacer3 = new TQSpacerItem( 20, 50, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( spacer3, 9, 2 );

    groupBox1 = new TQGroupBox( tab, "groupBox1" );
    groupBox1->setColumnLayout(0, TQt::Vertical );
    groupBox1->layout()->setSpacing( 6 );
    groupBox1->layout()->setMargin( 11 );
    groupBox1Layout = new TQGridLayout( groupBox1->layout() );
    groupBox1Layout->setAlignment( TQt::AlignTop );

    generalWidgetStack = new TQWidgetStack( groupBox1, "generalWidgetStack" );

    WStackPage = new TQWidget( generalWidgetStack, "WStackPage" );
    WStackPageLayout = new TQGridLayout( WStackPage, 1, 1, 11, 6, "WStackPageLayout"); 

    textLabel3 = new TQLabel( WStackPage, "textLabel3" );

    WStackPageLayout->addWidget( textLabel3, 0, 0 );

    textLabel4 = new TQLabel( WStackPage, "textLabel4" );

    WStackPageLayout->addMultiCellWidget( textLabel4, 1, 2, 0, 0 );

    urlEdit = new KLineEdit( WStackPage, "urlEdit" );

    WStackPageLayout->addMultiCellWidget( urlEdit, 0, 1, 1, 1 );

    doctypeEdit = new KLineEdit( WStackPage, "doctypeEdit" );

    WStackPageLayout->addWidget( doctypeEdit, 2, 1 );
    generalWidgetStack->addWidget( WStackPage, 0 );

    WStackPage_2 = new TQWidget( generalWidgetStack, "WStackPage_2" );

    topLevel = new TQCheckBox( WStackPage_2, "topLevel" );
    topLevel->setGeometry( TQRect( 10, 10, 107, 27 ) );
    generalWidgetStack->addWidget( WStackPage_2, 1 );

    groupBox1Layout->addWidget( generalWidgetStack, 0, 0 );

    tabLayout->addMultiCellWidget( groupBox1, 8, 8, 0, 5 );

    textLabel9 = new TQLabel( tab, "textLabel9" );

    tabLayout->addWidget( textLabel9, 5, 0 );

    toolbarFolderEdit = new KLineEdit( tab, "toolbarFolderEdit" );

    tabLayout->addMultiCellWidget( toolbarFolderEdit, 5, 5, 1, 5 );

    textLabel10 = new TQLabel( tab, "textLabel10" );

    tabLayout->addWidget( textLabel10, 6, 0 );

    toolbarsEdit = new KLineEdit( tab, "toolbarsEdit" );

    tabLayout->addMultiCellWidget( toolbarsEdit, 6, 6, 1, 5 );

    caseSensitive = new TQCheckBox( tab, "caseSensitive" );
    caseSensitive->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, caseSensitive->sizePolicy().hasHeightForWidth() ) );
    caseSensitive->setChecked( true );

    tabLayout->addMultiCellWidget( caseSensitive, 7, 7, 0, 1 );

    textLabel7 = new TQLabel( tab, "textLabel7" );
    textLabel7->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, textLabel7->sizePolicy().hasHeightForWidth() ) );

    tabLayout->addWidget( textLabel7, 3, 0 );

    textLabel8 = new TQLabel( tab, "textLabel8" );

    tabLayout->addWidget( textLabel8, 2, 0 );

    typeCombo = new KComboBox( false, tab, "typeCombo" );
    typeCombo->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, typeCombo->sizePolicy().hasHeightForWidth() ) );

    tabLayout->addMultiCellWidget( typeCombo, 3, 3, 1, 2 );

    textLabel1_2 = new TQLabel( tab, "textLabel1_2" );

    tabLayout->addWidget( textLabel1_2, 4, 0 );

    inheritsCombo = new KComboBox( false, tab, "inheritsCombo" );
    inheritsCombo->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, inheritsCombo->sizePolicy().hasHeightForWidth() ) );
    inheritsCombo->setEditable( true );

    tabLayout->addMultiCellWidget( inheritsCombo, 2, 2, 1, 5 );

    mimeTypeEdit = new KLineEdit( tab, "mimeTypeEdit" );

    tabLayout->addMultiCellWidget( mimeTypeEdit, 4, 4, 1, 2 );

    extensionEdit = new KLineEdit( tab, "extensionEdit" );

    tabLayout->addWidget( extensionEdit, 4, 5 );

    textLabel2_2 = new TQLabel( tab, "textLabel2_2" );

    tabLayout->addWidget( textLabel2_2, 4, 4 );
    spacer6 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout->addItem( spacer6, 4, 3 );
    tabWidget->insertTab( tab, TQString::fromLatin1("") );

    tab_2 = new TQWidget( tabWidget, "tab_2" );
    tabLayout_2 = new TQGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2"); 
    spacer4 = new TQSpacerItem( 20, 50, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout_2->addItem( spacer4, 15, 2 );

    enablePage1 = new TQCheckBox( tab_2, "enablePage1" );

    tabLayout_2->addMultiCellWidget( enablePage1, 0, 0, 0, 2 );

    textLabel11 = new TQLabel( tab_2, "textLabel11" );
    textLabel11->setEnabled( false );

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

    textLabel12 = new TQLabel( tab_2, "textLabel12" );
    textLabel12->setEnabled( false );

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

    enablePage2 = new TQCheckBox( tab_2, "enablePage2" );
    enablePage2->setEnabled( false );

    tabLayout_2->addMultiCellWidget( enablePage2, 3, 3, 0, 2 );

    enablePage3 = new TQCheckBox( tab_2, "enablePage3" );
    enablePage3->setEnabled( false );

    tabLayout_2->addMultiCellWidget( enablePage3, 6, 6, 0, 2 );

    enablePage4 = new TQCheckBox( tab_2, "enablePage4" );
    enablePage4->setEnabled( false );

    tabLayout_2->addMultiCellWidget( enablePage4, 9, 9, 0, 2 );

    enablePage5 = new TQCheckBox( tab_2, "enablePage5" );
    enablePage5->setEnabled( false );

    tabLayout_2->addMultiCellWidget( enablePage5, 12, 12, 0, 2 );

    pageTitleEdit1 = new KLineEdit( tab_2, "pageTitleEdit1" );
    pageTitleEdit1->setEnabled( false );

    tabLayout_2->addWidget( pageTitleEdit1, 1, 2 );

    groupsEdit1 = new KLineEdit( tab_2, "groupsEdit1" );
    groupsEdit1->setEnabled( false );

    tabLayout_2->addWidget( groupsEdit1, 2, 2 );

    pageTitleEdit4 = new KLineEdit( tab_2, "pageTitleEdit4" );
    pageTitleEdit4->setEnabled( false );

    tabLayout_2->addWidget( pageTitleEdit4, 10, 2 );

    textLabel12_3 = new TQLabel( tab_2, "textLabel12_3" );
    textLabel12_3->setEnabled( false );

    tabLayout_2->addWidget( textLabel12_3, 8, 0 );

    pageTitleEdit2 = new KLineEdit( tab_2, "pageTitleEdit2" );
    pageTitleEdit2->setEnabled( false );

    tabLayout_2->addWidget( pageTitleEdit2, 4, 2 );

    textLabel11_3_2 = new TQLabel( tab_2, "textLabel11_3_2" );
    textLabel11_3_2->setEnabled( false );

    tabLayout_2->addMultiCellWidget( textLabel11_3_2, 10, 10, 0, 1 );

    textLabel11_2 = new TQLabel( tab_2, "textLabel11_2" );
    textLabel11_2->setEnabled( false );

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

    textLabel12_2 = new TQLabel( tab_2, "textLabel12_2" );
    textLabel12_2->setEnabled( false );

    tabLayout_2->addWidget( textLabel12_2, 5, 0 );

    textLabel11_3 = new TQLabel( tab_2, "textLabel11_3" );
    textLabel11_3->setEnabled( false );

    tabLayout_2->addWidget( textLabel11_3, 7, 0 );

    textLabel12_3_2 = new TQLabel( tab_2, "textLabel12_3_2" );
    textLabel12_3_2->setEnabled( false );

    tabLayout_2->addMultiCellWidget( textLabel12_3_2, 11, 11, 0, 1 );

    groupsEdit2 = new KLineEdit( tab_2, "groupsEdit2" );
    groupsEdit2->setEnabled( false );

    tabLayout_2->addWidget( groupsEdit2, 5, 2 );

    textLabel11_5 = new TQLabel( tab_2, "textLabel11_5" );
    textLabel11_5->setEnabled( false );

    tabLayout_2->addWidget( textLabel11_5, 13, 0 );

    groupsEdit4 = new KLineEdit( tab_2, "groupsEdit4" );
    groupsEdit4->setEnabled( false );

    tabLayout_2->addWidget( groupsEdit4, 11, 2 );

    textLabel12_5 = new TQLabel( tab_2, "textLabel12_5" );
    textLabel12_5->setEnabled( false );

    tabLayout_2->addWidget( textLabel12_5, 14, 0 );

    pageTitleEdit3 = new KLineEdit( tab_2, "pageTitleEdit3" );
    pageTitleEdit3->setEnabled( false );

    tabLayout_2->addMultiCellWidget( pageTitleEdit3, 7, 7, 1, 2 );

    groupsEdit3 = new KLineEdit( tab_2, "groupsEdit3" );
    groupsEdit3->setEnabled( false );

    tabLayout_2->addMultiCellWidget( groupsEdit3, 8, 8, 1, 2 );

    groupsEdit5 = new KLineEdit( tab_2, "groupsEdit5" );
    groupsEdit5->setEnabled( false );

    tabLayout_2->addWidget( groupsEdit5, 14, 2 );

    pageTitleEdit5 = new KLineEdit( tab_2, "pageTitleEdit5" );
    pageTitleEdit5->setEnabled( false );

    tabLayout_2->addWidget( pageTitleEdit5, 13, 2 );
    tabWidget->insertTab( tab_2, TQString::fromLatin1("") );

    TabPage = new TQWidget( tabWidget, "TabPage" );
    TabPageLayout = new TQGridLayout( TabPage, 1, 1, 11, 6, "TabPageLayout"); 

    enableMinusInWords = new TQCheckBox( TabPage, "enableMinusInWords" );

    TabPageLayout->addMultiCellWidget( enableMinusInWords, 1, 1, 0, 4 );

    textLabel13 = new TQLabel( TabPage, "textLabel13" );

    TabPageLayout->addWidget( textLabel13, 2, 0 );

    groupBox7 = new TQGroupBox( TabPage, "groupBox7" );
    groupBox7->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, groupBox7->sizePolicy().hasHeightForWidth() ) );
    groupBox7->setColumnLayout(0, TQt::Vertical );
    groupBox7->layout()->setSpacing( 6 );
    groupBox7->layout()->setMargin( 11 );
    groupBox7Layout = new TQGridLayout( groupBox7->layout() );
    groupBox7Layout->setAlignment( TQt::AlignTop );

    rulesWidgetStack = new TQWidgetStack( groupBox7, "rulesWidgetStack" );

    WStackPage_3 = new TQWidget( rulesWidgetStack, "WStackPage_3" );
    WStackPageLayout_2 = new TQGridLayout( WStackPage_3, 1, 1, 11, 6, "WStackPageLayout_2"); 

    xmlStyleTags = new TQCheckBox( WStackPage_3, "xmlStyleTags" );
    xmlStyleTags->setChecked( true );

    WStackPageLayout_2->addMultiCellWidget( xmlStyleTags, 4, 4, 0, 6 );

    useCommonRules = new TQCheckBox( WStackPage_3, "useCommonRules" );
    useCommonRules->setChecked( true );

    WStackPageLayout_2->addMultiCellWidget( useCommonRules, 5, 5, 0, 6 );

    extendedBooleans = new TQCheckBox( WStackPage_3, "extendedBooleans" );

    WStackPageLayout_2->addMultiCellWidget( extendedBooleans, 3, 3, 0, 1 );

    falseEdit = new KLineEdit( WStackPage_3, "falseEdit" );
    falseEdit->setEnabled( false );
    falseEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)2, (TQSizePolicy::SizeType)0, 0, 0, falseEdit->sizePolicy().hasHeightForWidth() ) );

    WStackPageLayout_2->addWidget( falseEdit, 3, 6 );

    trueEdit = new KLineEdit( WStackPage_3, "trueEdit" );
    trueEdit->setEnabled( false );
    trueEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)2, (TQSizePolicy::SizeType)0, 0, 0, trueEdit->sizePolicy().hasHeightForWidth() ) );

    WStackPageLayout_2->addWidget( trueEdit, 3, 4 );

    textLabel39 = new TQLabel( WStackPage_3, "textLabel39" );
    textLabel39->setEnabled( false );
    textLabel39->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignRight ) );

    WStackPageLayout_2->addWidget( textLabel39, 3, 5 );

    textLabel38 = new TQLabel( WStackPage_3, "textLabel38" );
    textLabel38->setEnabled( false );
    textLabel38->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignRight ) );

    WStackPageLayout_2->addWidget( textLabel38, 3, 3 );
    spacer12 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    WStackPageLayout_2->addItem( spacer12, 3, 2 );

    specialAreasEdit = new KLineEdit( WStackPage_3, "specialAreasEdit" );

    WStackPageLayout_2->addMultiCellWidget( specialAreasEdit, 0, 0, 1, 6 );

    textLabel27 = new TQLabel( WStackPage_3, "textLabel27" );

    WStackPageLayout_2->addWidget( textLabel27, 0, 0 );

    specialAreaNamesEdit = new KLineEdit( WStackPage_3, "specialAreaNamesEdit" );

    WStackPageLayout_2->addMultiCellWidget( specialAreaNamesEdit, 1, 1, 1, 6 );

    textLabel28 = new TQLabel( WStackPage_3, "textLabel28" );

    WStackPageLayout_2->addWidget( textLabel28, 1, 0 );

    textLabel40 = new TQLabel( WStackPage_3, "textLabel40" );

    WStackPageLayout_2->addWidget( textLabel40, 2, 0 );

    specialTagsEdit = new KLineEdit( WStackPage_3, "specialTagsEdit" );

    WStackPageLayout_2->addMultiCellWidget( specialTagsEdit, 2, 2, 1, 6 );
    rulesWidgetStack->addWidget( WStackPage_3, 0 );

    WStackPage_4 = new TQWidget( rulesWidgetStack, "WStackPage_4" );
    WStackPageLayout_3 = new TQGridLayout( WStackPage_4, 1, 1, 11, 6, "WStackPageLayout_3"); 

    textLabel21 = new TQLabel( WStackPage_4, "textLabel21" );

    WStackPageLayout_3->addWidget( textLabel21, 1, 0 );

    textLabel20 = new TQLabel( WStackPage_4, "textLabel20" );

    WStackPageLayout_3->addWidget( textLabel20, 0, 0 );

    textLabel22 = new TQLabel( WStackPage_4, "textLabel22" );

    WStackPageLayout_3->addWidget( textLabel22, 2, 0 );

    textLabel26 = new TQLabel( WStackPage_4, "textLabel26" );

    WStackPageLayout_3->addWidget( textLabel26, 5, 0 );

    textLabel24 = new TQLabel( WStackPage_4, "textLabel24" );

    WStackPageLayout_3->addWidget( textLabel24, 4, 0 );

    textLabel23 = new TQLabel( WStackPage_4, "textLabel23" );

    WStackPageLayout_3->addWidget( textLabel23, 3, 0 );

    localStructKeywordsEdit = new KLineEdit( WStackPage_4, "localStructKeywordsEdit" );

    WStackPageLayout_3->addMultiCellWidget( localStructKeywordsEdit, 3, 3, 1, 3 );

    structKeywordsEdit = new KLineEdit( WStackPage_4, "structKeywordsEdit" );

    WStackPageLayout_3->addMultiCellWidget( structKeywordsEdit, 2, 2, 1, 3 );

    definitionTagsEdit = new KLineEdit( WStackPage_4, "definitionTagsEdit" );

    WStackPageLayout_3->addMultiCellWidget( definitionTagsEdit, 1, 1, 1, 3 );

    areaBordersEdit = new KLineEdit( WStackPage_4, "areaBordersEdit" );

    WStackPageLayout_3->addMultiCellWidget( areaBordersEdit, 0, 0, 1, 3 );

    structEndEdit = new KLineEdit( WStackPage_4, "structEndEdit" );

    WStackPageLayout_3->addWidget( structEndEdit, 4, 3 );

    textLabel25 = new TQLabel( WStackPage_4, "textLabel25" );

    WStackPageLayout_3->addWidget( textLabel25, 4, 2 );

    structBeginEdit = new KLineEdit( WStackPage_4, "structBeginEdit" );

    WStackPageLayout_3->addWidget( structBeginEdit, 4, 1 );

    textLabel19 = new TQLabel( WStackPage_4, "textLabel19" );
    textLabel19->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, textLabel19->sizePolicy().hasHeightForWidth() ) );

    WStackPageLayout_3->addMultiCellWidget( textLabel19, 7, 7, 0, 1 );

    textLabel18 = new TQLabel( WStackPage_4, "textLabel18" );
    textLabel18->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, textLabel18->sizePolicy().hasHeightForWidth() ) );

    WStackPageLayout_3->addMultiCellWidget( textLabel18, 6, 6, 0, 1 );

    attributesAfterEdit = new KLineEdit( WStackPage_4, "attributesAfterEdit" );

    WStackPageLayout_3->addMultiCellWidget( attributesAfterEdit, 6, 6, 2, 3 );

    membersAfterEdit = new KLineEdit( WStackPage_4, "membersAfterEdit" );

    WStackPageLayout_3->addMultiCellWidget( membersAfterEdit, 7, 7, 2, 3 );

    structRxEdit = new KLineEdit( WStackPage_4, "structRxEdit" );

    WStackPageLayout_3->addMultiCellWidget( structRxEdit, 5, 5, 1, 3 );
    rulesWidgetStack->addWidget( WStackPage_4, 1 );

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

    TabPageLayout->addMultiCellWidget( groupBox7, 0, 0, 0, 4 );

    textLabel15 = new TQLabel( TabPage, "textLabel15" );

    TabPageLayout->addWidget( textLabel15, 3, 0 );

    commentsEdit = new KLineEdit( TabPage, "commentsEdit" );

    TabPageLayout->addMultiCellWidget( commentsEdit, 2, 2, 1, 4 );

    textLabel17 = new TQLabel( TabPage, "textLabel17" );

    TabPageLayout->addWidget( textLabel17, 5, 0 );

    textLabel16 = new TQLabel( TabPage, "textLabel16" );

    TabPageLayout->addMultiCellWidget( textLabel16, 4, 4, 0, 1 );

    tagAfterEdit = new KLineEdit( TabPage, "tagAfterEdit" );

    TabPageLayout->addMultiCellWidget( tagAfterEdit, 4, 4, 2, 4 );

    tagSeparatorEdit = new KLineEdit( TabPage, "tagSeparatorEdit" );
    tagSeparatorEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, tagSeparatorEdit->sizePolicy().hasHeightForWidth() ) );

    TabPageLayout->addWidget( tagSeparatorEdit, 3, 4 );

    textLabel14 = new TQLabel( TabPage, "textLabel14" );

    TabPageLayout->addWidget( textLabel14, 3, 3 );

    attributeSeparatorEdit = new KLineEdit( TabPage, "attributeSeparatorEdit" );

    TabPageLayout->addMultiCellWidget( attributeSeparatorEdit, 3, 3, 1, 2 );

    mayContainEdit = new KLineEdit( TabPage, "mayContainEdit" );

    TabPageLayout->addMultiCellWidget( mayContainEdit, 5, 5, 2, 4 );
    tabWidget->insertTab( TabPage, TQString::fromLatin1("") );

    TabPage_2 = new TQWidget( tabWidget, "TabPage_2" );
    TabPageLayout_2 = new TQGridLayout( TabPage_2, 1, 1, 11, 6, "TabPageLayout_2"); 

    textLabel29 = new TQLabel( TabPage_2, "textLabel29" );

    TabPageLayout_2->addWidget( textLabel29, 0, 0 );
    spacer5 = new TQSpacerItem( 20, 270, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    TabPageLayout_2->addItem( spacer5, 3, 1 );

    addStructButton = new KPushButton( TabPage_2, "addStructButton" );

    TabPageLayout_2->addWidget( addStructButton, 2, 0 );

    editStructButton = new KPushButton( TabPage_2, "editStructButton" );

    TabPageLayout_2->addWidget( editStructButton, 2, 1 );

    deleteStructButton = new KPushButton( TabPage_2, "deleteStructButton" );

    TabPageLayout_2->addWidget( deleteStructButton, 2, 2 );

    structuresList = new TQListBox( TabPage_2, "structuresList" );

    TabPageLayout_2->addMultiCellWidget( structuresList, 1, 1, 0, 2 );
    tabWidget->insertTab( TabPage_2, TQString::fromLatin1("") );

    DTEPEditDlgSLayout->addWidget( tabWidget, 0, 0 );
    languageChange();
    resize( TQSize(655, 598).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( enablePage1, TQ_SIGNAL( toggled(bool) ), textLabel11, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage1, TQ_SIGNAL( toggled(bool) ), pageTitleEdit1, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage1, TQ_SIGNAL( toggled(bool) ), groupsEdit1, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage1, TQ_SIGNAL( toggled(bool) ), textLabel12, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage1, TQ_SIGNAL( toggled(bool) ), enablePage2, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage2, TQ_SIGNAL( toggled(bool) ), pageTitleEdit2, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage2, TQ_SIGNAL( toggled(bool) ), groupsEdit2, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage2, TQ_SIGNAL( toggled(bool) ), textLabel11_2, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage2, TQ_SIGNAL( toggled(bool) ), textLabel12_2, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage2, TQ_SIGNAL( toggled(bool) ), enablePage3, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage3, TQ_SIGNAL( toggled(bool) ), pageTitleEdit3, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage3, TQ_SIGNAL( toggled(bool) ), groupsEdit3, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage3, TQ_SIGNAL( toggled(bool) ), textLabel11_3, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage3, TQ_SIGNAL( toggled(bool) ), textLabel12_3, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage3, TQ_SIGNAL( toggled(bool) ), enablePage4, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage4, TQ_SIGNAL( toggled(bool) ), pageTitleEdit4, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage4, TQ_SIGNAL( toggled(bool) ), groupsEdit4, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage4, TQ_SIGNAL( toggled(bool) ), textLabel11_3_2, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage4, TQ_SIGNAL( toggled(bool) ), textLabel12_3_2, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage4, TQ_SIGNAL( toggled(bool) ), enablePage5, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage5, TQ_SIGNAL( toggled(bool) ), pageTitleEdit5, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage5, TQ_SIGNAL( toggled(bool) ), groupsEdit5, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage5, TQ_SIGNAL( toggled(bool) ), textLabel11_5, TQ_SLOT( setEnabled(bool) ) );
    connect( enablePage5, TQ_SIGNAL( toggled(bool) ), textLabel12_5, TQ_SLOT( setEnabled(bool) ) );
    connect( typeCombo, TQ_SIGNAL( activated(int) ), rulesWidgetStack, TQ_SLOT( raiseWidget(int) ) );
    connect( addStructButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAddStructGroup() ) );
    connect( deleteStructButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDeleteStructGroup() ) );
    connect( editStructButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEditStructGroup() ) );
    connect( typeCombo, TQ_SIGNAL( activated(int) ), generalWidgetStack, TQ_SLOT( raiseWidget(int) ) );
    connect( typeCombo, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( slotFamilyChanged(int) ) );
    connect( extendedBooleans, TQ_SIGNAL( toggled(bool) ), textLabel38, TQ_SLOT( setEnabled(bool) ) );
    connect( extendedBooleans, TQ_SIGNAL( toggled(bool) ), trueEdit, TQ_SLOT( setEnabled(bool) ) );
    connect( extendedBooleans, TQ_SIGNAL( toggled(bool) ), textLabel39, TQ_SLOT( setEnabled(bool) ) );
    connect( extendedBooleans, TQ_SIGNAL( toggled(bool) ), falseEdit, TQ_SLOT( setEnabled(bool) ) );
    connect( structuresList, TQ_SIGNAL( doubleClicked(TQListBoxItem*) ), editStructButton, TQ_SLOT( animateClick() ) );

    // tab order
    setTabOrder( tabWidget, nameEdit );
    setTabOrder( nameEdit, nickNameEdit );
    setTabOrder( nickNameEdit, inheritsCombo );
    setTabOrder( inheritsCombo, typeCombo );
    setTabOrder( typeCombo, mimeTypeEdit );
    setTabOrder( mimeTypeEdit, extensionEdit );
    setTabOrder( extensionEdit, toolbarFolderEdit );
    setTabOrder( toolbarFolderEdit, toolbarsEdit );
    setTabOrder( toolbarsEdit, caseSensitive );
    setTabOrder( caseSensitive, topLevel );
    setTabOrder( topLevel, urlEdit );
    setTabOrder( urlEdit, doctypeEdit );
    setTabOrder( doctypeEdit, enablePage1 );
    setTabOrder( enablePage1, pageTitleEdit1 );
    setTabOrder( pageTitleEdit1, groupsEdit1 );
    setTabOrder( groupsEdit1, enablePage2 );
    setTabOrder( enablePage2, pageTitleEdit2 );
    setTabOrder( pageTitleEdit2, groupsEdit2 );
    setTabOrder( groupsEdit2, enablePage3 );
    setTabOrder( enablePage3, pageTitleEdit3 );
    setTabOrder( pageTitleEdit3, groupsEdit3 );
    setTabOrder( groupsEdit3, enablePage4 );
    setTabOrder( enablePage4, pageTitleEdit4 );
    setTabOrder( pageTitleEdit4, groupsEdit4 );
    setTabOrder( groupsEdit4, enablePage5 );
    setTabOrder( enablePage5, pageTitleEdit5 );
    setTabOrder( pageTitleEdit5, groupsEdit5 );
    setTabOrder( groupsEdit5, areaBordersEdit );
    setTabOrder( areaBordersEdit, definitionTagsEdit );
    setTabOrder( definitionTagsEdit, structKeywordsEdit );
    setTabOrder( structKeywordsEdit, localStructKeywordsEdit );
    setTabOrder( localStructKeywordsEdit, structBeginEdit );
    setTabOrder( structBeginEdit, structEndEdit );
    setTabOrder( structEndEdit, structRxEdit );
    setTabOrder( structRxEdit, attributesAfterEdit );
    setTabOrder( attributesAfterEdit, membersAfterEdit );
    setTabOrder( membersAfterEdit, specialAreasEdit );
    setTabOrder( specialAreasEdit, specialAreaNamesEdit );
    setTabOrder( specialAreaNamesEdit, specialTagsEdit );
    setTabOrder( specialTagsEdit, extendedBooleans );
    setTabOrder( extendedBooleans, trueEdit );
    setTabOrder( trueEdit, falseEdit );
    setTabOrder( falseEdit, xmlStyleTags );
    setTabOrder( xmlStyleTags, useCommonRules );
    setTabOrder( useCommonRules, enableMinusInWords );
    setTabOrder( enableMinusInWords, commentsEdit );
    setTabOrder( commentsEdit, attributeSeparatorEdit );
    setTabOrder( attributeSeparatorEdit, tagSeparatorEdit );
    setTabOrder( tagSeparatorEdit, tagAfterEdit );
    setTabOrder( tagAfterEdit, mayContainEdit );
    setTabOrder( mayContainEdit, structuresList );
    setTabOrder( structuresList, addStructButton );
    setTabOrder( addStructButton, editStructButton );
    setTabOrder( editStructButton, deleteStructButton );

    // buddies
    textLabel3->setBuddy( urlEdit );
    textLabel4->setBuddy( doctypeEdit );
    textLabel9->setBuddy( toolbarFolderEdit );
    textLabel10->setBuddy( toolbarsEdit );
    textLabel1_2->setBuddy( mimeTypeEdit );
    textLabel2_2->setBuddy( extensionEdit );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void DTEPEditDlgS::languageChange()
{
    setCaption( tr2i18n( "Configure DTEP" ) );
    textLabel1->setText( tr2i18n( "Name:" ) );
    TQToolTip::add( textLabel1, tr2i18n( "DTD definition string" ) );
    TQWhatsThis::add( textLabel1, tr2i18n( "The real name of the DTEP. In case of XML DTEPs this should be the DTD definition string, like -<i>//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN</i>." ) );
    textLabel2->setText( tr2i18n( "Short name:" ) );
    TQToolTip::add( textLabel2, tr2i18n( "Beautified, user visible name" ) );
    TQWhatsThis::add( textLabel2, tr2i18n( "The user visible, beautified name. If not defined, the real name is used." ) );
    TQToolTip::add( nameEdit, tr2i18n( "DTD definition string" ) );
    TQWhatsThis::add( nameEdit, tr2i18n( "The real name of the DTEP. In case of XML DTEPs this should be the DTD definition string, like -<i>//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN</i>." ) );
    TQToolTip::add( nickNameEdit, tr2i18n( "Beautified, user visible name" ) );
    TQWhatsThis::add( nickNameEdit, tr2i18n( "The user visible, beautified name. If not defined, the real name is used." ) );
    groupBox1->setTitle( tr2i18n( "Type Specific Settings" ) );
    textLabel3->setText( tr2i18n( "URL:" ) );
    TQToolTip::add( textLabel3, tr2i18n( "URL pointing to the DTD definiton file" ) );
    TQWhatsThis::add( textLabel3, tr2i18n( "URL pointing to the DTD definiton file, like <i>http://www.w3.org/TR/html4/loose.dtd</i>." ) );
    textLabel4->setText( tr2i18n( "DOCT&YPE string:" ) );
    TQToolTip::add( textLabel4, tr2i18n( "The string that should appear in the !DOCTYPE tag" ) );
    TQWhatsThis::add( textLabel4, tr2i18n( "The string that should appear in the !DOCTYPE tag, like<br>\n"
"<i>HTML&nbsp;PUBLIC&nbsp;\"-//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN\"&nbsp;&nbsp;&nbsp;<br>\"http://www.w3.org/TR/html4/loose.dtd\"</i>" ) );
    TQToolTip::add( urlEdit, tr2i18n( "URL pointing to the DTD definiton file" ) );
    TQWhatsThis::add( urlEdit, tr2i18n( "URL pointing to the DTD definiton file, like <i>http://www.w3.org/TR/html4/loose.dtd</i>." ) );
    TQToolTip::add( doctypeEdit, tr2i18n( "The string that should appear in the !DOCTYPE tag" ) );
    TQWhatsThis::add( doctypeEdit, tr2i18n( "The string that should appear in the !DOCTYPE tag, like<br>\n"
"<i>HTML&nbsp;PUBLIC&nbsp;\"-//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN\"&nbsp;&nbsp;&nbsp;<br>\"http://www.w3.org/TR/html4/loose.dtd\"</i>" ) );
    topLevel->setText( tr2i18n( "Top level" ) );
    TQToolTip::add( topLevel, tr2i18n( "Check if the DTEP can act as a top level DTEP." ) );
    TQWhatsThis::add( topLevel, tr2i18n( "Check if the DTEP can act as a top level DTEP. This means that the document can be of this type. Some pseudo DTEPs cannot act as a top level DTEP, like <i>PHP</i> as they are always included as part of another DTEP, while some others can be included and act as standalone as well, like the case of <i>CSS</i>." ) );
    textLabel9->setText( tr2i18n( "Toolbar folder:" ) );
    TQToolTip::add( textLabel9, tr2i18n( "The name of the folder where the toolbars are stored" ) );
    TQWhatsThis::add( textLabel9, tr2i18n( "The name of the folder where the toolbars are stored. This is a relative name to <br><i>$TDEDIR(&nbsp;or&nbsp;$TDEHOME)/share/apps/quanta/toolbars</i> ." ) );
    TQToolTip::add( toolbarFolderEdit, tr2i18n( "The name of the folder where the toolbars are stored" ) );
    TQWhatsThis::add( toolbarFolderEdit, tr2i18n( "The name of the folder where the toolbars are stored. This is a relative name to <br><i>$TDEDIR(&nbsp;or&nbsp;$TDEHOME)/share/apps/quanta/toolbars</i> ." ) );
    textLabel10->setText( tr2i18n( "&Autoloaded toolbars:" ) );
    TQToolTip::add( textLabel10, tr2i18n( "Comma separated list of toolbars" ) );
    TQWhatsThis::add( textLabel10, tr2i18n( "Comma separated list of toolbars from the toolbar folder that will be loaded when a document with this DTEP is loaded." ) );
    TQToolTip::add( toolbarsEdit, tr2i18n( "Comma separated list of toolbars" ) );
    TQWhatsThis::add( toolbarsEdit, tr2i18n( "Comma separated list of toolbars from the toolbar folder that will be loaded when a document with this DTEP is loaded." ) );
    caseSensitive->setText( tr2i18n( "Case sensitive" ) );
    TQToolTip::add( caseSensitive, tr2i18n( "Check if the DTEP has case sensitive tags" ) );
    TQWhatsThis::add( caseSensitive, tr2i18n( "Indicates whether the DTEP has case sensitive tags. In case of XML this should be checked, but for example HTML variants are not case sensitive." ) );
    textLabel7->setText( tr2i18n( "Type:" ) );
    TQToolTip::add( textLabel7, tr2i18n( "The family to where this DTEP belongs." ) );
    TQWhatsThis::add( textLabel7, tr2i18n( "The family to where this DTEP belong. There are two families:<br><p><b>XML style</b>:DTEP describing an XML like language</p>\n"
"<p><b>Pseudo type</b>:DTEP describing some other language, where the notion of a tag is not the same as in XML. Examples are <i>PHP, JavaScript, CSS</i>.</p>" ) );
    textLabel8->setText( tr2i18n( "Inherits:" ) );
    TQToolTip::add( textLabel8, tr2i18n( "The DTEP name from where this DTEP inherits the tags." ) );
    TQWhatsThis::add( textLabel8, tr2i18n( "The real name of the DTEP (like -<i>//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN</i>) from where the current DTEP inherits the tags." ) );
    typeCombo->clear();
    typeCombo->insertItem( tr2i18n( "XML Style" ) );
    typeCombo->insertItem( tr2i18n( "Pseudo Type" ) );
    TQToolTip::add( typeCombo, tr2i18n( "The family to where this DTEP belongs." ) );
    TQWhatsThis::add( typeCombo, tr2i18n( "The family to where this DTEP belong. There are two families:<br><p><b>XML style</b>:DTEP describing an XML like language</p>\n"
"<p><b>Pseudo type</b>:DTEP describing some other language, where the notion of a tag is not the same as in XML. Examples are <i>PHP, JavaScript, CSS</i>.</p>" ) );
    textLabel1_2->setText( tr2i18n( "Mimet&ypes:" ) );
    TQToolTip::add( inheritsCombo, tr2i18n( "The DTEP name from where this DTEP inherits the tags." ) );
    TQWhatsThis::add( inheritsCombo, tr2i18n( "The real name of the DTEP (like -<i>//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN</i>) from where the current DTEP inherits the tags." ) );
    TQToolTip::add( mimeTypeEdit, tr2i18n( "Comma separated list of mimetypes" ) );
    TQWhatsThis::add( mimeTypeEdit, tr2i18n( "Comma separated list of mimetypes. Files of these types are treated as belonging to this DTEP, unless the !DOCTYPE entry says something else." ) );
    TQToolTip::add( extensionEdit, tr2i18n( "The default extension of files belonging to this DTEP" ) );
    textLabel2_2->setText( tr2i18n( "E&xtension:" ) );
    tabWidget->changeTab( tab, tr2i18n( "&General" ) );
    enablePage1->setText( tr2i18n( "Enable the first extra page" ) );
    TQToolTip::add( enablePage1, tr2i18n( "Every tab edit dialog will have one more extra page aside of the main page" ) );
    TQWhatsThis::add( enablePage1, tr2i18n( "Every tab edit dialog will have one more extra page aside of the main page. You can configure what will be on this page in the below fields." ) );
    textLabel11->setText( tr2i18n( "Title:" ) );
    TQToolTip::add( textLabel11, tr2i18n( "The title of the page" ) );
    TQWhatsThis::add( textLabel11, tr2i18n( "The title of the page, like <b>Core && i18n</b>. As you see, the ampersand must be doubled." ) );
    textLabel12->setText( tr2i18n( "Groups:" ) );
    TQToolTip::add( textLabel12, tr2i18n( "Comma separated list of the common attribute groups" ) );
    TQWhatsThis::add( textLabel12, tr2i18n( "Comma separated list of the common attribute groups. The attributes from the listed groups will appear on this page.<br>The common attributes are specified in each DTEP's <i>common.tag</i> file, where the <i>common=\"yes\"</i> attribute must be set.<br>The following example defined the common I18n attribute group:<br><p><b>\n"
"&lt;tag name=\"I18n\" common=\"yes\"><br>\n"
"&nbsp;&nbsp;&lt;attr name=\"lang\" type=\"input\" /><br>\n"
"&nbsp;&nbsp;&lt;attr name=\"dir\" type=\"input\" /><br>\n"
"&lt;/tag>\n"
"</b></p>" ) );
    enablePage2->setText( tr2i18n( "Enable the second extra page" ) );
    TQToolTip::add( enablePage2, tr2i18n( "See the tooltip and \"What's This?\" information for the first checkbox" ) );
    enablePage3->setText( tr2i18n( "Enable the third extra page" ) );
    TQToolTip::add( enablePage3, tr2i18n( "See the tooltip and \"What's This?\" information for the first checkbox" ) );
    enablePage4->setText( tr2i18n( "Enable the fourth extra page" ) );
    TQToolTip::add( enablePage4, tr2i18n( "See the tooltip and \"What's This?\" information for the first checkbox" ) );
    enablePage5->setText( tr2i18n( "Enable the fifth extra page" ) );
    TQToolTip::add( enablePage5, tr2i18n( "See the tooltip and \"What's This?\" information for the first checkbox" ) );
    TQToolTip::add( pageTitleEdit1, tr2i18n( "The title of the page" ) );
    TQWhatsThis::add( pageTitleEdit1, tr2i18n( "The title of the page, like <b>Core && i18n</b>. As you see, the ampersand must be doubled." ) );
    TQToolTip::add( groupsEdit1, tr2i18n( "Comma separated list of the common attribute groups" ) );
    TQWhatsThis::add( groupsEdit1, tr2i18n( "Comma separated list of the common attribute groups. The attributes from the listed groups will appear on this page.<br>The common attributes are specified in each DTEP's <i>common.tag</i> file, where the <i>common=\"yes\"</i> attribute must be set.<br>The following example defined the common I18n attribute group:<br><p><b>\n"
"&lt;tag name=\"I18n\" common=\"yes\"><br>\n"
"&nbsp;&nbsp;&lt;attr name=\"lang\" type=\"input\" /><br>\n"
"&nbsp;&nbsp;&lt;attr name=\"dir\" type=\"input\" /><br>\n"
"&lt;/tag>\n"
"</b></p>" ) );
    TQToolTip::add( pageTitleEdit4, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    textLabel12_3->setText( tr2i18n( "Groups:" ) );
    TQToolTip::add( textLabel12_3, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    TQToolTip::add( pageTitleEdit2, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    textLabel11_3_2->setText( tr2i18n( "Title:" ) );
    TQToolTip::add( textLabel11_3_2, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    textLabel11_2->setText( tr2i18n( "Title:" ) );
    TQToolTip::add( textLabel11_2, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    textLabel12_2->setText( tr2i18n( "Groups:" ) );
    TQToolTip::add( textLabel12_2, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    textLabel11_3->setText( tr2i18n( "Title:" ) );
    TQToolTip::add( textLabel11_3, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    textLabel12_3_2->setText( tr2i18n( "Groups:" ) );
    TQToolTip::add( textLabel12_3_2, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    TQToolTip::add( groupsEdit2, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    textLabel11_5->setText( tr2i18n( "Title:" ) );
    TQToolTip::add( textLabel11_5, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    TQToolTip::add( groupsEdit4, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    textLabel12_5->setText( tr2i18n( "Groups:" ) );
    TQToolTip::add( textLabel12_5, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    TQToolTip::add( pageTitleEdit3, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    TQToolTip::add( groupsEdit3, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    TQToolTip::add( groupsEdit5, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    TQToolTip::add( pageTitleEdit5, tr2i18n( "See the tooltip and \"What's This?\" information for the first page fields" ) );
    tabWidget->changeTab( tab_2, tr2i18n( "P&ages" ) );
    enableMinusInWords->setText( tr2i18n( "Enable minus in words" ) );
    TQToolTip::add( enableMinusInWords, tr2i18n( "Treat the minus sign as part of a word" ) );
    TQWhatsThis::add( enableMinusInWords, tr2i18n( "If enabled <b>this-is-a-word</b> is treated like a word. Otherwise it is treated like 4 words." ) );
    textLabel13->setText( tr2i18n( "Comments:" ) );
    TQToolTip::add( textLabel13, tr2i18n( "Comma separated list of area borders for comments" ) );
    TQWhatsThis::add( textLabel13, tr2i18n( "Comma separated list of area borders for comments. <i>EOL</i> means end of line, used for single line comments.<br>\n"
"Example: <b>//&nbsp;EOL,&nbsp;/*&nbsp;*/</b>" ) );
    groupBox7->setTitle( tr2i18n( "Type Specific Rules" ) );
    xmlStyleTags->setText( tr2i18n( "XML style single tags" ) );
    TQToolTip::add( xmlStyleTags, tr2i18n( "Check to use XML style single tags" ) );
    TQWhatsThis::add( xmlStyleTags, tr2i18n( "Check to use XML style single tags (<b>&lt;single_tag /&gt;</b>), otherwise HTML style single tags (<b>&lt;single_tag&gt;</b>) are used." ) );
    useCommonRules->setText( tr2i18n( "Use common rules" ) );
    TQToolTip::add( useCommonRules, tr2i18n( "Append common parsing rules" ) );
    TQWhatsThis::add( useCommonRules, tr2i18n( "Check it to append common parsing rules. These are:\n"
"<p><b>\n"
"&nbsp;&nbsp;SpecialAreas=&lt;?xml ?&gt;, &lt;!-- --&gt;, &lt;! &gt;\n"
"&nbsp;&nbsp;SpecialAreaNames = XML PI, comment, DTD\n"
"&nbsp;&nbsp;Comments = &lt;!-- --&gt;\n"
"</b></p>" ) );
    extendedBooleans->setText( tr2i18n( "Extended booleans" ) );
    TQToolTip::add( extendedBooleans, tr2i18n( "Check if the booleans are stored in extended form" ) );
    TQWhatsThis::add( extendedBooleans, tr2i18n( "Check if you want extended booleans in the language.<br>\n"
"Examples:<br>\n"
"<i>Simple boolean</i>: <b>&lt;tag&nbsp;booleanAttr&gt;</b><br>\n"
"<i>Extended boolean</i>: <b>&lt;tag&nbsp;booleanAttr=\"1\"&gt;</b> or <b>&lt;tag&nbsp;booleanAttr=\"true\"&gt;</b>.\n"
"<br>\n"
"See the <b>True</b> and <b>False</b> boxes to define the values for true and false." ) );
    TQToolTip::add( falseEdit, tr2i18n( "The value of \"true\" in case of extended booleans" ) );
    TQToolTip::add( trueEdit, tr2i18n( "The value of \"true\" in case of extended booleans" ) );
    textLabel39->setText( tr2i18n( "False:" ) );
    textLabel38->setText( tr2i18n( "True:" ) );
    TQToolTip::add( specialAreasEdit, tr2i18n( "Comma separated list of the beginning and closing string for special areas" ) );
    TQWhatsThis::add( specialAreasEdit, tr2i18n( "The beginning and closing string of special areas, separated by a comma.<br>\n"
" Special areas are not parsed according to this DTD's rules, but according to their own rules.<br>\n"
"    A special area can be a pseudo DTD, a comment or something like that, for example <i>&lt;!--&nbsp;--&gt;</i>." ) );
    textLabel27->setText( tr2i18n( "Special areas:" ) );
    TQToolTip::add( textLabel27, tr2i18n( "Comma separated list of the beginning and closing string for special areas" ) );
    TQWhatsThis::add( textLabel27, tr2i18n( "The beginning and closing string of special areas, separated by a comma.<br>\n"
" Special areas are not parsed according to this DTD's rules, but according to their own rules.<br>\n"
"    A special area can be a pseudo DTD, a comment or something like that, for example <i>&lt;!--&nbsp;--&gt;</i>." ) );
    TQToolTip::add( specialAreaNamesEdit, tr2i18n( "Comma-separated list of the names for the above-defined special areas" ) );
    textLabel28->setText( tr2i18n( "Special area names:" ) );
    TQToolTip::add( textLabel28, tr2i18n( "Comma-separated list of the names for the above-defined special areas" ) );
    textLabel40->setText( tr2i18n( "Special tags:" ) );
    TQToolTip::add( textLabel40, tr2i18n( "Specifies a tag that defines the start of a special area" ) );
    TQWhatsThis::add( textLabel40, tr2i18n( "Specifies a tag which defines the start of a special area in the form of <i>tagname(attributename)</i>.<br>\n"
"Example:<b>script(language)</b> means that any <b>&lt;script&gt;</b> tag having a <b>language</b> attribute indicates a special area." ) );
    TQToolTip::add( specialTagsEdit, tr2i18n( "Specifies a tag that defines the start of a special area" ) );
    TQWhatsThis::add( specialTagsEdit, tr2i18n( "Specifies a tag which defines the start of a special area in the form of <i>tagname(attributename)</i>.<br>\n"
"Example:<b>script(language)</b> means that any <b>&lt;script&gt;</b> tag having a <b>language</b> attribute indicates a special area." ) );
    textLabel21->setText( tr2i18n( "Definition tags:" ) );
    TQToolTip::add( textLabel21, tr2i18n( "Tags and attributes defining this DTEP" ) );
    TQWhatsThis::add( textLabel21, tr2i18n( "Comma separated list of tags that define this DTEP. The format used is <i>tagname(attribute[defaultvalue])</i>. If the parent (a real) DTEP has a tag with <i>tagname</i> and\n"
"the <i>attribute value</i> of this tag is equal with the name of this DTEP, the tag area\n"
"is parsed according to the rules of this DTEP.<br>\n"
"If <i>[defaultvalue]</i> is present, it means that if the attribute is not present in the tag it is taken as present with <i>value = defaultvalue</i>.<br>\n"
"Example: <b>Tags=style(type[text/css])</b> means that both <b>&lt;style&gt;</b> and <b>&lt;style&nbsp;type=\"text/css\"&gt;</b> are treated the same way and the DTEP defined by this tag is named <b>text/css</b>." ) );
    textLabel20->setText( tr2i18n( "Area borders:" ) );
    TQToolTip::add( textLabel20, tr2i18n( "Comma separated list of the area borders" ) );
    TQWhatsThis::add( textLabel20, tr2i18n( "Comma separated list of the area borders encapsulating this pseudo DTEP. In the case of PHP it is:<br>\n"
"<b>&lt;?&nbsp;?&gt;,&nbsp;&lt;*&nbsp;*&gt;,&nbsp;&lt;%&nbsp;%&gt;</b>" ) );
    textLabel22->setText( tr2i18n( "Structure keywords:" ) );
    TQToolTip::add( textLabel22, tr2i18n( "Comma separated list of structure keywords" ) );
    TQWhatsThis::add( textLabel22, tr2i18n( "Comma separated list of structure keywords. The keywords used here are used to create new node (nodes for structures) in the structure tree, like for a function, class or if block." ) );
    textLabel26->setText( tr2i18n( "Structure delimiting:" ) );
    TQToolTip::add( textLabel26, tr2i18n( "Regular expression that finds the beginning or end of a structure" ) );
    TQWhatsThis::add( textLabel26, tr2i18n( "Regular expression that finds the beginning or end of a structure. This is usually the combination of <b>Structure beginning</b> and <b>Structure end</b>, like <b>\\{&nbsp;|&nbsp;\\}</b>" ) );
    textLabel24->setText( tr2i18n( "Structure beginning:" ) );
    TQToolTip::add( textLabel24, tr2i18n( "A string specifying the beginning of a structure" ) );
    TQWhatsThis::add( textLabel24, tr2i18n( "A string specifying the beginning of a structure, like <b>{</b> in many cases." ) );
    textLabel23->setText( tr2i18n( "Local scope keywords:" ) );
    TQToolTip::add( textLabel23, tr2i18n( "Comma separated list of the local scope defining keywords" ) );
    TQWhatsThis::add( textLabel23, tr2i18n( "Comma separated list of the local scope defining keywords. Other structure group elements found under a structure node that was created based on a keyword from this list are treated as local elements. For example if this list contains <b>function</b>, it means that elements, like variables found under a <b>function</b> are local, relative to the node that holds the <b>function</b>." ) );
    TQToolTip::add( localStructKeywordsEdit, tr2i18n( "Comma separated list of the local scope defining keywords" ) );
    TQWhatsThis::add( localStructKeywordsEdit, tr2i18n( "Comma separated list of the local scope defining keywords. Other structure group elements found under a structure node that was created based on a keyword from this list are treated as local elements. For example if this list contains <b>function</b>, it means that elements, like variables found under a <b>function</b> are local, relative to the node that holds the <b>function</b>." ) );
    TQToolTip::add( structKeywordsEdit, tr2i18n( "Comma separated list of structure keywords" ) );
    TQWhatsThis::add( structKeywordsEdit, tr2i18n( "Comma separated list of structure keywords. The keywords used here are used to create new node (nodes for structures) in the structure tree, like for a function, class or if block." ) );
    TQToolTip::add( definitionTagsEdit, tr2i18n( "Tags and attributes defining this DTEP" ) );
    TQWhatsThis::add( definitionTagsEdit, tr2i18n( "Comma separated list of tags that define this DTEP. The format used is <i>tagname(attribute[defaultvalue])</i>. If the parent (a real) DTEP has a tag with <i>tagname</i> and\n"
"the <i>attribute value</i> of this tag is equal with the name of this DTEP, the tag area\n"
"is parsed according to the rules of this DTEP.<br>\n"
"If <i>[defaultvalue]</i> is present, it means that if the attribute is not present in the tag it is taken as present with <i>value = defaultvalue</i>.<br>\n"
"Example: <b>Tags=style(type[text/css])</b> means that both <b>&lt;style&gt;</b> and <b>&lt;style&nbsp;type=\"text/css\"&gt;</b> are treated the same way and the DTEP defined by this tag is named <b>text/css</b>." ) );
    TQToolTip::add( areaBordersEdit, tr2i18n( "Comma separated list of the area borders" ) );
    TQWhatsThis::add( areaBordersEdit, tr2i18n( "Comma separated list of the area borders encapsulating this pseudo DTEP. In the case of PHP it is:<br>\n"
"<b>&lt;?&nbsp;?&gt;,&nbsp;&lt;*&nbsp;*&gt;,&nbsp;&lt;%&nbsp;%&gt;</b>" ) );
    TQToolTip::add( structEndEdit, tr2i18n( "A string specifying the end of a structure" ) );
    TQWhatsThis::add( structEndEdit, tr2i18n( "A string specifying the end of a structure, like <b>}</b> in many cases." ) );
    textLabel25->setText( tr2i18n( "Structure end:" ) );
    TQToolTip::add( textLabel25, tr2i18n( "A string specifying the end of a structure" ) );
    TQWhatsThis::add( textLabel25, tr2i18n( "A string specifying the end of a structure, like <b>}</b> in many cases." ) );
    TQToolTip::add( structBeginEdit, tr2i18n( "A string specifying the beginning of a structure" ) );
    TQWhatsThis::add( structBeginEdit, tr2i18n( "A string specifying the beginning of a structure, like <b>{</b> in many cases." ) );
    textLabel19->setText( tr2i18n( "Complete class members after:" ) );
    TQToolTip::add( textLabel19, tr2i18n( "Regular expression to find out when to invoke member autocompletion" ) );
    TQWhatsThis::add( textLabel19, tr2i18n( "Regular expression to find out when to invoke member autocompletion. <br>\n"
"Example:<br>\n"
"- we have a class called <b>foo</b> with some member variables<br>\n"
"- the object of type <b>foo</b> is used in the document as $<b>objFoo</b><br>\n"
"- the members can appear as <b>$objFoo->member</b> or <b>$objFoo.member</b>\n"
"- in the above case this entry should look like <b>(?:-&gt;|\\.)$</b> (autocomplete if the object is followed by <b>-&gt;</b> or <b>.</b>)<br>\n"
"    The regular expression must be terminated with <b>$</b> (match end of line)." ) );
    textLabel18->setText( tr2i18n( "Complete attributes after:" ) );
    TQToolTip::add( textLabel18, tr2i18n( "Autocomplete attributes after this character. See the information for the same entry valid for tags." ) );
    TQToolTip::add( attributesAfterEdit, tr2i18n( "Autocomplete attributes after this character. See the information for the same entry valid for tags." ) );
    TQToolTip::add( membersAfterEdit, tr2i18n( "Regular expression to find out when to invoke member autocompletion" ) );
    TQWhatsThis::add( membersAfterEdit, tr2i18n( "Regular expression to find out when to invoke member autocompletion. <br>\n"
"Example:<br>\n"
"- we have a class called <b>foo</b> with some member variables<br>\n"
"- the object of type <b>foo</b> is used in the document as $<b>objFoo</b><br>\n"
"- the members can appear as <b>$objFoo->member</b> or <b>$objFoo.member</b>\n"
"- in the above case this entry shoul look like <b>(?:-&gt;|\\.)$</b> (autocomplete if the object is followed by <b>-&gt;</b> or <b>.</b>)<br>\n"
"    The regular expression must be terminated with <b>$</b> (match end of line)." ) );
    TQToolTip::add( structRxEdit, tr2i18n( "Regular expression that finds the beginning or end of a structure" ) );
    TQWhatsThis::add( structRxEdit, tr2i18n( "Regular expression that finds the beginning or end of a structure. This is usually the combination of <b>Structure beginning</b> and <b>Structure end</b>, like <b>\\{&nbsp;|&nbsp;\\}</b>" ) );
    textLabel15->setText( tr2i18n( "Attribute separator:" ) );
    TQToolTip::add( textLabel15, tr2i18n( "The character specifying the end of an attribute" ) );
    TQWhatsThis::add( textLabel15, tr2i18n( "The character specifying the end of an attribute. By default it is <b>\"</b> for XML DTEPs and <b>,</b> for pseudo DTEPs." ) );
    TQToolTip::add( commentsEdit, tr2i18n( "Comma separated list of area borders for comments" ) );
    TQWhatsThis::add( commentsEdit, tr2i18n( "Comma separated list of area borders for comments. <i>EOL</i> means end of line, used for single line comments.<br>\n"
"Example: <b>//&nbsp;EOL,&nbsp;/*&nbsp;*/</b>" ) );
    textLabel17->setText( tr2i18n( "Included DTEPs:" ) );
    TQToolTip::add( textLabel17, tr2i18n( "Comma-separated list of DTEPs that can be present inside this DTEP" ) );
    TQWhatsThis::add( textLabel17, tr2i18n( "Comma-separated list of DTEPs that can be present inside this DTEP. The list consist usually of pseudo DTEPs." ) );
    textLabel16->setText( tr2i18n( "Autocomplete tags after:" ) );
    TQToolTip::add( textLabel16, tr2i18n( "The character after which the list of tags should be shown" ) );
    TQWhatsThis::add( textLabel16, tr2i18n( "The autocompletion box is brought up automatically once this character is entered or space is pressed after this character.<br> For real DTEPs it's usually <b>&lt;</b>, but for example for the CSS pseudo DTEP it is <b>{</b>. The text <b>none</b> instead of a character specifies that the tag completion box should not be brought up automatically, only if the user requests it." ) );
    TQToolTip::add( tagAfterEdit, tr2i18n( "The character after which the list of tags should be shown" ) );
    TQWhatsThis::add( tagAfterEdit, tr2i18n( "The autocompletion box is brought up automatically once this character is entered or space is pressed after this character<br>. For real DTEPs it's usually <b>&lt;</b>, but for example for the CSS pseudo DTEP it is <b>{</b>. The text <b>none</b> instead of a character specifies that the tag completion box should not be brought up automatically, only if the user requests it." ) );
    TQToolTip::add( tagSeparatorEdit, tr2i18n( "The character specifying the end of a tag. See the information for the attribute separator for details." ) );
    textLabel14->setText( tr2i18n( "Tag separator:" ) );
    TQToolTip::add( textLabel14, tr2i18n( "The character specifying the end of a tag. See the information for the attribute separator for details." ) );
    TQToolTip::add( attributeSeparatorEdit, tr2i18n( "The character specifying the end of an attribute" ) );
    TQWhatsThis::add( attributeSeparatorEdit, tr2i18n( "The character specifying the end of an attribute. By default it is <b>\"</b> for XML DTEPs and <b>,</b> for pseudo DTEPs." ) );
    TQToolTip::add( mayContainEdit, tr2i18n( "Comma-separated list of DTEPs that can be present inside this DTEP" ) );
    TQWhatsThis::add( mayContainEdit, tr2i18n( "Comma-separated list of DTEPs that can be present inside this DTEP. The list consist usually of pseudo DTEPs." ) );
    tabWidget->changeTab( TabPage, tr2i18n( "Parsing &Rules" ) );
    textLabel29->setText( tr2i18n( "Available groups:" ) );
    addStructButton->setText( tr2i18n( "&Add..." ) );
    editStructButton->setText( tr2i18n( "&Edit..." ) );
    deleteStructButton->setText( tr2i18n( "&Delete" ) );
    tabWidget->changeTab( TabPage_2, tr2i18n( "Structures" ) );
}

void DTEPEditDlgS::slotEditStructGroup()
{
    tqWarning( "DTEPEditDlgS::slotEditStructGroup(): Not implemented yet" );
}

void DTEPEditDlgS::slotAddStructGroup()
{
    tqWarning( "DTEPEditDlgS::slotAddStructGroup(): Not implemented yet" );
}

void DTEPEditDlgS::slotDeleteStructGroup()
{
    tqWarning( "DTEPEditDlgS::slotDeleteStructGroup(): Not implemented yet" );
}

void DTEPEditDlgS::slotFamilyChanged(int)
{
    tqWarning( "DTEPEditDlgS::slotFamilyChanged(int): Not implemented yet" );
}

/****************************************************************************
** DTEPEditDlgS meta object code from reading C++ file 'dtepeditdlgs.h'
**
** Created by: The TQt Meta Object Compiler version 26 (TQt 3.5.0)
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef TQT_NO_COMPAT
#include "dtepeditdlgs.h"
#include <ntqmetaobject.h>
#include <ntqapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.5.0. It"
#error "cannot be used with the include files from this version of TQt."
#error "(The moc has changed too much.)"
#endif

const char *DTEPEditDlgS::className() const
{
    return "DTEPEditDlgS";
}

TQMetaObject *DTEPEditDlgS::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_DTEPEditDlgS( "DTEPEditDlgS", &DTEPEditDlgS::staticMetaObject );

#ifndef TQT_NO_TRANSLATION
TQString DTEPEditDlgS::tr( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "DTEPEditDlgS", s, c, TQApplication::DefaultCodec );
    else
	return TQString::fromLatin1( s );
}
#ifndef TQT_NO_TRANSLATION_UTF8
TQString DTEPEditDlgS::trUtf8( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "DTEPEditDlgS", s, c, TQApplication::UnicodeUTF8 );
    else
	return TQString::fromUtf8( s );
}
#endif // TQT_NO_TRANSLATION_UTF8

#endif // TQT_NO_TRANSLATION

TQMetaObject* DTEPEditDlgS::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = TQWidget::staticMetaObject();
    static const TQUMethod slot_0 = {"slotAddStructGroup", 0, 0 };
    static const TQUMethod slot_1 = {"slotDeleteStructGroup", 0, 0 };
    static const TQUParameter param_slot_2[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_2 = {"slotFamilyChanged", 1, param_slot_2 };
    static const TQUMethod slot_3 = {"languageChange", 0, 0 };
    static const TQUMethod slot_4 = {"slotEditStructGroup", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "slotAddStructGroup()", &slot_0, TQMetaData::Public },
	{ "slotDeleteStructGroup()", &slot_1, TQMetaData::Public },
	{ "slotFamilyChanged(int)", &slot_2, TQMetaData::Public },
	{ "languageChange()", &slot_3, TQMetaData::Protected },
	{ "slotEditStructGroup()", &slot_4, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"DTEPEditDlgS", parentObject,
	slot_tbl, 5,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_DTEPEditDlgS.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* DTEPEditDlgS::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "DTEPEditDlgS" ) )
	return this;
    return TQWidget::tqt_cast( clname );
}

bool DTEPEditDlgS::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: slotAddStructGroup(); break;
    case 1: slotDeleteStructGroup(); break;
    case 2: slotFamilyChanged((int)static_QUType_int.get(_o+1)); break;
    case 3: languageChange(); break;
    case 4: slotEditStructGroup(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

bool DTEPEditDlgS::tqt_emit( int _id, TQUObject* _o )
{
    return TQWidget::tqt_emit(_id,_o);
}
#ifndef TQT_NO_PROPERTIES

bool DTEPEditDlgS::tqt_property( int id, int f, TQVariant* v)
{
    return TQWidget::tqt_property( id, f, v);
}

bool DTEPEditDlgS::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES
