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

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

#include "colorsappearance_preferences.h"

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

/*
 *  Constructs a ColorsAppearance_Config as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
ColorsAppearance_Config::ColorsAppearance_Config( TQWidget* parent, const char* name, WFlags fl )
    : TQWidget( parent, name, fl )
{
    if ( !name )
	setName( "ColorsAppearance_Config" );
    ColorsAppearance_ConfigLayout = new TQGridLayout( this, 1, 1, 0, KDialog::spacingHint(), "ColorsAppearance_ConfigLayout"); 

    groupBox1 = new TQGroupBox( this, "groupBox1" );
    groupBox1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, groupBox1->sizePolicy().hasHeightForWidth() ) );
    groupBox1->setColumnLayout(0, TQt::Vertical );
    groupBox1->layout()->setSpacing( KDialog::spacingHint() );
    groupBox1->layout()->setMargin( KDialog::marginHint() );
    groupBox1Layout = new TQGridLayout( groupBox1->layout() );
    groupBox1Layout->setAlignment( TQt::AlignTop );

    kcfg_InputFieldsBackgroundColor = new TQCheckBox( groupBox1, "kcfg_InputFieldsBackgroundColor" );

    groupBox1Layout->addMultiCellWidget( kcfg_InputFieldsBackgroundColor, 5, 5, 0, 4 );

    kcfg_TimeColor = new KColorButton( groupBox1, "kcfg_TimeColor" );

    groupBox1Layout->addWidget( kcfg_TimeColor, 3, 4 );

    kcfg_AlternateBackgroundColor = new KColorButton( groupBox1, "kcfg_AlternateBackgroundColor" );

    groupBox1Layout->addWidget( kcfg_AlternateBackgroundColor, 4, 4 );

    kcfg_QueryMessageColor = new KColorButton( groupBox1, "kcfg_QueryMessageColor" );

    groupBox1Layout->addWidget( kcfg_QueryMessageColor, 2, 4 );

    kcfg_CommandMessageColor = new KColorButton( groupBox1, "kcfg_CommandMessageColor" );

    groupBox1Layout->addWidget( kcfg_CommandMessageColor, 1, 4 );

    kcfg_BacklogMessageColor = new KColorButton( groupBox1, "kcfg_BacklogMessageColor" );

    groupBox1Layout->addWidget( kcfg_BacklogMessageColor, 0, 4 );

    kcfg_TextViewBackgroundColor = new KColorButton( groupBox1, "kcfg_TextViewBackgroundColor" );

    groupBox1Layout->addWidget( kcfg_TextViewBackgroundColor, 4, 1 );

    kcfg_ServerMessageColor = new KColorButton( groupBox1, "kcfg_ServerMessageColor" );

    groupBox1Layout->addWidget( kcfg_ServerMessageColor, 3, 1 );

    kcfg_HyperlinkColor = new KColorButton( groupBox1, "kcfg_HyperlinkColor" );

    groupBox1Layout->addWidget( kcfg_HyperlinkColor, 2, 1 );

    kcfg_ChannelMessageColor = new KColorButton( groupBox1, "kcfg_ChannelMessageColor" );

    groupBox1Layout->addWidget( kcfg_ChannelMessageColor, 1, 1 );

    kcfg_ActionMessageColor = new KColorButton( groupBox1, "kcfg_ActionMessageColor" );

    groupBox1Layout->addWidget( kcfg_ActionMessageColor, 0, 1 );
    spacer185 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer185, 0, 2 );
    spacer186 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer186, 1, 2 );
    spacer187 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer187, 2, 2 );
    spacer188 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer188, 3, 2 );
    spacer189 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer189, 4, 2 );
    spacer190 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer190, 0, 5 );
    spacer191 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer191, 1, 5 );
    spacer192 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer192, 2, 5 );
    spacer193 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer193, 3, 5 );
    spacer194 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer194, 4, 5 );

    textLabel3 = new TQLabel( groupBox1, "textLabel3" );

    groupBox1Layout->addWidget( textLabel3, 4, 0 );

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

    groupBox1Layout->addWidget( textLabel2_2, 3, 0 );

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

    groupBox1Layout->addWidget( textLabel1_2, 2, 0 );

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

    groupBox1Layout->addWidget( textLabel2, 1, 0 );

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

    groupBox1Layout->addWidget( textLabel1, 0, 0 );

    textLabel4 = new TQLabel( groupBox1, "textLabel4" );

    groupBox1Layout->addWidget( textLabel4, 0, 3 );

    textLabel5 = new TQLabel( groupBox1, "textLabel5" );

    groupBox1Layout->addWidget( textLabel5, 1, 3 );

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

    groupBox1Layout->addWidget( textLabel1_8, 2, 3 );

    textLabel1_9 = new TQLabel( groupBox1, "textLabel1_9" );

    groupBox1Layout->addWidget( textLabel1_9, 3, 3 );

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

    groupBox1Layout->addWidget( textLabel1_10, 4, 3 );

    ColorsAppearance_ConfigLayout->addWidget( groupBox1, 0, 0 );

    kcfg_UseColoredNicks = new TQGroupBox( this, "kcfg_UseColoredNicks" );
    kcfg_UseColoredNicks->setEnabled( true );
    kcfg_UseColoredNicks->setCheckable( true );
    kcfg_UseColoredNicks->setColumnLayout(0, TQt::Vertical );
    kcfg_UseColoredNicks->layout()->setSpacing( KDialog::spacingHint() );
    kcfg_UseColoredNicks->layout()->setMargin( KDialog::marginHint() );
    kcfg_UseColoredNicksLayout = new TQGridLayout( kcfg_UseColoredNicks->layout() );
    kcfg_UseColoredNicksLayout->setAlignment( TQt::AlignTop );

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

    kcfg_UseColoredNicksLayout->addWidget( textLabel9, 1, 6 );

    kcfg_NickColor4 = new KColorButton( kcfg_UseColoredNicks, "kcfg_NickColor4" );

    kcfg_UseColoredNicksLayout->addWidget( kcfg_NickColor4, 0, 7 );

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

    kcfg_UseColoredNicksLayout->addWidget( textLabel8, 0, 6 );

    kcfg_NickColor5 = new KColorButton( kcfg_UseColoredNicks, "kcfg_NickColor5" );

    kcfg_UseColoredNicksLayout->addWidget( kcfg_NickColor5, 1, 7 );

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

    kcfg_UseColoredNicksLayout->addWidget( textLabel7, 1, 3 );

    kcfg_NickColor2 = new KColorButton( kcfg_UseColoredNicks, "kcfg_NickColor2" );

    kcfg_UseColoredNicksLayout->addWidget( kcfg_NickColor2, 0, 4 );

    kcfg_NickColor3 = new KColorButton( kcfg_UseColoredNicks, "kcfg_NickColor3" );

    kcfg_UseColoredNicksLayout->addWidget( kcfg_NickColor3, 1, 4 );

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

    kcfg_UseColoredNicksLayout->addWidget( textLabel6, 0, 3 );
    spacer196 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_UseColoredNicksLayout->addItem( spacer196, 0, 5 );
    spacer197 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_UseColoredNicksLayout->addItem( spacer197, 1, 5 );
    spacer197_2 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_UseColoredNicksLayout->addItem( spacer197_2, 1, 2 );
    spacer196_2 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_UseColoredNicksLayout->addItem( spacer196_2, 0, 2 );

    kcfg_NickColor0 = new KColorButton( kcfg_UseColoredNicks, "kcfg_NickColor0" );

    kcfg_UseColoredNicksLayout->addWidget( kcfg_NickColor0, 0, 1 );

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

    kcfg_UseColoredNicksLayout->addWidget( textLabel4_2, 0, 0 );

    kcfg_NickColor1 = new KColorButton( kcfg_UseColoredNicks, "kcfg_NickColor1" );

    kcfg_UseColoredNicksLayout->addWidget( kcfg_NickColor1, 1, 1 );

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

    kcfg_UseColoredNicksLayout->addWidget( textLabel5_2, 1, 0 );
    spacer197_3 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_UseColoredNicksLayout->addItem( spacer197_3, 1, 8 );
    spacer196_3 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_UseColoredNicksLayout->addItem( spacer196_3, 0, 8 );

    kcfg_NickColor7 = new KColorButton( kcfg_UseColoredNicks, "kcfg_NickColor7" );

    kcfg_UseColoredNicksLayout->addWidget( kcfg_NickColor7, 1, 10 );

    kcfg_NickColor6 = new KColorButton( kcfg_UseColoredNicks, "kcfg_NickColor6" );

    kcfg_UseColoredNicksLayout->addWidget( kcfg_NickColor6, 0, 10 );

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

    kcfg_UseColoredNicksLayout->addWidget( textLabel11, 1, 9 );

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

    kcfg_UseColoredNicksLayout->addWidget( textLabel10, 0, 9 );

    layout18 = new TQHBoxLayout( 0, 0, KDialog::spacingHint(), "layout18"); 

    textLabel1_3 = new TQLabel( kcfg_UseColoredNicks, "textLabel1_3" );
    layout18->addWidget( textLabel1_3 );

    kcfg_NickColor8 = new KColorButton( kcfg_UseColoredNicks, "kcfg_NickColor8" );
    layout18->addWidget( kcfg_NickColor8 );
    spacer204 = new TQSpacerItem( 271, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout18->addItem( spacer204 );

    kcfg_UseColoredNicksLayout->addMultiCellLayout( layout18, 2, 2, 0, 11 );

    ColorsAppearance_ConfigLayout->addWidget( kcfg_UseColoredNicks, 1, 0 );

    kcfg_AllowColorCodes = new TQGroupBox( this, "kcfg_AllowColorCodes" );
    kcfg_AllowColorCodes->setEnabled( true );
    kcfg_AllowColorCodes->setCheckable( true );
    kcfg_AllowColorCodes->setColumnLayout(0, TQt::Vertical );
    kcfg_AllowColorCodes->layout()->setSpacing( KDialog::spacingHint() );
    kcfg_AllowColorCodes->layout()->setMargin( KDialog::marginHint() );
    kcfg_AllowColorCodesLayout = new TQGridLayout( kcfg_AllowColorCodes->layout() );
    kcfg_AllowColorCodesLayout->setAlignment( TQt::AlignTop );

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

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_2, 1, 0 );

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

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_3, 2, 0 );

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

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_4, 3, 0 );

    kcfg_IrcColorCode3 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode3" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode3, 3, 1 );

    kcfg_IrcColorCode2 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode2" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode2, 2, 1 );

    kcfg_IrcColorCode0 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode0" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode0, 0, 1 );

    kcfg_IrcColorCode1 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode1" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode1, 1, 1 );

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

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_14, 0, 0 );

    textLabel12_8 = new TQLabel( kcfg_AllowColorCodes, "textLabel12_8" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_8, 3, 3 );

    textLabel12_7 = new TQLabel( kcfg_AllowColorCodes, "textLabel12_7" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_7, 2, 3 );

    textLabel12_6 = new TQLabel( kcfg_AllowColorCodes, "textLabel12_6" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_6, 1, 3 );

    textLabel12_5 = new TQLabel( kcfg_AllowColorCodes, "textLabel12_5" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_5, 0, 3 );

    kcfg_IrcColorCode5 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode5" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode5, 1, 4 );

    kcfg_IrcColorCode4 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode4" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode4, 0, 4 );

    kcfg_IrcColorCode7 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode7" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode7, 3, 4 );

    kcfg_IrcColorCode6 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode6" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode6, 2, 4 );
    spacer211_4 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211_4, 3, 2 );
    spacer211_3 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211_3, 2, 2 );
    spacer211_2 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211_2, 1, 2 );
    spacer211 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211, 0, 2 );
    spacer211_3_2 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211_3_2, 2, 5 );
    spacer211_5 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211_5, 0, 5 );
    spacer211_2_2 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211_2_2, 1, 5 );
    spacer211_4_2 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211_4_2, 3, 5 );

    kcfg_IrcColorCode11 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode11" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode11, 3, 7 );

    textLabel12_12 = new TQLabel( kcfg_AllowColorCodes, "textLabel12_12" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_12, 3, 6 );

    kcfg_IrcColorCode9 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode9" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode9, 1, 7 );

    kcfg_IrcColorCode10 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode10" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode10, 2, 7 );

    kcfg_IrcColorCode8 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode8" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode8, 0, 7 );

    textLabel12_10 = new TQLabel( kcfg_AllowColorCodes, "textLabel12_10" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_10, 1, 6 );

    textLabel12_9 = new TQLabel( kcfg_AllowColorCodes, "textLabel12_9" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_9, 0, 6 );

    textLabel12_11 = new TQLabel( kcfg_AllowColorCodes, "textLabel12_11" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_11, 2, 6 );
    spacer211_6 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211_6, 0, 8 );
    spacer211_2_3 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211_2_3, 1, 8 );
    spacer211_3_3 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211_3_3, 2, 8 );
    spacer211_4_3 = new TQSpacerItem( 50, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    kcfg_AllowColorCodesLayout->addItem( spacer211_4_3, 3, 8 );

    kcfg_IrcColorCode15 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode15" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode15, 3, 10 );

    textLabel12_13 = new TQLabel( kcfg_AllowColorCodes, "textLabel12_13" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_13, 0, 9 );

    kcfg_IrcColorCode13 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode13" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode13, 1, 10 );

    textLabel12_16 = new TQLabel( kcfg_AllowColorCodes, "textLabel12_16" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_16, 3, 9 );

    kcfg_IrcColorCode12 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode12" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode12, 0, 10 );

    kcfg_IrcColorCode14 = new KColorButton( kcfg_AllowColorCodes, "kcfg_IrcColorCode14" );

    kcfg_AllowColorCodesLayout->addWidget( kcfg_IrcColorCode14, 2, 10 );

    textLabel12_15 = new TQLabel( kcfg_AllowColorCodes, "textLabel12_15" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12_15, 2, 9 );

    textLabel12 = new TQLabel( kcfg_AllowColorCodes, "textLabel12" );

    kcfg_AllowColorCodesLayout->addWidget( textLabel12, 1, 9 );

    ColorsAppearance_ConfigLayout->addWidget( kcfg_AllowColorCodes, 2, 0 );
    spacer227 = new TQSpacerItem( 20, 0, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    ColorsAppearance_ConfigLayout->addItem( spacer227, 3, 0 );
    languageChange();
    resize( TQSize(457, 512).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // tab order
    setTabOrder( kcfg_ActionMessageColor, kcfg_ChannelMessageColor );
    setTabOrder( kcfg_ChannelMessageColor, kcfg_HyperlinkColor );
    setTabOrder( kcfg_HyperlinkColor, kcfg_ServerMessageColor );
    setTabOrder( kcfg_ServerMessageColor, kcfg_TextViewBackgroundColor );
    setTabOrder( kcfg_TextViewBackgroundColor, kcfg_BacklogMessageColor );
    setTabOrder( kcfg_BacklogMessageColor, kcfg_CommandMessageColor );
    setTabOrder( kcfg_CommandMessageColor, kcfg_QueryMessageColor );
    setTabOrder( kcfg_QueryMessageColor, kcfg_TimeColor );
    setTabOrder( kcfg_TimeColor, kcfg_AlternateBackgroundColor );
    setTabOrder( kcfg_AlternateBackgroundColor, kcfg_InputFieldsBackgroundColor );
    setTabOrder( kcfg_InputFieldsBackgroundColor, kcfg_UseColoredNicks );
    setTabOrder( kcfg_UseColoredNicks, kcfg_NickColor0 );
    setTabOrder( kcfg_NickColor0, kcfg_NickColor1 );
    setTabOrder( kcfg_NickColor1, kcfg_NickColor2 );
    setTabOrder( kcfg_NickColor2, kcfg_NickColor3 );
    setTabOrder( kcfg_NickColor3, kcfg_NickColor4 );
    setTabOrder( kcfg_NickColor4, kcfg_NickColor5 );
    setTabOrder( kcfg_NickColor5, kcfg_NickColor6 );
    setTabOrder( kcfg_NickColor6, kcfg_NickColor7 );
    setTabOrder( kcfg_NickColor7, kcfg_NickColor8 );
    setTabOrder( kcfg_NickColor8, kcfg_AllowColorCodes );
    setTabOrder( kcfg_AllowColorCodes, kcfg_IrcColorCode0 );
    setTabOrder( kcfg_IrcColorCode0, kcfg_IrcColorCode1 );
    setTabOrder( kcfg_IrcColorCode1, kcfg_IrcColorCode2 );
    setTabOrder( kcfg_IrcColorCode2, kcfg_IrcColorCode3 );
    setTabOrder( kcfg_IrcColorCode3, kcfg_IrcColorCode4 );
    setTabOrder( kcfg_IrcColorCode4, kcfg_IrcColorCode5 );
    setTabOrder( kcfg_IrcColorCode5, kcfg_IrcColorCode6 );
    setTabOrder( kcfg_IrcColorCode6, kcfg_IrcColorCode7 );
    setTabOrder( kcfg_IrcColorCode7, kcfg_IrcColorCode8 );
    setTabOrder( kcfg_IrcColorCode8, kcfg_IrcColorCode9 );
    setTabOrder( kcfg_IrcColorCode9, kcfg_IrcColorCode10 );
    setTabOrder( kcfg_IrcColorCode10, kcfg_IrcColorCode11 );
    setTabOrder( kcfg_IrcColorCode11, kcfg_IrcColorCode12 );
    setTabOrder( kcfg_IrcColorCode12, kcfg_IrcColorCode13 );
    setTabOrder( kcfg_IrcColorCode13, kcfg_IrcColorCode14 );
    setTabOrder( kcfg_IrcColorCode14, kcfg_IrcColorCode15 );

    // signals and slots connections
    connect( kcfg_InputFieldsBackgroundColor, TQ_SIGNAL( toggled(bool) ), kcfg_AlternateBackgroundColor, TQ_SLOT( setEnabled(bool) ) );

    // buddies
    textLabel3->setBuddy( kcfg_TextViewBackgroundColor );
    textLabel2_2->setBuddy( kcfg_ServerMessageColor );
    textLabel1_2->setBuddy( kcfg_HyperlinkColor );
    textLabel2->setBuddy( kcfg_ChannelMessageColor );
    textLabel1->setBuddy( kcfg_ActionMessageColor );
    textLabel4->setBuddy( kcfg_BacklogMessageColor );
    textLabel5->setBuddy( kcfg_CommandMessageColor );
    textLabel1_8->setBuddy( kcfg_QueryMessageColor );
    textLabel1_9->setBuddy( kcfg_TimeColor );
    textLabel1_10->setBuddy( kcfg_AlternateBackgroundColor );
    textLabel1_3->setBuddy( kcfg_NickColor8 );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void ColorsAppearance_Config::languageChange()
{
    groupBox1->setTitle( tr2i18n( "Custom Colors" ) );
    kcfg_InputFieldsBackgroundColor->setText( tr2i18n( "&Use custom colors for input box, nickname list and tab list" ) );
    kcfg_TimeColor->setText( TQString::null );
    kcfg_AlternateBackgroundColor->setText( TQString::null );
    kcfg_QueryMessageColor->setText( TQString::null );
    kcfg_CommandMessageColor->setText( TQString::null );
    kcfg_BacklogMessageColor->setText( TQString::null );
    kcfg_TextViewBackgroundColor->setText( TQString::null );
    kcfg_ServerMessageColor->setText( TQString::null );
    kcfg_HyperlinkColor->setText( TQString::null );
    kcfg_ChannelMessageColor->setText( TQString::null );
    kcfg_ActionMessageColor->setText( TQString::null );
    textLabel3->setText( tr2i18n( "&Background:" ) );
    textLabel2_2->setText( tr2i18n( "&Server message:" ) );
    textLabel1_2->setText( tr2i18n( "H&yperlink:" ) );
    textLabel2->setText( tr2i18n( "Channel &message:" ) );
    textLabel1->setText( tr2i18n( "Actio&n:" ) );
    textLabel4->setText( tr2i18n( "Bac&klog:" ) );
    textLabel5->setText( tr2i18n( "Comman&d message:" ) );
    textLabel1_8->setText( tr2i18n( "&Query message:" ) );
    textLabel1_9->setText( tr2i18n( "&Timestamp:" ) );
    textLabel1_10->setText( tr2i18n( "A&lternate background:" ) );
    kcfg_UseColoredNicks->setTitle( tr2i18n( "Colored Nicks" ) );
    textLabel9->setText( tr2i18n( "5:" ) );
    kcfg_NickColor4->setText( TQString::null );
    textLabel8->setText( tr2i18n( "4:" ) );
    kcfg_NickColor5->setText( TQString::null );
    textLabel7->setText( tr2i18n( "3:" ) );
    kcfg_NickColor2->setText( TQString::null );
    kcfg_NickColor3->setText( TQString::null );
    textLabel6->setText( tr2i18n( "2:" ) );
    kcfg_NickColor0->setText( TQString::null );
    textLabel4_2->setText( tr2i18n( "0:" ) );
    kcfg_NickColor1->setText( TQString::null );
    textLabel5_2->setText( tr2i18n( "1:" ) );
    kcfg_NickColor7->setText( TQString::null );
    kcfg_NickColor6->setText( TQString::null );
    textLabel11->setText( tr2i18n( "7:" ) );
    textLabel10->setText( tr2i18n( "6:" ) );
    textLabel1_3->setText( tr2i18n( "&Own nick color:" ) );
    kcfg_NickColor8->setText( TQString::null );
    kcfg_AllowColorCodes->setTitle( tr2i18n( "&Allow Colored Text in IRC Messages" ) );
    TQWhatsThis::add( kcfg_AllowColorCodes, tr2i18n( "By enabling this option, color codes added to IRC messages will be displayed in your chat window as colored text. You can add color codes to your messages, by selecting Insert -> IRC Color" ) );
    textLabel12_2->setText( tr2i18n( "1:" ) );
    textLabel12_3->setText( tr2i18n( "2:" ) );
    textLabel12_4->setText( tr2i18n( "3:" ) );
    kcfg_IrcColorCode3->setText( TQString::null );
    kcfg_IrcColorCode2->setText( TQString::null );
    kcfg_IrcColorCode0->setText( TQString::null );
    kcfg_IrcColorCode1->setText( TQString::null );
    textLabel12_14->setText( tr2i18n( "0:" ) );
    textLabel12_8->setText( tr2i18n( "7:" ) );
    textLabel12_7->setText( tr2i18n( "6:" ) );
    textLabel12_6->setText( tr2i18n( "5:" ) );
    textLabel12_5->setText( tr2i18n( "4:" ) );
    kcfg_IrcColorCode5->setText( TQString::null );
    kcfg_IrcColorCode4->setText( TQString::null );
    kcfg_IrcColorCode7->setText( TQString::null );
    kcfg_IrcColorCode6->setText( TQString::null );
    kcfg_IrcColorCode11->setText( TQString::null );
    textLabel12_12->setText( tr2i18n( "11:" ) );
    kcfg_IrcColorCode9->setText( TQString::null );
    kcfg_IrcColorCode10->setText( TQString::null );
    kcfg_IrcColorCode8->setText( TQString::null );
    textLabel12_10->setText( tr2i18n( "9:" ) );
    textLabel12_9->setText( tr2i18n( "8:" ) );
    textLabel12_11->setText( tr2i18n( "10:" ) );
    kcfg_IrcColorCode15->setText( TQString::null );
    textLabel12_13->setText( tr2i18n( "12:" ) );
    kcfg_IrcColorCode13->setText( TQString::null );
    textLabel12_16->setText( tr2i18n( "15:" ) );
    kcfg_IrcColorCode12->setText( TQString::null );
    kcfg_IrcColorCode14->setText( TQString::null );
    textLabel12_15->setText( tr2i18n( "14:" ) );
    textLabel12->setText( tr2i18n( "13:" ) );
}

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

TQMetaObject *ColorsAppearance_Config::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_ColorsAppearance_Config( "ColorsAppearance_Config", &ColorsAppearance_Config::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* ColorsAppearance_Config::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 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"ColorsAppearance_Config", parentObject,
	slot_tbl, 1,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_ColorsAppearance_Config.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

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

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