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

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

#include "firesaversetup.h"

#include <ntqvariant.h>
#include <kcolorbutton.h>
#include <ntqpushbutton.h>
#include <ntqcombobox.h>
#include <ntqlabel.h>
#include <ntqtabwidget.h>
#include <ntqframe.h>
#include <ntqcheckbox.h>
#include <ntqslider.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include "firesaversetup.ui.h"

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

    useButton = new TQPushButton( this, "useButton" );

    KFireSaverSetupLayout->addWidget( useButton, 0, 2 );

    presetCombo = new TQComboBox( false, this, "presetCombo" );
    presetCombo->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, presetCombo->sizePolicy().hasHeightForWidth() ) );

    KFireSaverSetupLayout->addWidget( presetCombo, 0, 1 );

    presetLabel = new TQLabel( this, "presetLabel" );

    KFireSaverSetupLayout->addWidget( presetLabel, 0, 0 );
    spacer1 = new TQSpacerItem( 201, 31, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    KFireSaverSetupLayout->addItem( spacer1, 0, 3 );

    tabWidget = new TQTabWidget( this, "tabWidget" );
    tabWidget->setTabShape( TQTabWidget::Rounded );

    tab = new TQWidget( tabWidget, "tab" );
    tabLayout = new TQGridLayout( tab, 1, 1, 11, 6, "tabLayout"); 
    spacer162 = new TQSpacerItem( 30, 220, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout->addItem( spacer162, 1, 2 );
    spacer161 = new TQSpacerItem( 30, 210, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout->addItem( spacer161, 1, 0 );

    layout118 = new TQGridLayout( 0, 1, 1, 0, 6, "layout118"); 
    spacer162_2 = new TQSpacerItem( 43, 180, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout118->addItem( spacer162_2, 1, 2 );

    previewFrame = new TQFrame( tab, "previewFrame" );
    previewFrame->setMinimumSize( TQSize( 240, 180 ) );
    previewFrame->setMaximumSize( TQSize( 240, 180 ) );
    previewFrame->setFrameShape( TQFrame::StyledPanel );
    previewFrame->setFrameShadow( TQFrame::Sunken );
    previewFrameLayout = new TQGridLayout( previewFrame, 1, 1, 11, 6, "previewFrameLayout"); 

    previewLabel = new TQLabel( previewFrame, "previewLabel" );
    previewLabel->setEnabled( false );
    previewLabel->setAlignment( int( TQLabel::AlignCenter ) );

    previewFrameLayout->addWidget( previewLabel, 0, 0 );

    layout118->addWidget( previewFrame, 1, 1 );
    spacer161_2 = new TQSpacerItem( 30, 180, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout118->addItem( spacer161_2, 1, 0 );

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

    layout118->addMultiCellWidget( detachBox, 0, 0, 0, 2 );

    applyButton = new TQPushButton( tab, "applyButton" );

    layout118->addMultiCellWidget( applyButton, 2, 2, 0, 2 );

    tabLayout->addLayout( layout118, 1, 1 );
    tabWidget->insertTab( tab, TQString::fromLatin1("") );

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

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

    showLabel1 = new TQLabel( tab_2, "showLabel1" );
    showLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, showLabel1->sizePolicy().hasHeightForWidth() ) );
    layS1->addWidget( showLabel1 );

    showCombo = new TQComboBox( false, tab_2, "showCombo" );
    layS1->addWidget( showCombo );
    spacer25 = new TQSpacerItem( 260, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layS1->addItem( spacer25 );
    tabLayout_2->addLayout( layS1 );

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

    showLabel2 = new TQLabel( tab_2, "showLabel2" );
    layS2->addWidget( showLabel2 );

    showLabel3 = new TQLabel( tab_2, "showLabel3" );
    layS2->addWidget( showLabel3 );

    fireworksSlider = new TQSlider( tab_2, "fireworksSlider" );
    fireworksSlider->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, fireworksSlider->sizePolicy().hasHeightForWidth() ) );
    fireworksSlider->setMinValue( 0 );
    fireworksSlider->setMaxValue( 10 );
    fireworksSlider->setPageStep( 1 );
    fireworksSlider->setValue( 4 );
    fireworksSlider->setOrientation( TQSlider::Horizontal );
    layS2->addWidget( fireworksSlider );

    showLabel4 = new TQLabel( tab_2, "showLabel4" );
    layS2->addWidget( showLabel4 );
    spacer6_2 = new TQSpacerItem( 125, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layS2->addItem( spacer6_2 );
    tabLayout_2->addLayout( layS2 );

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

    particlesLabel1 = new TQLabel( tab_2, "particlesLabel1" );
    layS2_2->addWidget( particlesLabel1 );

    particlesLabel2 = new TQLabel( tab_2, "particlesLabel2" );
    layS2_2->addWidget( particlesLabel2 );

    particlesSlider = new TQSlider( tab_2, "particlesSlider" );
    particlesSlider->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, particlesSlider->sizePolicy().hasHeightForWidth() ) );
    particlesSlider->setMinValue( -5 );
    particlesSlider->setMaxValue( 5 );
    particlesSlider->setPageStep( 1 );
    particlesSlider->setOrientation( TQSlider::Horizontal );
    layS2_2->addWidget( particlesSlider );

    particlesLabel3 = new TQLabel( tab_2, "particlesLabel3" );
    layS2_2->addWidget( particlesLabel3 );
    spacer6_2_2 = new TQSpacerItem( 125, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layS2_2->addItem( spacer6_2_2 );
    tabLayout_2->addLayout( layS2_2 );

    bottomfireBox = new TQCheckBox( tab_2, "bottomfireBox" );
    bottomfireBox->setChecked( true );
    tabLayout_2->addWidget( bottomfireBox );

    layS3 = new TQHBoxLayout( 0, 0, 6, "layS3"); 
    spacer7 = new TQSpacerItem( 16, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    layS3->addItem( spacer7 );

    bottomfireLabel1 = new TQLabel( tab_2, "bottomfireLabel1" );
    layS3->addWidget( bottomfireLabel1 );

    bottomfireColorButton = new KColorButton( tab_2, "bottomfireColorButton" );
    layS3->addWidget( bottomfireColorButton );
    spacer4 = new TQSpacerItem( 309, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layS3->addItem( spacer4 );
    tabLayout_2->addLayout( layS3 );

    soundsBox = new TQCheckBox( tab_2, "soundsBox" );
    tabLayout_2->addWidget( soundsBox );

    overheadBox = new TQCheckBox( tab_2, "overheadBox" );
    tabLayout_2->addWidget( overheadBox );

    frameskipBox = new TQCheckBox( tab_2, "frameskipBox" );
    tabLayout_2->addWidget( frameskipBox );
    spacerT2 = new TQSpacerItem( 31, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout_2->addItem( spacerT2 );
    tabWidget->insertTab( tab_2, TQString::fromLatin1("") );

    TabPage = new TQWidget( tabWidget, "TabPage" );
    TabPageLayout = new TQGridLayout( TabPage, 1, 1, 11, 6, "TabPageLayout"); 
    spacerT3 = new TQSpacerItem( 21, 0, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    TabPageLayout->addItem( spacerT3, 4, 0 );

    layF2 = new TQGridLayout( 0, 1, 1, 0, 6, "layF2"); 

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

    layF2->addWidget( whiteBox, 0, 1 );

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

    layF2->addWidget( purpleBox, 3, 1 );

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

    layF2->addWidget( seagreenBox, 2, 1 );

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

    layF2->addWidget( redBox, 1, 2 );

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

    layF2->addWidget( combosBox, 3, 2 );

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

    layF2->addWidget( blueBox, 1, 1 );
    spacer7_2_5_2_2 = new TQSpacerItem( 16, 80, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    layF2->addMultiCell( spacer7_2_5_2_2, 0, 3, 0, 0 );

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

    layF2->addWidget( orangeBox, 0, 2 );

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

    layF2->addWidget( greenBox, 2, 2 );

    TabPageLayout->addLayout( layF2, 3, 0 );

    colorsLabel1 = new TQLabel( TabPage, "colorsLabel1" );

    TabPageLayout->addWidget( colorsLabel1, 2, 0 );

    fireworksLabel1 = new TQLabel( TabPage, "fireworksLabel1" );

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

    layF1 = new TQGridLayout( 0, 1, 1, 0, 6, "layF1"); 

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

    layF1->addWidget( fire3Box, 2, 1 );

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

    layF1->addWidget( fire6Box, 1, 2 );

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

    layF1->addWidget( fire5Box, 0, 2 );

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

    layF1->addWidget( fire1Box, 0, 1 );

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

    layF1->addWidget( fire2Box, 1, 1 );
    spacer7_2_5_2 = new TQSpacerItem( 16, 80, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    layF1->addMultiCell( spacer7_2_5_2, 0, 3, 0, 0 );

    fire8Box = new TQCheckBox( TabPage, "fire8Box" );
    fire8Box->setEnabled( false );
    fire8Box->setPaletteForegroundColor( TQColor( 255, 0, 0 ) );

    layF1->addWidget( fire8Box, 3, 2 );

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

    layF1->addWidget( fire7Box, 2, 2 );

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

    layF1->addWidget( fire4Box, 3, 1 );

    TabPageLayout->addLayout( layF1, 1, 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"); 
    spacerT4 = new TQSpacerItem( 41, 20, TQSizePolicy::Minimum, TQSizePolicy::MinimumExpanding );
    TabPageLayout_2->addItem( spacerT4, 5, 0 );

    logosBox = new TQCheckBox( TabPage_2, "logosBox" );
    logosBox->setChecked( true );

    TabPageLayout_2->addWidget( logosBox, 0, 0 );

    logosFrame = new TQFrame( TabPage_2, "logosFrame" );
    logosFrame->setFrameShape( TQFrame::NoFrame );
    logosFrame->setFrameShadow( TQFrame::Plain );
    logosFrameLayout = new TQGridLayout( logosFrame, 1, 1, 0, 6, "logosFrameLayout"); 
    spacer46 = new TQSpacerItem( 16, 70, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    logosFrameLayout->addMultiCell( spacer46, 0, 1, 0, 0 );

    layP1 = new TQGridLayout( 0, 1, 1, 0, 6, "layP1"); 

    logosIconsBox = new TQCheckBox( logosFrame, "logosIconsBox" );

    layP1->addWidget( logosIconsBox, 1, 0 );

    logosTuxBox = new TQCheckBox( logosFrame, "logosTuxBox" );
    logosTuxBox->setChecked( false );

    layP1->addWidget( logosTuxBox, 0, 1 );

    logosDetailBox = new TQCheckBox( logosFrame, "logosDetailBox" );

    layP1->addWidget( logosDetailBox, 1, 1 );

    logosKonquiBox = new TQCheckBox( logosFrame, "logosKonquiBox" );

    layP1->addWidget( logosKonquiBox, 0, 0 );

    logosFrameLayout->addLayout( layP1, 0, 1 );

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

    frequencyLabel = new TQLabel( logosFrame, "frequencyLabel" );
    layP2->addWidget( frequencyLabel );

    neverLabel = new TQLabel( logosFrame, "neverLabel" );
    layP2->addWidget( neverLabel );

    logosSlider = new TQSlider( logosFrame, "logosSlider" );
    logosSlider->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, logosSlider->sizePolicy().hasHeightForWidth() ) );
    logosSlider->setMaxValue( 10 );
    logosSlider->setPageStep( 1 );
    logosSlider->setValue( 5 );
    logosSlider->setOrientation( TQSlider::Horizontal );
    layP2->addWidget( logosSlider );

    oftenLabel = new TQLabel( logosFrame, "oftenLabel" );
    layP2->addWidget( oftenLabel );
    spacer18 = new TQSpacerItem( 91, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layP2->addItem( spacer18 );

    logosFrameLayout->addLayout( layP2, 1, 1 );

    TabPageLayout_2->addWidget( logosFrame, 1, 0 );

    starsFrame = new TQFrame( TabPage_2, "starsFrame" );
    starsFrame->setFrameShape( TQFrame::NoFrame );
    starsFrame->setFrameShadow( TQFrame::Raised );
    starsFrameLayout = new TQGridLayout( starsFrame, 1, 1, 0, 6, "starsFrameLayout"); 
    spacer7_2_5 = new TQSpacerItem( 16, 50, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    starsFrameLayout->addMultiCell( spacer7_2_5, 0, 1, 0, 0 );

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

    starsFlickerBox = new TQCheckBox( starsFrame, "starsFlickerBox" );
    layP3->addWidget( starsFlickerBox );

    starsGradientBox = new TQCheckBox( starsFrame, "starsGradientBox" );
    layP3->addWidget( starsGradientBox );

    starsFrameLayout->addLayout( layP3, 0, 1 );

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

    textLabel4_5 = new TQLabel( starsFrame, "textLabel4_5" );
    layP4->addWidget( textLabel4_5 );

    textLabel3_2_6 = new TQLabel( starsFrame, "textLabel3_2_6" );
    layP4->addWidget( textLabel3_2_6 );

    starsSlider = new TQSlider( starsFrame, "starsSlider" );
    starsSlider->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, starsSlider->sizePolicy().hasHeightForWidth() ) );
    starsSlider->setMaxValue( 10 );
    starsSlider->setPageStep( 1 );
    starsSlider->setValue( 5 );
    starsSlider->setOrientation( TQSlider::Horizontal );
    layP4->addWidget( starsSlider );

    textLabel3_2_2_5 = new TQLabel( starsFrame, "textLabel3_2_2_5" );
    layP4->addWidget( textLabel3_2_2_5 );
    spacer6_5 = new TQSpacerItem( 149, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layP4->addItem( spacer6_5 );

    starsFrameLayout->addLayout( layP4, 1, 1 );

    TabPageLayout_2->addWidget( starsFrame, 3, 0 );

    starsBox = new TQCheckBox( TabPage_2, "starsBox" );
    starsBox->setChecked( true );

    TabPageLayout_2->addWidget( starsBox, 2, 0 );

    writingsBox = new TQCheckBox( TabPage_2, "writingsBox" );
    writingsBox->setChecked( true );

    TabPageLayout_2->addWidget( writingsBox, 4, 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"); 

    flashBox = new TQCheckBox( TabPage_3, "flashBox" );
    flashBox->setChecked( true );

    TabPageLayout_3->addWidget( flashBox, 1, 0 );

    layE2 = new TQHBoxLayout( 0, 0, 6, "layE2"); 
    spacer7_2_3 = new TQSpacerItem( 16, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    layE2->addItem( spacer7_2_3 );

    fadeLabel1 = new TQLabel( TabPage_3, "fadeLabel1" );
    layE2->addWidget( fadeLabel1 );

    fadeLabel2 = new TQLabel( TabPage_3, "fadeLabel2" );
    layE2->addWidget( fadeLabel2 );

    fadeSlider = new TQSlider( TabPage_3, "fadeSlider" );
    fadeSlider->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, fadeSlider->sizePolicy().hasHeightForWidth() ) );
    fadeSlider->setMaxValue( 9 );
    fadeSlider->setPageStep( 1 );
    fadeSlider->setValue( 3 );
    fadeSlider->setOrientation( TQSlider::Horizontal );
    layE2->addWidget( fadeSlider );

    fadeLabel3 = new TQLabel( TabPage_3, "fadeLabel3" );
    layE2->addWidget( fadeLabel3 );
    spacer6_3 = new TQSpacerItem( 131, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layE2->addItem( spacer6_3 );

    TabPageLayout_3->addLayout( layE2, 4, 0 );

    flaresBox = new TQCheckBox( TabPage_3, "flaresBox" );
    flaresBox->setChecked( true );

    TabPageLayout_3->addWidget( flaresBox, 5, 0 );

    layE3 = new TQHBoxLayout( 0, 0, 6, "layE3"); 
    spacer7_2_4 = new TQSpacerItem( 16, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    layE3->addItem( spacer7_2_4 );

    flaresLabel1 = new TQLabel( TabPage_3, "flaresLabel1" );
    layE3->addWidget( flaresLabel1 );

    flaresLabel2 = new TQLabel( TabPage_3, "flaresLabel2" );
    layE3->addWidget( flaresLabel2 );

    flaresSlider = new TQSlider( TabPage_3, "flaresSlider" );
    flaresSlider->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, flaresSlider->sizePolicy().hasHeightForWidth() ) );
    flaresSlider->setMaxValue( 10 );
    flaresSlider->setPageStep( 1 );
    flaresSlider->setValue( 5 );
    flaresSlider->setOrientation( TQSlider::Horizontal );
    layE3->addWidget( flaresSlider );

    flaresLabel3 = new TQLabel( TabPage_3, "flaresLabel3" );
    layE3->addWidget( flaresLabel3 );
    spacer6_4 = new TQSpacerItem( 117, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layE3->addItem( spacer6_4 );

    TabPageLayout_3->addLayout( layE3, 6, 0 );

    trailBox = new TQCheckBox( TabPage_3, "trailBox" );

    TabPageLayout_3->addWidget( trailBox, 7, 0 );

    layE1 = new TQHBoxLayout( 0, 0, 6, "layE1"); 
    spacer7_2 = new TQSpacerItem( 16, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    layE1->addItem( spacer7_2 );

    flashLabel1 = new TQLabel( TabPage_3, "flashLabel1" );
    layE1->addWidget( flashLabel1 );

    flashLabel2 = new TQLabel( TabPage_3, "flashLabel2" );
    layE1->addWidget( flashLabel2 );

    flashSlider = new TQSlider( TabPage_3, "flashSlider" );
    flashSlider->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, flashSlider->sizePolicy().hasHeightForWidth() ) );
    flashSlider->setMaxValue( 10 );
    flashSlider->setPageStep( 1 );
    flashSlider->setValue( 5 );
    flashSlider->setOrientation( TQSlider::Horizontal );
    layE1->addWidget( flashSlider );

    flashLabel3 = new TQLabel( TabPage_3, "flashLabel3" );
    layE1->addWidget( flashLabel3 );
    spacer6 = new TQSpacerItem( 110, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layE1->addItem( spacer6 );

    TabPageLayout_3->addLayout( layE1, 2, 0 );

    fadeBox = new TQCheckBox( TabPage_3, "fadeBox" );
    fadeBox->setChecked( true );

    TabPageLayout_3->addWidget( fadeBox, 3, 0 );

    lightBox = new TQCheckBox( TabPage_3, "lightBox" );

    TabPageLayout_3->addWidget( lightBox, 0, 0 );
    spacerT5 = new TQSpacerItem( 31, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    TabPageLayout_3->addItem( spacerT5, 8, 0 );
    tabWidget->insertTab( TabPage_3, TQString::fromLatin1("") );

    KFireSaverSetupLayout->addMultiCellWidget( tabWidget, 1, 1, 0, 3 );
    languageChange();
    resize( TQSize(375, 344).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( logosBox, TQ_SIGNAL( toggled(bool) ), logosFrame, TQ_SLOT( setEnabled(bool) ) );
    connect( starsBox, TQ_SIGNAL( toggled(bool) ), starsFrame, TQ_SLOT( setEnabled(bool) ) );
    connect( bottomfireBox, TQ_SIGNAL( toggled(bool) ), bottomfireLabel1, TQ_SLOT( setEnabled(bool) ) );
    connect( bottomfireBox, TQ_SIGNAL( toggled(bool) ), bottomfireColorButton, TQ_SLOT( setEnabled(bool) ) );
    connect( flashBox, TQ_SIGNAL( toggled(bool) ), flashLabel1, TQ_SLOT( setEnabled(bool) ) );
    connect( flashBox, TQ_SIGNAL( toggled(bool) ), flashLabel2, TQ_SLOT( setEnabled(bool) ) );
    connect( flashBox, TQ_SIGNAL( toggled(bool) ), flashLabel3, TQ_SLOT( setEnabled(bool) ) );
    connect( flashBox, TQ_SIGNAL( toggled(bool) ), flashSlider, TQ_SLOT( setEnabled(bool) ) );
    connect( fadeBox, TQ_SIGNAL( toggled(bool) ), fadeLabel1, TQ_SLOT( setEnabled(bool) ) );
    connect( fadeBox, TQ_SIGNAL( toggled(bool) ), fadeLabel2, TQ_SLOT( setEnabled(bool) ) );
    connect( fadeBox, TQ_SIGNAL( toggled(bool) ), fadeLabel3, TQ_SLOT( setEnabled(bool) ) );
    connect( fadeBox, TQ_SIGNAL( toggled(bool) ), fadeSlider, TQ_SLOT( setEnabled(bool) ) );
    connect( flaresBox, TQ_SIGNAL( toggled(bool) ), flaresLabel1, TQ_SLOT( setEnabled(bool) ) );
    connect( flaresBox, TQ_SIGNAL( toggled(bool) ), flaresLabel2, TQ_SLOT( setEnabled(bool) ) );
    connect( flaresBox, TQ_SIGNAL( toggled(bool) ), flaresLabel3, TQ_SLOT( setEnabled(bool) ) );
    connect( flaresBox, TQ_SIGNAL( toggled(bool) ), flaresSlider, TQ_SLOT( setEnabled(bool) ) );
    connect( useButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( useButton_clicked() ) );
    connect( applyButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( applyButton_clicked() ) );
    connect( detachBox, TQ_SIGNAL( clicked() ), this, TQ_SLOT( updatePreview() ) );

    // tab order
    setTabOrder( presetCombo, useButton );
    setTabOrder( useButton, tabWidget );
    setTabOrder( tabWidget, showCombo );
    setTabOrder( showCombo, fireworksSlider );
    setTabOrder( fireworksSlider, particlesSlider );
    setTabOrder( particlesSlider, bottomfireBox );
    setTabOrder( bottomfireBox, bottomfireColorButton );
    setTabOrder( bottomfireColorButton, soundsBox );
    setTabOrder( soundsBox, overheadBox );
    setTabOrder( overheadBox, frameskipBox );
    setTabOrder( frameskipBox, fire1Box );
    setTabOrder( fire1Box, fire2Box );
    setTabOrder( fire2Box, fire3Box );
    setTabOrder( fire3Box, fire4Box );
    setTabOrder( fire4Box, fire5Box );
    setTabOrder( fire5Box, fire6Box );
    setTabOrder( fire6Box, fire7Box );
    setTabOrder( fire7Box, fire8Box );
    setTabOrder( fire8Box, whiteBox );
    setTabOrder( whiteBox, blueBox );
    setTabOrder( blueBox, seagreenBox );
    setTabOrder( seagreenBox, purpleBox );
    setTabOrder( purpleBox, orangeBox );
    setTabOrder( orangeBox, redBox );
    setTabOrder( redBox, greenBox );
    setTabOrder( greenBox, combosBox );
    setTabOrder( combosBox, logosBox );
    setTabOrder( logosBox, logosKonquiBox );
    setTabOrder( logosKonquiBox, logosTuxBox );
    setTabOrder( logosTuxBox, logosIconsBox );
    setTabOrder( logosIconsBox, logosDetailBox );
    setTabOrder( logosDetailBox, logosSlider );
    setTabOrder( logosSlider, starsBox );
    setTabOrder( starsBox, starsFlickerBox );
    setTabOrder( starsFlickerBox, starsGradientBox );
    setTabOrder( starsGradientBox, starsSlider );
    setTabOrder( starsSlider, lightBox );
    setTabOrder( lightBox, flashBox );
    setTabOrder( flashBox, flashSlider );
    setTabOrder( flashSlider, fadeBox );
    setTabOrder( fadeBox, fadeSlider );
    setTabOrder( fadeSlider, flaresBox );
    setTabOrder( flaresBox, flaresSlider );
    setTabOrder( flaresSlider, trailBox );
    init();
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void KFireSaverSetup::languageChange()
{
    setCaption( tr2i18n( "KFireSaver Setup" ) );
    useButton->setText( tr2i18n( "&Load" ) );
    presetCombo->clear();
    presetCombo->insertItem( tr2i18n( "TDE (default)" ) );
    presetCombo->insertItem( tr2i18n( "Elegant White" ) );
    presetCombo->insertItem( tr2i18n( "Quick Simple" ) );
    presetCombo->insertItem( tr2i18n( "Enhanced Reality" ) );
    presetCombo->insertItem( tr2i18n( "Hypnotic Illusions" ) );
    presetLabel->setText( tr2i18n( "Preset:" ) );
    TQToolTip::add( previewFrame, tr2i18n( "preview window" ) );
    TQWhatsThis::add( previewFrame, tr2i18n( "Here is the preview (if it is not detached)" ) );
    previewLabel->setText( tr2i18n( "P R E V I E W" ) );
    detachBox->setText( tr2i18n( "&Show in separate window" ) );
    applyButton->setText( tr2i18n( "&Apply && Update" ) );
    tabWidget->changeTab( tab, tr2i18n( "Preview" ) );
    showLabel1->setText( tr2i18n( "Show type:" ) );
    showCombo->clear();
    showCombo->insertItem( tr2i18n( "Simple Show" ) );
    showCombo->insertItem( tr2i18n( "Completely Random" ) );
    showCombo->insertItem( tr2i18n( "Only Change Color" ) );
    showCombo->insertItem( tr2i18n( "Only Change Fireworks" ) );
    showLabel2->setText( tr2i18n( "Number of fireworks:" ) );
    showLabel3->setText( tr2i18n( "few" ) );
    showLabel4->setText( tr2i18n( "more" ) );
    particlesLabel1->setText( tr2i18n( "Size of particles:" ) );
    particlesLabel2->setText( tr2i18n( "small" ) );
    particlesLabel3->setText( tr2i18n( "big" ) );
    bottomfireBox->setText( tr2i18n( "Use bottom fire" ) );
    bottomfireLabel1->setText( tr2i18n( "Color:" ) );
    bottomfireColorButton->setText( TQString::null );
    TQToolTip::add( bottomfireColorButton, tr2i18n( "Select the color" ) );
    soundsBox->setText( tr2i18n( "Enable sounds" ) );
    overheadBox->setText( tr2i18n( "Limit overload (recommended)" ) );
    frameskipBox->setText( tr2i18n( "Realtime fps adjust (recommended)" ) );
    tabWidget->changeTab( tab_2, tr2i18n( "Show" ) );
    whiteBox->setText( tr2i18n( "Blinding white" ) );
    purpleBox->setText( tr2i18n( "Velvet purple" ) );
    seagreenBox->setText( tr2i18n( "Deep-sea green" ) );
    redBox->setText( tr2i18n( "Deep red" ) );
    combosBox->setText( tr2i18n( "Multicolor" ) );
    TQToolTip::add( combosBox, tr2i18n( "try bi-color fireworks" ) );
    TQWhatsThis::add( combosBox, tr2i18n( "This allow a random creation of fireworks that explodes in 2 colors" ) );
    blueBox->setText( tr2i18n( "Boring blue" ) );
    orangeBox->setText( tr2i18n( "Hot orange" ) );
    greenBox->setText( tr2i18n( "Purest green" ) );
    colorsLabel1->setText( tr2i18n( "Colors" ) );
    fireworksLabel1->setText( tr2i18n( "Fireworks" ) );
    fire3Box->setText( tr2i18n( "Flames ring" ) );
    TQToolTip::add( fire3Box, tr2i18n( "try me" ) );
    fire6Box->setText( tr2i18n( "Atomic splitter" ) );
    TQToolTip::add( fire6Box, tr2i18n( "try me" ) );
    fire5Box->setText( tr2i18n( "Sparkling fall" ) );
    TQToolTip::add( fire5Box, tr2i18n( "try me" ) );
    fire1Box->setText( tr2i18n( "Classic" ) );
    TQToolTip::add( fire1Box, tr2i18n( "try me" ) );
    fire2Box->setText( tr2i18n( "Only explosion" ) );
    TQToolTip::add( fire2Box, tr2i18n( "try me" ) );
    fire8Box->setText( tr2i18n( "SuperNova" ) );
    TQToolTip::add( fire8Box, tr2i18n( "try me" ) );
    fire7Box->setText( tr2i18n( "Toxic spirals" ) );
    TQToolTip::add( fire7Box, tr2i18n( "try me" ) );
    fire4Box->setText( tr2i18n( "Flames world" ) );
    TQToolTip::add( fire4Box, tr2i18n( "try me" ) );
    tabWidget->changeTab( TabPage, tr2i18n( "Fireworks" ) );
    logosBox->setText( tr2i18n( "Logos" ) );
    TQToolTip::add( logosBox, tr2i18n( "Watch exploding images" ) );
    TQWhatsThis::add( logosBox, tr2i18n( "Enable images explosion." ) );
    logosIconsBox->setText( tr2i18n( "TDE icons" ) );
    TQToolTip::add( logosIconsBox, tr2i18n( "Enables TDE Icons" ) );
    TQWhatsThis::add( logosIconsBox, tr2i18n( "Enables random TDE Icons explosions." ) );
    logosTuxBox->setText( tr2i18n( "Tux" ) );
    TQToolTip::add( logosTuxBox, tr2i18n( "Enables Tux" ) );
    TQWhatsThis::add( logosTuxBox, tr2i18n( "Enables random Tux explosions." ) );
    logosDetailBox->setText( tr2i18n( "Reduce detail" ) );
    TQToolTip::add( logosDetailBox, tr2i18n( "useful for increasing speed" ) );
    TQWhatsThis::add( logosDetailBox, tr2i18n( "When enabled speeds up logo explosion but reduces quality." ) );
    logosKonquiBox->setText( tr2i18n( "Konqui" ) );
    TQToolTip::add( logosKonquiBox, tr2i18n( "Enables Konqui" ) );
    TQWhatsThis::add( logosKonquiBox, tr2i18n( "Enables random Konqui explosions." ) );
    frequencyLabel->setText( tr2i18n( "Frequency:" ) );
    neverLabel->setText( tr2i18n( "sometimes" ) );
    oftenLabel->setText( tr2i18n( "often" ) );
    starsFlickerBox->setText( tr2i18n( "Flickering" ) );
    TQToolTip::add( starsFlickerBox, tr2i18n( "enables a natural 'flicker' effect" ) );
    TQWhatsThis::add( starsFlickerBox, tr2i18n( "This option produces a sort of vibration in the lightness of the star." ) );
    starsGradientBox->setText( tr2i18n( "Red-blue gradient" ) );
    TQToolTip::add( starsGradientBox, tr2i18n( "emulate horizon coloring" ) );
    TQWhatsThis::add( starsGradientBox, tr2i18n( "Gives lower stars a reddish tint." ) );
    textLabel4_5->setText( tr2i18n( "Number:" ) );
    textLabel3_2_6->setText( tr2i18n( "less" ) );
    textLabel3_2_2_5->setText( tr2i18n( "more" ) );
    starsBox->setText( tr2i18n( "Stars" ) );
    TQToolTip::add( starsBox, tr2i18n( "Watch the stars" ) );
    TQWhatsThis::add( starsBox, tr2i18n( "Enable stars in the sky." ) );
    writingsBox->setText( tr2i18n( "Writings" ) );
    TQToolTip::add( writingsBox, tr2i18n( "Watch the stars" ) );
    TQWhatsThis::add( writingsBox, tr2i18n( "Enable stars in the sky." ) );
    tabWidget->changeTab( TabPage_2, tr2i18n( "Specials" ) );
    flashBox->setText( tr2i18n( "Flash screen on explosions" ) );
    fadeLabel1->setText( tr2i18n( "Intensity:" ) );
    fadeLabel2->setText( tr2i18n( "small" ) );
    fadeLabel3->setText( tr2i18n( "hypnotic" ) );
    flaresBox->setText( tr2i18n( "Mega flares" ) );
    flaresLabel1->setText( tr2i18n( "Dimension:" ) );
    flaresLabel2->setText( tr2i18n( "small" ) );
    flaresLabel3->setText( tr2i18n( "big" ) );
    trailBox->setText( tr2i18n( "Fireworks leave a particle trail" ) );
    TQToolTip::add( trailBox, tr2i18n( "not yet ported" ) );
    TQWhatsThis::add( trailBox, tr2i18n( "not yet ported" ) );
    flashLabel1->setText( tr2i18n( "Flash opacity:" ) );
    flashLabel2->setText( tr2i18n( "min" ) );
    flashLabel3->setText( tr2i18n( "max" ) );
    fadeBox->setText( tr2i18n( "Fade effect" ) );
    lightBox->setText( tr2i18n( "Spherical light after explosion" ) );
    TQToolTip::add( lightBox, tr2i18n( "warning, this can shock your mind :-)" ) );
    TQWhatsThis::add( lightBox, tr2i18n( "Multiplies the scale factor for particles near you, resulting in a colorful experience." ) );
    tabWidget->changeTab( TabPage_3, tr2i18n( "Effects" ) );
}

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

TQMetaObject *KFireSaverSetup::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_KFireSaverSetup( "KFireSaverSetup", &KFireSaverSetup::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* KFireSaverSetup::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = TQWidget::staticMetaObject();
    static const TQUMethod slot_0 = {"applyButton_clicked", 0, 0 };
    static const TQUMethod slot_1 = {"updatePreview", 0, 0 };
    static const TQUMethod slot_2 = {"writeConfig", 0, 0 };
    static const TQUMethod slot_3 = {"readConfig", 0, 0 };
    static const TQUMethod slot_4 = {"useButton_clicked", 0, 0 };
    static const TQUMethod slot_5 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "applyButton_clicked()", &slot_0, TQMetaData::Public },
	{ "updatePreview()", &slot_1, TQMetaData::Public },
	{ "writeConfig()", &slot_2, TQMetaData::Public },
	{ "readConfig()", &slot_3, TQMetaData::Public },
	{ "useButton_clicked()", &slot_4, TQMetaData::Public },
	{ "languageChange()", &slot_5, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"KFireSaverSetup", parentObject,
	slot_tbl, 6,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_KFireSaverSetup.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool KFireSaverSetup::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: applyButton_clicked(); break;
    case 1: updatePreview(); break;
    case 2: writeConfig(); break;
    case 3: readConfig(); break;
    case 4: useButton_clicked(); break;
    case 5: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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