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

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

#include "Options2.h"

#include <ntqvariant.h>
#include <tdefontrequester.h>
#include <kcolorbutton.h>
#include <kcombobox.h>
#include <ntqpushbutton.h>
#include <ntqgroupbox.h>
#include <ntqcheckbox.h>
#include <ntqlabel.h>
#include <ntqbuttongroup.h>
#include <ntqradiobutton.h>
#include <ntqframe.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include "Options2.ui.h"

/*
 *  Constructs a Options2 as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
Options2::Options2( TQWidget* parent, const char* name, WFlags fl )
    : TQWidget( parent, name, fl )
{
    if ( !name )
	setName( "Options2" );
    setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)3, 0, 0, sizePolicy().hasHeightForWidth() ) );
    Options2Layout = new TQVBoxLayout( this, 0, 6, "Options2Layout"); 

    groupBox6 = new TQGroupBox( this, "groupBox6" );
    groupBox6->setColumnLayout(0, TQt::Vertical );
    groupBox6->layout()->setSpacing( 6 );
    groupBox6->layout()->setMargin( 11 );
    groupBox6Layout = new TQVBoxLayout( groupBox6->layout() );
    groupBox6Layout->setAlignment( TQt::AlignTop );

    kcfg_UseCustomIconTheme = new TQCheckBox( groupBox6, "kcfg_UseCustomIconTheme" );
    groupBox6Layout->addWidget( kcfg_UseCustomIconTheme );
    Options2Layout->addWidget( groupBox6 );

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

    kcfg_UseCustomFonts = new TQCheckBox( groupBox4, "kcfg_UseCustomFonts" );
    kcfg_UseCustomFonts->setChecked( false );
    groupBox4Layout->addWidget( kcfg_UseCustomFonts );

    fontGroupBox = new TQGroupBox( groupBox4, "fontGroupBox" );
    fontGroupBox->setEnabled( false );
    fontGroupBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, fontGroupBox->sizePolicy().hasHeightForWidth() ) );
    fontGroupBox->setFrameShape( TQGroupBox::NoFrame );
    fontGroupBox->setLineWidth( 0 );
    fontGroupBox->setFlat( true );
    fontGroupBox->setColumnLayout(0, TQt::Vertical );
    fontGroupBox->layout()->setSpacing( 6 );
    fontGroupBox->layout()->setMargin( 11 );
    fontGroupBoxLayout = new TQGridLayout( fontGroupBox->layout() );
    fontGroupBoxLayout->setAlignment( TQt::AlignTop );

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

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

    kcfg_PlaylistWindowFont = new TDEFontRequester( fontGroupBox, "kcfg_PlaylistWindowFont" );
    kcfg_PlaylistWindowFont->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, kcfg_PlaylistWindowFont->sizePolicy().hasHeightForWidth() ) );

    fontGroupBoxLayout->addWidget( kcfg_PlaylistWindowFont, 0, 1 );

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

    fontGroupBoxLayout->addWidget( textLabel1, 1, 0 );

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

    fontGroupBoxLayout->addWidget( textLabel3_2, 2, 0 );

    kcfg_ContextBrowserFont = new TDEFontRequester( fontGroupBox, "kcfg_ContextBrowserFont" );
    kcfg_ContextBrowserFont->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, kcfg_ContextBrowserFont->sizePolicy().hasHeightForWidth() ) );

    fontGroupBoxLayout->addWidget( kcfg_ContextBrowserFont, 2, 1 );

    kcfg_PlayerWidgetFont = new TDEFontRequester( fontGroupBox, "kcfg_PlayerWidgetFont" );
    kcfg_PlayerWidgetFont->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, kcfg_PlayerWidgetFont->sizePolicy().hasHeightForWidth() ) );

    fontGroupBoxLayout->addWidget( kcfg_PlayerWidgetFont, 1, 1 );
    groupBox4Layout->addWidget( fontGroupBox );
    Options2Layout->addWidget( groupBox4 );

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

    radioGroup = new TQButtonGroup( groupBox3, "radioGroup" );
    radioGroup->setFrameShape( TQButtonGroup::NoFrame );
    radioGroup->setColumnLayout(0, TQt::Vertical );
    radioGroup->layout()->setSpacing( 6 );
    radioGroup->layout()->setMargin( 0 );
    radioGroupLayout = new TQGridLayout( radioGroup->layout() );
    radioGroupLayout->setAlignment( TQt::AlignTop );

    layout2 = new TQVBoxLayout( 0, 0, 0, "layout2"); 

    kcfg_SchemeCustom = new TQRadioButton( radioGroup, "kcfg_SchemeCustom" );
    kcfg_SchemeCustom->setChecked( true );
    layout2->addWidget( kcfg_SchemeCustom );

    customSchemeBox = new TQGroupBox( radioGroup, "customSchemeBox" );
    customSchemeBox->setEnabled( true );
    customSchemeBox->setFocusPolicy( TQGroupBox::NoFocus );
    customSchemeBox->setFrameShape( TQGroupBox::NoFrame );
    customSchemeBox->setFlat( false );
    customSchemeBox->setChecked( false );
    customSchemeBox->setColumnLayout(0, TQt::Vertical );
    customSchemeBox->layout()->setSpacing( 6 );
    customSchemeBox->layout()->setMargin( 11 );
    customSchemeBoxLayout = new TQGridLayout( customSchemeBox->layout() );
    customSchemeBoxLayout->setAlignment( TQt::AlignTop );

    fgLabel = new TQLabel( customSchemeBox, "fgLabel" );
    fgLabel->setEnabled( true );
    fgLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)4, (TQSizePolicy::SizeType)5, 0, 0, fgLabel->sizePolicy().hasHeightForWidth() ) );
    fgLabel->setMinimumSize( TQSize( 0, 0 ) );
    fgLabel->setTextFormat( TQLabel::AutoText );

    customSchemeBoxLayout->addWidget( fgLabel, 0, 0 );

    kcfg_PlaylistWindowFgColor = new KColorButton( customSchemeBox, "kcfg_PlaylistWindowFgColor" );
    kcfg_PlaylistWindowFgColor->setEnabled( true );
    kcfg_PlaylistWindowFgColor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 2, 0, kcfg_PlaylistWindowFgColor->sizePolicy().hasHeightForWidth() ) );
    kcfg_PlaylistWindowFgColor->setColor( TQColor( 255, 255, 255 ) );

    customSchemeBoxLayout->addWidget( kcfg_PlaylistWindowFgColor, 0, 1 );

    bgColor = new TQLabel( customSchemeBox, "bgColor" );
    bgColor->setEnabled( true );
    bgColor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)4, (TQSizePolicy::SizeType)5, 0, 0, bgColor->sizePolicy().hasHeightForWidth() ) );
    bgColor->setTextFormat( TQLabel::AutoText );

    customSchemeBoxLayout->addWidget( bgColor, 1, 0 );

    kcfg_PlaylistWindowBgColor = new KColorButton( customSchemeBox, "kcfg_PlaylistWindowBgColor" );
    kcfg_PlaylistWindowBgColor->setEnabled( true );
    kcfg_PlaylistWindowBgColor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 2, 0, kcfg_PlaylistWindowBgColor->sizePolicy().hasHeightForWidth() ) );
    kcfg_PlaylistWindowBgColor->setMinimumSize( TQSize( 0, 0 ) );
    kcfg_PlaylistWindowBgColor->setMaximumSize( TQSize( 192, 32767 ) );
    kcfg_PlaylistWindowBgColor->setColor( TQColor( 32, 32, 80 ) );

    customSchemeBoxLayout->addWidget( kcfg_PlaylistWindowBgColor, 1, 1 );
    layout2->addWidget( customSchemeBox );

    radioGroupLayout->addLayout( layout2, 2, 0 );

    kcfg_SchemeKDE = new TQRadioButton( radioGroup, "kcfg_SchemeKDE" );
    radioGroup->insert( kcfg_SchemeKDE, 0 );

    radioGroupLayout->addWidget( kcfg_SchemeKDE, 0, 0 );

    kcfg_SchemeAmarok = new TQRadioButton( radioGroup, "kcfg_SchemeAmarok" );
    radioGroup->insert( kcfg_SchemeAmarok, 1 );

    radioGroupLayout->addWidget( kcfg_SchemeAmarok, 1, 0 );
    groupBox3Layout->addWidget( radioGroup );

    line1 = new TQFrame( groupBox3, "line1" );
    line1->setFrameShape( TQFrame::HLine );
    line1->setFrameShadow( TQFrame::Sunken );
    line1->setFrameShape( TQFrame::HLine );
    groupBox3Layout->addWidget( line1 );

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

    textLabel1_3 = new TQLabel( groupBox3, "textLabel1_3" );
    layout5->addWidget( textLabel1_3 );

    kcfg_NewPlaylistItemsColor = new KColorButton( groupBox3, "kcfg_NewPlaylistItemsColor" );
    layout5->addWidget( kcfg_NewPlaylistItemsColor );
    groupBox3Layout->addLayout( layout5 );
    Options2Layout->addWidget( groupBox3 );

    contextGroupBox = new TQGroupBox( this, "contextGroupBox" );
    contextGroupBox->setColumnLayout(0, TQt::Vertical );
    contextGroupBox->layout()->setSpacing( 6 );
    contextGroupBox->layout()->setMargin( 11 );
    contextGroupBoxLayout = new TQVBoxLayout( contextGroupBox->layout() );
    contextGroupBoxLayout->setAlignment( TQt::AlignTop );

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

    textLabel1_2 = new TQLabel( contextGroupBox, "textLabel1_2" );
    textLabel1_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_2->sizePolicy().hasHeightForWidth() ) );
    layout6->addWidget( textLabel1_2 );

    styleComboBox = new KComboBox( false, contextGroupBox, "styleComboBox" );
    layout6->addWidget( styleComboBox );
    contextGroupBoxLayout->addLayout( layout6 );

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

    installPushButton = new TQPushButton( contextGroupBox, "installPushButton" );
    layout5_2->addWidget( installPushButton );

    retrievePushButton = new TQPushButton( contextGroupBox, "retrievePushButton" );
    layout5_2->addWidget( retrievePushButton );
    spacer2 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout5_2->addItem( spacer2 );

    uninstallPushButton = new TQPushButton( contextGroupBox, "uninstallPushButton" );
    layout5_2->addWidget( uninstallPushButton );
    contextGroupBoxLayout->addLayout( layout5_2 );
    Options2Layout->addWidget( contextGroupBox );
    spacer1 = new TQSpacerItem( 20, 30, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Options2Layout->addItem( spacer1 );
    languageChange();
    resize( TQSize(447, 564).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( kcfg_UseCustomFonts, TQ_SIGNAL( toggled(bool) ), fontGroupBox, TQ_SLOT( setEnabled(bool) ) );
    connect( kcfg_SchemeCustom, TQ_SIGNAL( toggled(bool) ), customSchemeBox, TQ_SLOT( setEnabled(bool) ) );
    connect( installPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( installPushButton_clicked() ) );
    connect( retrievePushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( retrievePushButton_clicked() ) );
    connect( uninstallPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( uninstallPushButton_clicked() ) );
    connect( styleComboBox, TQ_SIGNAL( activated(const TQString&) ), this, TQ_SLOT( styleComboBox_activated(const TQString&) ) );

    // buddies
    fgLabel->setBuddy( kcfg_PlaylistWindowFgColor );
    bgColor->setBuddy( kcfg_PlaylistWindowBgColor );
    textLabel1_3->setBuddy( kcfg_NewPlaylistItemsColor );
    init();
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void Options2::languageChange()
{
    groupBox6->setTitle( tr2i18n( "Icons" ) );
    kcfg_UseCustomIconTheme->setText( tr2i18n( "Use custom icon &theme (requires restart)" ) );
    TQToolTip::add( kcfg_UseCustomIconTheme, tr2i18n( "Check to enable Amarok's custom icon theme.<br>" ) );
    TQWhatsThis::add( kcfg_UseCustomIconTheme, tr2i18n( "Check to enable Amarok's custom icon theme." ) );
    groupBox4->setTitle( tr2i18n( "Fonts" ) );
    kcfg_UseCustomFonts->setText( tr2i18n( "&Use custom fonts" ) );
    TQToolTip::add( kcfg_UseCustomFonts, tr2i18n( "Check to enable custom fonts." ) );
    TQWhatsThis::add( kcfg_UseCustomFonts, tr2i18n( "Check to enable custom fonts." ) );
    fontGroupBox->setTitle( TQString::null );
    textLabel3->setText( tr2i18n( "Playlist Window:" ) );
    TQToolTip::add( textLabel3, tr2i18n( "The font to use in the playlist window." ) );
    TQWhatsThis::add( textLabel3, tr2i18n( "The font to use in the playlist window." ) );
    kcfg_PlaylistWindowFont->setSampleText( TQString::null );
    TQToolTip::add( kcfg_PlaylistWindowFont, tr2i18n( "The font to use in the playlist window." ) );
    TQWhatsThis::add( kcfg_PlaylistWindowFont, tr2i18n( "The font to use in the playlist window." ) );
    textLabel1->setText( tr2i18n( "Player Window:" ) );
    TQToolTip::add( textLabel1, tr2i18n( "The font to use in the player window." ) );
    TQWhatsThis::add( textLabel1, tr2i18n( "The font to use in the player window." ) );
    textLabel3_2->setText( tr2i18n( "Context Sidebar:" ) );
    TQToolTip::add( textLabel3_2, tr2i18n( "The font to use in the context browser." ) );
    TQWhatsThis::add( textLabel3_2, tr2i18n( "The font to use in the context browser." ) );
    kcfg_ContextBrowserFont->setSampleText( TQString::null );
    TQToolTip::add( kcfg_ContextBrowserFont, tr2i18n( "The font to use in the context browser." ) );
    TQWhatsThis::add( kcfg_ContextBrowserFont, tr2i18n( "The font to use in the context browser." ) );
    kcfg_PlayerWidgetFont->setSampleText( TQString::null );
    TQToolTip::add( kcfg_PlayerWidgetFont, tr2i18n( "The font to use in the context browser." ) );
    TQWhatsThis::add( kcfg_PlayerWidgetFont, tr2i18n( "The font to use in the context browser." ) );
    groupBox3->setTitle( tr2i18n( "Color Scheme" ) );
    radioGroup->setTitle( TQString::null );
    kcfg_SchemeCustom->setText( tr2i18n( "&Custom color scheme" ) );
    TQToolTip::add( kcfg_SchemeCustom, tr2i18n( "If selected, Amarok uses the user-defined colors in the playlist." ) );
    TQWhatsThis::add( kcfg_SchemeCustom, tr2i18n( "If selected, Amarok uses the user-defined colors in the playlist." ) );
    customSchemeBox->setTitle( TQString::null );
    fgLabel->setText( tr2i18n( "Fo&reground:" ) );
    TQWhatsThis::add( fgLabel, tr2i18n( "Selects the color to use as foreground color in the playlist." ) );
    kcfg_PlaylistWindowFgColor->setText( TQString::null );
    TQToolTip::add( kcfg_PlaylistWindowFgColor, tr2i18n( "Click to select the foreground text color in the playlist window." ) );
    TQWhatsThis::add( kcfg_PlaylistWindowFgColor, tr2i18n( "Selects the color to use as foreground (text) color in the playlist." ) );
    bgColor->setText( tr2i18n( "&Background:" ) );
    TQWhatsThis::add( bgColor, tr2i18n( "Selects the color to use as background color in the playlist." ) );
    kcfg_PlaylistWindowBgColor->setText( TQString::null );
    TQToolTip::add( kcfg_PlaylistWindowBgColor, tr2i18n( "Click to select the background color in the playlist window." ) );
    TQWhatsThis::add( kcfg_PlaylistWindowBgColor, tr2i18n( "Selects the color to use as background color in the playlist." ) );
    kcfg_SchemeKDE->setText( tr2i18n( "The current &TDE color-scheme" ) );
    TQToolTip::add( kcfg_SchemeKDE, tr2i18n( "If selected, Amarok uses the TDE standard colors in the playlist." ) );
    TQWhatsThis::add( kcfg_SchemeKDE, tr2i18n( "If selected, Amarok uses the TDE standard colors in the playlist." ) );
    kcfg_SchemeAmarok->setText( tr2i18n( "The classic &Amarok, \"funky-monkey\", theme" ) );
    TQToolTip::add( kcfg_SchemeAmarok, tr2i18n( "If selected, Amarok uses the Amarok standard colors in the playlist." ) );
    TQWhatsThis::add( kcfg_SchemeAmarok, tr2i18n( "If selected, Amarok uses the Amarok standard colors in the playlist." ) );
    textLabel1_3->setText( tr2i18n( "Color for new playlist items:" ) );
    TQToolTip::add( textLabel1_3, tr2i18n( "The color that is used when fresh items are being loaded in the playlist." ) );
    kcfg_NewPlaylistItemsColor->setText( TQString::null );
    TQToolTip::add( kcfg_NewPlaylistItemsColor, tr2i18n( "The color that is used when fresh items are being loaded in the playlist." ) );
    contextGroupBox->setTitle( tr2i18n( "Context Browser Style" ) );
    textLabel1_2->setText( tr2i18n( "Select a style:" ) );
    TQToolTip::add( textLabel1_2, TQString::null );
    TQToolTip::add( styleComboBox, tr2i18n( "Select the style of the Context Browser." ) );
    TQWhatsThis::add( styleComboBox, tr2i18n( "Select the style of the Context Browser." ) );
    installPushButton->setText( tr2i18n( "Install New Style..." ) );
    TQToolTip::add( installPushButton, tr2i18n( "Click to install a new Context Browser style.<br>Tip: More styles can be found on <a href='http://trinity-look.org'>http://trinity-look.org</a>" ) );
    TQWhatsThis::add( installPushButton, tr2i18n( "Select and install a new Context Browser style." ) );
    retrievePushButton->setText( tr2i18n( "Download Styles..." ) );
    TQToolTip::add( retrievePushButton, tr2i18n( "Click to download new Context Browser styles." ) );
    TQWhatsThis::add( retrievePushButton, tr2i18n( "Select and download new Context Browser styles." ) );
    uninstallPushButton->setText( tr2i18n( "Uninstall Style" ) );
    TQToolTip::add( uninstallPushButton, tr2i18n( "Click to uninstall the selected Context Browser style." ) );
    TQWhatsThis::add( uninstallPushButton, tr2i18n( "Uninstall the selected Context Browser style." ) );
}

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

TQMetaObject *Options2::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_Options2( "Options2", &Options2::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* Options2::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 = {"installPushButton_clicked", 0, 0 };
    static const TQUMethod slot_1 = {"retrievePushButton_clicked", 0, 0 };
    static const TQUMethod slot_2 = {"uninstallPushButton_clicked", 0, 0 };
    static const TQUParameter param_slot_3[] = {
	{ "s", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"styleComboBox_activated", 1, param_slot_3 };
    static const TQUMethod slot_4 = {"updateStyleComboBox", 0, 0 };
    static const TQUMethod slot_5 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "installPushButton_clicked()", &slot_0, TQMetaData::Public },
	{ "retrievePushButton_clicked()", &slot_1, TQMetaData::Public },
	{ "uninstallPushButton_clicked()", &slot_2, TQMetaData::Public },
	{ "styleComboBox_activated(const TQString&)", &slot_3, TQMetaData::Public },
	{ "updateStyleComboBox()", &slot_4, TQMetaData::Public },
	{ "languageChange()", &slot_5, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"Options2", parentObject,
	slot_tbl, 6,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_Options2.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool Options2::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: installPushButton_clicked(); break;
    case 1: retrievePushButton_clicked(); break;
    case 2: uninstallPushButton_clicked(); break;
    case 3: styleComboBox_activated((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 4: updateStyleComboBox(); break;
    case 5: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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