#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 <kcolorbutton.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqlabel.h>
#include <ntqcheckbox.h>
#include <ntqcombobox.h>
#include <ntqspinbox.h>
#include <ntqframe.h>
#include <ntqtextbrowser.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" );
    setMinimumSize( TQSize( 0, 0 ) );
    setBaseSize( TQSize( 0, 0 ) );
    ConfigDialogLayout = new TQVBoxLayout( this, 11, 6, "ConfigDialogLayout"); 

    tabWidget2 = new TQTabWidget( this, "tabWidget2" );
    tabWidget2->setMinimumSize( TQSize( 610, 0 ) );

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

    buttons = new TQLabel( tab, "buttons" );
    TQFont buttons_font(  buttons->font() );
    buttons_font.setBold( true );
    buttons->setFont( buttons_font ); 
    buttons->setAlignment( int( TQLabel::AlignBottom ) );

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

    animations = new TQLabel( tab, "animations" );
    TQFont animations_font(  animations->font() );
    animations_font.setBold( true );
    animations->setFont( animations_font ); 
    animations->setAlignment( int( TQLabel::AlignBottom ) );

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

    lightBorder = new TQCheckBox( tab, "lightBorder" );
    lightBorder->setChecked( true );
    lightBorder->setTristate( false );

    tabLayout->addMultiCellWidget( lightBorder, 2, 2, 1, 2 );

    layout1 = new TQHBoxLayout( 0, 0, 6, "layout1"); 
    spacer1 = new TQSpacerItem( 30, 20, TQSizePolicy::Minimum, TQSizePolicy::Minimum );
    layout1->addItem( spacer1 );

    animateButtonToDark = new TQCheckBox( tab, "animateButtonToDark" );
    layout1->addWidget( animateButtonToDark );

    tabLayout->addMultiCellLayout( layout1, 7, 7, 1, 2 );

    shadowedButtonsText = new TQCheckBox( tab, "shadowedButtonsText" );
    shadowedButtonsText->setChecked( true );

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

    buttonStyle = new TQComboBox( false, tab, "buttonStyle" );

    tabLayout->addMultiCellWidget( buttonStyle, 1, 1, 1, 2 );

    animateButton = new TQCheckBox( tab, "animateButton" );

    tabLayout->addMultiCellWidget( animateButton, 6, 6, 1, 2 );

    animateProgressBar = new TQCheckBox( tab, "animateProgressBar" );

    tabLayout->addMultiCellWidget( animateProgressBar, 8, 8, 1, 2 );
    spacer9 = new TQSpacerItem( 141, 31, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout->addItem( spacer9, 7, 0 );
    spacer8 = new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout->addItem( spacer8, 2, 0 );

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

    tabLayout->addWidget( textLabel1, 1, 0 );
    spacer11 = new TQSpacerItem( 80, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout->addItem( spacer11, 7, 3 );

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

    tabLayout->addWidget( textLabel1_4, 11, 0 );

    coloredScrollBar = new TQCheckBox( tab, "coloredScrollBar" );
    coloredScrollBar->setChecked( true );

    tabLayout->addMultiCellWidget( coloredScrollBar, 12, 12, 1, 2 );

    scrollBarLines = new TQCheckBox( tab, "scrollBarLines" );

    tabLayout->addMultiCellWidget( scrollBarLines, 13, 13, 1, 2 );

    scrollBarStyle = new TQComboBox( false, tab, "scrollBarStyle" );

    tabLayout->addMultiCellWidget( scrollBarStyle, 10, 10, 1, 2 );

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

    tabLayout->addWidget( textLabel1_3, 10, 0 );

    scrollbars = new TQLabel( tab, "scrollbars" );
    TQFont scrollbars_font(  scrollbars->font() );
    scrollbars_font.setBold( true );
    scrollbars->setFont( scrollbars_font ); 
    scrollbars->setAlignment( int( TQLabel::AlignBottom ) );

    tabLayout->addWidget( scrollbars, 9, 0 );

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

    customCheckMarkColor = new TQCheckBox( tab, "customCheckMarkColor" );
    customCheckMarkColor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, customCheckMarkColor->sizePolicy().hasHeightForWidth() ) );
    layout21->addWidget( customCheckMarkColor );

    checkMarkColor = new KColorButton( tab, "checkMarkColor" );
    layout21->addWidget( checkMarkColor );

    tabLayout->addMultiCellLayout( layout21, 17, 17, 1, 2 );

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

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

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

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

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

    customOverHighlightColor = new TQCheckBox( tab, "customOverHighlightColor" );
    customOverHighlightColor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, customOverHighlightColor->sizePolicy().hasHeightForWidth() ) );
    layout20->addWidget( customOverHighlightColor );

    overHighlightColor = new KColorButton( tab, "overHighlightColor" );
    layout20->addWidget( overHighlightColor );

    tabLayout->addMultiCellLayout( layout20, 16, 16, 1, 2 );

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

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

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

    customFocusHighlightColor = new TQCheckBox( tab, "customFocusHighlightColor" );
    customFocusHighlightColor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, customFocusHighlightColor->sizePolicy().hasHeightForWidth() ) );
    layout22->addWidget( customFocusHighlightColor );

    focusHighlightColor = new KColorButton( tab, "focusHighlightColor" );
    layout22->addWidget( focusHighlightColor );

    tabLayout->addMultiCellLayout( layout22, 15, 15, 1, 2 );

    textLabel7 = new TQLabel( tab, "textLabel7" );
    TQFont textLabel7_font(  textLabel7->font() );
    textLabel7_font.setBold( true );
    textLabel7->setFont( textLabel7_font ); 
    textLabel7->setAlignment( int( TQLabel::AlignBottom ) );

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

    scrollBarSize = new TQSpinBox( tab, "scrollBarSize" );
    scrollBarSize->setMaxValue( 48 );
    scrollBarSize->setMinValue( 8 );
    scrollBarSize->setValue( 16 );

    tabLayout->addWidget( scrollBarSize, 11, 1 );
    spacer11_2 = new TQSpacerItem( 141, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout->addItem( spacer11_2, 11, 2 );

    useLowerCaseText = new TQCheckBox( tab, "useLowerCaseText" );

    tabLayout->addMultiCellWidget( useLowerCaseText, 4, 4, 1, 2 );
    tabWidget2->insertTab( tab, TQString::fromLatin1("") );

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

    buttonMenuItem = new TQCheckBox( TabPage, "buttonMenuItem" );
    buttonMenuItem->setChecked( true );
    buttonMenuItem->setTristate( false );

    TabPageLayout->addMultiCellWidget( buttonMenuItem, 2, 2, 1, 2 );

    menuStripe = new TQCheckBox( TabPage, "menuStripe" );
    menuStripe->setChecked( true );

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

    shadowedMenuBarText = new TQCheckBox( TabPage, "shadowedMenuBarText" );
    shadowedMenuBarText->setChecked( true );

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

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

    TabPageLayout->addMultiCellWidget( menuBarEmphasis, 5, 5, 1, 2 );

    layout9 = new TQHBoxLayout( 0, 0, 6, "layout9"); 
    spacer1_2_2_3 = new TQSpacerItem( 30, 20, TQSizePolicy::Minimum, TQSizePolicy::Minimum );
    layout9->addItem( spacer1_2_2_3 );

    menuBarEmphasisBorder = new TQCheckBox( TabPage, "menuBarEmphasisBorder" );
    menuBarEmphasisBorder->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, menuBarEmphasisBorder->sizePolicy().hasHeightForWidth() ) );
    menuBarEmphasisBorder->setChecked( true );
    layout9->addWidget( menuBarEmphasisBorder );

    TabPageLayout->addMultiCellLayout( layout9, 6, 6, 1, 2 );

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

    TabPageLayout->addWidget( textLabel1_2, 1, 0 );

    highLightTab = new TQCheckBox( TabPage, "highLightTab" );
    highLightTab->setChecked( true );

    TabPageLayout->addMultiCellWidget( highLightTab, 14, 14, 1, 2 );

    statusBarFrame = new TQCheckBox( TabPage, "statusBarFrame" );
    statusBarFrame->setChecked( true );

    TabPageLayout->addMultiCellWidget( statusBarFrame, 12, 12, 1, 2 );

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

    TabPageLayout->addMultiCellWidget( drawTriangularExpander, 15, 15, 1, 2 );

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

    TabPageLayout->addMultiCellWidget( centeredTabBar, 13, 13, 1, 2 );

    colorizeSortedHeader = new TQCheckBox( TabPage, "colorizeSortedHeader" );
    colorizeSortedHeader->setChecked( true );

    TabPageLayout->addMultiCellWidget( colorizeSortedHeader, 17, 17, 1, 2 );

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

    TabPageLayout->addMultiCellWidget( inputFocusHighlight, 16, 16, 1, 2 );

    drawToolBarItemSeparator = new TQCheckBox( TabPage, "drawToolBarItemSeparator" );
    drawToolBarItemSeparator->setChecked( true );

    TabPageLayout->addMultiCellWidget( drawToolBarItemSeparator, 10, 10, 1, 2 );

    drawToolBarSeparator = new TQCheckBox( TabPage, "drawToolBarSeparator" );
    drawToolBarSeparator->setChecked( true );

    TabPageLayout->addMultiCellWidget( drawToolBarSeparator, 9, 9, 1, 2 );
    spacer10 = new TQSpacerItem( 190, 31, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    TabPageLayout->addMultiCell( spacer10, 9, 10, 0, 0 );

    misc = new TQLabel( TabPage, "misc" );
    TQFont misc_font(  misc->font() );
    misc_font.setBold( true );
    misc->setFont( misc_font ); 
    misc->setAlignment( int( TQLabel::AlignBottom ) );

    TabPageLayout->addWidget( misc, 11, 0 );

    toolbars = new TQLabel( TabPage, "toolbars" );
    TQFont toolbars_font(  toolbars->font() );
    toolbars_font.setBold( true );
    toolbars->setFont( toolbars_font ); 
    toolbars->setAlignment( int( TQLabel::AlignBottom ) );

    TabPageLayout->addWidget( toolbars, 8, 0 );

    menus = new TQLabel( TabPage, "menus" );
    TQFont menus_font(  menus->font() );
    menus_font.setBold( true );
    menus->setFont( menus_font ); 
    menus->setAlignment( int( TQLabel::AlignBottom ) );

    TabPageLayout->addWidget( menus, 0, 0 );

    menuItemSpacing = new TQSpinBox( TabPage, "menuItemSpacing" );
    menuItemSpacing->setMaxValue( 12 );
    menuItemSpacing->setMinValue( 2 );
    menuItemSpacing->setValue( 8 );

    TabPageLayout->addWidget( menuItemSpacing, 1, 1 );
    spacer12 = new TQSpacerItem( 101, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    TabPageLayout->addItem( spacer12, 1, 2 );
    spacer21 = new TQSpacerItem( 187, 170, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    TabPageLayout->addMultiCell( spacer21, 12, 17, 0, 0 );
    spacer1_2 = new TQSpacerItem( 187, 160, TQSizePolicy::Minimum, TQSizePolicy::Minimum );
    TabPageLayout->addMultiCell( spacer1_2, 2, 7, 0, 0 );
    spacer22 = new TQSpacerItem( 147, 30, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    TabPageLayout->addItem( spacer22, 3, 3 );

    frameCustomEmphColor = new TQFrame( TabPage, "frameCustomEmphColor" );
    frameCustomEmphColor->setFrameShape( TQFrame::NoFrame );
    frameCustomEmphColor->setFrameShadow( TQFrame::Raised );
    frameCustomEmphColor->setLineWidth( 0 );
    frameCustomEmphColorLayout = new TQHBoxLayout( frameCustomEmphColor, 0, 6, "frameCustomEmphColorLayout"); 
    spacer1_2_2 = new TQSpacerItem( 30, 20, TQSizePolicy::Minimum, TQSizePolicy::Minimum );
    frameCustomEmphColorLayout->addItem( spacer1_2_2 );

    customMenuBarEmphasisColor = new TQCheckBox( frameCustomEmphColor, "customMenuBarEmphasisColor" );
    customMenuBarEmphasisColor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, customMenuBarEmphasisColor->sizePolicy().hasHeightForWidth() ) );
    frameCustomEmphColorLayout->addWidget( customMenuBarEmphasisColor );

    menuBarEmphasisColor = new KColorButton( frameCustomEmphColor, "menuBarEmphasisColor" );
    frameCustomEmphColorLayout->addWidget( menuBarEmphasisColor );

    TabPageLayout->addMultiCellWidget( frameCustomEmphColor, 7, 7, 1, 2 );
    tabWidget2->insertTab( TabPage, TQString::fromLatin1("") );

    tab_2 = new TQWidget( tabWidget2, "tab_2" );
    tabLayout_2 = new TQVBoxLayout( tab_2, 11, 6, "tabLayout_2"); 

    textBrowser1 = new TQTextBrowser( tab_2, "textBrowser1" );
    tabLayout_2->addWidget( textBrowser1 );
    tabWidget2->insertTab( tab_2, TQString::fromLatin1("") );

    TabPage_2 = new TQWidget( tabWidget2, "TabPage_2" );
    TabPageLayout_2 = new TQVBoxLayout( TabPage_2, 11, 6, "TabPageLayout_2"); 

    licenceBox = new TQTextBrowser( TabPage_2, "licenceBox" );
    TabPageLayout_2->addWidget( licenceBox );
    tabWidget2->insertTab( TabPage_2, TQString::fromLatin1("") );
    ConfigDialogLayout->addWidget( tabWidget2 );
    languageChange();
    resize( TQSize(632, 583).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( animateButton, TQ_SIGNAL( toggled(bool) ), animateButtonToDark, TQ_SLOT( setEnabled(bool) ) );
    connect( customFocusHighlightColor, TQ_SIGNAL( toggled(bool) ), focusHighlightColor, TQ_SLOT( setEnabled(bool) ) );
    connect( customOverHighlightColor, TQ_SIGNAL( toggled(bool) ), overHighlightColor, TQ_SLOT( setEnabled(bool) ) );
    connect( customCheckMarkColor, TQ_SIGNAL( toggled(bool) ), checkMarkColor, TQ_SLOT( setEnabled(bool) ) );
    connect( menuBarEmphasis, TQ_SIGNAL( toggled(bool) ), menuBarEmphasisBorder, TQ_SLOT( setEnabled(bool) ) );
    connect( customMenuBarEmphasisColor, TQ_SIGNAL( toggled(bool) ), menuBarEmphasisColor, TQ_SLOT( setEnabled(bool) ) );
    connect( menuBarEmphasis, TQ_SIGNAL( toggled(bool) ), frameCustomEmphColor, TQ_SLOT( setEnabled(bool) ) );

    // buddies
    textLabel10->setBuddy( customCheckMarkColor );
    textLabel9->setBuddy( customOverHighlightColor );
    textLabel8->setBuddy( customFocusHighlightColor );
}

/*
 *  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( "Form1" ) );
    buttons->setText( tr2i18n( "Buttons" ) );
    animations->setText( tr2i18n( "Animations" ) );
    lightBorder->setText( tr2i18n( "Lighter &button borders" ) );
    lightBorder->setAccel( TQKeySequence( tr2i18n( "Alt+B" ) ) );
    animateButtonToDark->setText( tr2i18n( "Animate buttons to a &darker color" ) );
    animateButtonToDark->setAccel( TQKeySequence( tr2i18n( "Alt+D" ) ) );
    shadowedButtonsText->setText( tr2i18n( "&Use shadowed button text" ) );
    shadowedButtonsText->setAccel( TQKeySequence( tr2i18n( "Alt+U" ) ) );
    buttonStyle->clear();
    buttonStyle->insertItem( tr2i18n( "Glass buttons" ) );
    buttonStyle->insertItem( tr2i18n( "Gradients" ) );
    buttonStyle->insertItem( tr2i18n( "Reverse gradients" ) );
    buttonStyle->insertItem( tr2i18n( "Flat" ) );
    animateButton->setText( tr2i18n( "Ani&mate buttons" ) );
    animateButton->setAccel( TQKeySequence( tr2i18n( "Alt+M" ) ) );
    animateProgressBar->setText( tr2i18n( "&Animate progress bars" ) );
    animateProgressBar->setAccel( TQKeySequence( tr2i18n( "Alt+A" ) ) );
    textLabel1->setText( tr2i18n( "Button style:" ) );
    textLabel1_4->setText( tr2i18n( "Scrollbar size:" ) );
    coloredScrollBar->setText( tr2i18n( "&Colored scrollbars" ) );
    coloredScrollBar->setAccel( TQKeySequence( tr2i18n( "Alt+C" ) ) );
    scrollBarLines->setText( tr2i18n( "&Scrollbar handle lines" ) );
    scrollBarLines->setAccel( TQKeySequence( tr2i18n( "Alt+S" ) ) );
    scrollBarStyle->clear();
    scrollBarStyle->insertItem( tr2i18n( "KDE style" ) );
    scrollBarStyle->insertItem( tr2i18n( "Platinum style" ) );
    scrollBarStyle->insertItem( tr2i18n( "Next style" ) );
    scrollBarStyle->insertItem( tr2i18n( "Windows style" ) );
    textLabel1_3->setText( tr2i18n( "Scrollbar Style:" ) );
    scrollbars->setText( tr2i18n( "Scrollbars" ) );
    customCheckMarkColor->setText( TQString::null );
    customCheckMarkColor->setAccel( TQKeySequence( TQString::null ) );
    checkMarkColor->setText( TQString::null );
    textLabel10->setText( tr2i18n( "Chec&kmark:" ) );
    textLabel9->setText( tr2i18n( "Mouseo&ver highlight:" ) );
    customOverHighlightColor->setText( TQString::null );
    customOverHighlightColor->setAccel( TQKeySequence( TQString::null ) );
    overHighlightColor->setText( TQString::null );
    textLabel8->setText( tr2i18n( "Te&xt input highlight:" ) );
    customFocusHighlightColor->setText( TQString::null );
    customFocusHighlightColor->setAccel( TQKeySequence( TQString::null ) );
    focusHighlightColor->setText( TQString::null );
    textLabel7->setText( tr2i18n( "Custom colors" ) );
    scrollBarSize->setSuffix( tr2i18n( " pixels" ) );
    useLowerCaseText->setText( tr2i18n( "&Lower case buttons text" ) );
    useLowerCaseText->setAccel( TQKeySequence( tr2i18n( "Alt+L" ) ) );
    tabWidget2->changeTab( tab, tr2i18n( "&General" ) );
    buttonMenuItem->setText( tr2i18n( "Button-li&ke menu items" ) );
    buttonMenuItem->setAccel( TQKeySequence( tr2i18n( "Alt+K" ) ) );
    menuStripe->setText( tr2i18n( "&Menu stripe" ) );
    menuStripe->setAccel( TQKeySequence( tr2i18n( "Alt+M" ) ) );
    shadowedMenuBarText->setText( tr2i18n( "Sh&adowed menubar text" ) );
    shadowedMenuBarText->setAccel( TQKeySequence( tr2i18n( "Alt+A" ) ) );
    menuBarEmphasis->setText( tr2i18n( "Men&ubar emphasis" ) );
    menuBarEmphasis->setAccel( TQKeySequence( tr2i18n( "Alt+U" ) ) );
    menuBarEmphasisBorder->setText( tr2i18n( "Menubar Empasis &border" ) );
    menuBarEmphasisBorder->setAccel( TQKeySequence( tr2i18n( "Alt+B" ) ) );
    textLabel1_2->setText( tr2i18n( "Menu items spacing:" ) );
    highLightTab->setText( tr2i18n( "&Highlight selected tab" ) );
    highLightTab->setAccel( TQKeySequence( tr2i18n( "Alt+H" ) ) );
    statusBarFrame->setText( tr2i18n( "&Draw statusbar frame" ) );
    statusBarFrame->setAccel( TQKeySequence( tr2i18n( "Alt+D" ) ) );
    drawTriangularExpander->setText( tr2i18n( "Triangular tree e&xpander" ) );
    drawTriangularExpander->setAccel( TQKeySequence( tr2i18n( "Alt+X" ) ) );
    centeredTabBar->setText( tr2i18n( "&Centered tabbars" ) );
    centeredTabBar->setAccel( TQKeySequence( tr2i18n( "Alt+C" ) ) );
    colorizeSortedHeader->setText( tr2i18n( "Colori&ze sorted header in listviews" ) );
    colorizeSortedHeader->setAccel( TQKeySequence( tr2i18n( "Alt+Z" ) ) );
    inputFocusHighlight->setText( tr2i18n( "H&ighlight focused text input fields" ) );
    inputFocusHighlight->setAccel( TQKeySequence( tr2i18n( "Alt+I" ) ) );
    drawToolBarItemSeparator->setText( tr2i18n( "Draw toolbar &item separator" ) );
    drawToolBarItemSeparator->setAccel( TQKeySequence( tr2i18n( "Alt+I" ) ) );
    drawToolBarSeparator->setText( tr2i18n( "&Draw toolbar separator" ) );
    drawToolBarSeparator->setAccel( TQKeySequence( tr2i18n( "Alt+D" ) ) );
    misc->setText( tr2i18n( "Misc" ) );
    toolbars->setText( tr2i18n( "Toolbars" ) );
    menus->setText( tr2i18n( "Menus" ) );
    menuItemSpacing->setSuffix( tr2i18n( " pixels" ) );
    customMenuBarEmphasisColor->setText( tr2i18n( "&Custom color:" ) );
    customMenuBarEmphasisColor->setAccel( TQKeySequence( tr2i18n( "Alt+C" ) ) );
    menuBarEmphasisColor->setText( TQString::null );
    menuBarEmphasisColor->setAccel( TQKeySequence( TQString::null ) );
    tabWidget2->changeTab( TabPage, tr2i18n( "&Advanced" ) );
    textBrowser1->setText( tr2i18n( "<h1>Polyester 1.0.3</h1>\n"
"<p>\n"
" Copyright &copy; 2005-2006 Marco Martin <br/>\n"
" notmart@gmail.com<br/>\n"
" http://www.notmart.org\n"
"</p>\n"
"<p>\n"
" based on Plastik widget style for KDE 3<br/>\n"
" Copyright (C) 2003 Sandro Giessl\n"
"</p>\n"
"<p>\n"
" Polyester window decoration derived from Smooth Blend\n"
" Copyright (c) 2005 Ryan Nickell\n"
"</p>\n"
"<h2>Additional thanks</h2>\n"
"<p>Tomek Argasiński for the Polish translation</p>\n"
"<p>Some code and ideas from</p>\n"
"<ul>\n"
" <li>Linspire Clear by Sandro Giessl</li>\n"
" <li>Lipstik by Patrice Tremblay</li>\n"
" <li>Baghira by Thomas Lbking</li>\n"
" <li>Trolltech winXP style and Daniel Molkentin for the password dialog</li>\n"
"</ul>" ) );
    tabWidget2->changeTab( tab_2, tr2i18n( "Ab&out" ) );
    tabWidget2->changeTab( TabPage_2, tr2i18n( "Lice&nse agreement" ) );
}

void ConfigDialog::animateButton_toggled(bool)
{
    tqWarning( "ConfigDialog::animateButton_toggled(bool): 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_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"animateButton_toggled", 1, param_slot_0 };
    static const TQUMethod slot_1 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "animateButton_toggled(bool)", &slot_0, TQMetaData::Public },
	{ "languageChange()", &slot_1, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"ConfigDialog", parentObject,
	slot_tbl, 2,
	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: animateButton_toggled((bool)static_QUType_bool.get(_o+1)); break;
    case 1: languageChange(); 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
