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

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

#include "setupdialog.h"

#include <ntqvariant.h>
#include <kcolorcombo.h>
#include <keditlistbox.h>
#include <tdefontcombo.h>
#include <ntqpushbutton.h>
#include <ntqcheckbox.h>
#include <ntqtabwidget.h>
#include <ntqwidget.h>
#include <ntqgroupbox.h>
#include <ntqframe.h>
#include <ntqlabel.h>
#include <ntqspinbox.h>
#include <kiconview.h>
#include <ntqcombobox.h>
#include <ntqbuttongroup.h>
#include <ntqradiobutton.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

/*
 *  Constructs a SetupDialog 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.
 */
SetupDialog::SetupDialog( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : TQDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "SetupDialog" );
    setMinimumSize( TQSize( 0, 0 ) );
    setMaximumSize( TQSize( 1024, 768 ) );
    setBaseSize( TQSize( 0, 0 ) );
    setSizeGripEnabled( true );
    setModal( false );
    SetupDialogLayout = new TQGridLayout( this, 1, 1, 11, 6, "SetupDialogLayout"); 

    buttonCancel = new TQPushButton( this, "buttonCancel" );
    buttonCancel->setAutoDefault( true );

    SetupDialogLayout->addWidget( buttonCancel, 1, 3 );

    buttonOk = new TQPushButton( this, "buttonOk" );
    buttonOk->setAutoDefault( true );
    buttonOk->setDefault( true );

    SetupDialogLayout->addWidget( buttonOk, 1, 2 );

    toReloadIcons = new TQCheckBox( this, "toReloadIcons" );
    toReloadIcons->setMaximumSize( TQSize( 0, 0 ) );

    SetupDialogLayout->addWidget( toReloadIcons, 0, 0 );

    systray = new TQCheckBox( this, "systray" );
    systray->setEnabled( false );
    systray->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, systray->sizePolicy().hasHeightForWidth() ) );
    systray->setMaximumSize( TQSize( 0, 0 ) );

    SetupDialogLayout->addWidget( systray, 0, 0 );

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

    Widget2 = new TQWidget( tabWidget, "Widget2" );
    Widget2Layout = new TQGridLayout( Widget2, 1, 1, 11, 6, "Widget2Layout"); 

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

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

    groupBox3Layout->addMultiCellWidget( line15, 2, 2, 0, 1 );

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

    groupBox3Layout->addMultiCellWidget( line1_3, 6, 6, 0, 1 );

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

    groupBox3Layout->addMultiCellWidget( line1_3_2, 8, 8, 0, 1 );

    chk1 = new TQCheckBox( groupBox3, "chk1" );
    chk1->setChecked( false );

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

    chk5 = new TQCheckBox( groupBox3, "chk5" );

    groupBox3Layout->addWidget( chk5, 3, 0 );

    chk6 = new TQCheckBox( groupBox3, "chk6" );

    groupBox3Layout->addWidget( chk6, 4, 0 );

    chkGrouping = new TQCheckBox( groupBox3, "chkGrouping" );

    groupBox3Layout->addWidget( chkGrouping, 5, 0 );

    chk7 = new TQCheckBox( groupBox3, "chk7" );

    groupBox3Layout->addWidget( chk7, 7, 0 );

    Steppy = new TQCheckBox( groupBox3, "Steppy" );

    groupBox3Layout->addMultiCellWidget( Steppy, 9, 9, 0, 1 );

    nav = new TQCheckBox( groupBox3, "nav" );

    groupBox3Layout->addMultiCellWidget( nav, 10, 10, 0, 1 );

    chkUseKBFX = new TQCheckBox( groupBox3, "chkUseKBFX" );

    groupBox3Layout->addWidget( chkUseKBFX, 7, 1 );

    cbMinimizedOnly = new TQCheckBox( groupBox3, "cbMinimizedOnly" );

    groupBox3Layout->addWidget( cbMinimizedOnly, 5, 1 );

    chkSshot = new TQCheckBox( groupBox3, "chkSshot" );

    groupBox3Layout->addWidget( chkSshot, 4, 1 );

    currentDesk = new TQCheckBox( groupBox3, "currentDesk" );

    groupBox3Layout->addWidget( currentDesk, 3, 1 );

    hideOnClick = new TQCheckBox( groupBox3, "hideOnClick" );
    hideOnClick->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, hideOnClick->sizePolicy().hasHeightForWidth() ) );
    hideOnClick->setChecked( false );

    groupBox3Layout->addWidget( hideOnClick, 0, 1 );

    cbStayBelow = new TQCheckBox( groupBox3, "cbStayBelow" );

    groupBox3Layout->addMultiCellWidget( cbStayBelow, 1, 1, 0, 1 );

    Widget2Layout->addWidget( groupBox3, 0, 0 );
    tabWidget->insertTab( Widget2, TQString::fromLatin1("") );

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

    groupBox10 = new TQGroupBox( TabPage, "groupBox10" );
    groupBox10->setColumnLayout(0, TQt::Vertical );
    groupBox10->layout()->setSpacing( 6 );
    groupBox10->layout()->setMargin( 11 );
    groupBox10Layout = new TQGridLayout( groupBox10->layout() );
    groupBox10Layout->setAlignment( TQt::AlignTop );

    textLabel1_4 = new TQLabel( groupBox10, "textLabel1_4" );

    groupBox10Layout->addWidget( textLabel1_4, 2, 0 );

    xosdFont = new TDEFontCombo( groupBox10, "xosdFont" );

    groupBox10Layout->addWidget( xosdFont, 2, 1 );

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

    groupBox10Layout->addWidget( textLabel1_2, 5, 0 );

    spinBox2 = new TQSpinBox( groupBox10, "spinBox2" );
    spinBox2->setMaxValue( 4 );
    spinBox2->setMinValue( 0 );

    groupBox10Layout->addWidget( spinBox2, 5, 1 );

    textLabel1 = new TQLabel( groupBox10, "textLabel1" );

    groupBox10Layout->addWidget( textLabel1, 4, 0 );

    kColorCombo1 = new KColorCombo( groupBox10, "kColorCombo1" );

    groupBox10Layout->addWidget( kColorCombo1, 4, 1 );

    xosdSize = new TQSpinBox( groupBox10, "xosdSize" );
    xosdSize->setMaxValue( 99 );
    xosdSize->setMinValue( 1 );

    groupBox10Layout->addWidget( xosdSize, 3, 1 );

    textLabel1_2_2 = new TQLabel( groupBox10, "textLabel1_2_2" );

    groupBox10Layout->addWidget( textLabel1_2_2, 3, 0 );

    kColorCombo_shadow = new KColorCombo( groupBox10, "kColorCombo_shadow" );

    groupBox10Layout->addWidget( kColorCombo_shadow, 6, 1 );

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

    groupBox10Layout->addWidget( textLabel1_8, 6, 0 );

    line9 = new TQFrame( groupBox10, "line9" );
    line9->setFrameShape( TQFrame::HLine );
    line9->setFrameShadow( TQFrame::Sunken );
    line9->setFrameShape( TQFrame::HLine );

    groupBox10Layout->addMultiCellWidget( line9, 1, 1, 0, 1 );

    cbCleaner = new TQCheckBox( groupBox10, "cbCleaner" );

    groupBox10Layout->addMultiCellWidget( cbCleaner, 7, 7, 0, 1 );

    frame3 = new TQFrame( groupBox10, "frame3" );
    frame3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)1, 0, 0, frame3->sizePolicy().hasHeightForWidth() ) );
    frame3->setFrameShape( TQFrame::NoFrame );
    frame3->setFrameShadow( TQFrame::Raised );
    frame3->setLineWidth( 0 );
    frame3Layout = new TQGridLayout( frame3, 1, 1, 11, 6, "frame3Layout"); 

    xosdBold = new TQCheckBox( frame3, "xosdBold" );
    xosdBold->setChecked( false );

    frame3Layout->addWidget( xosdBold, 0, 2 );
    spacer10 = new TQSpacerItem( 16, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    frame3Layout->addItem( spacer10, 0, 1 );

    chk2 = new TQCheckBox( frame3, "chk2" );

    frame3Layout->addWidget( chk2, 0, 0 );
    spacer11 = new TQSpacerItem( 16, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    frame3Layout->addItem( spacer11, 0, 3 );

    xosdItalic = new TQCheckBox( frame3, "xosdItalic" );
    xosdItalic->setChecked( false );

    frame3Layout->addWidget( xosdItalic, 0, 4 );
    spacer12 = new TQSpacerItem( 81, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    frame3Layout->addItem( spacer12, 0, 5 );

    groupBox10Layout->addMultiCellWidget( frame3, 0, 0, 0, 1 );

    TabPageLayout->addWidget( groupBox10, 0, 0 );
    tabWidget->insertTab( TabPage, TQString::fromLatin1("") );

    TabPage_2 = new TQWidget( tabWidget, "TabPage_2" );
    TabPageLayout_2 = new TQGridLayout( TabPage_2, 1, 1, 11, 6, "TabPageLayout_2"); 

    groupBox9 = new TQGroupBox( TabPage_2, "groupBox9" );
    groupBox9->setColumnLayout(0, TQt::Vertical );
    groupBox9->layout()->setSpacing( 6 );
    groupBox9->layout()->setMargin( 11 );
    groupBox9Layout = new TQGridLayout( groupBox9->layout() );
    groupBox9Layout->setAlignment( TQt::AlignTop );

    textLabel2 = new TQLabel( groupBox9, "textLabel2" );

    groupBox9Layout->addWidget( textLabel2, 0, 0 );

    iwSmall = new TQSpinBox( groupBox9, "iwSmall" );

    groupBox9Layout->addWidget( iwSmall, 0, 1 );

    textLabel2_2 = new TQLabel( groupBox9, "textLabel2_2" );

    groupBox9Layout->addWidget( textLabel2_2, 0, 2 );

    iwBig = new TQSpinBox( groupBox9, "iwBig" );
    iwBig->setMaxValue( 160 );

    groupBox9Layout->addWidget( iwBig, 0, 3 );

    textLabel1_13 = new TQLabel( groupBox9, "textLabel1_13" );
    textLabel1_13->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_13->sizePolicy().hasHeightForWidth() ) );

    groupBox9Layout->addMultiCellWidget( textLabel1_13, 1, 1, 0, 1 );

    fAmount = new TQSpinBox( groupBox9, "fAmount" );
    fAmount->setMaxValue( 10 );
    fAmount->setMinValue( 4 );

    groupBox9Layout->addMultiCellWidget( fAmount, 1, 1, 2, 3 );

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

    groupBox9Layout->addMultiCellWidget( textLabel1_6, 2, 2, 0, 1 );

    sbSpace = new TQSpinBox( groupBox9, "sbSpace" );

    groupBox9Layout->addMultiCellWidget( sbSpace, 2, 2, 2, 3 );

    TabPageLayout_2->addWidget( groupBox9, 0, 0 );
    tabWidget->insertTab( TabPage_2, TQString::fromLatin1("") );

    TabPage_3 = new TQWidget( tabWidget, "TabPage_3" );
    TabPageLayout_3 = new TQGridLayout( TabPage_3, 1, 1, 11, 6, "TabPageLayout_3"); 

    textLabel1_3 = new TQLabel( TabPage_3, "textLabel1_3" );
    textLabel1_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_3->sizePolicy().hasHeightForWidth() ) );

    TabPageLayout_3->addMultiCellWidget( textLabel1_3, 0, 0, 0, 1 );

    buttonadd = new TQPushButton( TabPage_3, "buttonadd" );
    buttonadd->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, buttonadd->sizePolicy().hasHeightForWidth() ) );

    TabPageLayout_3->addMultiCellWidget( buttonadd, 0, 0, 2, 3 );

    applist = new TDEIconView( TabPage_3, "applist" );
    applist->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)7, 0, 0, applist->sizePolicy().hasHeightForWidth() ) );
    applist->setMode( TDEIconView::Select );

    TabPageLayout_3->addMultiCellWidget( applist, 1, 1, 0, 3 );

    mLeft = new TQPushButton( TabPage_3, "mLeft" );
    mLeft->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, mLeft->sizePolicy().hasHeightForWidth() ) );

    TabPageLayout_3->addWidget( mLeft, 2, 0 );

    mRight = new TQPushButton( TabPage_3, "mRight" );
    mRight->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, mRight->sizePolicy().hasHeightForWidth() ) );

    TabPageLayout_3->addWidget( mRight, 2, 3 );
    spacer7 = new TQSpacerItem( 181, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    TabPageLayout_3->addMultiCell( spacer7, 2, 2, 1, 2 );

    textLabel1_5 = new TQLabel( TabPage_3, "textLabel1_5" );
    textLabel1_5->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_5->sizePolicy().hasHeightForWidth() ) );

    TabPageLayout_3->addMultiCellWidget( textLabel1_5, 3, 3, 0, 3 );
    tabWidget->insertTab( TabPage_3, TQString::fromLatin1("") );

    TabPage_4 = new TQWidget( tabWidget, "TabPage_4" );
    TabPageLayout_4 = new TQGridLayout( TabPage_4, 1, 1, 11, 6, "TabPageLayout_4"); 

    grabWin = new TQPushButton( TabPage_4, "grabWin" );

    TabPageLayout_4->addWidget( grabWin, 0, 0 );

    textLabel1_7 = new TQLabel( TabPage_4, "textLabel1_7" );
    textLabel1_7->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_7->sizePolicy().hasHeightForWidth() ) );

    TabPageLayout_4->addWidget( textLabel1_7, 1, 0 );

    ignoreBox = new KEditListBox( TabPage_4, "ignoreBox" );
    ignoreBox->setFlat( true );

    TabPageLayout_4->addWidget( ignoreBox, 2, 0 );
    tabWidget->insertTab( TabPage_4, TQString::fromLatin1("") );

    TabPage_5 = new TQWidget( tabWidget, "TabPage_5" );
    TabPageLayout_5 = new TQGridLayout( TabPage_5, 1, 1, 11, 6, "TabPageLayout_5"); 

    chkSolid = new TQGroupBox( TabPage_5, "chkSolid" );
    chkSolid->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, chkSolid->sizePolicy().hasHeightForWidth() ) );
    chkSolid->setCheckable( true );
    chkSolid->setColumnLayout(0, TQt::Vertical );
    chkSolid->layout()->setSpacing( 6 );
    chkSolid->layout()->setMargin( 11 );
    chkSolidLayout = new TQGridLayout( chkSolid->layout() );
    chkSolidLayout->setAlignment( TQt::AlignTop );

    textLabel1_3_2_2 = new TQLabel( chkSolid, "textLabel1_3_2_2" );

    chkSolidLayout->addWidget( textLabel1_3_2_2, 3, 0 );

    kColorCombo3 = new KColorCombo( chkSolid, "kColorCombo3" );

    chkSolidLayout->addWidget( kColorCombo3, 3, 1 );

    textLabel1_3_3 = new TQLabel( chkSolid, "textLabel1_3_3" );

    chkSolidLayout->addWidget( textLabel1_3_3, 4, 0 );

    textLabel1_3_2 = new TQLabel( chkSolid, "textLabel1_3_2" );

    chkSolidLayout->addWidget( textLabel1_3_2, 1, 0 );

    kColorCombo2 = new KColorCombo( chkSolid, "kColorCombo2" );

    chkSolidLayout->addWidget( kColorCombo2, 1, 1 );

    chk4 = new TQCheckBox( chkSolid, "chk4" );

    chkSolidLayout->addWidget( chk4, 2, 0 );

    spinBox1 = new TQSpinBox( chkSolid, "spinBox1" );
    spinBox1->setMaxValue( 100 );

    chkSolidLayout->addWidget( spinBox1, 4, 1 );

    TabPageLayout_5->addWidget( chkSolid, 1, 0 );

    groupBox6 = new TQGroupBox( TabPage_5, "groupBox6" );
    groupBox6->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, groupBox6->sizePolicy().hasHeightForWidth() ) );
    groupBox6->setFrameShadow( TQGroupBox::Sunken );
    groupBox6->setLineWidth( 1 );
    groupBox6->setMidLineWidth( 0 );
    groupBox6->setFlat( false );
    groupBox6->setColumnLayout(0, TQt::Vertical );
    groupBox6->layout()->setSpacing( 6 );
    groupBox6->layout()->setMargin( 11 );
    groupBox6Layout = new TQGridLayout( groupBox6->layout() );
    groupBox6Layout->setAlignment( TQt::AlignTop );

    kColorCombo4 = new KColorCombo( groupBox6, "kColorCombo4" );
    kColorCombo4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, kColorCombo4->sizePolicy().hasHeightForWidth() ) );

    groupBox6Layout->addWidget( kColorCombo4, 0, 1 );

    textLabel1_3_2_2_2 = new TQLabel( groupBox6, "textLabel1_3_2_2_2" );
    textLabel1_3_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_3_2_2_2->sizePolicy().hasHeightForWidth() ) );

    groupBox6Layout->addWidget( textLabel1_3_2_2_2, 0, 0 );

    TabPageLayout_5->addWidget( groupBox6, 0, 0 );

    chkImg = new TQGroupBox( TabPage_5, "chkImg" );
    chkImg->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, chkImg->sizePolicy().hasHeightForWidth() ) );
    chkImg->setFlat( false );
    chkImg->setCheckable( true );
    chkImg->setChecked( false );
    chkImg->setColumnLayout(0, TQt::Vertical );
    chkImg->layout()->setSpacing( 6 );
    chkImg->layout()->setMargin( 11 );
    chkImgLayout = new TQGridLayout( chkImg->layout() );
    chkImgLayout->setAlignment( TQt::AlignTop );

    nWideBg = new TQCheckBox( chkImg, "nWideBg" );

    chkImgLayout->addMultiCellWidget( nWideBg, 2, 2, 0, 1 );

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

    chkImgLayout->addWidget( textLabel1_9, 1, 0 );

    theme = new TQComboBox( false, chkImg, "theme" );
    theme->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, theme->sizePolicy().hasHeightForWidth() ) );

    chkImgLayout->addWidget( theme, 1, 1 );

    buttonGroup2_2 = new TQButtonGroup( chkImg, "buttonGroup2_2" );
    buttonGroup2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)1, 0, 0, buttonGroup2_2->sizePolicy().hasHeightForWidth() ) );
    buttonGroup2_2->setFrameShape( TQButtonGroup::NoFrame );
    buttonGroup2_2->setFrameShadow( TQButtonGroup::Plain );
    buttonGroup2_2->setLineWidth( 0 );
    buttonGroup2_2->setFlat( false );
    buttonGroup2_2->setCheckable( false );
    buttonGroup2_2->setChecked( false );
    buttonGroup2_2->setExclusive( false );
    buttonGroup2_2->setRadioButtonExclusive( true );
    buttonGroup2_2->setColumnLayout(0, TQt::Vertical );
    buttonGroup2_2->layout()->setSpacing( 6 );
    buttonGroup2_2->layout()->setMargin( 11 );
    buttonGroup2_2Layout = new TQGridLayout( buttonGroup2_2->layout() );
    buttonGroup2_2Layout->setAlignment( TQt::AlignTop );

    opScale1 = new TQRadioButton( buttonGroup2_2, "opScale1" );
    opScale1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, opScale1->sizePolicy().hasHeightForWidth() ) );

    buttonGroup2_2Layout->addWidget( opScale1, 0, 0 );
    spacer8 = new TQSpacerItem( 146, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    buttonGroup2_2Layout->addItem( spacer8, 0, 1 );

    opScale2 = new TQRadioButton( buttonGroup2_2, "opScale2" );
    opScale2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, opScale2->sizePolicy().hasHeightForWidth() ) );

    buttonGroup2_2Layout->addWidget( opScale2, 0, 2 );
    spacer9 = new TQSpacerItem( 40, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    buttonGroup2_2Layout->addItem( spacer9, 0, 3 );

    chkImgLayout->addMultiCellWidget( buttonGroup2_2, 3, 3, 0, 1 );

    TabPageLayout_5->addWidget( chkImg, 2, 0 );
    tabWidget->insertTab( TabPage_5, TQString::fromLatin1("") );

    TabPage_6 = new TQWidget( tabWidget, "TabPage_6" );
    TabPageLayout_6 = new TQGridLayout( TabPage_6, 1, 1, 11, 6, "TabPageLayout_6"); 

    groupBox5 = new TQGroupBox( TabPage_6, "groupBox5" );
    groupBox5->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)3, 0, 0, groupBox5->sizePolicy().hasHeightForWidth() ) );
    groupBox5->setColumnLayout(0, TQt::Vertical );
    groupBox5->layout()->setSpacing( 6 );
    groupBox5->layout()->setMargin( 11 );
    groupBox5Layout = new TQGridLayout( groupBox5->layout() );
    groupBox5Layout->setAlignment( TQt::AlignTop );

    textLabel1_11 = new TQLabel( groupBox5, "textLabel1_11" );

    groupBox5Layout->addWidget( textLabel1_11, 0, 0 );

    percentPos = new TQSpinBox( groupBox5, "percentPos" );
    percentPos->setMaxValue( 100 );
    percentPos->setLineStep( 5 );
    percentPos->setValue( 50 );

    groupBox5Layout->addWidget( percentPos, 0, 1 );

    xrma = new TQCheckBox( groupBox5, "xrma" );
    xrma->setChecked( false );

    groupBox5Layout->addWidget( xrma, 2, 0 );

    line4 = new TQFrame( groupBox5, "line4" );
    line4->setFrameShape( TQFrame::HLine );
    line4->setFrameShadow( TQFrame::Sunken );
    line4->setFrameShape( TQFrame::HLine );

    groupBox5Layout->addMultiCellWidget( line4, 1, 1, 0, 1 );

    textLabel1_10 = new TQLabel( groupBox5, "textLabel1_10" );

    groupBox5Layout->addWidget( textLabel1_10, 3, 0 );

    textLabel1_12 = new TQLabel( groupBox5, "textLabel1_12" );

    groupBox5Layout->addWidget( textLabel1_12, 4, 0 );

    SleftRes = new TQSpinBox( groupBox5, "SleftRes" );
    SleftRes->setMaxValue( 32768 );
    SleftRes->setMinValue( 0 );
    SleftRes->setValue( 1 );

    groupBox5Layout->addWidget( SleftRes, 3, 1 );

    SHeight = new TQSpinBox( groupBox5, "SHeight" );
    SHeight->setMaxValue( 32767 );
    SHeight->setMinValue( 200 );

    groupBox5Layout->addWidget( SHeight, 4, 1 );

    PWidth = new TQSpinBox( groupBox5, "PWidth" );
    PWidth->setMaxValue( 32768 );

    groupBox5Layout->addWidget( PWidth, 5, 1 );

    textLabel2_4 = new TQLabel( groupBox5, "textLabel2_4" );

    groupBox5Layout->addWidget( textLabel2_4, 5, 0 );

    textLabel2_5 = new TQLabel( groupBox5, "textLabel2_5" );

    groupBox5Layout->addWidget( textLabel2_5, 6, 0 );

    buttonGroup2 = new TQButtonGroup( groupBox5, "buttonGroup2" );
    buttonGroup2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, buttonGroup2->sizePolicy().hasHeightForWidth() ) );
    buttonGroup2->setFrameShape( TQButtonGroup::GroupBoxPanel );
    buttonGroup2->setColumnLayout(0, TQt::Vertical );
    buttonGroup2->layout()->setSpacing( 6 );
    buttonGroup2->layout()->setMargin( 11 );
    buttonGroup2Layout = new TQGridLayout( buttonGroup2->layout() );
    buttonGroup2Layout->setAlignment( TQt::AlignTop );
    spacer3 = new TQSpacerItem( 31, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    buttonGroup2Layout->addItem( spacer3, 0, 2 );

    op3 = new TQRadioButton( buttonGroup2, "op3" );
    op3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, op3->sizePolicy().hasHeightForWidth() ) );
    op3->setAutoMask( false );

    buttonGroup2Layout->addWidget( op3, 1, 0 );

    op1 = new TQRadioButton( buttonGroup2, "op1" );
    op1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, op1->sizePolicy().hasHeightForWidth() ) );
    op1->setAutoMask( false );

    buttonGroup2Layout->addWidget( op1, 1, 2 );
    spacer6 = new TQSpacerItem( 41, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    buttonGroup2Layout->addItem( spacer6, 1, 1 );
    spacer5 = new TQSpacerItem( 21, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    buttonGroup2Layout->addItem( spacer5, 2, 2 );

    op2 = new TQRadioButton( buttonGroup2, "op2" );
    op2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, op2->sizePolicy().hasHeightForWidth() ) );
    op2->setAutoMask( false );

    buttonGroup2Layout->addWidget( op2, 0, 1 );

    op0 = new TQRadioButton( buttonGroup2, "op0" );
    op0->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, op0->sizePolicy().hasHeightForWidth() ) );
    op0->setAutoMask( false );

    buttonGroup2Layout->addWidget( op0, 2, 1 );
    spacer2 = new TQSpacerItem( 31, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    buttonGroup2Layout->addItem( spacer2, 0, 0 );
    spacer4 = new TQSpacerItem( 21, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    buttonGroup2Layout->addItem( spacer4, 2, 0 );

    groupBox5Layout->addWidget( buttonGroup2, 6, 1 );

    TabPageLayout_6->addWidget( groupBox5, 0, 0 );
    tabWidget->insertTab( TabPage_6, TQString::fromLatin1("") );

    TabPage_7 = new TQWidget( tabWidget, "TabPage_7" );
    TabPageLayout_7 = new TQGridLayout( TabPage_7, 1, 1, 11, 6, "TabPageLayout_7"); 

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

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

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

    Priority = new TQSpinBox( groupBox7, "Priority" );
    Priority->setMaxValue( 19 );
    Priority->setMinValue( 0 );
    Priority->setValue( 5 );

    groupBox7Layout->addWidget( Priority, 0, 1 );

    TabPageLayout_7->addWidget( groupBox7, 0, 0 );

    groupBox8 = new TQGroupBox( TabPage_7, "groupBox8" );
    groupBox8->setColumnLayout(0, TQt::Vertical );
    groupBox8->layout()->setSpacing( 6 );
    groupBox8->layout()->setMargin( 11 );
    groupBox8Layout = new TQGridLayout( groupBox8->layout() );
    groupBox8Layout->setAlignment( TQt::AlignTop );

    chClipping = new TQCheckBox( groupBox8, "chClipping" );

    groupBox8Layout->addWidget( chClipping, 0, 0 );

    chClipIcons = new TQCheckBox( groupBox8, "chClipIcons" );

    groupBox8Layout->addWidget( chClipIcons, 1, 0 );

    TabPageLayout_7->addWidget( groupBox8, 1, 0 );

    groupBox6_2 = new TQGroupBox( TabPage_7, "groupBox6_2" );
    groupBox6_2->setColumnLayout(0, TQt::Vertical );
    groupBox6_2->layout()->setSpacing( 6 );
    groupBox6_2->layout()->setMargin( 11 );
    groupBox6_2Layout = new TQGridLayout( groupBox6_2->layout() );
    groupBox6_2Layout->setAlignment( TQt::AlignTop );

    sejtanwodbycie = new TQLabel( groupBox6_2, "sejtanwodbycie" );

    groupBox6_2Layout->addWidget( sejtanwodbycie, 0, 0 );

    zoomSpeed = new TQSpinBox( groupBox6_2, "zoomSpeed" );
    zoomSpeed->setWrapping( false );
    zoomSpeed->setButtonSymbols( TQSpinBox::UpDownArrows );
    zoomSpeed->setMaxValue( 1000 );
    zoomSpeed->setMinValue( 1 );
    zoomSpeed->setValue( 100 );

    groupBox6_2Layout->addWidget( zoomSpeed, 0, 1 );

    textLabel1_6_2 = new TQLabel( groupBox6_2, "textLabel1_6_2" );

    groupBox6_2Layout->addWidget( textLabel1_6_2, 1, 0 );

    hideTimer = new TQSpinBox( groupBox6_2, "hideTimer" );
    hideTimer->setMaxValue( 5000 );

    groupBox6_2Layout->addWidget( hideTimer, 1, 1 );

    chkSpeed = new TQCheckBox( groupBox6_2, "chkSpeed" );

    groupBox6_2Layout->addWidget( chkSpeed, 2, 0 );

    TabPageLayout_7->addWidget( groupBox6_2, 2, 0 );
    tabWidget->insertTab( TabPage_7, TQString::fromLatin1("") );

    SetupDialogLayout->addMultiCellWidget( tabWidget, 0, 0, 0, 3 );
    spacer1 = new TQSpacerItem( 300, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    SetupDialogLayout->addItem( spacer1, 1, 1 );

    btnApply = new TQPushButton( this, "btnApply" );
    btnApply->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnApply->sizePolicy().hasHeightForWidth() ) );

    SetupDialogLayout->addWidget( btnApply, 1, 0 );
    languageChange();
    resize( TQSize(545, 475).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( applist, TQ_SIGNAL( dropped(TQDropEvent*,const TQValueList<TQIconDragItem>&) ), this, TQ_SLOT( applist_dropped(TQDropEvent*,const TQValueList<TQIconDragItem>&) ) );
    connect( buttonadd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( buttonadd_clicked() ) );
    connect( buttonOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( configOK() ) );
    connect( buttonCancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( configCancel() ) );
    connect( grabWin, TQ_SIGNAL( clicked() ), this, TQ_SLOT( grabWin_clicked() ) );
    connect( applist, TQ_SIGNAL( contextMenuRequested(TQIconViewItem*,const TQPoint&) ), this, TQ_SLOT( applist_contextMenuRequested(TQIconViewItem*,const TQPoint&) ) );
    connect( mLeft, TQ_SIGNAL( clicked() ), this, TQ_SLOT( left() ) );
    connect( mRight, TQ_SIGNAL( clicked() ), this, TQ_SLOT( right() ) );
    connect( applist, TQ_SIGNAL( clicked(TQIconViewItem*,const TQPoint&) ), this, TQ_SLOT( applist_clicked(TQIconViewItem*,const TQPoint&) ) );
    connect( xrma, TQ_SIGNAL( clicked() ), this, TQ_SLOT( xrma_clicked() ) );
    connect( chk1, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( chkHidden() ) );
    connect( chk5, TQ_SIGNAL( clicked() ), this, TQ_SLOT( chkTask() ) );
    connect( btnApply, TQ_SIGNAL( clicked() ), this, TQ_SLOT( configApply() ) );
    connect( cbMinimizedOnly, TQ_SIGNAL( clicked() ), this, TQ_SLOT( iconsChanged() ) );
    connect( currentDesk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( iconsChanged() ) );
    connect( chk6, TQ_SIGNAL( clicked() ), this, TQ_SLOT( iconsChanged() ) );
    connect( chk7, TQ_SIGNAL( clicked() ), this, TQ_SLOT( iconsChanged() ) );
    connect( iwSmall, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( iconsChanged() ) );
    connect( iwBig, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( iconsChanged() ) );
    connect( ignoreBox, TQ_SIGNAL( changed() ), this, TQ_SLOT( iconsChanged() ) );
    connect( chkUseKBFX, TQ_SIGNAL( clicked() ), this, TQ_SLOT( iconsChanged() ) );
    connect( chkGrouping, TQ_SIGNAL( clicked() ), this, TQ_SLOT( iconsChanged() ) );
    connect( chkImg, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( chkImgSlot() ) );
    connect( chkSolid, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( chkSolidSlot() ) );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void SetupDialog::languageChange()
{
    setCaption( tr2i18n( "KoolDock Configuration" ) );
    TQToolTip::add( this, TQString::null );
    TQWhatsThis::add( this, TQString::null );
    buttonCancel->setText( tr2i18n( "&Cancel" ) );
    buttonOk->setText( tr2i18n( "&OK" ) );
    toReloadIcons->setText( tr2i18n( "checkBox11" ) );
    systray->setText( tr2i18n( "Enable System Tray (Experimental!)" ) );
    TQToolTip::add( systray, tr2i18n( "Enables KoolDock System Tray Support; it can be used instead of kicker's systray applet (its VERY experimental; do not use it unless you intend to help me get this working :P )" ) );
    groupBox3->setTitle( tr2i18n( "General options:" ) );
    chk1->setText( tr2i18n( "Autohide" ) );
    TQToolTip::add( chk1, tr2i18n( "Start KoolDock hidden; if the mouse is not over KoolDock it will hide" ) );
    chk5->setText( tr2i18n( "Enable Taskbar" ) );
    TQToolTip::add( chk5, tr2i18n( "Enables KoolDock taskbar; it can be used instead of Kicker's taskbar" ) );
    chk6->setText( tr2i18n( "Enable Taskbar notification" ) );
    TQToolTip::add( chk6, tr2i18n( "Window icon in KoolDock's taskbar will blink when something happens on the given application" ) );
    chkGrouping->setText( tr2i18n( "Similar windows grouping" ) );
    TQToolTip::add( chkGrouping, tr2i18n( "Enables grouping similar task icons into one icon." ) );
    chk7->setText( tr2i18n( "Show K Menu" ) );
    TQToolTip::add( chk7, tr2i18n( "Shows the TDE Menu in KoolDock's launcher." ) );
    Steppy->setText( tr2i18n( "Don't scroll while mouse is on the same icon" ) );
    TQToolTip::add( Steppy, tr2i18n( "Makes the scrolling not smooth, but automatically centered on current icon." ) );
    nav->setText( tr2i18n( "Navigation Menu" ) );
    TQToolTip::add( nav, tr2i18n( "Adds a clock into the Main Menu and a virtual desktop navigator." ) );
    chkUseKBFX->setText( tr2i18n( "Use KBFX" ) );
    TQToolTip::add( chkUseKBFX, tr2i18n( "Makes that KoolDock don't use KMenu, but uses alternative KBFX menu (widget is necessary)." ) );
    cbMinimizedOnly->setText( tr2i18n( "Show only minimized" ) );
    TQToolTip::add( cbMinimizedOnly, tr2i18n( "That makes kooldock shows only the minimized application icons, and hides the other." ) );
    chkSshot->setText( tr2i18n( "Screenshot of minimized windows" ) );
    TQToolTip::add( chkSshot, tr2i18n( "When a window is minimized a screenshot of the application will be use as an icon in KoolDock's Taskbar." ) );
    currentDesk->setText( tr2i18n( "Only Manage Current Desktop" ) );
    TQToolTip::add( currentDesk, tr2i18n( "Only show in KoolDock's taskbar windows in the current desktop" ) );
    hideOnClick->setText( tr2i18n( "Hide on click" ) );
    TQToolTip::add( hideOnClick, tr2i18n( "Hide KoolDock after clicking on a Launcher or Window icon." ) );
    cbStayBelow->setText( tr2i18n( "Stay below windows when not used" ) );
    TQToolTip::add( cbStayBelow, tr2i18n( "Sends KoolDock before other windows, when it's collapsed." ) );
    tabWidget->changeTab( Widget2, tr2i18n( "General" ) );
    groupBox10->setTitle( tr2i18n( "Icon text" ) );
    textLabel1_4->setText( tr2i18n( "Text font:" ) );
    textLabel1_2->setText( tr2i18n( "Shadow offset:" ) );
    textLabel1->setText( tr2i18n( "Text color:" ) );
    textLabel1_2_2->setText( tr2i18n( "Font size:" ) );
    textLabel1_8->setText( tr2i18n( "Shadow color:" ) );
    cbCleaner->setText( tr2i18n( "Cleaner text (bigger memory and CPU usage)" ) );
    xosdBold->setText( tr2i18n( "Bold" ) );
    chk2->setText( tr2i18n( "Show text over icons" ) );
    TQToolTip::add( chk2, tr2i18n( "Moving the mouse over KoolDock's launcher or TaskBar will show the window/launcher name on the screen" ) );
    xosdItalic->setText( tr2i18n( "Italic" ) );
    tabWidget->changeTab( TabPage, tr2i18n( "Icon text" ) );
    groupBox9->setTitle( tr2i18n( "Sizes" ) );
    textLabel2->setText( tr2i18n( "Small icon size:" ) );
    textLabel2_2->setText( tr2i18n( "Big icon size:" ) );
    textLabel1_13->setText( tr2i18n( "Amount of big icons:" ) );
    TQToolTip::add( fAmount, tr2i18n( "This box determines amout of zoomed icons." ) );
    textLabel1_6->setText( tr2i18n( "Space between icons" ) );
    tabWidget->changeTab( TabPage_2, tr2i18n( "Sizes" ) );
    textLabel1_3->setText( tr2i18n( "Drag an application to add it or" ) );
    buttonadd->setText( tr2i18n( "Manually &add Application" ) );
    TQToolTip::add( buttonadd, tr2i18n( "Click here to manually add an application to the Launcher" ) );
    TQToolTip::add( applist, tr2i18n( "Drag and Drop here any executable or desktop file for which you want an entry in KoolDock's Launcher" ) );
    mLeft->setText( tr2i18n( "Move Left" ) );
    TQToolTip::add( mLeft, tr2i18n( "Moves selected item left" ) );
    mRight->setText( tr2i18n( "Move Right" ) );
    TQToolTip::add( mRight, tr2i18n( "Moves selected item right" ) );
    textLabel1_5->setText( tr2i18n( "Right click opens the icon menu." ) );
    tabWidget->changeTab( TabPage_3, tr2i18n( "Application List" ) );
    grabWin->setText( tr2i18n( "Grab Window" ) );
    TQToolTip::add( grabWin, tr2i18n( "Click here to start grabbing windows names; click Add for each window you click on" ) );
    textLabel1_7->setText( tr2i18n( "Click \"Grab Window\" and click over a Window, then click \"Add\" to append it to\n"
"the ignore list; you may also manually type or edit the window's name in the\n"
"box below. To stop grabbing just click \"Grabbing...\", \"Ok\" or \"Cancel\"." ) );
    ignoreBox->setTitle( TQString::null );
    TQToolTip::add( ignoreBox, TQString::null );
    tabWidget->changeTab( TabPage_4, tr2i18n( "Ignore list" ) );
    chkSolid->setTitle( tr2i18n( "Solid Background:" ) );
    textLabel1_3_2_2->setText( tr2i18n( "Border color:" ) );
    textLabel1_3_3->setText( tr2i18n( "Dock opacity:" ) );
    textLabel1_3_2->setText( tr2i18n( "Background color:" ) );
    chk4->setText( tr2i18n( "Show borders" ) );
    TQToolTip::add( chk4, tr2i18n( "When using a Solid Background you may tell KoolDock to draw its borders (rectangle)" ) );
    spinBox1->setSpecialValueText( TQString::null );
    TQToolTip::add( spinBox1, tr2i18n( "Solid background level of transparency (0 means fully transparent)" ) );
    groupBox6->setTitle( tr2i18n( "TaskBar Separator" ) );
    TQToolTip::add( kColorCombo4, tr2i18n( "The separator is a line drawed between KoolDock's Launcher and Taskbar" ) );
    textLabel1_3_2_2_2->setText( tr2i18n( "Separator color:" ) );
    chkImg->setTitle( tr2i18n( "Background Theme:" ) );
    nWideBg->setText( tr2i18n( "Don't allow wider background than screen" ) );
    TQToolTip::add( nWideBg, tr2i18n( "Mkaes that the background ends don't go over the screen edges." ) );
    textLabel1_9->setText( tr2i18n( "Background Theme:" ) );
    buttonGroup2_2->setTitle( TQString::null );
    opScale1->setText( tr2i18n( "Corner scale: free" ) );
    opScale2->setText( tr2i18n( "Corner scale: min" ) );
    tabWidget->changeTab( TabPage_5, tr2i18n( "Background" ) );
    groupBox5->setTitle( tr2i18n( "Window placement" ) );
    textLabel1_11->setText( tr2i18n( "Window position on edge (%):" ) );
    TQToolTip::add( percentPos, tr2i18n( "Determines the position of expanded KoolDock's window on the selected screen edge." ) );
    xrma->setText( tr2i18n( "Xinerama Support" ) );
    TQToolTip::add( xrma, tr2i18n( "If you are using xinerama you should enable this option for proper behaviour." ) );
    textLabel1_10->setText( tr2i18n( "Desired Monitor Width" ) );
    textLabel1_12->setText( tr2i18n( "Desired Monitor Height" ) );
    TQToolTip::add( SleftRes, tr2i18n( "Width of monitor on which KoolDock should be shown." ) );
    TQToolTip::add( SHeight, tr2i18n( "Height of monitor on which kooldock should be shown." ) );
    TQToolTip::add( PWidth, tr2i18n( "Sum of widths of monitors before the desired one." ) );
    textLabel2_4->setText( tr2i18n( "Previous Monitors Width" ) );
    textLabel2_5->setText( tr2i18n( "Window position:" ) );
    buttonGroup2->setTitle( TQString::null );
    op3->setText( tr2i18n( "Left" ) );
    TQToolTip::add( op3, tr2i18n( "Makes that KoolDock's window will appear on left screen edge." ) );
    op1->setText( tr2i18n( "Right" ) );
    TQToolTip::add( op1, tr2i18n( "Makes that KoolDock's window will appear on right screen edge." ) );
    op2->setText( tr2i18n( "Top" ) );
    TQToolTip::add( op2, tr2i18n( "Makes that KoolDock's window will appear on top screen edge." ) );
    op0->setText( tr2i18n( "Bottom" ) );
    TQToolTip::add( op0, tr2i18n( "Makes that KoolDock's window will appear on bottom screen edge." ) );
    tabWidget->changeTab( TabPage_6, tr2i18n( "Placement" ) );
    groupBox7->setTitle( tr2i18n( "CPU" ) );
    textLabel2_3->setText( tr2i18n( "Priority (0=max, 19=min)" ) );
    groupBox8->setTitle( tr2i18n( "Desktop clipping" ) );
    chClipping->setText( tr2i18n( "Clip desktop workspace" ) );
    TQToolTip::add( chClipping, tr2i18n( "Makes desktop smaller that maximized windows don't cover KoolDock's window." ) );
    chClipIcons->setText( tr2i18n( "Clip icon area (DCOP)" ) );
    TQToolTip::add( chClipIcons, tr2i18n( "Makes TDE desktop smaller, that KoolDock's window don't cover the icons." ) );
    groupBox6_2->setTitle( tr2i18n( "Speed" ) );
    sejtanwodbycie->setText( tr2i18n( "Zooming speed (ms)" ) );
    zoomSpeed->setPrefix( TQString::null );
    zoomSpeed->setSuffix( TQString::null );
    zoomSpeed->setSpecialValueText( TQString::null );
    TQToolTip::add( zoomSpeed, tr2i18n( "Determines the speen of zooming animation" ) );
    textLabel1_6_2->setText( tr2i18n( "Show after" ) );
    hideTimer->setSuffix( tr2i18n( "msec" ) );
    TQToolTip::add( hideTimer, tr2i18n( "Time before showing KoolDock if mouse reaches bottom of the screen" ) );
    chkSpeed->setText( tr2i18n( "Speed control" ) );
    TQToolTip::add( chkSpeed, TQString::null );
    tabWidget->changeTab( TabPage_7, tr2i18n( "Other" ) );
    btnApply->setText( tr2i18n( "Apply" ) );
}

void SetupDialog::configOK()
{
    tqWarning( "SetupDialog::configOK(): Not implemented yet" );
}

void SetupDialog::configCancel()
{
    tqWarning( "SetupDialog::configCancel(): Not implemented yet" );
}

void SetupDialog::chooseFont()
{
    tqWarning( "SetupDialog::chooseFont(): Not implemented yet" );
}

void SetupDialog::SelectLeftClicked()
{
    tqWarning( "SetupDialog::SelectLeftClicked(): Not implemented yet" );
}

void SetupDialog::SelectCenterClicked()
{
    tqWarning( "SetupDialog::SelectCenterClicked(): Not implemented yet" );
}

void SetupDialog::SelectRightClicked()
{
    tqWarning( "SetupDialog::SelectRightClicked(): Not implemented yet" );
}

void SetupDialog::applist_dropped(TQDropEvent*,const TQValueList<TQIconDragItem>&)
{
    tqWarning( "SetupDialog::applist_dropped(TQDropEvent*,const TQValueList<TQIconDragItem>&): Not implemented yet" );
}

void SetupDialog::applist_clicked(TQIconViewItem*,const TQPoint&)
{
    tqWarning( "SetupDialog::applist_clicked(TQIconViewItem*,const TQPoint&): Not implemented yet" );
}

void SetupDialog::buttonadd_clicked()
{
    tqWarning( "SetupDialog::buttonadd_clicked(): Not implemented yet" );
}

void SetupDialog::chk1_toggled(bool)
{
    tqWarning( "SetupDialog::chk1_toggled(bool): Not implemented yet" );
}

void SetupDialog::chkHidden(bool)
{
    tqWarning( "SetupDialog::chkHidden(bool): Not implemented yet" );
}

void SetupDialog::chkHidden()
{
    tqWarning( "SetupDialog::chkHidden(): Not implemented yet" );
}

void SetupDialog::buttonDefault_clicked()
{
    tqWarning( "SetupDialog::buttonDefault_clicked(): Not implemented yet" );
}

void SetupDialog::configDefault()
{
    tqWarning( "SetupDialog::configDefault(): Not implemented yet" );
}

void SetupDialog::chkFont()
{
    tqWarning( "SetupDialog::chkFont(): Not implemented yet" );
}

void SetupDialog::chkTask()
{
    tqWarning( "SetupDialog::chkTask(): Not implemented yet" );
}

void SetupDialog::grabWin_clicked()
{
    tqWarning( "SetupDialog::grabWin_clicked(): Not implemented yet" );
}

void SetupDialog::applist_contextMenuRequested(TQIconViewItem*,const TQPoint&)
{
    tqWarning( "SetupDialog::applist_contextMenuRequested(TQIconViewItem*,const TQPoint&): Not implemented yet" );
}

void SetupDialog::xrma_clicked()
{
    tqWarning( "SetupDialog::xrma_clicked(): Not implemented yet" );
}

void SetupDialog::groupBox7_destroyed(TQObject*)
{
    tqWarning( "SetupDialog::groupBox7_destroyed(TQObject*): Not implemented yet" );
}

void SetupDialog::left()
{
    tqWarning( "SetupDialog::left(): Not implemented yet" );
}

void SetupDialog::right()
{
    tqWarning( "SetupDialog::right(): Not implemented yet" );
}

void SetupDialog::configApply()
{
    tqWarning( "SetupDialog::configApply(): Not implemented yet" );
}

void SetupDialog::iconsChanged()
{
    tqWarning( "SetupDialog::iconsChanged(): Not implemented yet" );
}

void SetupDialog::appClear()
{
    tqWarning( "SetupDialog::appClear(): Not implemented yet" );
}

void SetupDialog::appFill()
{
    tqWarning( "SetupDialog::appFill(): Not implemented yet" );
}

void SetupDialog::chkImgSlot()
{
    tqWarning( "SetupDialog::chkImgSlot(): Not implemented yet" );
}

void SetupDialog::chkSolidSlot()
{
    tqWarning( "SetupDialog::chkSolidSlot(): Not implemented yet" );
}

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

TQMetaObject *SetupDialog::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_SetupDialog( "SetupDialog", &SetupDialog::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* SetupDialog::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 = {"configOK", 0, 0 };
    static const TQUMethod slot_1 = {"configCancel", 0, 0 };
    static const TQUMethod slot_2 = {"chooseFont", 0, 0 };
    static const TQUMethod slot_3 = {"SelectLeftClicked", 0, 0 };
    static const TQUMethod slot_4 = {"SelectCenterClicked", 0, 0 };
    static const TQUMethod slot_5 = {"SelectRightClicked", 0, 0 };
    static const TQUParameter param_slot_6[] = {
	{ 0, &static_QUType_ptr, "TQDropEvent", TQUParameter::In },
	{ 0, &static_QUType_ptr, "TQValueList<TQIconDragItem>", TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"applist_dropped", 2, param_slot_6 };
    static const TQUParameter param_slot_7[] = {
	{ 0, &static_QUType_ptr, "TQIconViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"applist_clicked", 2, param_slot_7 };
    static const TQUMethod slot_8 = {"buttonadd_clicked", 0, 0 };
    static const TQUParameter param_slot_9[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_9 = {"chk1_toggled", 1, param_slot_9 };
    static const TQUParameter param_slot_10[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_10 = {"chkHidden", 1, param_slot_10 };
    static const TQUMethod slot_11 = {"chkHidden", 0, 0 };
    static const TQUMethod slot_12 = {"buttonDefault_clicked", 0, 0 };
    static const TQUMethod slot_13 = {"configDefault", 0, 0 };
    static const TQUMethod slot_14 = {"chkFont", 0, 0 };
    static const TQUMethod slot_15 = {"chkTask", 0, 0 };
    static const TQUMethod slot_16 = {"grabWin_clicked", 0, 0 };
    static const TQUParameter param_slot_17[] = {
	{ 0, &static_QUType_ptr, "TQIconViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod slot_17 = {"applist_contextMenuRequested", 2, param_slot_17 };
    static const TQUMethod slot_18 = {"xrma_clicked", 0, 0 };
    static const TQUParameter param_slot_19[] = {
	{ 0, &static_QUType_ptr, "TQObject", TQUParameter::In }
    };
    static const TQUMethod slot_19 = {"groupBox7_destroyed", 1, param_slot_19 };
    static const TQUMethod slot_20 = {"left", 0, 0 };
    static const TQUMethod slot_21 = {"right", 0, 0 };
    static const TQUMethod slot_22 = {"configApply", 0, 0 };
    static const TQUMethod slot_23 = {"iconsChanged", 0, 0 };
    static const TQUMethod slot_24 = {"appClear", 0, 0 };
    static const TQUMethod slot_25 = {"appFill", 0, 0 };
    static const TQUMethod slot_26 = {"chkImgSlot", 0, 0 };
    static const TQUMethod slot_27 = {"chkSolidSlot", 0, 0 };
    static const TQUMethod slot_28 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "configOK()", &slot_0, TQMetaData::Public },
	{ "configCancel()", &slot_1, TQMetaData::Public },
	{ "chooseFont()", &slot_2, TQMetaData::Public },
	{ "SelectLeftClicked()", &slot_3, TQMetaData::Public },
	{ "SelectCenterClicked()", &slot_4, TQMetaData::Public },
	{ "SelectRightClicked()", &slot_5, TQMetaData::Public },
	{ "applist_dropped(TQDropEvent*,const TQValueList<TQIconDragItem>&)", &slot_6, TQMetaData::Public },
	{ "applist_clicked(TQIconViewItem*,const TQPoint&)", &slot_7, TQMetaData::Public },
	{ "buttonadd_clicked()", &slot_8, TQMetaData::Public },
	{ "chk1_toggled(bool)", &slot_9, TQMetaData::Public },
	{ "chkHidden(bool)", &slot_10, TQMetaData::Public },
	{ "chkHidden()", &slot_11, TQMetaData::Public },
	{ "buttonDefault_clicked()", &slot_12, TQMetaData::Public },
	{ "configDefault()", &slot_13, TQMetaData::Public },
	{ "chkFont()", &slot_14, TQMetaData::Public },
	{ "chkTask()", &slot_15, TQMetaData::Public },
	{ "grabWin_clicked()", &slot_16, TQMetaData::Public },
	{ "applist_contextMenuRequested(TQIconViewItem*,const TQPoint&)", &slot_17, TQMetaData::Public },
	{ "xrma_clicked()", &slot_18, TQMetaData::Public },
	{ "groupBox7_destroyed(TQObject*)", &slot_19, TQMetaData::Public },
	{ "left()", &slot_20, TQMetaData::Public },
	{ "right()", &slot_21, TQMetaData::Public },
	{ "configApply()", &slot_22, TQMetaData::Public },
	{ "iconsChanged()", &slot_23, TQMetaData::Public },
	{ "appClear()", &slot_24, TQMetaData::Public },
	{ "appFill()", &slot_25, TQMetaData::Public },
	{ "chkImgSlot()", &slot_26, TQMetaData::Public },
	{ "chkSolidSlot()", &slot_27, TQMetaData::Public },
	{ "languageChange()", &slot_28, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"SetupDialog", parentObject,
	slot_tbl, 29,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_SetupDialog.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool SetupDialog::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: configOK(); break;
    case 1: configCancel(); break;
    case 2: chooseFont(); break;
    case 3: SelectLeftClicked(); break;
    case 4: SelectCenterClicked(); break;
    case 5: SelectRightClicked(); break;
    case 6: applist_dropped((TQDropEvent*)static_QUType_ptr.get(_o+1),(const TQValueList<TQIconDragItem>&)*((const TQValueList<TQIconDragItem>*)static_QUType_ptr.get(_o+2))); break;
    case 7: applist_clicked((TQIconViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2))); break;
    case 8: buttonadd_clicked(); break;
    case 9: chk1_toggled((bool)static_QUType_bool.get(_o+1)); break;
    case 10: chkHidden((bool)static_QUType_bool.get(_o+1)); break;
    case 11: chkHidden(); break;
    case 12: buttonDefault_clicked(); break;
    case 13: configDefault(); break;
    case 14: chkFont(); break;
    case 15: chkTask(); break;
    case 16: grabWin_clicked(); break;
    case 17: applist_contextMenuRequested((TQIconViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2))); break;
    case 18: xrma_clicked(); break;
    case 19: groupBox7_destroyed((TQObject*)static_QUType_ptr.get(_o+1)); break;
    case 20: left(); break;
    case 21: right(); break;
    case 22: configApply(); break;
    case 23: iconsChanged(); break;
    case 24: appClear(); break;
    case 25: appFill(); break;
    case 26: chkImgSlot(); break;
    case 27: chkSolidSlot(); break;
    case 28: languageChange(); break;
    default:
	return TQDialog::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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