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

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

#include "configdialog.h"

#include <ntqvariant.h>
#include <kicondialog.h>
#include <kcolorbutton.h>
#include <kkeybutton.h>
#include <ntqpushbutton.h>
#include <ntqsplitter.h>
#include <ntqlistbox.h>
#include <ntqwidgetstack.h>
#include <ntqframe.h>
#include <ntqlabel.h>
#include <ntqlineedit.h>
#include <ntqcombobox.h>
#include <ntqslider.h>
#include <ntqspinbox.h>
#include <ntqcheckbox.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

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

    splitter12 = new TQSplitter( this, "splitter12" );
    splitter12->setOrientation( TQSplitter::Horizontal );

    listBox = new TQListBox( splitter12, "listBox" );

    pages = new TQWidgetStack( splitter12, "pages" );

    menuPage = new TQWidget( pages, "menuPage" );
    menuPageLayout = new TQHBoxLayout( menuPage, 0, 6, "menuPageLayout"); 

    MenuFrame = new TQFrame( menuPage, "MenuFrame" );
    MenuFrame->setFrameShape( TQFrame::StyledPanel );
    MenuFrame->setFrameShadow( TQFrame::Raised );
    MenuFrameLayout = new TQGridLayout( MenuFrame, 1, 1, 11, 6, "MenuFrameLayout"); 

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

    textLabel1 = new TQLabel( MenuFrame, "textLabel1" );
    layout8->addWidget( textLabel1 );

    commandoEdit = new TQLineEdit( MenuFrame, "commandoEdit" );
    commandoEdit->setEnabled( false );
    layout8->addWidget( commandoEdit );

    MenuFrameLayout->addLayout( layout8, 2, 0 );

    removeListView = new TQPushButton( MenuFrame, "removeListView" );

    MenuFrameLayout->addWidget( removeListView, 0, 2 );

    menuViewComboBox = new TQComboBox( false, MenuFrame, "menuViewComboBox" );

    MenuFrameLayout->addWidget( menuViewComboBox, 0, 0 );

    newListView = new TQPushButton( MenuFrame, "newListView" );

    MenuFrameLayout->addWidget( newListView, 0, 1 );

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

    addMenu = new TQPushButton( MenuFrame, "addMenu" );
    layout11->addWidget( addMenu );

    addButton = new TQPushButton( MenuFrame, "addButton" );
    layout11->addWidget( addButton );

    addService = new TQPushButton( MenuFrame, "addService" );
    layout11->addWidget( addService );

    remove = new TQPushButton( MenuFrame, "remove" );
    remove->setEnabled( false );
    layout11->addWidget( remove );
    spacer8_3 = new TQSpacerItem( 21, 31, TQSizePolicy::Minimum, TQSizePolicy::Maximum );
    layout11->addItem( spacer8_3 );

    buttonUp = new TQPushButton( MenuFrame, "buttonUp" );
    layout11->addWidget( buttonUp );

    buttonDown = new TQPushButton( MenuFrame, "buttonDown" );
    layout11->addWidget( buttonDown );
    spacer5 = new TQSpacerItem( 31, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout11->addItem( spacer5 );

    layout7 = new TQHBoxLayout( 0, 0, 6, "layout7"); 
    spacer6 = new TQSpacerItem( 25, 20, TQSizePolicy::Preferred, TQSizePolicy::Minimum );
    layout7->addItem( spacer6 );

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

    textLabel2 = new TQLabel( MenuFrame, "textLabel2" );
    layout6->addWidget( textLabel2 );

    iconButton = new TDEIconButton( MenuFrame, "iconButton" );
    iconButton->setEnabled( false );
    iconButton->setMinimumSize( TQSize( 64, 64 ) );
    iconButton->setMaximumSize( TQSize( 64, 64 ) );
    layout6->addWidget( iconButton );
    layout7->addLayout( layout6 );
    spacer8 = new TQSpacerItem( 25, 20, TQSizePolicy::Preferred, TQSizePolicy::Minimum );
    layout7->addItem( spacer8 );
    layout11->addLayout( layout7 );

    MenuFrameLayout->addMultiCellLayout( layout11, 1, 1, 1, 2 );
    spacer15 = new TQSpacerItem( 111, 20, TQSizePolicy::Preferred, TQSizePolicy::Minimum );
    MenuFrameLayout->addMultiCell( spacer15, 2, 2, 1, 2 );

    lists = new TQWidgetStack( MenuFrame, "lists" );
    lists->setMinimumSize( TQSize( 250, 0 ) );

    WStackPage = new TQWidget( lists, "WStackPage" );
    lists->addWidget( WStackPage, 0 );

    MenuFrameLayout->addWidget( lists, 1, 0 );
    menuPageLayout->addWidget( MenuFrame );
    pages->addWidget( menuPage, 0 );

    shortcutPage = new TQWidget( pages, "shortcutPage" );
    shortcutPageLayout = new TQHBoxLayout( shortcutPage, 0, 6, "shortcutPageLayout"); 

    shortcutFrame = new TQFrame( shortcutPage, "shortcutFrame" );
    shortcutFrame->setFrameShape( TQFrame::StyledPanel );
    shortcutFrame->setFrameShadow( TQFrame::Raised );
    shortcutFrameLayout = new TQGridLayout( shortcutFrame, 1, 1, 11, 6, "shortcutFrameLayout"); 

    kKeyButton1 = new KKeyButton( shortcutFrame, "kKeyButton1" );

    shortcutFrameLayout->addWidget( kKeyButton1, 1, 1 );

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

    shortcutFrameLayout->addWidget( textLabel1_2, 1, 0 );
    spacer12 = new TQSpacerItem( 20, 131, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    shortcutFrameLayout->addItem( spacer12, 0, 0 );
    spacer13 = new TQSpacerItem( 20, 101, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    shortcutFrameLayout->addItem( spacer13, 2, 0 );
    spacer14 = new TQSpacerItem( 131, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    shortcutFrameLayout->addItem( spacer14, 1, 2 );
    shortcutPageLayout->addWidget( shortcutFrame );
    pages->addWidget( shortcutPage, 1 );

    colorPage = new TQWidget( pages, "colorPage" );
    colorPageLayout = new TQHBoxLayout( colorPage, 0, 6, "colorPageLayout"); 

    colorFrame = new TQFrame( colorPage, "colorFrame" );
    colorFrame->setFrameShape( TQFrame::StyledPanel );
    colorFrame->setFrameShadow( TQFrame::Raised );
    colorFrameLayout = new TQVBoxLayout( colorFrame, 11, 6, "colorFrameLayout"); 

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

    textLabel1_3 = new TQLabel( colorFrame, "textLabel1_3" );
    layout10->addWidget( textLabel1_3 );

    kColorButton1 = new KColorButton( colorFrame, "kColorButton1" );
    kColorButton1->setColor( TQColor( 0, 0, 0 ) );
    layout10->addWidget( kColorButton1 );
    spacer4 = new TQSpacerItem( 308, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout10->addItem( spacer4 );
    colorFrameLayout->addLayout( layout10 );

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

    textLabel2_2 = new TQLabel( colorFrame, "textLabel2_2" );
    layout11_2->addWidget( textLabel2_2 );

    textLabel1_4 = new TQLabel( colorFrame, "textLabel1_4" );
    TQFont textLabel1_4_font(  textLabel1_4->font() );
    textLabel1_4_font.setPointSize( 12 );
    textLabel1_4->setFont( textLabel1_4_font ); 
    layout11_2->addWidget( textLabel1_4 );

    opacitySlider = new TQSlider( colorFrame, "opacitySlider" );
    opacitySlider->setMaxValue( 100 );
    opacitySlider->setValue( 20 );
    opacitySlider->setOrientation( TQSlider::Horizontal );
    layout11_2->addWidget( opacitySlider );

    textLabel1_4_2 = new TQLabel( colorFrame, "textLabel1_4_2" );
    TQFont textLabel1_4_2_font(  textLabel1_4_2->font() );
    textLabel1_4_2_font.setPointSize( 12 );
    textLabel1_4_2->setFont( textLabel1_4_2_font ); 
    layout11_2->addWidget( textLabel1_4_2 );
    colorFrameLayout->addLayout( layout11_2 );

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

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

    textLabel1_7 = new TQLabel( colorFrame, "textLabel1_7" );
    layout12->addWidget( textLabel1_7 );

    schemeCombobox = new TQComboBox( false, colorFrame, "schemeCombobox" );
    layout12->addWidget( schemeCombobox );
    spacer9 = new TQSpacerItem( 211, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout12->addItem( spacer9 );
    colorFrameLayout->addLayout( layout12 );

    layout14 = new TQGridLayout( 0, 1, 1, 0, 6, "layout14"); 
    spacer10 = new TQSpacerItem( 131, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout14->addItem( spacer10, 1, 4 );

    menuRadiusSpinbox = new TQSpinBox( colorFrame, "menuRadiusSpinbox" );
    menuRadiusSpinbox->setEnabled( false );
    menuRadiusSpinbox->setMaxValue( 300 );
    menuRadiusSpinbox->setMinValue( 30 );

    layout14->addWidget( menuRadiusSpinbox, 1, 2 );

    menuButtonSize = new TQComboBox( false, colorFrame, "menuButtonSize" );
    menuButtonSize->setEnabled( false );

    layout14->addWidget( menuButtonSize, 2, 2 );

    textLabel1_5 = new TQLabel( colorFrame, "textLabel1_5" );

    layout14->addMultiCellWidget( textLabel1_5, 1, 1, 0, 1 );

    customCheckbox = new TQCheckBox( colorFrame, "customCheckbox" );
    customCheckbox->setEnabled( true );

    layout14->addWidget( customCheckbox, 0, 0 );

    textLabel1_8 = new TQLabel( colorFrame, "textLabel1_8" );

    layout14->addWidget( textLabel1_8, 1, 3 );

    textLabel2_3 = new TQLabel( colorFrame, "textLabel2_3" );

    layout14->addWidget( textLabel2_3, 2, 0 );

    navButtonSize = new TQComboBox( false, colorFrame, "navButtonSize" );
    navButtonSize->setEnabled( false );

    layout14->addWidget( navButtonSize, 3, 2 );
    spacer8_2 = new TQSpacerItem( 72, 21, TQSizePolicy::Maximum, TQSizePolicy::Minimum );
    layout14->addItem( spacer8_2, 0, 1 );

    textLabel1_6 = new TQLabel( colorFrame, "textLabel1_6" );

    layout14->addMultiCellWidget( textLabel1_6, 3, 3, 0, 1 );
    colorFrameLayout->addLayout( layout14 );

    line1_2 = new TQFrame( colorFrame, "line1_2" );
    line1_2->setFrameShape( TQFrame::HLine );
    line1_2->setFrameShadow( TQFrame::Sunken );
    line1_2->setFrameShape( TQFrame::HLine );
    colorFrameLayout->addWidget( line1_2 );
    spacer11 = new TQSpacerItem( 20, 101, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    colorFrameLayout->addItem( spacer11 );
    colorPageLayout->addWidget( colorFrame );
    pages->addWidget( colorPage, 2 );
    ConfigDialogLayout->addWidget( splitter12 );
    languageChange();
    resize( TQSize(648, 504).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( navButtonSize, TQ_SIGNAL( activated(const TQString&) ), this, TQ_SLOT( slotNavButtonSizeChanged(const TQString&) ) );
    connect( kColorButton1, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( slotColorButtonClicked(const TQColor&) ) );
    connect( addButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAddButtonClicked() ) );
    connect( remove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRemoveClicked() ) );
    connect( addMenu, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAddMenuClicked() ) );
    connect( listBox, TQ_SIGNAL( clicked(TQListBoxItem*) ), this, TQ_SLOT( slotListBoxClicked(TQListBoxItem*) ) );
    connect( iconButton, TQ_SIGNAL( iconChanged(TQString) ), this, TQ_SLOT( slotNewIcon() ) );
    connect( commandoEdit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( slotCommandoTyped(const TQString&) ) );
    connect( schemeCombobox, TQ_SIGNAL( activated(const TQString&) ), this, TQ_SLOT( slotSchemeComboboxChanged(const TQString&) ) );
    connect( customCheckbox, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotCustomSizeCheckboxToggled(bool) ) );
    connect( opacitySlider, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( slotOpacitySliderChanged(int) ) );
    connect( menuRadiusSpinbox, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( slotMenuRadiusSpinboxChanged(int) ) );
    connect( menuButtonSize, TQ_SIGNAL( activated(const TQString&) ), this, TQ_SLOT( slotMenuButtonSizeChanged(const TQString&) ) );
    connect( buttonUp, TQ_SIGNAL( pressed() ), this, TQ_SLOT( slotButtonUpPressed() ) );
    connect( buttonDown, TQ_SIGNAL( pressed() ), this, TQ_SLOT( slotButtonDownPressed() ) );
    connect( menuViewComboBox, TQ_SIGNAL( activated(const TQString&) ), this, TQ_SLOT( slotChangeListView(const TQString&) ) );
    connect( newListView, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotNewListViewClicked() ) );
    connect( removeListView, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRemoveListViewClicked() ) );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void ConfigDialog::languageChange()
{
    setCaption( tr2i18n( "Kommando Config" ) );
    textLabel1->setText( tr2i18n( "Command:" ) );
    removeListView->setText( tr2i18n( "Remove" ) );
    newListView->setText( tr2i18n( "Ne&w" ) );
    addMenu->setText( tr2i18n( "Add Menu" ) );
    addButton->setText( tr2i18n( "Add &Button" ) );
    addService->setText( tr2i18n( "&From KMenu" ) );
    remove->setText( tr2i18n( "Remove" ) );
    buttonUp->setText( tr2i18n( "&Up" ) );
    buttonDown->setText( tr2i18n( "D&own" ) );
    textLabel2->setText( tr2i18n( "Icon:<p align=\"left\"></p>" ) );
    iconButton->setText( TQString::null );
    kKeyButton1->setText( tr2i18n( "N&one" ) );
    textLabel1_2->setText( tr2i18n( "Change shortcut:" ) );
    textLabel1_3->setText( tr2i18n( "Tint Color:" ) );
    kColorButton1->setText( TQString::null );
    textLabel2_2->setText( tr2i18n( "Opacity:" ) );
    textLabel1_4->setText( tr2i18n( "<font size=\"-1\">Transparent</font>" ) );
    textLabel1_4_2->setText( tr2i18n( "<font size=\"-1\">Opaque</font>" ) );
    textLabel1_7->setText( tr2i18n( "Scheme:" ) );
    schemeCombobox->clear();
    schemeCombobox->insertItem( tr2i18n( "Tiny" ) );
    schemeCombobox->insertItem( tr2i18n( "Small" ) );
    schemeCombobox->insertItem( tr2i18n( "Normal" ) );
    schemeCombobox->insertItem( tr2i18n( "Big" ) );
    menuButtonSize->clear();
    menuButtonSize->insertItem( tr2i18n( "16" ) );
    menuButtonSize->insertItem( tr2i18n( "22" ) );
    menuButtonSize->insertItem( tr2i18n( "32" ) );
    menuButtonSize->insertItem( tr2i18n( "48" ) );
    menuButtonSize->insertItem( tr2i18n( "64" ) );
    menuButtonSize->insertItem( tr2i18n( "128" ) );
    menuButtonSize->setCurrentItem( 2 );
    textLabel1_5->setText( tr2i18n( "Menu Radius:" ) );
    customCheckbox->setText( tr2i18n( "Cus&tom" ) );
    textLabel1_8->setText( tr2i18n( "px" ) );
    textLabel2_3->setText( tr2i18n( "Menubutton size:" ) );
    navButtonSize->clear();
    navButtonSize->insertItem( tr2i18n( "16" ) );
    navButtonSize->insertItem( tr2i18n( "22" ) );
    navButtonSize->insertItem( tr2i18n( "32" ) );
    navButtonSize->insertItem( tr2i18n( "48" ) );
    navButtonSize->insertItem( tr2i18n( "64" ) );
    navButtonSize->insertItem( tr2i18n( "128" ) );
    navButtonSize->setCurrentItem( 2 );
    textLabel1_6->setText( tr2i18n( "Navigationbutton size:" ) );
}

void ConfigDialog::slotListBoxClicked(TQListBoxItem*)
{
    tqWarning( "ConfigDialog::slotListBoxClicked(TQListBoxItem*): Not implemented yet" );
}

void ConfigDialog::slotAddMenuClicked()
{
    tqWarning( "ConfigDialog::slotAddMenuClicked(): Not implemented yet" );
}

void ConfigDialog::slotCommandoTyped(const TQString&)
{
    tqWarning( "ConfigDialog::slotCommandoTyped(const TQString&): Not implemented yet" );
}

void ConfigDialog::slotRemoveClicked()
{
    tqWarning( "ConfigDialog::slotRemoveClicked(): Not implemented yet" );
}

void ConfigDialog::slotNewIcon()
{
    tqWarning( "ConfigDialog::slotNewIcon(): Not implemented yet" );
}

void ConfigDialog::slotAddButtonClicked()
{
    tqWarning( "ConfigDialog::slotAddButtonClicked(): Not implemented yet" );
}

void ConfigDialog::slotApplyClicked()
{
    tqWarning( "ConfigDialog::slotApplyClicked(): Not implemented yet" );
}

void ConfigDialog::slotResetClicked()
{
    tqWarning( "ConfigDialog::slotResetClicked(): Not implemented yet" );
}

void ConfigDialog::slotSchemeComboboxChanged(const TQString&)
{
    tqWarning( "ConfigDialog::slotSchemeComboboxChanged(const TQString&): Not implemented yet" );
}

void ConfigDialog::slotCustomSizeCheckboxToggled(bool)
{
    tqWarning( "ConfigDialog::slotCustomSizeCheckboxToggled(bool): Not implemented yet" );
}

void ConfigDialog::slotColorButtonClicked(const TQColor&)
{
    tqWarning( "ConfigDialog::slotColorButtonClicked(const TQColor&): Not implemented yet" );
}

void ConfigDialog::slotOpacitySliderChanged(int)
{
    tqWarning( "ConfigDialog::slotOpacitySliderChanged(int): Not implemented yet" );
}

void ConfigDialog::slotMenuButtonSizeChanged(const TQString&)
{
    tqWarning( "ConfigDialog::slotMenuButtonSizeChanged(const TQString&): Not implemented yet" );
}

void ConfigDialog::slotNavButtonSizeChanged(const TQString&)
{
    tqWarning( "ConfigDialog::slotNavButtonSizeChanged(const TQString&): Not implemented yet" );
}

void ConfigDialog::slotMenuRadiusSpinboxChanged(int)
{
    tqWarning( "ConfigDialog::slotMenuRadiusSpinboxChanged(int): Not implemented yet" );
}

void ConfigDialog::slotButtonUpPressed()
{
    tqWarning( "ConfigDialog::slotButtonUpPressed(): Not implemented yet" );
}

void ConfigDialog::slotButtonDownPressed()
{
    tqWarning( "ConfigDialog::slotButtonDownPressed(): Not implemented yet" );
}

void ConfigDialog::slotChangeListView(const TQString&)
{
    tqWarning( "ConfigDialog::slotChangeListView(const TQString&): Not implemented yet" );
}

void ConfigDialog::slotNewListViewClicked()
{
    tqWarning( "ConfigDialog::slotNewListViewClicked(): Not implemented yet" );
}

void ConfigDialog::slotRemoveListViewClicked()
{
    tqWarning( "ConfigDialog::slotRemoveListViewClicked(): Not implemented yet" );
}

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

TQMetaObject *ConfigDialog::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_ConfigDialog( "ConfigDialog", &ConfigDialog::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* ConfigDialog::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 TQUParameter param_slot_0[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"slotChangeListView", 1, param_slot_0 };
    static const TQUMethod slot_1 = {"slotNewListViewClicked", 0, 0 };
    static const TQUMethod slot_2 = {"slotRemoveListViewClicked", 0, 0 };
    static const TQUMethod slot_3 = {"languageChange", 0, 0 };
    static const TQUParameter param_slot_4[] = {
	{ "item", &static_QUType_ptr, "TQListBoxItem", TQUParameter::In }
    };
    static const TQUMethod slot_4 = {"slotListBoxClicked", 1, param_slot_4 };
    static const TQUMethod slot_5 = {"slotAddMenuClicked", 0, 0 };
    static const TQUParameter param_slot_6[] = {
	{ "commando", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"slotCommandoTyped", 1, param_slot_6 };
    static const TQUMethod slot_7 = {"slotRemoveClicked", 0, 0 };
    static const TQUMethod slot_8 = {"slotNewIcon", 0, 0 };
    static const TQUMethod slot_9 = {"slotAddButtonClicked", 0, 0 };
    static const TQUMethod slot_10 = {"slotApplyClicked", 0, 0 };
    static const TQUMethod slot_11 = {"slotResetClicked", 0, 0 };
    static const TQUParameter param_slot_12[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_12 = {"slotSchemeComboboxChanged", 1, param_slot_12 };
    static const TQUParameter param_slot_13[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_13 = {"slotCustomSizeCheckboxToggled", 1, param_slot_13 };
    static const TQUParameter param_slot_14[] = {
	{ "color", &static_QUType_varptr, "\x0a", TQUParameter::In }
    };
    static const TQUMethod slot_14 = {"slotColorButtonClicked", 1, param_slot_14 };
    static const TQUParameter param_slot_15[] = {
	{ "value", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_15 = {"slotOpacitySliderChanged", 1, param_slot_15 };
    static const TQUParameter param_slot_16[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_16 = {"slotMenuButtonSizeChanged", 1, param_slot_16 };
    static const TQUParameter param_slot_17[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_17 = {"slotNavButtonSizeChanged", 1, param_slot_17 };
    static const TQUParameter param_slot_18[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_18 = {"slotMenuRadiusSpinboxChanged", 1, param_slot_18 };
    static const TQUMethod slot_19 = {"slotButtonUpPressed", 0, 0 };
    static const TQUMethod slot_20 = {"slotButtonDownPressed", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "slotChangeListView(const TQString&)", &slot_0, TQMetaData::Public },
	{ "slotNewListViewClicked()", &slot_1, TQMetaData::Public },
	{ "slotRemoveListViewClicked()", &slot_2, TQMetaData::Public },
	{ "languageChange()", &slot_3, TQMetaData::Protected },
	{ "slotListBoxClicked(TQListBoxItem*)", &slot_4, TQMetaData::Protected },
	{ "slotAddMenuClicked()", &slot_5, TQMetaData::Protected },
	{ "slotCommandoTyped(const TQString&)", &slot_6, TQMetaData::Protected },
	{ "slotRemoveClicked()", &slot_7, TQMetaData::Protected },
	{ "slotNewIcon()", &slot_8, TQMetaData::Protected },
	{ "slotAddButtonClicked()", &slot_9, TQMetaData::Protected },
	{ "slotApplyClicked()", &slot_10, TQMetaData::Protected },
	{ "slotResetClicked()", &slot_11, TQMetaData::Protected },
	{ "slotSchemeComboboxChanged(const TQString&)", &slot_12, TQMetaData::Protected },
	{ "slotCustomSizeCheckboxToggled(bool)", &slot_13, TQMetaData::Protected },
	{ "slotColorButtonClicked(const TQColor&)", &slot_14, TQMetaData::Protected },
	{ "slotOpacitySliderChanged(int)", &slot_15, TQMetaData::Protected },
	{ "slotMenuButtonSizeChanged(const TQString&)", &slot_16, TQMetaData::Protected },
	{ "slotNavButtonSizeChanged(const TQString&)", &slot_17, TQMetaData::Protected },
	{ "slotMenuRadiusSpinboxChanged(int)", &slot_18, TQMetaData::Protected },
	{ "slotButtonUpPressed()", &slot_19, TQMetaData::Protected },
	{ "slotButtonDownPressed()", &slot_20, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"ConfigDialog", parentObject,
	slot_tbl, 21,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_ConfigDialog.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool ConfigDialog::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: slotChangeListView((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 1: slotNewListViewClicked(); break;
    case 2: slotRemoveListViewClicked(); break;
    case 3: languageChange(); break;
    case 4: slotListBoxClicked((TQListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    case 5: slotAddMenuClicked(); break;
    case 6: slotCommandoTyped((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 7: slotRemoveClicked(); break;
    case 8: slotNewIcon(); break;
    case 9: slotAddButtonClicked(); break;
    case 10: slotApplyClicked(); break;
    case 11: slotResetClicked(); break;
    case 12: slotSchemeComboboxChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 13: slotCustomSizeCheckboxToggled((bool)static_QUType_bool.get(_o+1)); break;
    case 14: slotColorButtonClicked((const TQColor&)*((const TQColor*)static_QUType_ptr.get(_o+1))); break;
    case 15: slotOpacitySliderChanged((int)static_QUType_int.get(_o+1)); break;
    case 16: slotMenuButtonSizeChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 17: slotNavButtonSizeChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 18: slotMenuRadiusSpinboxChanged((int)static_QUType_int.get(_o+1)); break;
    case 19: slotButtonUpPressed(); break;
    case 20: slotButtonDownPressed(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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