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

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

#include "page_irccolorsbase.h"

#include <ntqvariant.h>
#include <kcolorbutton.h>
#include <ntqpushbutton.h>
#include <ntqlabel.h>
#include <ntqtabwidget.h>
#include <ntqgroupbox.h>
#include <ntqcheckbox.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

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

    textLabel5 = new TQLabel( this, "textLabel5" );
    PageIRCColorsBaseLayout->addWidget( textLabel5 );

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

    dark = new TQWidget( tabWidget, "dark" );
    darkLayout = new TQVBoxLayout( dark, 11, 6, "darkLayout"); 

    groupBox16 = new TQGroupBox( dark, "groupBox16" );
    groupBox16->setColumnLayout(0, TQt::Vertical );
    groupBox16->layout()->setSpacing( 6 );
    groupBox16->layout()->setMargin( 11 );
    groupBox16Layout = new TQGridLayout( groupBox16->layout() );
    groupBox16Layout->setAlignment( TQt::AlignTop );

    genericTextLabel_2 = new TQLabel( groupBox16, "genericTextLabel_2" );

    groupBox16Layout->addWidget( genericTextLabel_2, 1, 0 );

    CBtn_1 = new KColorButton( groupBox16, "CBtn_1" );
    CBtn_1->setMaximumSize( TQSize( 60, 32767 ) );

    groupBox16Layout->addWidget( CBtn_1, 1, 1 );

    TL_1 = new TQLabel( groupBox16, "TL_1" );
    TL_1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, TL_1->sizePolicy().hasHeightForWidth() ) );
    TL_1->setFrameShape( TQLabel::LineEditPanel );
    TL_1->setFrameShadow( TQLabel::Sunken );

    groupBox16Layout->addWidget( TL_1, 1, 2 );

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

    groupBox16Layout->addWidget( genericTextLabel, 0, 0 );

    CBtn_0 = new KColorButton( groupBox16, "CBtn_0" );
    CBtn_0->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, CBtn_0->sizePolicy().hasHeightForWidth() ) );
    CBtn_0->setMaximumSize( TQSize( 60, 32767 ) );

    groupBox16Layout->addWidget( CBtn_0, 0, 1 );

    TL_0 = new TQLabel( groupBox16, "TL_0" );
    TL_0->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)3, 0, 0, TL_0->sizePolicy().hasHeightForWidth() ) );
    TL_0->setFrameShape( TQLabel::LineEditPanel );
    TL_0->setFrameShadow( TQLabel::Sunken );

    groupBox16Layout->addWidget( TL_0, 0, 2 );

    genericTextLabel_3 = new TQLabel( groupBox16, "genericTextLabel_3" );

    groupBox16Layout->addWidget( genericTextLabel_3, 2, 0 );

    CBtn_2 = new KColorButton( groupBox16, "CBtn_2" );
    CBtn_2->setMaximumSize( TQSize( 60, 32767 ) );

    groupBox16Layout->addWidget( CBtn_2, 2, 1 );

    TL_2 = new TQLabel( groupBox16, "TL_2" );
    TL_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, TL_2->sizePolicy().hasHeightForWidth() ) );
    TL_2->setFrameShape( TQLabel::LineEditPanel );
    TL_2->setFrameShadow( TQLabel::Sunken );

    groupBox16Layout->addWidget( TL_2, 2, 2 );

    genericTextLabel_5 = new TQLabel( groupBox16, "genericTextLabel_5" );

    groupBox16Layout->addWidget( genericTextLabel_5, 4, 0 );

    CBtn_4 = new KColorButton( groupBox16, "CBtn_4" );
    CBtn_4->setMaximumSize( TQSize( 60, 32767 ) );

    groupBox16Layout->addWidget( CBtn_4, 4, 1 );

    TL_4 = new TQLabel( groupBox16, "TL_4" );
    TL_4->setFrameShape( TQLabel::LineEditPanel );
    TL_4->setFrameShadow( TQLabel::Sunken );

    groupBox16Layout->addWidget( TL_4, 4, 2 );

    genericTextLabel_4 = new TQLabel( groupBox16, "genericTextLabel_4" );

    groupBox16Layout->addWidget( genericTextLabel_4, 3, 0 );

    CBtn_3 = new KColorButton( groupBox16, "CBtn_3" );
    CBtn_3->setMaximumSize( TQSize( 60, 32767 ) );

    groupBox16Layout->addWidget( CBtn_3, 3, 1 );

    TL_3 = new TQLabel( groupBox16, "TL_3" );
    TL_3->setFrameShape( TQLabel::LineEditPanel );
    TL_3->setFrameShadow( TQLabel::Sunken );

    groupBox16Layout->addWidget( TL_3, 3, 2 );

    genericTextLabel_6 = new TQLabel( groupBox16, "genericTextLabel_6" );

    groupBox16Layout->addWidget( genericTextLabel_6, 5, 0 );

    CBtn_5 = new KColorButton( groupBox16, "CBtn_5" );
    CBtn_5->setMaximumSize( TQSize( 60, 32767 ) );

    groupBox16Layout->addWidget( CBtn_5, 5, 1 );

    TL_5 = new TQLabel( groupBox16, "TL_5" );
    TL_5->setFrameShape( TQLabel::LineEditPanel );
    TL_5->setFrameShadow( TQLabel::Sunken );

    groupBox16Layout->addWidget( TL_5, 5, 2 );

    genericTextLabel_7 = new TQLabel( groupBox16, "genericTextLabel_7" );

    groupBox16Layout->addWidget( genericTextLabel_7, 6, 0 );

    CBtn_6 = new KColorButton( groupBox16, "CBtn_6" );
    CBtn_6->setMaximumSize( TQSize( 60, 32767 ) );

    groupBox16Layout->addWidget( CBtn_6, 6, 1 );

    TL_6 = new TQLabel( groupBox16, "TL_6" );
    TL_6->setFrameShape( TQLabel::LineEditPanel );
    TL_6->setFrameShadow( TQLabel::Sunken );

    groupBox16Layout->addWidget( TL_6, 6, 2 );

    genericTextLabel_8 = new TQLabel( groupBox16, "genericTextLabel_8" );

    groupBox16Layout->addWidget( genericTextLabel_8, 7, 0 );

    CBtn_7 = new KColorButton( groupBox16, "CBtn_7" );
    CBtn_7->setMaximumSize( TQSize( 60, 32767 ) );

    groupBox16Layout->addWidget( CBtn_7, 7, 1 );

    TL_7 = new TQLabel( groupBox16, "TL_7" );
    TL_7->setFrameShape( TQLabel::LineEditPanel );
    TL_7->setFrameShadow( TQLabel::Sunken );

    groupBox16Layout->addWidget( TL_7, 7, 2 );

    CBox_0 = new TQCheckBox( groupBox16, "CBox_0" );
    CBox_0->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, CBox_0->sizePolicy().hasHeightForWidth() ) );

    groupBox16Layout->addWidget( CBox_0, 0, 3 );

    CBox_1 = new TQCheckBox( groupBox16, "CBox_1" );

    groupBox16Layout->addWidget( CBox_1, 1, 3 );

    CBox_2 = new TQCheckBox( groupBox16, "CBox_2" );

    groupBox16Layout->addWidget( CBox_2, 2, 3 );

    CBox_3 = new TQCheckBox( groupBox16, "CBox_3" );

    groupBox16Layout->addWidget( CBox_3, 3, 3 );

    CBox_4 = new TQCheckBox( groupBox16, "CBox_4" );

    groupBox16Layout->addWidget( CBox_4, 4, 3 );

    CBox_5 = new TQCheckBox( groupBox16, "CBox_5" );

    groupBox16Layout->addWidget( CBox_5, 5, 3 );

    CBox_6 = new TQCheckBox( groupBox16, "CBox_6" );

    groupBox16Layout->addWidget( CBox_6, 6, 3 );

    CBox_7 = new TQCheckBox( groupBox16, "CBox_7" );

    groupBox16Layout->addWidget( CBox_7, 7, 3 );
    darkLayout->addWidget( groupBox16 );
    spacer10 = new TQSpacerItem( 31, 41, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    darkLayout->addItem( spacer10 );
    tabWidget->insertTab( dark, TQString::fromLatin1("") );

    light = new TQWidget( tabWidget, "light" );
    lightLayout = new TQVBoxLayout( light, 11, 6, "lightLayout"); 

    ircColorsGB = new TQGroupBox( light, "ircColorsGB" );
    ircColorsGB->setFrameShape( TQGroupBox::GroupBoxPanel );
    ircColorsGB->setFrameShadow( TQGroupBox::Sunken );
    ircColorsGB->setColumnLayout(0, TQt::Vertical );
    ircColorsGB->layout()->setSpacing( 6 );
    ircColorsGB->layout()->setMargin( 11 );
    ircColorsGBLayout = new TQGridLayout( ircColorsGB->layout() );
    ircColorsGBLayout->setAlignment( TQt::AlignTop );

    genericTextLabel_11 = new TQLabel( ircColorsGB, "genericTextLabel_11" );

    ircColorsGBLayout->addWidget( genericTextLabel_11, 2, 0 );

    genericTextLabel_12 = new TQLabel( ircColorsGB, "genericTextLabel_12" );

    ircColorsGBLayout->addWidget( genericTextLabel_12, 3, 0 );

    genericTextLabel_13 = new TQLabel( ircColorsGB, "genericTextLabel_13" );

    ircColorsGBLayout->addWidget( genericTextLabel_13, 4, 0 );

    genericTextLabel_14 = new TQLabel( ircColorsGB, "genericTextLabel_14" );

    ircColorsGBLayout->addWidget( genericTextLabel_14, 5, 0 );

    genericTextLabel_15 = new TQLabel( ircColorsGB, "genericTextLabel_15" );

    ircColorsGBLayout->addWidget( genericTextLabel_15, 6, 0 );

    genericTextLabel_16 = new TQLabel( ircColorsGB, "genericTextLabel_16" );

    ircColorsGBLayout->addWidget( genericTextLabel_16, 7, 0 );

    CBtn_8 = new KColorButton( ircColorsGB, "CBtn_8" );
    CBtn_8->setMaximumSize( TQSize( 60, 32767 ) );

    ircColorsGBLayout->addWidget( CBtn_8, 0, 1 );

    CBtn_9 = new KColorButton( ircColorsGB, "CBtn_9" );
    CBtn_9->setMaximumSize( TQSize( 60, 32767 ) );

    ircColorsGBLayout->addWidget( CBtn_9, 1, 1 );

    CBtn_10 = new KColorButton( ircColorsGB, "CBtn_10" );
    CBtn_10->setMaximumSize( TQSize( 60, 32767 ) );

    ircColorsGBLayout->addWidget( CBtn_10, 2, 1 );

    CBtn_11 = new KColorButton( ircColorsGB, "CBtn_11" );
    CBtn_11->setMaximumSize( TQSize( 60, 32767 ) );

    ircColorsGBLayout->addWidget( CBtn_11, 3, 1 );

    CBtn_12 = new KColorButton( ircColorsGB, "CBtn_12" );
    CBtn_12->setMaximumSize( TQSize( 60, 32767 ) );

    ircColorsGBLayout->addWidget( CBtn_12, 4, 1 );

    CBtn_13 = new KColorButton( ircColorsGB, "CBtn_13" );
    CBtn_13->setMaximumSize( TQSize( 60, 32767 ) );

    ircColorsGBLayout->addWidget( CBtn_13, 5, 1 );

    CBtn_14 = new KColorButton( ircColorsGB, "CBtn_14" );
    CBtn_14->setMaximumSize( TQSize( 60, 32767 ) );

    ircColorsGBLayout->addWidget( CBtn_14, 6, 1 );

    CBtn_15 = new KColorButton( ircColorsGB, "CBtn_15" );
    CBtn_15->setMaximumSize( TQSize( 60, 32767 ) );

    ircColorsGBLayout->addWidget( CBtn_15, 7, 1 );

    genericTextLabel_10 = new TQLabel( ircColorsGB, "genericTextLabel_10" );

    ircColorsGBLayout->addWidget( genericTextLabel_10, 1, 0 );

    TL_8 = new TQLabel( ircColorsGB, "TL_8" );
    TL_8->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, TL_8->sizePolicy().hasHeightForWidth() ) );
    TL_8->setFrameShape( TQLabel::LineEditPanel );
    TL_8->setFrameShadow( TQLabel::Sunken );

    ircColorsGBLayout->addWidget( TL_8, 0, 2 );

    TL_9 = new TQLabel( ircColorsGB, "TL_9" );
    TL_9->setFrameShape( TQLabel::LineEditPanel );
    TL_9->setFrameShadow( TQLabel::Sunken );

    ircColorsGBLayout->addWidget( TL_9, 1, 2 );

    TL_11 = new TQLabel( ircColorsGB, "TL_11" );
    TL_11->setFrameShape( TQLabel::LineEditPanel );
    TL_11->setFrameShadow( TQLabel::Sunken );

    ircColorsGBLayout->addWidget( TL_11, 3, 2 );

    TL_10 = new TQLabel( ircColorsGB, "TL_10" );
    TL_10->setFrameShape( TQLabel::LineEditPanel );
    TL_10->setFrameShadow( TQLabel::Sunken );

    ircColorsGBLayout->addWidget( TL_10, 2, 2 );

    TL_12 = new TQLabel( ircColorsGB, "TL_12" );
    TL_12->setFrameShape( TQLabel::LineEditPanel );
    TL_12->setFrameShadow( TQLabel::Sunken );

    ircColorsGBLayout->addWidget( TL_12, 4, 2 );

    TL_13 = new TQLabel( ircColorsGB, "TL_13" );
    TL_13->setFrameShape( TQLabel::LineEditPanel );
    TL_13->setFrameShadow( TQLabel::Sunken );

    ircColorsGBLayout->addWidget( TL_13, 5, 2 );

    TL_14 = new TQLabel( ircColorsGB, "TL_14" );
    TL_14->setFrameShape( TQLabel::LineEditPanel );
    TL_14->setFrameShadow( TQLabel::Sunken );

    ircColorsGBLayout->addWidget( TL_14, 6, 2 );

    TL_15 = new TQLabel( ircColorsGB, "TL_15" );
    TL_15->setFrameShape( TQLabel::LineEditPanel );
    TL_15->setFrameShadow( TQLabel::Sunken );

    ircColorsGBLayout->addWidget( TL_15, 7, 2 );

    CBox_8 = new TQCheckBox( ircColorsGB, "CBox_8" );
    CBox_8->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, CBox_8->sizePolicy().hasHeightForWidth() ) );

    ircColorsGBLayout->addWidget( CBox_8, 0, 3 );

    CBox_9 = new TQCheckBox( ircColorsGB, "CBox_9" );
    CBox_9->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, CBox_9->sizePolicy().hasHeightForWidth() ) );

    ircColorsGBLayout->addWidget( CBox_9, 1, 3 );

    CBox_10 = new TQCheckBox( ircColorsGB, "CBox_10" );
    CBox_10->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, CBox_10->sizePolicy().hasHeightForWidth() ) );

    ircColorsGBLayout->addWidget( CBox_10, 2, 3 );

    CBox_11 = new TQCheckBox( ircColorsGB, "CBox_11" );
    CBox_11->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, CBox_11->sizePolicy().hasHeightForWidth() ) );

    ircColorsGBLayout->addWidget( CBox_11, 3, 3 );

    CBox_12 = new TQCheckBox( ircColorsGB, "CBox_12" );
    CBox_12->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, CBox_12->sizePolicy().hasHeightForWidth() ) );

    ircColorsGBLayout->addWidget( CBox_12, 4, 3 );

    CBox_13 = new TQCheckBox( ircColorsGB, "CBox_13" );
    CBox_13->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, CBox_13->sizePolicy().hasHeightForWidth() ) );

    ircColorsGBLayout->addWidget( CBox_13, 5, 3 );

    CBox_14 = new TQCheckBox( ircColorsGB, "CBox_14" );
    CBox_14->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, CBox_14->sizePolicy().hasHeightForWidth() ) );

    ircColorsGBLayout->addWidget( CBox_14, 6, 3 );

    CBox_15 = new TQCheckBox( ircColorsGB, "CBox_15" );
    CBox_15->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, CBox_15->sizePolicy().hasHeightForWidth() ) );

    ircColorsGBLayout->addWidget( CBox_15, 7, 3 );

    genericTextLabel_9 = new TQLabel( ircColorsGB, "genericTextLabel_9" );

    ircColorsGBLayout->addWidget( genericTextLabel_9, 0, 0 );
    lightLayout->addWidget( ircColorsGB );
    spacer14 = new TQSpacerItem( 21, 121, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    lightLayout->addItem( spacer14 );
    tabWidget->insertTab( light, TQString::fromLatin1("") );
    PageIRCColorsBaseLayout->addWidget( tabWidget );
    languageChange();
    resize( TQSize(429, 552).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( CBtn_8, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_9, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_10, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_11, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_12, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_13, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_14, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_15, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_0, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_1, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_2, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_3, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_4, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_5, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_6, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBtn_7, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( CBox_0, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_1, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_2, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_3, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_4, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_5, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_6, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_7, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_8, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_9, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_10, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_11, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_12, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_13, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_14, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( CBox_15, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void PageIRCColorsBase::languageChange()
{
    setCaption( tr2i18n( "IRC Colors" ) );
    textLabel5->setText( tr2i18n( "<p>This selection allows you to control what the colors displayed inline in the channel look like. These colors are used for both mIRC style colors in channels and colorful nicks. The sample box beside the button gives you an example of what it will look like in the channel. The checkbox controls if the color is used for the colorful nick features. Checked means use it.</p>" ) );
    groupBox16->setTitle( tr2i18n( "Dark Colors" ) );
    genericTextLabel_2->setText( tr2i18n( "Black:" ) );
    CBtn_1->setText( TQString::null );
    TL_1->setText( tr2i18n( "<p align=\"center\">Black</p>" ) );
    genericTextLabel->setText( tr2i18n( "White:" ) );
    CBtn_0->setText( TQString::null );
    TL_0->setText( tr2i18n( "<p align=\"center\">White</p>" ) );
    genericTextLabel_3->setText( tr2i18n( "Dark blue:" ) );
    CBtn_2->setText( TQString::null );
    TL_2->setText( tr2i18n( "<p align=\"center\">Dark Blue</p>" ) );
    genericTextLabel_5->setText( tr2i18n( "Red:" ) );
    CBtn_4->setText( TQString::null );
    TL_4->setText( tr2i18n( "<p align=\"center\">Red</p>" ) );
    genericTextLabel_4->setText( tr2i18n( "Dark green:" ) );
    CBtn_3->setText( TQString::null );
    TL_3->setText( tr2i18n( "<p align=\"center\">Dark Green</p>" ) );
    genericTextLabel_6->setText( tr2i18n( "Brown:" ) );
    CBtn_5->setText( TQString::null );
    TL_5->setText( tr2i18n( "<p align=\"center\">Brown</p>" ) );
    genericTextLabel_7->setText( tr2i18n( "Magenta:" ) );
    CBtn_6->setText( TQString::null );
    TL_6->setText( tr2i18n( "<p align=\"center\">Magenta</p>" ) );
    genericTextLabel_8->setText( tr2i18n( "Orange:" ) );
    CBtn_7->setText( TQString::null );
    TL_7->setText( tr2i18n( "<p align=\"center\">Orange<p>" ) );
    CBox_0->setText( TQString::null );
    CBox_1->setText( TQString::null );
    CBox_2->setText( TQString::null );
    CBox_3->setText( TQString::null );
    CBox_4->setText( TQString::null );
    CBox_5->setText( TQString::null );
    CBox_6->setText( TQString::null );
    CBox_7->setText( TQString::null );
    tabWidget->changeTab( dark, tr2i18n( "Dark Colors" ) );
    ircColorsGB->setTitle( tr2i18n( "IRC Channel Colors" ) );
    genericTextLabel_11->setText( tr2i18n( "Dark cyan:" ) );
    genericTextLabel_12->setText( tr2i18n( "Cyan:" ) );
    genericTextLabel_13->setText( tr2i18n( "Blue:" ) );
    genericTextLabel_14->setText( tr2i18n( "Purple:" ) );
    genericTextLabel_15->setText( tr2i18n( "Gray:" ) );
    genericTextLabel_16->setText( tr2i18n( "Light gray:" ) );
    CBtn_8->setText( TQString::null );
    CBtn_9->setText( TQString::null );
    CBtn_10->setText( TQString::null );
    CBtn_11->setText( TQString::null );
    CBtn_12->setText( TQString::null );
    CBtn_13->setText( TQString::null );
    CBtn_14->setText( TQString::null );
    CBtn_15->setText( TQString::null );
    genericTextLabel_10->setText( tr2i18n( "Green:" ) );
    TL_8->setText( tr2i18n( "<p align=\"center\">Yellow</p>" ) );
    TL_9->setText( tr2i18n( "<p align=\"center\">Green</p>" ) );
    TL_11->setText( tr2i18n( "<p align=\"center\">Cyan</p>" ) );
    TL_10->setText( tr2i18n( "<p align=\"center\">Dark Cyan</p>" ) );
    TL_12->setText( tr2i18n( "<p align=\"center\">Blue</p>" ) );
    TL_13->setText( tr2i18n( "<p align=\"center\">Purple</p>" ) );
    TL_14->setText( tr2i18n( "<p align=\"center\">Gray</p>" ) );
    TL_15->setText( tr2i18n( "<p align=\"center\">Light Gray</p>" ) );
    CBox_8->setText( TQString::null );
    CBox_9->setText( TQString::null );
    CBox_10->setText( TQString::null );
    CBox_11->setText( TQString::null );
    CBox_12->setText( TQString::null );
    CBox_13->setText( TQString::null );
    CBox_14->setText( TQString::null );
    CBox_15->setText( TQString::null );
    genericTextLabel_9->setText( tr2i18n( "Yellow:" ) );
    tabWidget->changeTab( light, tr2i18n( "Light Colors" ) );
}

void PageIRCColorsBase::chanaged()
{
    tqWarning( "PageIRCColorsBase::chanaged(): Not implemented yet" );
}

void PageIRCColorsBase::changed()
{
    tqWarning( "PageIRCColorsBase::changed(): Not implemented yet" );
}

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

TQMetaObject *PageIRCColorsBase::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_PageIRCColorsBase( "PageIRCColorsBase", &PageIRCColorsBase::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* PageIRCColorsBase::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 = {"chanaged", 0, 0 };
    static const TQUMethod slot_1 = {"changed", 0, 0 };
    static const TQUMethod slot_2 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "chanaged()", &slot_0, TQMetaData::Public },
	{ "changed()", &slot_1, TQMetaData::Public },
	{ "languageChange()", &slot_2, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"PageIRCColorsBase", parentObject,
	slot_tbl, 3,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_PageIRCColorsBase.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool PageIRCColorsBase::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: chanaged(); break;
    case 1: changed(); break;
    case 2: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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