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

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

#include "dtepstructureeditdlgs.h"

#include <ntqvariant.h>
#include <kicondialog.h>
#include <klineedit.h>
#include <kcombobox.h>
#include <ntqpushbutton.h>
#include <ntqlabel.h>
#include <ntqcheckbox.h>
#include <ntqgroupbox.h>
#include <ntqbuttongroup.h>
#include <ntqradiobutton.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

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

    textLabel30 = new TQLabel( this, "textLabel30" );

    DTEPStructureEditDlgSLayout->addWidget( textLabel30, 0, 0 );

    nameEdit = new KLineEdit( this, "nameEdit" );

    DTEPStructureEditDlgSLayout->addMultiCellWidget( nameEdit, 0, 0, 1, 3 );

    textLabel32 = new TQLabel( this, "textLabel32" );
    textLabel32->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignRight ) );

    DTEPStructureEditDlgSLayout->addWidget( textLabel32, 0, 4 );

    iconButton = new TDEIconButton( this, "iconButton" );
    iconButton->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, iconButton->sizePolicy().hasHeightForWidth() ) );
    iconButton->setMinimumSize( TQSize( 50, 50 ) );
    iconButton->setMaximumSize( TQSize( 50, 50 ) );

    DTEPStructureEditDlgSLayout->addMultiCellWidget( iconButton, 0, 1, 5, 5 );

    textLabel34 = new TQLabel( this, "textLabel34" );
    textLabel34->setEnabled( false );

    DTEPStructureEditDlgSLayout->addMultiCellWidget( textLabel34, 5, 5, 0, 1 );

    hasFilename = new TQCheckBox( this, "hasFilename" );

    DTEPStructureEditDlgSLayout->addMultiCellWidget( hasFilename, 4, 4, 0, 2 );

    fileNameRxEdit = new KLineEdit( this, "fileNameRxEdit" );
    fileNameRxEdit->setEnabled( false );

    DTEPStructureEditDlgSLayout->addMultiCellWidget( fileNameRxEdit, 5, 5, 2, 5 );

    textLabel33 = new TQLabel( this, "textLabel33" );

    DTEPStructureEditDlgSLayout->addWidget( textLabel33, 3, 0 );

    textLabel31 = new TQLabel( this, "textLabel31" );

    DTEPStructureEditDlgSLayout->addWidget( textLabel31, 2, 0 );

    noNameEdit = new KLineEdit( this, "noNameEdit" );

    DTEPStructureEditDlgSLayout->addMultiCellWidget( noNameEdit, 2, 2, 1, 5 );

    tagEdit = new KLineEdit( this, "tagEdit" );
    tagEdit->setEnabled( true );

    DTEPStructureEditDlgSLayout->addMultiCellWidget( tagEdit, 3, 3, 1, 5 );
    spacer6 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
    DTEPStructureEditDlgSLayout->addItem( spacer6, 1, 3 );

    appendToTags = new TQCheckBox( this, "appendToTags" );

    DTEPStructureEditDlgSLayout->addMultiCellWidget( appendToTags, 6, 6, 0, 1 );

    pseudoGroupBox = new TQGroupBox( this, "pseudoGroupBox" );
    pseudoGroupBox->setColumnLayout(0, TQt::Vertical );
    pseudoGroupBox->layout()->setSpacing( 6 );
    pseudoGroupBox->layout()->setMargin( 11 );
    pseudoGroupBoxLayout = new TQGridLayout( pseudoGroupBox->layout() );
    pseudoGroupBoxLayout->setAlignment( TQt::AlignTop );

    typeRxEdit = new KLineEdit( pseudoGroupBox, "typeRxEdit" );

    pseudoGroupBoxLayout->addMultiCellWidget( typeRxEdit, 4, 4, 1, 4 );

    textLabel36 = new TQLabel( pseudoGroupBox, "textLabel36" );

    pseudoGroupBoxLayout->addWidget( textLabel36, 3, 0 );

    textLabel37 = new TQLabel( pseudoGroupBox, "textLabel37" );

    pseudoGroupBoxLayout->addWidget( textLabel37, 4, 0 );

    textLabel35 = new TQLabel( pseudoGroupBox, "textLabel35" );

    pseudoGroupBoxLayout->addWidget( textLabel35, 2, 0 );

    usageRxEdit = new KLineEdit( pseudoGroupBox, "usageRxEdit" );

    pseudoGroupBoxLayout->addMultiCellWidget( usageRxEdit, 3, 3, 1, 4 );

    textLabel41 = new TQLabel( pseudoGroupBox, "textLabel41" );

    pseudoGroupBoxLayout->addWidget( textLabel41, 0, 0 );

    parentGroupEdit = new KLineEdit( pseudoGroupBox, "parentGroupEdit" );

    pseudoGroupBoxLayout->addMultiCellWidget( parentGroupEdit, 0, 0, 1, 4 );

    textLabel42 = new TQLabel( pseudoGroupBox, "textLabel42" );

    pseudoGroupBoxLayout->addWidget( textLabel42, 1, 0 );

    textLabel44 = new TQLabel( pseudoGroupBox, "textLabel44" );

    pseudoGroupBoxLayout->addMultiCellWidget( textLabel44, 6, 6, 0, 1 );

    textLabel43 = new TQLabel( pseudoGroupBox, "textLabel43" );

    pseudoGroupBoxLayout->addWidget( textLabel43, 5, 0 );

    autoCompleteRxEdit = new KLineEdit( pseudoGroupBox, "autoCompleteRxEdit" );

    pseudoGroupBoxLayout->addMultiCellWidget( autoCompleteRxEdit, 5, 5, 2, 4 );

    removeRxEdit = new KLineEdit( pseudoGroupBox, "removeRxEdit" );

    pseudoGroupBoxLayout->addMultiCellWidget( removeRxEdit, 6, 6, 2, 4 );

    tagTypeCombo = new KComboBox( false, pseudoGroupBox, "tagTypeCombo" );

    pseudoGroupBoxLayout->addMultiCellWidget( tagTypeCombo, 1, 1, 1, 2 );
    spacer13 = new TQSpacerItem( 340, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    pseudoGroupBoxLayout->addMultiCell( spacer13, 1, 1, 3, 4 );

    parseFile = new TQCheckBox( pseudoGroupBox, "parseFile" );

    pseudoGroupBoxLayout->addWidget( parseFile, 7, 0 );

    buttonGroup1 = new TQButtonGroup( pseudoGroupBox, "buttonGroup1" );
    buttonGroup1->setColumnLayout(0, TQt::Vertical );
    buttonGroup1->layout()->setSpacing( 6 );
    buttonGroup1->layout()->setMargin( 11 );
    buttonGroup1Layout = new TQGridLayout( buttonGroup1->layout() );
    buttonGroup1Layout->setAlignment( TQt::AlignTop );

    simpleGroup = new TQRadioButton( buttonGroup1, "simpleGroup" );

    buttonGroup1Layout->addWidget( simpleGroup, 0, 0 );

    variableGroup = new TQRadioButton( buttonGroup1, "variableGroup" );

    buttonGroup1Layout->addWidget( variableGroup, 1, 0 );

    functionGroup = new TQRadioButton( buttonGroup1, "functionGroup" );

    buttonGroup1Layout->addWidget( functionGroup, 0, 1 );

    classGroup = new TQRadioButton( buttonGroup1, "classGroup" );

    buttonGroup1Layout->addWidget( classGroup, 1, 1 );

    objectGroup = new TQRadioButton( buttonGroup1, "objectGroup" );

    buttonGroup1Layout->addWidget( objectGroup, 0, 2 );

    pseudoGroupBoxLayout->addMultiCellWidget( buttonGroup1, 8, 8, 0, 4 );

    definitionRxEdit = new KLineEdit( pseudoGroupBox, "definitionRxEdit" );

    pseudoGroupBoxLayout->addMultiCellWidget( definitionRxEdit, 2, 2, 1, 3 );

    definitionRxMinimal = new TQCheckBox( pseudoGroupBox, "definitionRxMinimal" );

    pseudoGroupBoxLayout->addWidget( definitionRxMinimal, 2, 4 );

    DTEPStructureEditDlgSLayout->addMultiCellWidget( pseudoGroupBox, 7, 7, 0, 5 );
    languageChange();
    resize( TQSize(628, 666).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( hasFilename, TQ_SIGNAL( toggled(bool) ), textLabel34, TQ_SLOT( setEnabled(bool) ) );
    connect( hasFilename, TQ_SIGNAL( toggled(bool) ), fileNameRxEdit, TQ_SLOT( setEnabled(bool) ) );

    // tab order
    setTabOrder( nameEdit, iconButton );
    setTabOrder( iconButton, noNameEdit );
    setTabOrder( noNameEdit, tagEdit );
    setTabOrder( tagEdit, hasFilename );
    setTabOrder( hasFilename, fileNameRxEdit );
    setTabOrder( fileNameRxEdit, appendToTags );
    setTabOrder( appendToTags, parentGroupEdit );
    setTabOrder( parentGroupEdit, tagTypeCombo );
    setTabOrder( tagTypeCombo, definitionRxEdit );
    setTabOrder( definitionRxEdit, definitionRxMinimal );
    setTabOrder( definitionRxMinimal, usageRxEdit );
    setTabOrder( usageRxEdit, typeRxEdit );
    setTabOrder( typeRxEdit, autoCompleteRxEdit );
    setTabOrder( autoCompleteRxEdit, removeRxEdit );
    setTabOrder( removeRxEdit, parseFile );
    setTabOrder( parseFile, simpleGroup );
    setTabOrder( simpleGroup, functionGroup );
    setTabOrder( functionGroup, objectGroup );
    setTabOrder( objectGroup, variableGroup );
    setTabOrder( variableGroup, classGroup );

    // buddies
    textLabel30->setBuddy( nameEdit );
    textLabel32->setBuddy( iconButton );
    textLabel34->setBuddy( fileNameRxEdit );
    textLabel33->setBuddy( tagEdit );
    textLabel31->setBuddy( noNameEdit );
    textLabel36->setBuddy( usageRxEdit );
    textLabel37->setBuddy( typeRxEdit );
    textLabel35->setBuddy( definitionRxEdit );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void DTEPStructureEditDlgS::languageChange()
{
    setCaption( tr2i18n( "Structure Group Editor" ) );
    textLabel30->setText( tr2i18n( "&Name:" ) );
    TQToolTip::add( nameEdit, tr2i18n( "The name of the group" ) );
    TQWhatsThis::add( nameEdit, tr2i18n( "The user visible name of the group. It will be shown in the structure tree as a top node when there are elements belonging to this group in the document." ) );
    textLabel32->setText( tr2i18n( "&Icon:" ) );
    iconButton->setText( TQString::null );
    textLabel34->setText( tr2i18n( "Filen&ame definition:" ) );
    TQToolTip::add( textLabel34, tr2i18n( "Regular expression to get the filename" ) );
    TQWhatsThis::add( textLabel34, tr2i18n( "Regular expression to get the filename. The expression is used to <b>remove</b> the unnecessary strings from the element's text." ) );
    hasFilename->setText( tr2i18n( "Contains a &filename" ) );
    TQToolTip::add( hasFilename, tr2i18n( "True if the element's text contains a filename" ) );
    TQToolTip::add( fileNameRxEdit, tr2i18n( "Regular expression to get the filename" ) );
    TQWhatsThis::add( fileNameRxEdit, tr2i18n( "Regular expression to get the filename. The expression is used to <b>remove</b> the unnecessary strings from the element's text." ) );
    textLabel33->setText( tr2i18n( "&Tag:" ) );
    TQToolTip::add( textLabel33, tr2i18n( "Elements identified by this entry will belong to this group" ) );
    TQWhatsThis::add( textLabel33, tr2i18n( "Defines which tags belong to this group. The format is <i>tagname(attribute1, attribute2, ...)</i>. Tags with name <i>tagname</i> will appear under this group. The item text of the corresponding node in the tree will be <i>attribute1_value | attribute2_value | ...</i>Currently only one tag may be listed here." ) );
    textLabel31->setText( tr2i18n( "\"No\" na&me:" ) );
    TQToolTip::add( textLabel31, tr2i18n( "The name that appears when no element were found" ) );
    TQWhatsThis::add( textLabel31, tr2i18n( "The user visible name of the group. It will be shown in the structure tree as a top node when there are <b>no</b> elements belonging to this group in the document." ) );
    TQToolTip::add( noNameEdit, tr2i18n( "The name that appears when no element were found" ) );
    TQWhatsThis::add( noNameEdit, tr2i18n( "The user visible name of the group. It will be shown in the structure tree as a top node when there are <b>no</b> elements belonging to this group in the document." ) );
    TQToolTip::add( tagEdit, tr2i18n( "Elements ideintified by this entry will belong to this group" ) );
    TQWhatsThis::add( tagEdit, tr2i18n( "Defines which tags belong to this group. The format is <i>tagname(attribute1, attribute2, ...)</i>. Tags with name <i>tagname</i> will appear under this group. The item text of the corresponding node in the tree will be <i>attribute1_value | attribute2_value | ...</i>Currently only one tag may be listed here." ) );
    appendToTags->setText( tr2i18n( "Use elements as tags" ) );
    TQToolTip::add( appendToTags, tr2i18n( "Treat elements as new tags" ) );
    TQWhatsThis::add( appendToTags, tr2i18n( "Treat elements as new tags, so they will show up during tag autocompletion." ) );
    pseudoGroupBox->setTitle( tr2i18n( "&Pseudo DTEP Specific Settings" ) );
    TQToolTip::add( typeRxEdit, tr2i18n( "Regular expression to find the type of the element" ) );
    TQWhatsThis::add( typeRxEdit, tr2i18n( "Regular expression to find the type of the element. The pattern is searched on the result of the <i>DefinitionRx</i> match and the first captured area will hold the element type.<br>\n"
"Example (simplified):<br>\n"
"<b>DefinitionRx=\\$+([a-zA-Z]+)=new\\\\s[a-zA-Z]+;<br>\n"
"TypeRx=new\\\\s([a-zA-Z]+);</b><br><br>\n"
"This will match strings like <b>$fooObj=new foo;</b>. Now this string is searched and it will find <b>new foo;</b>, where <b>foo</b> is the first captured text (the regular expression matching <b>foo</b> is between brackets).<br>\n"
"So the type of <b>$fooObj</b> is <b>foo</b>." ) );
    textLabel36->setText( tr2i18n( "&Usage expression:" ) );
    TQToolTip::add( textLabel36, tr2i18n( "Regular expression to find the usage of a group element" ) );
    TQWhatsThis::add( textLabel36, tr2i18n( "Regular expression to find the usage of a group element in the document.<br>\n"
"Example 1:<br>\n"
"- classes are defined as  <b>class foo {...}</b><br>\n"
"- classes are used as <b>$objFoo</b><br><br>\n"
"Example 2:<br>\n"
"- variables are defined as <b>int i</b><br>\n"
"- variables are used as <b>@i</b><br><br>\n"
"Example 3:<br>\n"
"- variables are defined as <b>$i</b><br>\n"
"- variables are used as <b>$i</b>. In this case <i>UsageRx </i>is the same as <i>DefinitionRx</i>." ) );
    textLabel37->setText( tr2i18n( "Element t&ype expression:" ) );
    TQToolTip::add( textLabel37, tr2i18n( "Regular expression to find the type of the element" ) );
    TQWhatsThis::add( textLabel37, tr2i18n( "Regular expression to find the type of the element. The pattern is searched on the result of the <i>DefinitionRx</i> match and the first captured area will hold the element type.<br>\n"
"Example (simplified):<br>\n"
"<b>DefinitionRx=\\$+([a-zA-Z]+)=new\\\\s[a-zA-Z]+;<br>\n"
"TypeRx=new\\\\s([a-zA-Z]+);</b><br><br>\n"
"This will match strings like <b>$fooObj=new foo;</b>. Now this string is searched and it will find <b>new foo;</b>, where <b>foo</b> is the first captured text (the regular expression matching <b>foo</b> is between brackets).<br>\n"
"So the type of <b>$fooObj</b> is <b>foo</b>." ) );
    textLabel35->setText( tr2i18n( "Definition e&xpression:" ) );
    TQToolTip::add( textLabel35, tr2i18n( "Regular expression to find what belong to this group" ) );
    TQWhatsThis::add( textLabel35, tr2i18n( "Regular expression used to find text areas in the document, which will belong to this group. The first captured area shouldbe the actual name of the group entry.<br>\n"
"Example for a <i>class</i> group:<br>\n"
"<b>\\bclass[\\\\s]+([0-9a-zA-Z_\\x7f-\\xff]*)[\\\\s]*</b><br>\n"
"The first captured area (between \"<b>(</b>\" and \"<b>)</b>\") holds the class name." ) );
    TQToolTip::add( usageRxEdit, tr2i18n( "Regular expression to find the usage of a group element" ) );
    TQWhatsThis::add( usageRxEdit, tr2i18n( "Regular expression to find the usage of a group element in the document.<br>\n"
"Example 1:<br>\n"
"- classes are defined as  <b>class foo {...}</b><br>\n"
"- classes are used as <b>$objFoo</b><br><br>\n"
"Example 2:<br>\n"
"- variables are defined as <b>int i</b><br>\n"
"- variables are used as <b>@i</b><br><br>\n"
"Example 3:<br>\n"
"- variables are defined as <b>$i</b><br>\n"
"- variables are used as <b>$i</b>. In this case <i>UsageRx </i>is the same as <i>DefinitionRx</i>." ) );
    textLabel41->setText( tr2i18n( "Parent group:" ) );
    TQToolTip::add( textLabel41, tr2i18n( "The name of the group that may be the parent of this" ) );
    TQWhatsThis::add( textLabel41, tr2i18n( "The name of the group that may be the parent of this. For example <b>classes</b> might be a parent of <b>functions</b> in case of member functions. This entry indicates this possible relationship and is used to provide functionality like member autocompletion." ) );
    TQToolTip::add( parentGroupEdit, tr2i18n( "The name of the group that may be the parent of this" ) );
    TQWhatsThis::add( parentGroupEdit, tr2i18n( "The name of the group that may be the parent of this. For example <b>classes</b> might be a parent of <b>functions</b> in case of member functions. This entry indicates this possible relationship and is used to provide functionality like member autocompletion." ) );
    textLabel42->setText( tr2i18n( "Searched tags:" ) );
    TQToolTip::add( textLabel42, tr2i18n( "Only tags of this type can be part of the group" ) );
    textLabel44->setText( tr2i18n( "Remove when autocompleting:" ) );
    TQToolTip::add( textLabel44, tr2i18n( "Regular expression used to remove unwanted strings from the completion text" ) );
    textLabel43->setText( tr2i18n( "Autocomplete after:" ) );
    TQToolTip::add( textLabel43, tr2i18n( "Regular expression to tell when to bring up the completion box with the elements of this group" ) );
    TQWhatsThis::add( textLabel43, tr2i18n( "Regular expression to tell when to bring up the completion box with the elements of this group.<br>\n"
"Example:<b>\\bnew[\\\\s]+$</b> tells that after typing <b>new&nbsp;</b>, the completion box with the elements should be shown." ) );
    TQToolTip::add( autoCompleteRxEdit, tr2i18n( "Regular expression to tell when to bring up the completion box with the elements of this group" ) );
    TQWhatsThis::add( autoCompleteRxEdit, tr2i18n( "Regular expression to tell when to bring up the completion box with the elements of this group.<br>\n"
"Example:<b>\\bnew[\\\\s]+$</b> tells that after typing <b>new&nbsp;</b>, the completion box with the elements should be shown." ) );
    TQToolTip::add( removeRxEdit, tr2i18n( "Regular expression used to remove unwanted strings from the completion text" ) );
    tagTypeCombo->clear();
    tagTypeCombo->insertItem( tr2i18n( "Text" ) );
    tagTypeCombo->insertItem( tr2i18n( "XmlTag" ) );
    tagTypeCombo->insertItem( tr2i18n( "XmlTagEnd" ) );
    tagTypeCombo->insertItem( tr2i18n( "Comment" ) );
    tagTypeCombo->insertItem( tr2i18n( "CSS" ) );
    tagTypeCombo->insertItem( tr2i18n( "ScriptTag" ) );
    tagTypeCombo->insertItem( tr2i18n( "ScriptStructureBegin" ) );
    tagTypeCombo->insertItem( tr2i18n( "ScriptStructureEnd" ) );
    TQToolTip::add( tagTypeCombo, tr2i18n( "Only tags of this type can be part of the group" ) );
    parseFile->setText( tr2i18n( "Parse file" ) );
    TQToolTip::add( parseFile, tr2i18n( "Check if the filename that is in the elements text should be parsed" ) );
    TQWhatsThis::add( parseFile, tr2i18n( "Check if the filename that is in the elements text should be parsed. This makes sense only if the element may contain a filename and the <i>FileNameRx</i> is specified." ) );
    buttonGroup1->setTitle( tr2i18n( "Type" ) );
    simpleGroup->setText( tr2i18n( "Simple" ) );
    TQToolTip::add( simpleGroup, tr2i18n( "This is a simple group, nothing special" ) );
    variableGroup->setText( tr2i18n( "Variable group" ) );
    TQToolTip::add( variableGroup, tr2i18n( "The group's elements are variables" ) );
    functionGroup->setText( tr2i18n( "Function group" ) );
    TQToolTip::add( functionGroup, tr2i18n( "The group's elements are functions" ) );
    classGroup->setText( tr2i18n( "Class group" ) );
    TQToolTip::add( classGroup, tr2i18n( "The group's elements are classes" ) );
    objectGroup->setText( tr2i18n( "Ob&ject group" ) );
    TQToolTip::add( objectGroup, tr2i18n( "The group's elements are objects" ) );
    TQToolTip::add( definitionRxEdit, tr2i18n( "Regular expression to find what belong to this group" ) );
    TQWhatsThis::add( definitionRxEdit, tr2i18n( "Regular expression used to find text areas in the document, which will belong to this group. The first captured area shouldbe the actual name of the group entry.<br>\n"
"Example for a <i>class</i> group:<br>\n"
"<b>\\bclass[\\\\s]+([0-9a-zA-Z_\\x7f-\\xff]*)[\\\\s]*</b><br>\n"
"The first captured area (between \"<b>(</b>\" and \"<b>)</b>\") holds the class name." ) );
    definitionRxMinimal->setText( tr2i18n( "Minimal search mode" ) );
    TQToolTip::add( definitionRxMinimal, tr2i18n( "Enable to use the minimal style search for definition instead of the standard (greedy) matching" ) );
}

/****************************************************************************
** DTEPStructureEditDlgS meta object code from reading C++ file 'dtepstructureeditdlgs.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 "dtepstructureeditdlgs.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 *DTEPStructureEditDlgS::className() const
{
    return "DTEPStructureEditDlgS";
}

TQMetaObject *DTEPStructureEditDlgS::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_DTEPStructureEditDlgS( "DTEPStructureEditDlgS", &DTEPStructureEditDlgS::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* DTEPStructureEditDlgS::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 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"DTEPStructureEditDlgS", parentObject,
	slot_tbl, 1,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_DTEPStructureEditDlgS.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool DTEPStructureEditDlgS::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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