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

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

#include "cssselectors.h"

#include <ntqvariant.h>
#include <kpushbutton.h>
#include <kurlrequester.h>
#include <klineedit.h>
#include <ntqpushbutton.h>
#include <ntqlabel.h>
#include <ntqtabwidget.h>
#include <ntqwidget.h>
#include <ntqgroupbox.h>
#include <ntqcombobox.h>
#include <ntqheader.h>
#include <ntqlistview.h>
#include <ntqlineedit.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

/*
 *  Constructs a CSSSelectorS as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The qdialog will by default be modeless, unless you set 'modal' to
 *  true to construct a modal qdialog.
 */
CSSSelectorS::CSSSelectorS( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : TQDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "CSSSelectorS" );
    setSizeGripEnabled( true );
    CSSSelectorSLayout = new TQGridLayout( this, 1, 1, 11, 6, "CSSSelectorSLayout"); 

    layout11 = new TQHBoxLayout( 0, 0, 6, "layout11"); 

    tlApplyToFile = new TQLabel( this, "tlApplyToFile" );
    tlApplyToFile->setEnabled( false );
    layout11->addWidget( tlApplyToFile );

    kurApplyToFile = new KURLRequester( this, "kurApplyToFile" );
    kurApplyToFile->setEnabled( false );
    layout11->addWidget( kurApplyToFile );

    CSSSelectorSLayout->addMultiCellLayout( layout11, 1, 1, 0, 2 );
    spacer19_2 = new TQSpacerItem( 20, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    CSSSelectorSLayout->addItem( spacer19_2, 2, 1 );

    layout1 = new TQHBoxLayout( 0, 0, 6, "layout1"); 

    pbOk = new TQPushButton( this, "pbOk" );
    layout1->addWidget( pbOk );

    pbCancel = new TQPushButton( this, "pbCancel" );
    layout1->addWidget( pbCancel );

    CSSSelectorSLayout->addLayout( layout1, 3, 2 );

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

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

    layout13 = new TQVBoxLayout( 0, 0, 6, "layout13"); 
    spacer6_2 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout13->addItem( spacer6_2 );

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

    pbRemoveSelectedTag = new TQPushButton( groupBox1, "pbRemoveSelectedTag" );
    TQFont pbRemoveSelectedTag_font(  pbRemoveSelectedTag->font() );
    pbRemoveSelectedTag->setFont( pbRemoveSelectedTag_font ); 

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

    pbRemoveAllTags = new TQPushButton( groupBox1, "pbRemoveAllTags" );

    groupBox1Layout->addWidget( pbRemoveAllTags, 1, 0 );
    layout13->addWidget( groupBox1 );
    spacer6 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout13->addItem( spacer6 );

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

    cbDTD = new TQComboBox( false, groupBox2, "cbDTD" );

    groupBox2Layout->addWidget( cbDTD, 0, 0 );
    layout13->addWidget( groupBox2 );
    spacer7_3 = new TQSpacerItem( 20, 24, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout13->addItem( spacer7_3 );

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

    cbTag = new TQComboBox( false, groupBox3, "cbTag" );
    cbTag->setEditable( true );

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

    pbAddTag = new TQPushButton( groupBox3, "pbAddTag" );

    groupBox3Layout->addWidget( pbAddTag, 1, 0 );
    layout13->addWidget( groupBox3 );
    spacer6_3 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout13->addItem( spacer6_3 );

    tabLayout->addLayout( layout13, 0, 2 );

    lvTags = new TQListView( tab, "lvTags" );
    lvTags->addColumn( tr2i18n( "Selector" ) );
    lvTags->addColumn( tr2i18n( "Properties" ) );
    lvTags->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 1, 0, lvTags->sizePolicy().hasHeightForWidth() ) );
    lvTags->setAllColumnsShowFocus( true );
    lvTags->setShowSortIndicator( true );
    lvTags->setResizeMode( TQListView::LastColumn );

    tabLayout->addWidget( lvTags, 0, 0 );
    spacer15 = new TQSpacerItem( 40, 20, TQSizePolicy::Minimum, TQSizePolicy::Minimum );
    tabLayout->addItem( spacer15, 0, 1 );
    twSelectors->insertTab( tab, TQString::fromLatin1("") );

    tab_2 = new TQWidget( twSelectors, "tab_2" );
    tabLayout_2 = new TQGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2"); 

    lvIDs = new TQListView( tab_2, "lvIDs" );
    lvIDs->addColumn( tr2i18n( "Selector" ) );
    lvIDs->addColumn( tr2i18n( "Properties" ) );
    lvIDs->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 1, 0, lvIDs->sizePolicy().hasHeightForWidth() ) );
    lvIDs->setAllColumnsShowFocus( true );
    lvIDs->setShowSortIndicator( true );
    lvIDs->setResizeMode( TQListView::LastColumn );

    tabLayout_2->addWidget( lvIDs, 0, 0 );
    spacer18 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout_2->addItem( spacer18, 0, 1 );

    layout14 = new TQVBoxLayout( 0, 0, 6, "layout14"); 
    spacer12 = new TQSpacerItem( 20, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout14->addItem( spacer12 );

    groupBox4_2 = new TQGroupBox( tab_2, "groupBox4_2" );
    groupBox4_2->setColumnLayout(0, TQt::Vertical );
    groupBox4_2->layout()->setSpacing( 6 );
    groupBox4_2->layout()->setMargin( 11 );
    groupBox4_2Layout = new TQGridLayout( groupBox4_2->layout() );
    groupBox4_2Layout->setAlignment( TQt::AlignTop );

    pbRemoveSelectedID = new TQPushButton( groupBox4_2, "pbRemoveSelectedID" );
    TQFont pbRemoveSelectedID_font(  pbRemoveSelectedID->font() );
    pbRemoveSelectedID->setFont( pbRemoveSelectedID_font ); 

    groupBox4_2Layout->addWidget( pbRemoveSelectedID, 0, 0 );

    pbRemoveAllIDs = new TQPushButton( groupBox4_2, "pbRemoveAllIDs" );

    groupBox4_2Layout->addWidget( pbRemoveAllIDs, 1, 0 );
    layout14->addWidget( groupBox4_2 );
    spacer13 = new TQSpacerItem( 20, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout14->addItem( spacer13 );

    groupBox7_2 = new TQGroupBox( tab_2, "groupBox7_2" );
    groupBox7_2->setColumnLayout(0, TQt::Vertical );
    groupBox7_2->layout()->setSpacing( 6 );
    groupBox7_2->layout()->setMargin( 11 );
    groupBox7_2Layout = new TQGridLayout( groupBox7_2->layout() );
    groupBox7_2Layout->setAlignment( TQt::AlignTop );

    leID = new TQLineEdit( groupBox7_2, "leID" );

    groupBox7_2Layout->addWidget( leID, 0, 0 );

    pbAddID = new TQPushButton( groupBox7_2, "pbAddID" );

    groupBox7_2Layout->addWidget( pbAddID, 1, 0 );
    layout14->addWidget( groupBox7_2 );
    spacer14 = new TQSpacerItem( 20, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout14->addItem( spacer14 );

    tabLayout_2->addLayout( layout14, 0, 2 );
    twSelectors->insertTab( tab_2, TQString::fromLatin1("") );

    tab_3 = new TQWidget( twSelectors, "tab_3" );
    tabLayout_3 = new TQGridLayout( tab_3, 1, 1, 11, 6, "tabLayout_3"); 

    lvClasses = new TQListView( tab_3, "lvClasses" );
    lvClasses->addColumn( tr2i18n( "Selector" ) );
    lvClasses->addColumn( tr2i18n( "Properties" ) );
    lvClasses->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 1, 0, lvClasses->sizePolicy().hasHeightForWidth() ) );
    lvClasses->setAllColumnsShowFocus( true );
    lvClasses->setShowSortIndicator( true );
    lvClasses->setResizeMode( TQListView::LastColumn );

    tabLayout_3->addWidget( lvClasses, 0, 0 );
    spacer19 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout_3->addItem( spacer19, 0, 1 );

    layout13_2 = new TQVBoxLayout( 0, 0, 6, "layout13_2"); 
    spacer9 = new TQSpacerItem( 20, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout13_2->addItem( spacer9 );

    groupBox4_3 = new TQGroupBox( tab_3, "groupBox4_3" );
    groupBox4_3->setColumnLayout(0, TQt::Vertical );
    groupBox4_3->layout()->setSpacing( 6 );
    groupBox4_3->layout()->setMargin( 11 );
    groupBox4_3Layout = new TQGridLayout( groupBox4_3->layout() );
    groupBox4_3Layout->setAlignment( TQt::AlignTop );

    pbRemoveSelectedClass = new TQPushButton( groupBox4_3, "pbRemoveSelectedClass" );
    TQFont pbRemoveSelectedClass_font(  pbRemoveSelectedClass->font() );
    pbRemoveSelectedClass->setFont( pbRemoveSelectedClass_font ); 

    groupBox4_3Layout->addWidget( pbRemoveSelectedClass, 0, 0 );

    pbRemoveAllClasses = new TQPushButton( groupBox4_3, "pbRemoveAllClasses" );

    groupBox4_3Layout->addWidget( pbRemoveAllClasses, 1, 0 );
    layout13_2->addWidget( groupBox4_3 );
    spacer11 = new TQSpacerItem( 20, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout13_2->addItem( spacer11 );

    groupBox7 = new TQGroupBox( tab_3, "groupBox7" );
    groupBox7->setColumnLayout(0, TQt::Vertical );
    groupBox7->layout()->setSpacing( 6 );
    groupBox7->layout()->setMargin( 11 );
    groupBox7Layout = new TQGridLayout( groupBox7->layout() );
    groupBox7Layout->setAlignment( TQt::AlignTop );

    leClass = new TQLineEdit( groupBox7, "leClass" );

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

    pbAddClass = new TQPushButton( groupBox7, "pbAddClass" );

    groupBox7Layout->addWidget( pbAddClass, 1, 0 );
    layout13_2->addWidget( groupBox7 );
    spacer10 = new TQSpacerItem( 20, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout13_2->addItem( spacer10 );

    tabLayout_3->addLayout( layout13_2, 0, 2 );
    twSelectors->insertTab( tab_3, TQString::fromLatin1("") );

    tab_4 = new TQWidget( twSelectors, "tab_4" );
    tabLayout_4 = new TQGridLayout( tab_4, 1, 1, 11, 6, "tabLayout_4"); 

    lvPseudo = new TQListView( tab_4, "lvPseudo" );
    lvPseudo->addColumn( tr2i18n( "Selector" ) );
    lvPseudo->addColumn( tr2i18n( "Properties" ) );
    lvPseudo->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 1, 0, lvPseudo->sizePolicy().hasHeightForWidth() ) );
    lvPseudo->setAllColumnsShowFocus( true );
    lvPseudo->setShowSortIndicator( true );
    lvPseudo->setResizeMode( TQListView::LastColumn );

    tabLayout_4->addWidget( lvPseudo, 0, 0 );
    spacer7 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout_4->addItem( spacer7, 0, 1 );

    layout17 = new TQVBoxLayout( 0, 0, 6, "layout17"); 
    spacer15_2 = new TQSpacerItem( 20, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout17->addItem( spacer15_2 );

    groupBox4 = new TQGroupBox( tab_4, "groupBox4" );
    groupBox4->setColumnLayout(0, TQt::Vertical );
    groupBox4->layout()->setSpacing( 6 );
    groupBox4->layout()->setMargin( 11 );
    groupBox4Layout = new TQGridLayout( groupBox4->layout() );
    groupBox4Layout->setAlignment( TQt::AlignTop );

    pbRemoveAllPseudo = new TQPushButton( groupBox4, "pbRemoveAllPseudo" );

    groupBox4Layout->addWidget( pbRemoveAllPseudo, 1, 0 );

    pbRemoveSelectedPseudo = new TQPushButton( groupBox4, "pbRemoveSelectedPseudo" );
    TQFont pbRemoveSelectedPseudo_font(  pbRemoveSelectedPseudo->font() );
    pbRemoveSelectedPseudo->setFont( pbRemoveSelectedPseudo_font ); 

    groupBox4Layout->addWidget( pbRemoveSelectedPseudo, 0, 0 );
    layout17->addWidget( groupBox4 );
    spacer16 = new TQSpacerItem( 20, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout17->addItem( spacer16 );

    groupBox7_3 = new TQGroupBox( tab_4, "groupBox7_3" );
    groupBox7_3->setColumnLayout(0, TQt::Vertical );
    groupBox7_3->layout()->setSpacing( 6 );
    groupBox7_3->layout()->setMargin( 11 );
    groupBox7_3Layout = new TQGridLayout( groupBox7_3->layout() );
    groupBox7_3Layout->setAlignment( TQt::AlignTop );

    lePseudoSelector = new TQLineEdit( groupBox7_3, "lePseudoSelector" );

    groupBox7_3Layout->addWidget( lePseudoSelector, 0, 0 );

    cbPseudo = new TQComboBox( false, groupBox7_3, "cbPseudo" );
    cbPseudo->setEditable( true );

    groupBox7_3Layout->addWidget( cbPseudo, 1, 0 );

    pbAddPseudo = new TQPushButton( groupBox7_3, "pbAddPseudo" );

    groupBox7_3Layout->addWidget( pbAddPseudo, 2, 0 );
    layout17->addWidget( groupBox7_3 );
    spacer17 = new TQSpacerItem( 20, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout17->addItem( spacer17 );

    tabLayout_4->addLayout( layout17, 0, 2 );
    twSelectors->insertTab( tab_4, TQString::fromLatin1("") );

    CSSSelectorSLayout->addMultiCellWidget( twSelectors, 0, 0, 0, 2 );
    spacer1 = new TQSpacerItem( 380, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    CSSSelectorSLayout->addItem( spacer1, 3, 1 );

    pbHelp = new KPushButton( this, "pbHelp" );
    pbHelp->setEnabled( false );

    CSSSelectorSLayout->addWidget( pbHelp, 3, 0 );
    languageChange();
    resize( TQSize(621, 496).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( pbOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
    connect( pbCancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void CSSSelectorS::languageChange()
{
    setCaption( tr2i18n( "CSS Selector Dialog" ) );
    tlApplyToFile->setText( tr2i18n( "Apply to file:" ) );
    pbOk->setText( tr2i18n( "&OK" ) );
    pbCancel->setText( tr2i18n( "&Cancel" ) );
    groupBox1->setTitle( tr2i18n( "Remove Selector" ) );
    pbRemoveSelectedTag->setText( tr2i18n( "Selected" ) );
    pbRemoveAllTags->setText( tr2i18n( "All" ) );
    groupBox2->setTitle( tr2i18n( "DTD Selection" ) );
    groupBox3->setTitle( tr2i18n( "Add Selector" ) );
    pbAddTag->setText( tr2i18n( "Add" ) );
    lvTags->header()->setLabel( 0, tr2i18n( "Selector" ) );
    lvTags->header()->setLabel( 1, tr2i18n( "Properties" ) );
    twSelectors->changeTab( tab, tr2i18n( "Tags" ) );
    lvIDs->header()->setLabel( 0, tr2i18n( "Selector" ) );
    lvIDs->header()->setLabel( 1, tr2i18n( "Properties" ) );
    groupBox4_2->setTitle( tr2i18n( "Remove Selector" ) );
    pbRemoveSelectedID->setText( tr2i18n( "Selected" ) );
    pbRemoveAllIDs->setText( tr2i18n( "All" ) );
    groupBox7_2->setTitle( tr2i18n( "Add Selector" ) );
    pbAddID->setText( tr2i18n( "Add" ) );
    twSelectors->changeTab( tab_2, tr2i18n( "IDs" ) );
    lvClasses->header()->setLabel( 0, tr2i18n( "Selector" ) );
    lvClasses->header()->setLabel( 1, tr2i18n( "Properties" ) );
    groupBox4_3->setTitle( tr2i18n( "Remove Selector" ) );
    pbRemoveSelectedClass->setText( tr2i18n( "Selected" ) );
    pbRemoveAllClasses->setText( tr2i18n( "All" ) );
    groupBox7->setTitle( tr2i18n( "Add Selector" ) );
    pbAddClass->setText( tr2i18n( "Add" ) );
    twSelectors->changeTab( tab_3, tr2i18n( "Classes" ) );
    lvPseudo->header()->setLabel( 0, tr2i18n( "Selector" ) );
    lvPseudo->header()->setLabel( 1, tr2i18n( "Properties" ) );
    groupBox4->setTitle( tr2i18n( "Remove Selector" ) );
    pbRemoveAllPseudo->setText( tr2i18n( "All" ) );
    pbRemoveSelectedPseudo->setText( tr2i18n( "Selected" ) );
    groupBox7_3->setTitle( tr2i18n( "Add Selector" ) );
    pbAddPseudo->setText( tr2i18n( "Add" ) );
    twSelectors->changeTab( tab_4, tr2i18n( "Pseudo" ) );
    pbHelp->setText( tr2i18n( "&Help" ) );
}

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

TQMetaObject *CSSSelectorS::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_CSSSelectorS( "CSSSelectorS", &CSSSelectorS::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

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

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

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

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

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

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