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

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

#include "gadueditaccountui.h"

#include <ntqvariant.h>
#include <klineedit.h>
#include <krestrictedline.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqgroupbox.h>
#include <ntqlabel.h>
#include <ntqcheckbox.h>
#include <ntqcombobox.h>
#include <ntqlineedit.h>
#include <ntqspinbox.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include "kopetepasswordwidget.h"

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

    tabWidget4 = new TQTabWidget( this, "tabWidget4" );
    tabWidget4->setEnabled( true );

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

    groupBox63 = new TQGroupBox( tab, "groupBox63" );
    groupBox63->setColumnLayout(0, TQt::Vertical );
    groupBox63->layout()->setSpacing( 6 );
    groupBox63->layout()->setMargin( 11 );
    groupBox63Layout = new TQVBoxLayout( groupBox63->layout() );
    groupBox63Layout->setAlignment( TQt::AlignTop );

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

    textLabel1 = new TQLabel( groupBox63, "textLabel1" );
    layout8->addWidget( textLabel1 );

    loginEdit_ = new KLineEdit( groupBox63, "loginEdit_" );
    loginEdit_->setEnabled( true );
    loginEdit_->setMaxLength( 16 );
    loginEdit_->setEdited( true );
    loginEdit_->setDragEnabled( false );
    layout8->addWidget( loginEdit_ );
    groupBox63Layout->addLayout( layout8 );

    passwordWidget_ = new Kopete::UI::PasswordWidget( groupBox63, "passwordWidget_" );
    groupBox63Layout->addWidget( passwordWidget_ );

    autoLoginCheck_ = new TQCheckBox( groupBox63, "autoLoginCheck_" );
    groupBox63Layout->addWidget( autoLoginCheck_ );
    tabLayout->addWidget( groupBox63 );

    groupBox5 = new TQGroupBox( tab, "groupBox5" );
    groupBox5->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)1, 0, 0, groupBox5->sizePolicy().hasHeightForWidth() ) );
    groupBox5->setColumnLayout(0, TQt::Vertical );
    groupBox5->layout()->setSpacing( 6 );
    groupBox5->layout()->setMargin( 11 );
    groupBox5Layout = new TQHBoxLayout( groupBox5->layout() );
    groupBox5Layout->setAlignment( TQt::AlignTop );

    textLabel6 = new TQLabel( groupBox5, "textLabel6" );
    textLabel6->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)1, 0, 0, textLabel6->sizePolicy().hasHeightForWidth() ) );
    textLabel6->setMinimumSize( TQSize( 0, 0 ) );
    textLabel6->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignVCenter ) );
    groupBox5Layout->addWidget( textLabel6 );

    registerNew = new TQPushButton( groupBox5, "registerNew" );
    registerNew->setEnabled( true );
    groupBox5Layout->addWidget( registerNew );
    tabLayout->addWidget( groupBox5 );
    spacer15 = new TQSpacerItem( 20, 80, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( spacer15 );
    tabWidget4->insertTab( tab, TQString::fromLatin1("") );

    tab_2 = new TQWidget( tabWidget4, "tab_2" );
    tabLayout_2 = new TQGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2"); 
    spacer16 = new TQSpacerItem( 20, 160, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout_2->addItem( spacer16, 1, 0 );

    groupBox64 = new TQGroupBox( tab_2, "groupBox64" );
    groupBox64->setColumnLayout(0, TQt::Vertical );
    groupBox64->layout()->setSpacing( 6 );
    groupBox64->layout()->setMargin( 11 );
    groupBox64Layout = new TQGridLayout( groupBox64->layout() );
    groupBox64Layout->setAlignment( TQt::AlignTop );

    dccCheck_ = new TQCheckBox( groupBox64, "dccCheck_" );
    dccCheck_->setEnabled( true );
    dccCheck_->setChecked( true );

    groupBox64Layout->addWidget( dccCheck_, 1, 0 );

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

    textLabel1_2 = new TQLabel( groupBox64, "textLabel1_2" );
    layout65->addWidget( textLabel1_2 );

    useTls_ = new TQComboBox( false, groupBox64, "useTls_" );
    useTls_->setAutoCompletion( false );
    useTls_->setDuplicatesEnabled( false );
    layout65->addWidget( useTls_ );

    groupBox64Layout->addLayout( layout65, 3, 0 );

    cacheServersCheck__ = new TQCheckBox( groupBox64, "cacheServersCheck__" );
    cacheServersCheck__->setEnabled( false );
    cacheServersCheck__->setChecked( true );

    groupBox64Layout->addWidget( cacheServersCheck__, 0, 0 );

    ignoreCheck_ = new TQCheckBox( groupBox64, "ignoreCheck_" );
    ignoreCheck_->setEnabled( true );
    ignoreCheck_->setChecked( false );

    groupBox64Layout->addWidget( ignoreCheck_, 2, 0 );

    tabLayout_2->addWidget( groupBox64, 0, 0 );
    tabWidget4->insertTab( tab_2, TQString::fromLatin1("") );

    TabPage = new TQWidget( tabWidget4, "TabPage" );
    TabPageLayout = new TQGridLayout( TabPage, 1, 1, 11, 6, "TabPageLayout"); 

    connectLabel = new TQLabel( TabPage, "connectLabel" );
    connectLabel->setEnabled( true );
    connectLabel->setPaletteForegroundColor( TQColor( 255, 0, 0 ) );
    TQFont connectLabel_font(  connectLabel->font() );
    connectLabel_font.setBold( true );
    connectLabel->setFont( connectLabel_font ); 

    TabPageLayout->addWidget( connectLabel, 1, 0 );

    userInformation = new TQGroupBox( TabPage, "userInformation" );
    userInformation->setEnabled( true );
    userInformation->setColumnLayout(0, TQt::Vertical );
    userInformation->layout()->setSpacing( 6 );
    userInformation->layout()->setMargin( 11 );
    userInformationLayout = new TQGridLayout( userInformation->layout() );
    userInformationLayout->setAlignment( TQt::AlignTop );

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

    layout8_2 = new TQVBoxLayout( 0, 0, 6, "layout8_2"); 

    textLabel1_5 = new TQLabel( userInformation, "textLabel1_5" );
    layout8_2->addWidget( textLabel1_5 );

    uiSurnamea = new TQLabel( userInformation, "uiSurnamea" );
    layout8_2->addWidget( uiSurnamea );

    textLabel1_5_3 = new TQLabel( userInformation, "textLabel1_5_3" );
    layout8_2->addWidget( textLabel1_5_3 );

    textLabel1_5_3_2 = new TQLabel( userInformation, "textLabel1_5_3_2" );
    layout8_2->addWidget( textLabel1_5_3_2 );

    textLabel1_5_3_2_2 = new TQLabel( userInformation, "textLabel1_5_3_2_2" );
    layout8_2->addWidget( textLabel1_5_3_2_2 );

    textLabel1_5_3_2_3 = new TQLabel( userInformation, "textLabel1_5_3_2_3" );
    layout8_2->addWidget( textLabel1_5_3_2_3 );
    layout9->addLayout( layout8_2 );

    layout7 = new TQVBoxLayout( 0, 0, 6, "layout7"); 

    uiName = new TQLineEdit( userInformation, "uiName" );
    uiName->setEnabled( false );
    layout7->addWidget( uiName );

    uiSurname = new TQLineEdit( userInformation, "uiSurname" );
    uiSurname->setEnabled( false );
    layout7->addWidget( uiSurname );

    nickName = new TQLineEdit( userInformation, "nickName" );
    nickName->setEnabled( true );
    layout7->addWidget( nickName );

    uiGender = new TQComboBox( false, userInformation, "uiGender" );
    uiGender->setEnabled( false );
    layout7->addWidget( uiGender );

    uiYOB = new TQLineEdit( userInformation, "uiYOB" );
    uiYOB->setEnabled( false );
    layout7->addWidget( uiYOB );

    uiCity = new TQLineEdit( userInformation, "uiCity" );
    uiCity->setEnabled( false );
    layout7->addWidget( uiCity );
    layout9->addLayout( layout7 );

    userInformationLayout->addMultiCellLayout( layout9, 0, 0, 0, 1 );

    textLabel1_5_3_2_4_2 = new TQLabel( userInformation, "textLabel1_5_3_2_4_2" );

    userInformationLayout->addWidget( textLabel1_5_3_2_4_2, 1, 0 );
    spacer15_3 = new TQSpacerItem( 20, 30, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    userInformationLayout->addItem( spacer15_3, 1, 1 );

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

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

    textLabel1_5_3_2_4 = new TQLabel( userInformation, "textLabel1_5_3_2_4" );
    layout11->addWidget( textLabel1_5_3_2_4 );

    textLabel1_5_3_2_4_3 = new TQLabel( userInformation, "textLabel1_5_3_2_4_3" );
    layout11->addWidget( textLabel1_5_3_2_4_3 );
    layout12->addLayout( layout11 );

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

    uiMeiden = new TQLineEdit( userInformation, "uiMeiden" );
    uiMeiden->setEnabled( false );
    layout10->addWidget( uiMeiden );

    uiOrgin = new TQLineEdit( userInformation, "uiOrgin" );
    uiOrgin->setEnabled( false );
    layout10->addWidget( uiOrgin );
    layout12->addLayout( layout10 );

    userInformationLayout->addMultiCellLayout( layout12, 2, 2, 0, 1 );

    TabPageLayout->addWidget( userInformation, 0, 0 );
    tabWidget4->insertTab( TabPage, TQString::fromLatin1("") );

    TabPage_2 = new TQWidget( tabWidget4, "TabPage_2" );
    TabPageLayout_2 = new TQVBoxLayout( TabPage_2, 11, 6, "TabPageLayout_2"); 

    dcc = new TQGroupBox( TabPage_2, "dcc" );
    dcc->setEnabled( false );
    dcc->setColumnLayout(0, TQt::Vertical );
    dcc->layout()->setSpacing( 6 );
    dcc->layout()->setMargin( 11 );
    dccLayout = new TQVBoxLayout( dcc->layout() );
    dccLayout->setAlignment( TQt::AlignTop );

    textLabel1_4 = new TQLabel( dcc, "textLabel1_4" );
    dccLayout->addWidget( textLabel1_4 );

    optionOverrideDCC = new TQCheckBox( dcc, "optionOverrideDCC" );
    dccLayout->addWidget( optionOverrideDCC );

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

    layout32 = new TQHBoxLayout( 0, 0, 3, "layout32"); 

    textLabel2 = new TQLabel( dcc, "textLabel2" );
    textLabel2->setEnabled( false );
    layout32->addWidget( textLabel2 );

    textLabel2_3 = new TQLabel( dcc, "textLabel2_3" );
    textLabel2_3->setEnabled( false );
    layout32->addWidget( textLabel2_3 );
    layout33->addLayout( layout32 );

    ipAddress = new KRestrictedLine( dcc, "ipAddress" );
    ipAddress->setEnabled( false );
    ipAddress->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, ipAddress->sizePolicy().hasHeightForWidth() ) );
    layout33->addWidget( ipAddress );

    dccPort = new TQSpinBox( dcc, "dccPort" );
    dccPort->setEnabled( false );
    dccPort->setMaxValue( 65535 );
    dccPort->setValue( 8010 );
    layout33->addWidget( dccPort );
    dccLayout->addLayout( layout33 );
    TabPageLayout_2->addWidget( dcc );
    spacer9 = new TQSpacerItem( 20, 180, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    TabPageLayout_2->addItem( spacer9 );
    tabWidget4->insertTab( TabPage_2, TQString::fromLatin1("") );
    GaduAccountEditUILayout->addWidget( tabWidget4 );

    labelStatusMessage = new TQLabel( this, "labelStatusMessage" );
    labelStatusMessage->setAlignment( int( TQLabel::AlignCenter ) );
    GaduAccountEditUILayout->addWidget( labelStatusMessage );
    languageChange();
    resize( TQSize(580, 390).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( optionOverrideDCC, TQ_SIGNAL( toggled(bool) ), dccPort, TQ_SLOT( setEnabled(bool) ) );
    connect( optionOverrideDCC, TQ_SIGNAL( toggled(bool) ), ipAddress, TQ_SLOT( setEnabled(bool) ) );
    connect( optionOverrideDCC, TQ_SIGNAL( toggled(bool) ), textLabel2_3, TQ_SLOT( setEnabled(bool) ) );
    connect( optionOverrideDCC, TQ_SIGNAL( toggled(bool) ), textLabel2, TQ_SLOT( setEnabled(bool) ) );

    // tab order
    setTabOrder( tabWidget4, loginEdit_ );
    setTabOrder( loginEdit_, autoLoginCheck_ );
    setTabOrder( autoLoginCheck_, registerNew );
    setTabOrder( registerNew, cacheServersCheck__ );
    setTabOrder( cacheServersCheck__, dccCheck_ );
    setTabOrder( dccCheck_, useTls_ );
    setTabOrder( useTls_, optionOverrideDCC );
    setTabOrder( optionOverrideDCC, ipAddress );
    setTabOrder( ipAddress, dccPort );

    // buddies
    textLabel1->setBuddy( loginEdit_ );
    textLabel1_2->setBuddy( useTls_ );
    textLabel2->setBuddy( ipAddress );
    textLabel2_3->setBuddy( dccPort );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void GaduAccountEditUI::languageChange()
{
    setCaption( tr2i18n( "Account Preferences - Gadu-Gadu" ) );
    groupBox63->setTitle( tr2i18n( "Account Information" ) );
    textLabel1->setText( tr2i18n( "Gadu-Gadu &UIN:" ) );
    TQToolTip::add( textLabel1, tr2i18n( "The user ID of your Gadu-Gadu account." ) );
    TQWhatsThis::add( textLabel1, tr2i18n( "The user ID of your Gadu-Gadu account.  This should be in the form of a number (no decimals, no spaces)." ) );
    TQToolTip::add( loginEdit_, tr2i18n( "The user ID of your Gadu-Gadu account." ) );
    TQWhatsThis::add( loginEdit_, tr2i18n( "The user ID of your Gadu-Gadu account.  This should be in the form of a number (no decimals, no spaces)." ) );
    autoLoginCheck_->setText( tr2i18n( "E&xclude from connect all" ) );
    TQToolTip::add( autoLoginCheck_, TQString::null );
    TQWhatsThis::add( autoLoginCheck_, tr2i18n( "Check to disable automatic connection.  If checked, you may connect to this account manually using the icon in the bottom of the main Kopete window." ) );
    groupBox5->setTitle( tr2i18n( "Registration" ) );
    textLabel6->setText( tr2i18n( "To connect to the Gadu-Gadu network, you will need a Gadu-Gadu account.<br><br>\n"
"If you do not currently have an account, please click the button to create one." ) );
    registerNew->setText( tr2i18n( "Re&gister New Account" ) );
    TQToolTip::add( registerNew, tr2i18n( "Register a new account on this network." ) );
    TQWhatsThis::add( registerNew, tr2i18n( "Register a new account on this network." ) );
    tabWidget4->changeTab( tab, tr2i18n( "B&asic Setup" ) );
    groupBox64->setTitle( tr2i18n( "Connection Preferences" ) );
    dccCheck_->setText( tr2i18n( "&Use direct connections (DCC)" ) );
    textLabel1_2->setText( tr2i18n( "Use protocol encr&yption (SSL):" ) );
    TQToolTip::add( textLabel1_2, tr2i18n( "Whether or not you want to enable SSL encrypted communication with the server." ) );
    TQWhatsThis::add( textLabel1_2, tr2i18n( "Whether or not you want to enable SSL encrypted communication with the server.  Note that this is not end-to-end encryption, but rather encrypted communication with the server." ) );
    useTls_->clear();
    useTls_->insertItem( tr2i18n( "If Available" ) );
    useTls_->insertItem( tr2i18n( "Required" ) );
    useTls_->insertItem( tr2i18n( "Do Not Use" ) );
    TQToolTip::add( useTls_, tr2i18n( "Whether or not you want to enable SSL encrypted communication with the server." ) );
    TQWhatsThis::add( useTls_, tr2i18n( "Whether or not you want to enable SSL encrypted communication with the server.  Note that this is not end-to-end encryption, but rather encrypted communication with the server." ) );
    cacheServersCheck__->setText( tr2i18n( "C&ache server information" ) );
    TQToolTip::add( cacheServersCheck__, tr2i18n( "Cache connection information for each server connected to in case the main load-balancing server fails." ) );
    TQWhatsThis::add( cacheServersCheck__, tr2i18n( "This option is used whenever the primary Gadu-Gadu load-balancing server fails.  If this is checked, Kopete will try to connect to the actual servers directly using cached information about them.  This prevents connection errors when the main load-balancing server does not answer. In practice it only helps very rarely." ) );
    ignoreCheck_->setText( tr2i18n( "Ignore people off your contact list" ) );
    tabWidget4->changeTab( tab_2, tr2i18n( "A&ccount Preferences" ) );
    connectLabel->setText( tr2i18n( "<p align=\"center\">You must be connected to change your Personal Information.</p>" ) );
    userInformation->setTitle( tr2i18n( "User Information" ) );
    textLabel1_5->setText( tr2i18n( "Name:" ) );
    uiSurnamea->setText( tr2i18n( "Surname:" ) );
    textLabel1_5_3->setText( tr2i18n( "Your nick name:" ) );
    textLabel1_5_3_2->setText( tr2i18n( "Gender:" ) );
    textLabel1_5_3_2_2->setText( tr2i18n( "Year of birth:" ) );
    textLabel1_5_3_2_3->setText( tr2i18n( "City:" ) );
    uiGender->clear();
    uiGender->insertItem( TQString::null );
    uiGender->insertItem( tr2i18n( "Female" ) );
    uiGender->insertItem( tr2i18n( "Male" ) );
    textLabel1_5_3_2_4_2->setText( tr2i18n( "Values below are going to be used in search, but will not appear in results." ) );
    textLabel1_5_3_2_4->setText( tr2i18n( "Maiden name:" ) );
    textLabel1_5_3_2_4_3->setText( tr2i18n( "City of origin:" ) );
    tabWidget4->changeTab( TabPage, tr2i18n( "U&ser Information" ) );
    dcc->setTitle( tr2i18n( "Global DCC Options" ) );
    textLabel1_4->setText( tr2i18n( "<qt><p align=\"center\"><font color=\"#ff0000\">These options affect <b>all</b> Gadu-Gadu accounts.</font></p></qt>" ) );
    optionOverrideDCC->setText( tr2i18n( "&Override default configuration" ) );
    textLabel2->setText( tr2i18n( "Local &IP address /" ) );
    textLabel2_3->setText( tr2i18n( "po&rt:" ) );
    ipAddress->setText( tr2i18n( "0.0.0.0" ) );
    tabWidget4->changeTab( TabPage_2, tr2i18n( "&File Transfer" ) );
    labelStatusMessage->setText( TQString::null );
}

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

TQMetaObject *GaduAccountEditUI::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_GaduAccountEditUI( "GaduAccountEditUI", &GaduAccountEditUI::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* GaduAccountEditUI::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(
	"GaduAccountEditUI", parentObject,
	slot_tbl, 1,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_GaduAccountEditUI.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

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

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