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

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

#include "page_colorsbase.h"

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

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

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

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

    chatColorsGB = new TQGroupBox( tab, "chatColorsGB" );
    chatColorsGB->setColumnLayout(0, TQt::Vertical );
    chatColorsGB->layout()->setSpacing( 6 );
    chatColorsGB->layout()->setMargin( 11 );
    chatColorsGBLayout = new TQGridLayout( chatColorsGB->layout() );
    chatColorsGBLayout->setAlignment( TQt::AlignTop );

    chanMsgLabel = new TQLabel( chatColorsGB, "chanMsgLabel" );

    chatColorsGBLayout->addWidget( chanMsgLabel, 2, 0 );

    genericTextLabel = new TQLabel( chatColorsGB, "genericTextLabel" );

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

    errorLabel = new TQLabel( chatColorsGB, "errorLabel" );

    chatColorsGBLayout->addWidget( errorLabel, 0, 2 );

    infoLabel = new TQLabel( chatColorsGB, "infoLabel" );

    chatColorsGBLayout->addWidget( infoLabel, 1, 0 );

    backgrndLabel = new TQLabel( chatColorsGB, "backgrndLabel" );

    chatColorsGBLayout->addWidget( backgrndLabel, 1, 2 );

    genericTextCBtn = new KColorButton( chatColorsGB, "genericTextCBtn" );
    genericTextCBtn->setMaximumSize( TQSize( 60, 32767 ) );

    chatColorsGBLayout->addWidget( genericTextCBtn, 0, 1 );

    backgrndLabel_2 = new TQLabel( chatColorsGB, "backgrndLabel_2" );

    chatColorsGBLayout->addWidget( backgrndLabel_2, 2, 2 );
    Spacer2 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    chatColorsGBLayout->addItem( Spacer2, 1, 4 );

    linkCBtn = new KColorButton( chatColorsGB, "linkCBtn" );
    linkCBtn->setMaximumSize( TQSize( 60, 32767 ) );

    chatColorsGBLayout->addWidget( linkCBtn, 2, 3 );

    backCBtn = new KColorButton( chatColorsGB, "backCBtn" );
    backCBtn->setMaximumSize( TQSize( 60, 32767 ) );

    chatColorsGBLayout->addWidget( backCBtn, 1, 3 );

    errorCBtn = new KColorButton( chatColorsGB, "errorCBtn" );
    errorCBtn->setMaximumSize( TQSize( 60, 32767 ) );

    chatColorsGBLayout->addWidget( errorCBtn, 0, 3 );

    backgrndLabel_2_2 = new TQLabel( chatColorsGB, "backgrndLabel_2_2" );

    chatColorsGBLayout->addWidget( backgrndLabel_2_2, 3, 0 );

    infoCBtn = new KColorButton( chatColorsGB, "infoCBtn" );
    infoCBtn->setMaximumSize( TQSize( 60, 32767 ) );

    chatColorsGBLayout->addWidget( infoCBtn, 1, 1 );

    chanMsgCBtn = new KColorButton( chatColorsGB, "chanMsgCBtn" );
    chanMsgCBtn->setMaximumSize( TQSize( 60, 32767 ) );

    chatColorsGBLayout->addWidget( chanMsgCBtn, 2, 1 );

    selBackCBtn = new KColorButton( chatColorsGB, "selBackCBtn" );
    selBackCBtn->setMaximumSize( TQSize( 60, 32767 ) );

    chatColorsGBLayout->addWidget( selBackCBtn, 3, 1 );

    selForeCBtn = new KColorButton( chatColorsGB, "selForeCBtn" );
    selForeCBtn->setMaximumSize( TQSize( 60, 32767 ) );

    chatColorsGBLayout->addWidget( selForeCBtn, 3, 3 );

    backgrndLabel_2_2_2 = new TQLabel( chatColorsGB, "backgrndLabel_2_2_2" );

    chatColorsGBLayout->addWidget( backgrndLabel_2_2_2, 3, 2 );

    nickFGColorCB = new TQCheckBox( chatColorsGB, "nickFGColorCB" );

    chatColorsGBLayout->addMultiCellWidget( nickFGColorCB, 4, 4, 0, 4 );
    tabLayout->addWidget( chatColorsGB );

    groupBox11 = new TQGroupBox( tab, "groupBox11" );
    groupBox11->setColumnLayout(0, TQt::Vertical );
    groupBox11->layout()->setSpacing( 6 );
    groupBox11->layout()->setMargin( 11 );
    groupBox11Layout = new TQGridLayout( groupBox11->layout() );
    groupBox11Layout->setAlignment( TQt::AlignTop );

    themeLE = new TQLineEdit( groupBox11, "themeLE" );

    groupBox11Layout->addMultiCellWidget( themeLE, 0, 0, 0, 1 );

    themeLB = new TQListBox( groupBox11, "themeLB" );

    groupBox11Layout->addMultiCellWidget( themeLB, 1, 4, 0, 0 );

    themeNewPB = new TQPushButton( groupBox11, "themeNewPB" );

    groupBox11Layout->addWidget( themeNewPB, 1, 1 );

    themeAddPB = new TQPushButton( groupBox11, "themeAddPB" );

    groupBox11Layout->addWidget( themeAddPB, 2, 1 );

    themeDelPB = new TQPushButton( groupBox11, "themeDelPB" );

    groupBox11Layout->addWidget( themeDelPB, 3, 1 );
    spacer5 = new TQSpacerItem( 21, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    groupBox11Layout->addItem( spacer5, 4, 1 );
    tabLayout->addWidget( groupBox11 );
    tabWidget2->insertTab( tab, TQString::fromLatin1("") );

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

    groupBox5 = new TQGroupBox( tab_2, "groupBox5" );
    groupBox5->setColumnLayout(0, TQt::Vertical );
    groupBox5->layout()->setSpacing( 6 );
    groupBox5->layout()->setMargin( 11 );
    groupBox5Layout = new TQHBoxLayout( groupBox5->layout() );
    groupBox5Layout->setAlignment( TQt::AlignTop );

    nickMatchLabel_2_2 = new TQLabel( groupBox5, "nickMatchLabel_2_2" );
    groupBox5Layout->addWidget( nickMatchLabel_2_2 );

    ownNickCBtn = new KColorButton( groupBox5, "ownNickCBtn" );
    ownNickCBtn->setMaximumSize( TQSize( 60, 32767 ) );
    groupBox5Layout->addWidget( ownNickCBtn );

    ownNickBoldCB = new TQCheckBox( groupBox5, "ownNickBoldCB" );
    groupBox5Layout->addWidget( ownNickBoldCB );

    ownNickRevCB = new TQCheckBox( groupBox5, "ownNickRevCB" );
    groupBox5Layout->addWidget( ownNickRevCB );

    ownNickUlCB = new TQCheckBox( groupBox5, "ownNickUlCB" );
    groupBox5Layout->addWidget( ownNickUlCB );
    spacer10_2 = new TQSpacerItem( 202, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox5Layout->addItem( spacer10_2 );
    tabLayout_2->addWidget( groupBox5 );

    buttonGroup1 = new TQButtonGroup( tab_2, "buttonGroup1" );
    buttonGroup1->setExclusive( true );
    buttonGroup1->setColumnLayout(0, TQt::Vertical );
    buttonGroup1->layout()->setSpacing( 6 );
    buttonGroup1->layout()->setMargin( 11 );
    buttonGroup1Layout = new TQGridLayout( buttonGroup1->layout() );
    buttonGroup1Layout->setAlignment( TQt::AlignTop );

    noOtherColRB = new TQRadioButton( buttonGroup1, "noOtherColRB" );

    buttonGroup1Layout->addMultiCellWidget( noOtherColRB, 0, 0, 0, 5 );

    autoOtherColRB = new TQRadioButton( buttonGroup1, "autoOtherColRB" );

    buttonGroup1Layout->addMultiCellWidget( autoOtherColRB, 1, 1, 0, 5 );

    fixedOtherColRB = new TQRadioButton( buttonGroup1, "fixedOtherColRB" );

    buttonGroup1Layout->addWidget( fixedOtherColRB, 2, 0 );

    nickFGColorLabel = new TQLabel( buttonGroup1, "nickFGColorLabel" );

    buttonGroup1Layout->addWidget( nickFGColorLabel, 2, 1 );

    nickFGCBtn = new KColorButton( buttonGroup1, "nickFGCBtn" );
    nickFGCBtn->setMinimumSize( TQSize( 0, 0 ) );
    nickFGCBtn->setMaximumSize( TQSize( 60, 32767 ) );

    buttonGroup1Layout->addWidget( nickFGCBtn, 2, 2 );

    nickBGColorLabel = new TQLabel( buttonGroup1, "nickBGColorLabel" );

    buttonGroup1Layout->addWidget( nickBGColorLabel, 2, 3 );

    nickBGCBtn = new KColorButton( buttonGroup1, "nickBGCBtn" );
    nickBGCBtn->setEnabled( false );
    nickBGCBtn->setMaximumSize( TQSize( 60, 32767 ) );

    buttonGroup1Layout->addWidget( nickBGCBtn, 2, 4 );
    spacer6 = new TQSpacerItem( 83, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    buttonGroup1Layout->addItem( spacer6, 2, 5 );
    tabLayout_2->addWidget( buttonGroup1 );

    nickGB = new TQGroupBox( tab_2, "nickGB" );
    nickGB->setColumnLayout(0, TQt::Vertical );
    nickGB->layout()->setSpacing( 6 );
    nickGB->layout()->setMargin( 11 );
    nickGBLayout = new TQVBoxLayout( nickGB->layout() );
    nickGBLayout->setAlignment( TQt::AlignTop );

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

    nickMatchLabel_2 = new TQLabel( nickGB, "nickMatchLabel_2" );
    layout12->addWidget( nickMatchLabel_2 );

    ownContainNickCBtn = new KColorButton( nickGB, "ownContainNickCBtn" );
    ownContainNickCBtn->setMaximumSize( TQSize( 60, 32767 ) );
    layout12->addWidget( ownContainNickCBtn );
    spacer8 = new TQSpacerItem( 169, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout12->addItem( spacer8 );
    nickGBLayout->addLayout( layout12 );

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

    nickMatchLabel_2_3 = new TQLabel( nickGB, "nickMatchLabel_2_3" );
    layout11->addWidget( nickMatchLabel_2_3 );

    msg1LE = new TQLineEdit( nickGB, "msg1LE" );
    layout11->addWidget( msg1LE );

    msg1CBtn = new KColorButton( nickGB, "msg1CBtn" );
    msg1CBtn->setMaximumSize( TQSize( 60, 32767 ) );
    layout11->addWidget( msg1CBtn );

    msg1Regex = new TQCheckBox( nickGB, "msg1Regex" );
    layout11->addWidget( msg1Regex );
    spacer10 = new TQSpacerItem( 104, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout11->addItem( spacer10 );
    nickGBLayout->addLayout( layout11 );

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

    nickMatchLabel_2_3_2 = new TQLabel( nickGB, "nickMatchLabel_2_3_2" );
    layout10->addWidget( nickMatchLabel_2_3_2 );

    msg2LE = new TQLineEdit( nickGB, "msg2LE" );
    layout10->addWidget( msg2LE );

    msg2CBtn = new KColorButton( nickGB, "msg2CBtn" );
    msg2CBtn->setMaximumSize( TQSize( 60, 32767 ) );
    layout10->addWidget( msg2CBtn );

    msg2Regex = new TQCheckBox( nickGB, "msg2Regex" );
    layout10->addWidget( msg2Regex );
    spacer10_3 = new TQSpacerItem( 104, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout10->addItem( spacer10_3 );
    nickGBLayout->addLayout( layout10 );
    tabLayout_2->addWidget( nickGB );

    colorCodesGB = new TQGroupBox( tab_2, "colorCodesGB" );
    colorCodesGB->setColumnLayout(0, TQt::Vertical );
    colorCodesGB->layout()->setSpacing( 6 );
    colorCodesGB->layout()->setMargin( 11 );
    colorCodesGBLayout = new TQHBoxLayout( colorCodesGB->layout() );
    colorCodesGBLayout->setAlignment( TQt::AlignTop );

    allowKSircColorsCB = new TQCheckBox( colorCodesGB, "allowKSircColorsCB" );
    allowKSircColorsCB->setChecked( true );
    colorCodesGBLayout->addWidget( allowKSircColorsCB );

    allowMIRCColorsCB = new TQCheckBox( colorCodesGB, "allowMIRCColorsCB" );
    allowMIRCColorsCB->setChecked( true );
    colorCodesGBLayout->addWidget( allowMIRCColorsCB );
    spacer4 = new TQSpacerItem( 21, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    colorCodesGBLayout->addItem( spacer4 );
    tabLayout_2->addWidget( colorCodesGB );
    spacer8_2 = new TQSpacerItem( 31, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout_2->addItem( spacer8_2 );
    tabWidget2->insertTab( tab_2, TQString::fromLatin1("") );
    PageColorsBaseLayout->addWidget( tabWidget2 );
    languageChange();
    resize( TQSize(617, 545).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( allowKSircColorsCB, TQ_SIGNAL( clicked() ), this, TQ_SLOT( changed() ) );
    connect( allowMIRCColorsCB, TQ_SIGNAL( clicked() ), this, TQ_SLOT( changed() ) );
    connect( backCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( chanMsgCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( errorCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( genericTextCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( infoCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( linkCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( nickBGCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( nickFGCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( nickFGColorCB, TQ_SIGNAL( clicked() ), this, TQ_SLOT( changed() ) );
    connect( ownContainNickCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( themeAddPB, TQ_SIGNAL( clicked() ), this, TQ_SLOT( themeAddPB_clicked() ) );
    connect( themeDelPB, TQ_SIGNAL( clicked() ), this, TQ_SLOT( themeDelPB_clicked() ) );
    connect( themeLB, TQ_SIGNAL( clicked(TQListBoxItem*) ), this, TQ_SLOT( theme_clicked(TQListBoxItem*) ) );
    connect( themeLB, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( theme_sel() ) );
    connect( themeLE, TQ_SIGNAL( returnPressed() ), this, TQ_SLOT( themeAddPB_clicked() ) );
    connect( themeNewPB, TQ_SIGNAL( clicked() ), this, TQ_SLOT( themeNewPB_clicked() ) );
    connect( selBackCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( selForeCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( ownNickCBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( ownNickBoldCB, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( ownNickRevCB, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( ownNickUlCB, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( noOtherColRB, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( autoOtherColRB, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( fixedOtherColRB, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( msg1CBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( msg1LE, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( changed() ) );
    connect( msg1Regex, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( msg2CBtn, TQ_SIGNAL( changed(const TQColor&) ), this, TQ_SLOT( changed() ) );
    connect( msg2Regex, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( changed() ) );
    connect( msg2LE, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( changed() ) );

    // tab order
    setTabOrder( genericTextCBtn, errorCBtn );
    setTabOrder( errorCBtn, infoCBtn );
    setTabOrder( infoCBtn, backCBtn );
    setTabOrder( backCBtn, chanMsgCBtn );
    setTabOrder( chanMsgCBtn, linkCBtn );
    setTabOrder( linkCBtn, selBackCBtn );
    setTabOrder( selBackCBtn, selForeCBtn );
    setTabOrder( selForeCBtn, nickFGCBtn );
    setTabOrder( nickFGCBtn, nickBGCBtn );
    setTabOrder( nickBGCBtn, nickFGColorCB );
    setTabOrder( nickFGColorCB, ownContainNickCBtn );
    setTabOrder( ownContainNickCBtn, allowKSircColorsCB );
    setTabOrder( allowKSircColorsCB, allowMIRCColorsCB );
    setTabOrder( allowMIRCColorsCB, themeLE );
    setTabOrder( themeLE, themeLB );
    setTabOrder( themeLB, themeNewPB );
    setTabOrder( themeNewPB, themeAddPB );
    setTabOrder( themeAddPB, themeDelPB );

    // buddies
    chanMsgLabel->setBuddy( chanMsgCBtn );
    genericTextLabel->setBuddy( genericTextCBtn );
    errorLabel->setBuddy( errorCBtn );
    infoLabel->setBuddy( infoCBtn );
    backgrndLabel->setBuddy( backCBtn );
    backgrndLabel_2->setBuddy( backCBtn );
    backgrndLabel_2_2->setBuddy( backCBtn );
    backgrndLabel_2_2_2->setBuddy( backCBtn );
    nickMatchLabel_2_2->setBuddy( ownNickCBtn );
    nickFGColorLabel->setBuddy( nickFGCBtn );
    nickBGColorLabel->setBuddy( nickBGCBtn );
    nickMatchLabel_2->setBuddy( ownNickCBtn );
    nickMatchLabel_2_3->setBuddy( ownNickCBtn );
    nickMatchLabel_2_3_2->setBuddy( ownNickCBtn );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void PageColorsBase::languageChange()
{
    setCaption( tr2i18n( "Colors" ) );
    chatColorsGB->setTitle( tr2i18n( "Chat Colors" ) );
    chanMsgLabel->setText( tr2i18n( "C&hannel messages:" ) );
    genericTextLabel->setText( tr2i18n( "&Generic text:" ) );
    errorLabel->setText( tr2i18n( "&Errors:" ) );
    infoLabel->setText( tr2i18n( "&Info:" ) );
    backgrndLabel->setText( tr2i18n( "&Background:" ) );
    genericTextCBtn->setText( TQString::null );
    backgrndLabel_2->setText( tr2i18n( "&Links:" ) );
    linkCBtn->setText( TQString::null );
    backCBtn->setText( TQString::null );
    errorCBtn->setText( TQString::null );
    backgrndLabel_2_2->setText( tr2i18n( "Selection backgr&ound:" ) );
    infoCBtn->setText( TQString::null );
    chanMsgCBtn->setText( TQString::null );
    selBackCBtn->setText( TQString::null );
    selForeCBtn->setText( TQString::null );
    backgrndLabel_2_2_2->setText( tr2i18n( "Sele&ction foreground:" ) );
    nickFGColorCB->setText( tr2i18n( "&Use background color for links" ) );
    groupBox11->setTitle( tr2i18n( "Sample Color Themes" ) );
    themeNewPB->setText( tr2i18n( "&New" ) );
    themeAddPB->setText( tr2i18n( "&Add" ) );
    themeDelPB->setText( tr2i18n( "&Delete" ) );
    tabWidget2->changeTab( tab, tr2i18n( "&Scheme" ) );
    groupBox5->setTitle( tr2i18n( "Your Nick" ) );
    nickMatchLabel_2_2->setText( tr2i18n( "Color: " ) );
    ownNickCBtn->setText( TQString::null );
    ownNickBoldCB->setText( tr2i18n( "Bold" ) );
    ownNickRevCB->setText( tr2i18n( "Reverse" ) );
    ownNickUlCB->setText( tr2i18n( "Underline" ) );
    buttonGroup1->setTitle( tr2i18n( "Other Nicks" ) );
    noOtherColRB->setText( tr2i18n( "N&o nick colors" ) );
    autoOtherColRB->setText( tr2i18n( "Au&to nick colorization" ) );
    fixedOtherColRB->setText( tr2i18n( "Fi&xed" ) );
    nickFGColorLabel->setText( tr2i18n( "&Foreground:" ) );
    nickFGCBtn->setText( TQString::null );
    nickBGColorLabel->setText( tr2i18n( "Backg&round:" ) );
    nickBGCBtn->setText( TQString::null );
    nickGB->setTitle( tr2i18n( "Highlight Messages" ) );
    nickMatchLabel_2->setText( tr2i18n( "Containing &your nick:" ) );
    ownContainNickCBtn->setText( TQString::null );
    nickMatchLabel_2_3->setText( tr2i18n( "Containing:" ) );
    msg1CBtn->setText( TQString::null );
    msg1Regex->setText( tr2i18n( "Regex" ) );
    nickMatchLabel_2_3_2->setText( tr2i18n( "Containing:" ) );
    msg2CBtn->setText( TQString::null );
    msg2Regex->setText( tr2i18n( "Regex" ) );
    colorCodesGB->setTitle( tr2i18n( "Color Codes" ) );
    allowKSircColorsCB->setText( tr2i18n( "Strip &kSirc color codes" ) );
    allowMIRCColorsCB->setText( tr2i18n( "Strip &mIRC color codes" ) );
    tabWidget2->changeTab( tab_2, tr2i18n( "&Highlighting" ) );
}

void PageColorsBase::theme_clicked(TQListBoxItem*)
{
    tqWarning( "PageColorsBase::theme_clicked(TQListBoxItem*): Not implemented yet" );
}

void PageColorsBase::themeNewPB_clicked()
{
    tqWarning( "PageColorsBase::themeNewPB_clicked(): Not implemented yet" );
}

void PageColorsBase::themeDelPB_clicked()
{
    tqWarning( "PageColorsBase::themeDelPB_clicked(): Not implemented yet" );
}

void PageColorsBase::themeAddPB_clicked()
{
    tqWarning( "PageColorsBase::themeAddPB_clicked(): Not implemented yet" );
}

void PageColorsBase::theme_sel()
{
    tqWarning( "PageColorsBase::theme_sel(): Not implemented yet" );
}

void PageColorsBase::setColourEnabled()
{
    tqWarning( "PageColorsBase::setColourEnabled(): Not implemented yet" );
}

void PageColorsBase::coloursSetEnable()
{
    tqWarning( "PageColorsBase::coloursSetEnable(): Not implemented yet" );
}

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

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

TQMetaObject *PageColorsBase::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_PageColorsBase( "PageColorsBase", &PageColorsBase::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* PageColorsBase::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = TQWidget::staticMetaObject();
    static const TQUParameter param_slot_0[] = {
	{ 0, &static_QUType_ptr, "TQListBoxItem", TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"theme_clicked", 1, param_slot_0 };
    static const TQUMethod slot_1 = {"themeNewPB_clicked", 0, 0 };
    static const TQUMethod slot_2 = {"themeDelPB_clicked", 0, 0 };
    static const TQUMethod slot_3 = {"themeAddPB_clicked", 0, 0 };
    static const TQUMethod slot_4 = {"theme_sel", 0, 0 };
    static const TQUMethod slot_5 = {"setColourEnabled", 0, 0 };
    static const TQUMethod slot_6 = {"coloursSetEnable", 0, 0 };
    static const TQUMethod slot_7 = {"changed", 0, 0 };
    static const TQUMethod slot_8 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "theme_clicked(TQListBoxItem*)", &slot_0, TQMetaData::Public },
	{ "themeNewPB_clicked()", &slot_1, TQMetaData::Public },
	{ "themeDelPB_clicked()", &slot_2, TQMetaData::Public },
	{ "themeAddPB_clicked()", &slot_3, TQMetaData::Public },
	{ "theme_sel()", &slot_4, TQMetaData::Public },
	{ "setColourEnabled()", &slot_5, TQMetaData::Public },
	{ "coloursSetEnable()", &slot_6, TQMetaData::Public },
	{ "changed()", &slot_7, TQMetaData::Public },
	{ "languageChange()", &slot_8, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"PageColorsBase", parentObject,
	slot_tbl, 9,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_PageColorsBase.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool PageColorsBase::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: theme_clicked((TQListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    case 1: themeNewPB_clicked(); break;
    case 2: themeDelPB_clicked(); break;
    case 3: themeAddPB_clicked(); break;
    case 4: theme_sel(); break;
    case 5: setColourEnabled(); break;
    case 6: coloursSetEnable(); break;
    case 7: changed(); break;
    case 8: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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