#include <kdialog.h>
#include <klocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './kipmsgconfigbase.ui'
**
** Created: 木  7月 19 22:29:06 2007
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.5   edited Aug 31 12:13 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "kipmsgconfigbase.h"

#include <qvariant.h>
#include <qpushbutton.h>
#include <qgroupbox.h>
#include <kcombobox.h>
#include <qlabel.h>
#include <qcheckbox.h>
#include <qframe.h>
#include <kpushbutton.h>
#include <klineedit.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include <qimage.h>
#include <qpixmap.h>

#include "kcombobox.h"
#include "kpushbutton.h"
#include "klineedit.h"
static const unsigned char img0_kipmsgconfigbase[] = { 
    0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
    0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x20,
    0x08, 0x06, 0x00, 0x00, 0x00, 0x73, 0x7a, 0x7a, 0xf4, 0x00, 0x00, 0x01,
    0x9f, 0x49, 0x44, 0x41, 0x54, 0x58, 0x85, 0xc5, 0x96, 0xe1, 0x91, 0x83,
    0x20, 0x10, 0x85, 0xdf, 0x66, 0x2c, 0x20, 0x2d, 0xd0, 0x57, 0x7a, 0x48,
    0x03, 0xc7, 0x39, 0x9c, 0x36, 0x90, 0xab, 0x01, 0xeb, 0xb2, 0x85, 0x74,
    0xb0, 0xf7, 0xc3, 0x40, 0x14, 0x61, 0x59, 0x75, 0xbc, 0xbc, 0x3f, 0xca,
    0xe4, 0xc1, 0x7e, 0xbb, 0xac, 0x04, 0x62, 0x7c, 0x56, 0x4d, 0x7c, 0x63,
    0xe4, 0x59, 0x08, 0x44, 0xe0, 0x53, 0x38, 0x19, 0x44, 0x17, 0x31, 0xf8,
    0xeb, 0x37, 0x06, 0x9d, 0x11, 0x1f, 0x00, 0x70, 0x51, 0xb9, 0x18, 0x38,
    0x0b, 0xa2, 0xa9, 0x5b, 0x8e, 0x8b, 0x99, 0x10, 0xf8, 0x29, 0x29, 0xb6,
    0xae, 0x02, 0x00, 0x84, 0x4d, 0x02, 0x33, 0x81, 0x41, 0xd9, 0x2a, 0xcd,
    0x83, 0x4f, 0xcb, 0x2c, 0x3d, 0x7a, 0x00, 0x21, 0xb8, 0x14, 0xa0, 0x26,
    0x3d, 0xc0, 0x8e, 0x16, 0x48, 0xe1, 0x8e, 0x01, 0x9c, 0x24, 0x1d, 0x00,
    0xad, 0x9b, 0xa7, 0xa6, 0x52, 0xf6, 0xd9, 0x26, 0x24, 0x12, 0x16, 0xdf,
    0xfb, 0xf5, 0x29, 0xe7, 0x11, 0x4f, 0x54, 0x0c, 0xac, 0x1b, 0x48, 0x9b,
    0xb5, 0x66, 0xaf, 0x73, 0xeb, 0x31, 0x88, 0x1a, 0xc9, 0xa0, 0x15, 0x11,
    0x57, 0xbb, 0xbf, 0xb4, 0xf6, 0xc7, 0x9b, 0xf0, 0xf0, 0x49, 0xc8, 0x1c,
    0x8f, 0xb8, 0xa2, 0xa4, 0xca, 0xee, 0x02, 0x88, 0x41, 0xdf, 0x11, 0x76,
    0x05, 0xdf, 0x0c, 0xa0, 0xc9, 0x76, 0x4b, 0x70, 0x35, 0xc0, 0xd6, 0xc0,
    0x71, 0x1e, 0xa8, 0x0a, 0x71, 0xea, 0x51, 0xac, 0x91, 0x58, 0x81, 0x3d,
    0x0d, 0x76, 0xde, 0x9f, 0x91, 0x22, 0xf8, 0x1e, 0x15, 0x01, 0x6a, 0xd9,
    0xab, 0x4f, 0xc9, 0x4a, 0x45, 0x1a, 0x00, 0xe8, 0x5c, 0x0f, 0x73, 0x35,
    0x18, 0x9f, 0x63, 0x7c, 0x4a, 0xea, 0x5d, 0x07, 0x7f, 0x1d, 0x16, 0xfe,
    0x38, 0xef, 0x7b, 0x0d, 0x1d, 0x20, 0x7a, 0xd7, 0x2d, 0xfc, 0xb8, 0xcf,
    0x2a, 0x30, 0x3e, 0x47, 0x18, 0x24, 0xc1, 0x05, 0xf8, 0xd4, 0x1f, 0xc6,
    0x92, 0x52, 0x3f, 0x30, 0x03, 0x30, 0x57, 0x83, 0x11, 0x2f, 0x32, 0x41,
    0xc3, 0xc3, 0x67, 0xfd, 0x61, 0x3c, 0xfc, 0xfa, 0xe2, 0xf5, 0x2d, 0xf5,
    0x47, 0x80, 0x2d, 0x99, 0x94, 0x32, 0x9f, 0x8f, 0x87, 0x1f, 0x8f, 0xde,
    0x75, 0x8b, 0x79, 0x61, 0x9c, 0xfa, 0x2f, 0x39, 0xb2, 0x98, 0x49, 0xa2,
    0xb8, 0x87, 0x19, 0x7f, 0x6e, 0xdc, 0xbb, 0x0e, 0x84, 0x69, 0x27, 0x6d,
    0x6b, 0x61, 0x5b, 0xbb, 0xf2, 0x13, 0x4f, 0x0b, 0x73, 0xac, 0x04, 0xde,
    0x3d, 0x60, 0x60, 0x70, 0x6b, 0x6f, 0xd9, 0x4a, 0x74, 0xae, 0xcb, 0xfa,
    0x73, 0x63, 0xdb, 0xda, 0xec, 0xfc, 0xaf, 0xd6, 0x52, 0x04, 0x48, 0xbb,
    0x79, 0xfe, 0xbc, 0xdd, 0xf3, 0x10, 0x0b, 0x18, 0x61, 0xfe, 0xf8, 0xcc,
    0x43, 0x70, 0xb8, 0x8c, 0x0d, 0xce, 0x73, 0x2d, 0x93, 0x52, 0x25, 0x8e,
    0x88, 0x81, 0xe9, 0x46, 0x14, 0xf6, 0x44, 0xca, 0xc0, 0x3f, 0xbc, 0xba,
    0x22, 0x5b, 0x24, 0x5d, 0x47, 0xff, 0x45, 0x7f, 0xde, 0x10, 0x04, 0x74,
    0x20, 0xe9, 0x87, 0x99, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44,
    0xae, 0x42, 0x60, 0x82
};


/*
 *  Constructs a KIPMsgConfigDialogBase as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The dialog will by default be modeless, unless you set 'modal' to
 *  TRUE to construct a modal dialog.
 */
KIPMsgConfigDialogBase::KIPMsgConfigDialogBase( QWidget* parent, const char* name, bool modal, WFlags fl )
    : QDialog( parent, name, modal, fl )
{
    QImage img;
    img.loadFromData( img0_kipmsgconfigbase, sizeof( img0_kipmsgconfigbase ), "PNG" );
    image0 = img;
    if ( !name )
	setName( "KIPMsgConfigDialogBase" );
    setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, sizePolicy().hasHeightForWidth() ) );
    setMinimumSize( QSize( 640, 510 ) );
    setMaximumSize( QSize( 640, 510 ) );
    setBaseSize( QSize( 470, 580 ) );
    setIcon( image0 );
    setModal( TRUE );

    groupBox12 = new QGroupBox( this, "groupBox12" );
    groupBox12->setGeometry( QRect( 10, 370, 620, 90 ) );

    m_MessageEncodingCombobox = new KComboBox( FALSE, groupBox12, "m_MessageEncodingCombobox" );
    m_MessageEncodingCombobox->setGeometry( QRect( 401, 15, 170, 30 ) );

    textLabel2_2 = new QLabel( groupBox12, "textLabel2_2" );
    textLabel2_2->setGeometry( QRect( 11, 20, 380, 25 ) );

    textLabel2_2_2 = new QLabel( groupBox12, "textLabel2_2_2" );
    textLabel2_2_2->setGeometry( QRect( 10, 50, 380, 25 ) );

    m_LocalFilesystemEncodingCombobox = new KComboBox( FALSE, groupBox12, "m_LocalFilesystemEncodingCombobox" );
    m_LocalFilesystemEncodingCombobox->setGeometry( QRect( 400, 50, 170, 30 ) );

    groupBox3 = new QGroupBox( this, "groupBox3" );
    groupBox3->setGeometry( QRect( 10, 80, 360, 281 ) );
    groupBox3->setColumnLayout(0, Qt::Vertical );
    groupBox3->layout()->setSpacing( 4 );
    groupBox3->layout()->setMargin( 8 );
    groupBox3Layout = new QVBoxLayout( groupBox3->layout() );
    groupBox3Layout->setAlignment( Qt::AlignTop );

    m_ConfirmOpenCheckbox = new QCheckBox( groupBox3, "m_ConfirmOpenCheckbox" );
    groupBox3Layout->addWidget( m_ConfirmOpenCheckbox );

    m_NoPopupCheckbox = new QCheckBox( groupBox3, "m_NoPopupCheckbox" );
    groupBox3Layout->addWidget( m_NoPopupCheckbox );

    frame7 = new QFrame( groupBox3, "frame7" );
    frame7->setFrameShape( QFrame::NoFrame );
    frame7->setFrameShadow( QFrame::Plain );
    frame7Layout = new QHBoxLayout( frame7, 0, 0, "frame7Layout"); 
    spacer1 = new QSpacerItem( 20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum );
    frame7Layout->addItem( spacer1 );

    m_NotifyNoPopupRecieveCheckbox = new QCheckBox( frame7, "m_NotifyNoPopupRecieveCheckbox" );
    frame7Layout->addWidget( m_NotifyNoPopupRecieveCheckbox );
    groupBox3Layout->addWidget( frame7 );

    m_NoSoundCheckbox = new QCheckBox( groupBox3, "m_NoSoundCheckbox" );
    groupBox3Layout->addWidget( m_NoSoundCheckbox );

    m_SecretDefaultCheckbox = new QCheckBox( groupBox3, "m_SecretDefaultCheckbox" );
    groupBox3Layout->addWidget( m_SecretDefaultCheckbox );

    m_QuoteDefaultCheckbox = new QCheckBox( groupBox3, "m_QuoteDefaultCheckbox" );
    groupBox3Layout->addWidget( m_QuoteDefaultCheckbox );

    m_NotifyLoginLogoutAbsenceCheckbox = new QCheckBox( groupBox3, "m_NotifyLoginLogoutAbsenceCheckbox" );
    groupBox3Layout->addWidget( m_NotifyLoginLogoutAbsenceCheckbox );

    m_HideEncryptionNotSupportedHostCheckbox = new QCheckBox( groupBox3, "m_HideEncryptionNotSupportedHostCheckbox" );
    groupBox3Layout->addWidget( m_HideEncryptionNotSupportedHostCheckbox );

    m_NoSendOnEncryptionFaildCheckbox = new QCheckBox( groupBox3, "m_NoSendOnEncryptionFaildCheckbox" );
    groupBox3Layout->addWidget( m_NoSendOnEncryptionFaildCheckbox );

    frame4 = new QFrame( this, "frame4" );
    frame4->setGeometry( QRect( 380, 80, 254, 281 ) );
    frame4->setFrameShape( QFrame::StyledPanel );
    frame4->setFrameShadow( QFrame::Raised );
    frame4->setLineWidth( 0 );

    frame6 = new QFrame( frame4, "frame6" );
    frame6->setGeometry( QRect( 0, 90, 250, 150 ) );
    frame6->setFrameShape( QFrame::StyledPanel );
    frame6->setFrameShadow( QFrame::Raised );
    frame6Layout = new QVBoxLayout( frame6, 0, 0, "frame6Layout"); 

    m_NetworkConfigButton = new KPushButton( frame6, "m_NetworkConfigButton" );
    frame6Layout->addWidget( m_NetworkConfigButton );

    m_DetailAndLogConfigButton = new KPushButton( frame6, "m_DetailAndLogConfigButton" );
    frame6Layout->addWidget( m_DetailAndLogConfigButton );

    m_ClickableURLConfigButton = new KPushButton( frame6, "m_ClickableURLConfigButton" );
    frame6Layout->addWidget( m_ClickableURLConfigButton );

    m_UnlockPasswordConfigButton = new KPushButton( frame6, "m_UnlockPasswordConfigButton" );
    frame6Layout->addWidget( m_UnlockPasswordConfigButton );

    textLabel1 = new QLabel( frame4, "textLabel1" );
    textLabel1->setGeometry( QRect( 0, 10, 250, 70 ) );
    textLabel1->setFrameShape( QLabel::LineEditPanel );
    textLabel1->setFrameShadow( QLabel::Sunken );
    textLabel1->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter ) );

    frame3 = new QFrame( this, "frame3" );
    frame3->setGeometry( QRect( 0, 0, 640, 82 ) );
    frame3->setFrameShape( QFrame::StyledPanel );
    frame3->setFrameShadow( QFrame::Raised );
    frame3->setLineWidth( 0 );

    groupBox1 = new QGroupBox( frame3, "groupBox1" );
    groupBox1->setGeometry( QRect( 10, 10, 360, 62 ) );
    groupBox1->setColumnLayout(0, Qt::Vertical );
    groupBox1->layout()->setSpacing( 6 );
    groupBox1->layout()->setMargin( 11 );
    groupBox1Layout = new QHBoxLayout( groupBox1->layout() );
    groupBox1Layout->setAlignment( Qt::AlignTop );

    m_UserNameEditbox = new KLineEdit( groupBox1, "m_UserNameEditbox" );
    groupBox1Layout->addWidget( m_UserNameEditbox );

    groupBox2 = new QGroupBox( frame3, "groupBox2" );
    groupBox2->setGeometry( QRect( 380, 10, 250, 62 ) );
    groupBox2->setColumnLayout(0, Qt::Vertical );
    groupBox2->layout()->setSpacing( 6 );
    groupBox2->layout()->setMargin( 11 );
    groupBox2Layout = new QVBoxLayout( groupBox2->layout() );
    groupBox2Layout->setAlignment( Qt::AlignTop );

    m_GroupNameCombobox = new KComboBox( FALSE, groupBox2, "m_GroupNameCombobox" );
    m_GroupNameCombobox->setEditable( TRUE );
    groupBox2Layout->addWidget( m_GroupNameCombobox );

    frame5 = new QFrame( this, "frame5" );
    frame5->setGeometry( QRect( 50, 470, 550, 40 ) );
    frame5->setFrameShape( QFrame::StyledPanel );
    frame5->setFrameShadow( QFrame::Raised );
    frame5->setLineWidth( 0 );

    m_ApplyButton = new KPushButton( frame5, "m_ApplyButton" );
    m_ApplyButton->setGeometry( QRect( 440, 0, 100, 30 ) );

    m_CancelButton = new KPushButton( frame5, "m_CancelButton" );
    m_CancelButton->setGeometry( QRect( 280, 0, 100, 30 ) );

    m_OKButton = new KPushButton( frame5, "m_OKButton" );
    m_OKButton->setGeometry( QRect( 170, 0, 100, 30 ) );
    languageChange();
    resize( QSize(640, 510).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( m_ApplyButton, SIGNAL( clicked() ), this, SLOT( slotApplyClicked() ) );
    connect( m_CancelButton, SIGNAL( clicked() ), this, SLOT( slotCancelClicked() ) );
    connect( m_OKButton, SIGNAL( clicked() ), this, SLOT( slotOkClicked() ) );
    connect( m_DetailAndLogConfigButton, SIGNAL( clicked() ), this, SLOT( slotDetailAndLogSetupClicked() ) );
    connect( m_ClickableURLConfigButton, SIGNAL( clicked() ), this, SLOT( slotClickableUrlClicked() ) );
    connect( m_UnlockPasswordConfigButton, SIGNAL( clicked() ), this, SLOT( slotUnlockPasswordSetup() ) );
    connect( m_NoPopupCheckbox, SIGNAL( clicked() ), this, SLOT( slotNoPopupClicked() ) );
    connect( m_NetworkConfigButton, SIGNAL( clicked() ), this, SLOT( slotNetworkSetupClicked() ) );

    // tab order
    setTabOrder( m_UserNameEditbox, m_GroupNameCombobox );
    setTabOrder( m_GroupNameCombobox, m_ConfirmOpenCheckbox );
    setTabOrder( m_ConfirmOpenCheckbox, m_NoPopupCheckbox );
    setTabOrder( m_NoPopupCheckbox, m_NotifyNoPopupRecieveCheckbox );
    setTabOrder( m_NotifyNoPopupRecieveCheckbox, m_NoSoundCheckbox );
    setTabOrder( m_NoSoundCheckbox, m_SecretDefaultCheckbox );
    setTabOrder( m_SecretDefaultCheckbox, m_QuoteDefaultCheckbox );
    setTabOrder( m_QuoteDefaultCheckbox, m_NotifyLoginLogoutAbsenceCheckbox );
    setTabOrder( m_NotifyLoginLogoutAbsenceCheckbox, m_HideEncryptionNotSupportedHostCheckbox );
    setTabOrder( m_HideEncryptionNotSupportedHostCheckbox, m_NoSendOnEncryptionFaildCheckbox );
    setTabOrder( m_NoSendOnEncryptionFaildCheckbox, m_NetworkConfigButton );
    setTabOrder( m_NetworkConfigButton, m_DetailAndLogConfigButton );
    setTabOrder( m_DetailAndLogConfigButton, m_ClickableURLConfigButton );
    setTabOrder( m_ClickableURLConfigButton, m_UnlockPasswordConfigButton );
    setTabOrder( m_UnlockPasswordConfigButton, m_MessageEncodingCombobox );
    setTabOrder( m_MessageEncodingCombobox, m_LocalFilesystemEncodingCombobox );
    setTabOrder( m_LocalFilesystemEncodingCombobox, m_OKButton );
    setTabOrder( m_OKButton, m_CancelButton );
    setTabOrder( m_CancelButton, m_ApplyButton );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void KIPMsgConfigDialogBase::languageChange()
{
    setCaption( tr2i18n( "KIpMessenger Configuration" ) );
    groupBox12->setTitle( tr2i18n( "Encodings" ) );
    m_MessageEncodingCombobox->clear();
    m_MessageEncodingCombobox->insertItem( tr2i18n( "Big5" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "Big5-HKSCS" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "eucJP" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "eucKR" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "GB2312" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "GBK" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "GB18030" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "JIS7" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "Shift-JIS" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "TSCII" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "utf8" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "KOI8-R" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "KOI8-U" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-1" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-2" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-3" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-4" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-5" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-6" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-7" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-8" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-8-i" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-9" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-10" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-13" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-14" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "ISO8859-15" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "IBM 850" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "IBM 866" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "CP874" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "CP1250" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "CP1251" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "CP1252" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "CP1253" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "CP1254" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "CP1255" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "CP1256" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "CP1257" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "CP1258" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "Apple Roman" ) );
    m_MessageEncodingCombobox->insertItem( tr2i18n( "TIS-620" ) );
    m_MessageEncodingCombobox->setCurrentItem( 8 );
    textLabel2_2->setText( tr2i18n( "Message encoding(Default)" ) );
    textLabel2_2_2->setText( tr2i18n( "Local Filesystem encoding" ) );
    m_LocalFilesystemEncodingCombobox->clear();
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "Big5" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "Big5-HKSCS" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "eucJP" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "eucKR" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "GB2312" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "GBK" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "GB18030" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "JIS7" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "Shift-JIS" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "TSCII" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "utf8" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "KOI8-R" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "KOI8-U" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-1" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-2" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-3" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-4" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-5" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-6" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-7" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-8" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-8-i" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-9" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-10" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-13" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-14" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "ISO8859-15" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "IBM 850" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "IBM 866" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "CP874" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "CP1250" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "CP1251" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "CP1252" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "CP1253" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "CP1254" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "CP1255" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "CP1256" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "CP1257" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "CP1258" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "Apple Roman" ) );
    m_LocalFilesystemEncodingCombobox->insertItem( tr2i18n( "TIS-620" ) );
    m_LocalFilesystemEncodingCombobox->setCurrentItem( 2 );
    groupBox3->setTitle( tr2i18n( "Send/Recieve options" ) );
    m_ConfirmOpenCheckbox->setText( tr2i18n( "Confirm to open &message" ) );
    m_ConfirmOpenCheckbox->setAccel( QKeySequence( tr2i18n( "Alt+M" ) ) );
    m_NoPopupCheckbox->setText( tr2i18n( "No pop&up on recieve" ) );
    m_NoPopupCheckbox->setAccel( QKeySequence( tr2i18n( "Alt+U" ) ) );
    m_NotifyNoPopupRecieveCheckbox->setText( tr2i18n( "Notify" ) );
    m_NotifyNoPopupRecieveCheckbox->setAccel( QKeySequence( QString::null ) );
    m_NoSoundCheckbox->setText( tr2i18n( "&No sound on recieve" ) );
    m_NoSoundCheckbox->setAccel( QKeySequence( tr2i18n( "Alt+N" ) ) );
    m_SecretDefaultCheckbox->setText( tr2i18n( "Secret checkbo&x's default as true" ) );
    m_SecretDefaultCheckbox->setAccel( QKeySequence( tr2i18n( "Alt+X" ) ) );
    m_QuoteDefaultCheckbox->setText( tr2i18n( "&Quote checkbox's default as true" ) );
    m_QuoteDefaultCheckbox->setAccel( QKeySequence( tr2i18n( "Alt+Q" ) ) );
    m_NotifyLoginLogoutAbsenceCheckbox->setText( tr2i18n( "Notify on Login/Logout/Absence" ) );
    m_NotifyLoginLogoutAbsenceCheckbox->setAccel( QKeySequence( QString::null ) );
    m_HideEncryptionNotSupportedHostCheckbox->setText( tr2i18n( "Hide encryption not supported host." ) );
    m_HideEncryptionNotSupportedHostCheckbox->setAccel( QKeySequence( QString::null ) );
    m_NoSendOnEncryptionFaildCheckbox->setText( tr2i18n( "No send on encryption faild." ) );
    m_NoSendOnEncryptionFaildCheckbox->setAccel( QKeySequence( QString::null ) );
    m_NetworkConfigButton->setText( tr2i18n( "Netwo&rking setup" ) );
    m_DetailAndLogConfigButton->setText( tr2i18n( "Detail && Lo&g setup" ) );
    m_DetailAndLogConfigButton->setAccel( QKeySequence( tr2i18n( "Alt+G" ) ) );
    m_ClickableURLConfigButton->setText( tr2i18n( "Clicka&ble URL setup" ) );
    m_ClickableURLConfigButton->setAccel( QKeySequence( tr2i18n( "Alt+B" ) ) );
    m_UnlockPasswordConfigButton->setText( tr2i18n( "Unloc&k password setup" ) );
    m_UnlockPasswordConfigButton->setAccel( QKeySequence( tr2i18n( "Alt+K" ) ) );
    textLabel1->setText( tr2i18n( "Send/Recieve window --> Display & Sort configuration on Right Click" ) );
    groupBox1->setTitle( tr2i18n( "UserName" ) );
    groupBox2->setTitle( tr2i18n( "GroupName" ) );
    m_ApplyButton->setText( tr2i18n( "Appl&y" ) );
    m_ApplyButton->setAccel( QKeySequence( tr2i18n( "Alt+Y" ) ) );
    m_CancelButton->setText( tr2i18n( "C&ancel" ) );
    m_CancelButton->setAccel( QKeySequence( tr2i18n( "Alt+A" ) ) );
    m_OKButton->setText( tr2i18n( "&OK" ) );
    m_OKButton->setAccel( QKeySequence( tr2i18n( "Alt+O" ) ) );
}

void KIPMsgConfigDialogBase::slotDetailAndLogSetupClicked()
{
    qWarning( "KIPMsgConfigDialogBase::slotDetailAndLogSetupClicked(): Not implemented yet" );
}

void KIPMsgConfigDialogBase::slotClickableUrlClicked()
{
    qWarning( "KIPMsgConfigDialogBase::slotClickableUrlClicked(): Not implemented yet" );
}

void KIPMsgConfigDialogBase::slotUnlockPasswordSetup()
{
    qWarning( "KIPMsgConfigDialogBase::slotUnlockPasswordSetup(): Not implemented yet" );
}

void KIPMsgConfigDialogBase::slotAddBroadcastAddressClicked()
{
    qWarning( "KIPMsgConfigDialogBase::slotAddBroadcastAddressClicked(): Not implemented yet" );
}

void KIPMsgConfigDialogBase::slotDeleteBroadcastAddressClicked()
{
    qWarning( "KIPMsgConfigDialogBase::slotDeleteBroadcastAddressClicked(): Not implemented yet" );
}

void KIPMsgConfigDialogBase::slotOkClicked()
{
    qWarning( "KIPMsgConfigDialogBase::slotOkClicked(): Not implemented yet" );
}

void KIPMsgConfigDialogBase::slotCancelClicked()
{
    qWarning( "KIPMsgConfigDialogBase::slotCancelClicked(): Not implemented yet" );
}

void KIPMsgConfigDialogBase::slotApplyClicked()
{
    qWarning( "KIPMsgConfigDialogBase::slotApplyClicked(): Not implemented yet" );
}

void KIPMsgConfigDialogBase::slotNoPopupClicked()
{
    qWarning( "KIPMsgConfigDialogBase::slotNoPopupClicked(): Not implemented yet" );
}

void KIPMsgConfigDialogBase::slotNetworkSetupClicked()
{
    qWarning( "KIPMsgConfigDialogBase::slotNetworkSetupClicked(): Not implemented yet" );
}

#include "kipmsgconfigbase.moc"
