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

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

#include "dlgvcard.h"

#include <ntqvariant.h>
#include <kurllabel.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqlabel.h>
#include <ntqlineedit.h>
#include <ntqwidgetstack.h>
#include <ntqgroupbox.h>
#include <ntqtextedit.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

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

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

    tab = new TQWidget( tabWidget3, "tab" );
    tabLayout = new TQGridLayout( tab, 1, 1, 11, 6, "tabLayout"); 

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

    lblBirthday = new TQLabel( tab, "lblBirthday" );
    layout13->addWidget( lblBirthday );

    leBirthday = new TQLineEdit( tab, "leBirthday" );
    leBirthday->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, leBirthday->sizePolicy().hasHeightForWidth() ) );
    layout13->addWidget( leBirthday );

    tabLayout->addMultiCellLayout( layout13, 4, 4, 0, 1 );

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

    lblHomepage = new TQLabel( tab, "lblHomepage" );
    layout12->addWidget( lblHomepage );

    wsHomepage = new TQWidgetStack( tab, "wsHomepage" );
    wsHomepage->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, wsHomepage->sizePolicy().hasHeightForWidth() ) );
    wsHomepage->setMinimumSize( TQSize( 0, 0 ) );

    page = new TQWidget( wsHomepage, "page" );

    urlHomepage = new KURLLabel( page, "urlHomepage" );
    urlHomepage->setGeometry( TQRect( 0, 5, 450, 18 ) );
    urlHomepage->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, urlHomepage->sizePolicy().hasHeightForWidth() ) );
    wsHomepage->addWidget( page, 0 );

    page_2 = new TQWidget( wsHomepage, "page_2" );

    leHomepage = new TQLineEdit( page_2, "leHomepage" );
    leHomepage->setGeometry( TQRect( 0, 0, 450, 25 ) );
    leHomepage->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, leHomepage->sizePolicy().hasHeightForWidth() ) );
    wsHomepage->addWidget( page_2, 1 );
    layout12->addWidget( wsHomepage );

    tabLayout->addMultiCellLayout( layout12, 3, 3, 0, 1 );

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

    lblTimezone = new TQLabel( tab, "lblTimezone" );
    layout14->addWidget( lblTimezone );

    leTimezone = new TQLineEdit( tab, "leTimezone" );
    leTimezone->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, leTimezone->sizePolicy().hasHeightForWidth() ) );
    layout14->addWidget( leTimezone );

    tabLayout->addMultiCellLayout( layout14, 5, 5, 0, 1 );

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

    lblJID = new TQLabel( tab, "lblJID" );
    layout11->addWidget( lblJID );

    leJID = new TQLineEdit( tab, "leJID" );
    leJID->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, leJID->sizePolicy().hasHeightForWidth() ) );
    layout11->addWidget( leJID );

    tabLayout->addMultiCellLayout( layout11, 2, 2, 0, 1 );

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

    lblName = new TQLabel( tab, "lblName" );
    layout10->addWidget( lblName );

    leName = new TQLineEdit( tab, "leName" );
    leName->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, leName->sizePolicy().hasHeightForWidth() ) );
    layout10->addWidget( leName );

    tabLayout->addMultiCellLayout( layout10, 1, 1, 0, 1 );

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

    lblNick = new TQLabel( tab, "lblNick" );
    layout9->addWidget( lblNick );

    leNick = new TQLineEdit( tab, "leNick" );
    leNick->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, leNick->sizePolicy().hasHeightForWidth() ) );
    layout9->addWidget( leNick );

    tabLayout->addMultiCellLayout( layout9, 0, 0, 0, 1 );
    spacer22 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( spacer22, 7, 0 );
    spacer9 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( spacer9, 7, 1 );

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

    btnSelectPhoto = new TQPushButton( groupBox1, "btnSelectPhoto" );

    groupBox1Layout->addMultiCellWidget( btnSelectPhoto, 1, 1, 0, 1 );

    btnClearPhoto = new TQPushButton( groupBox1, "btnClearPhoto" );

    groupBox1Layout->addMultiCellWidget( btnClearPhoto, 1, 1, 2, 3 );

    lblPhoto = new TQLabel( groupBox1, "lblPhoto" );
    lblPhoto->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lblPhoto->sizePolicy().hasHeightForWidth() ) );
    lblPhoto->setMinimumSize( TQSize( 96, 96 ) );
    lblPhoto->setMaximumSize( TQSize( 96, 96 ) );
    lblPhoto->setFrameShape( TQLabel::GroupBoxPanel );
    lblPhoto->setScaledContents( true );

    groupBox1Layout->addMultiCellWidget( lblPhoto, 0, 0, 1, 2 );
    spacer10 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer10, 0, 0 );
    spacer11 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    groupBox1Layout->addItem( spacer11, 0, 3 );

    tabLayout->addMultiCellWidget( groupBox1, 6, 6, 0, 1 );
    tabWidget3->insertTab( tab, TQString::fromLatin1("") );

    tab_2 = new TQWidget( tabWidget3, "tab_2" );
    tabLayout_2 = new TQGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2"); 

    layout36 = new TQGridLayout( 0, 1, 1, 0, 6, "layout36"); 

    lblState = new TQLabel( tab_2, "lblState" );

    layout36->addWidget( lblState, 4, 0 );

    lblPOBox = new TQLabel( tab_2, "lblPOBox" );

    layout36->addWidget( lblPOBox, 2, 0 );

    leHomeExtAddr = new TQLineEdit( tab_2, "leHomeExtAddr" );

    layout36->addWidget( leHomeExtAddr, 1, 1 );

    lblCity = new TQLabel( tab_2, "lblCity" );

    layout36->addWidget( lblCity, 3, 0 );
    spacer14 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout36->addItem( spacer14, 8, 1 );

    wsHomeEmail = new TQWidgetStack( tab_2, "wsHomeEmail" );
    wsHomeEmail->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, wsHomeEmail->sizePolicy().hasHeightForWidth() ) );

    page_3 = new TQWidget( wsHomeEmail, "page_3" );

    urlHomeEmail = new KURLLabel( page_3, "urlHomeEmail" );
    urlHomeEmail->setGeometry( TQRect( 0, 4, 430, 18 ) );
    wsHomeEmail->addWidget( page_3, 0 );

    page_4 = new TQWidget( wsHomeEmail, "page_4" );

    leHomeEmail = new TQLineEdit( page_4, "leHomeEmail" );
    leHomeEmail->setGeometry( TQRect( 0, 0, 450, 25 ) );
    wsHomeEmail->addWidget( page_4, 1 );

    layout36->addMultiCellWidget( wsHomeEmail, 6, 7, 1, 1 );

    lblCountry = new TQLabel( tab_2, "lblCountry" );

    layout36->addWidget( lblCountry, 5, 0 );

    lblStreet = new TQLabel( tab_2, "lblStreet" );

    layout36->addWidget( lblStreet, 0, 0 );

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

    layout36->addWidget( lblEmail, 6, 0 );

    leHomePOBox = new TQLineEdit( tab_2, "leHomePOBox" );

    layout36->addWidget( leHomePOBox, 2, 1 );

    leHomePostalCode = new TQLineEdit( tab_2, "leHomePostalCode" );

    layout36->addWidget( leHomePostalCode, 4, 1 );
    spacer13 = new TQSpacerItem( 20, 50, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout36->addMultiCell( spacer13, 7, 8, 0, 0 );

    leHomeCountry = new TQLineEdit( tab_2, "leHomeCountry" );

    layout36->addWidget( leHomeCountry, 5, 1 );

    leHomeCity = new TQLineEdit( tab_2, "leHomeCity" );

    layout36->addWidget( leHomeCity, 3, 1 );

    leHomeStreet = new TQLineEdit( tab_2, "leHomeStreet" );

    layout36->addWidget( leHomeStreet, 0, 1 );

    tabLayout_2->addLayout( layout36, 0, 0 );
    tabWidget3->insertTab( tab_2, TQString::fromLatin1("") );

    tab_3 = new TQWidget( tabWidget3, "tab_3" );
    tabLayout_3 = new TQGridLayout( tab_3, 1, 1, 11, 6, "tabLayout_3"); 

    layout37 = new TQGridLayout( 0, 1, 1, 0, 6, "layout37"); 
    spacer15 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout37->addItem( spacer15, 8, 1 );

    leWorkPOBox = new TQLineEdit( tab_3, "leWorkPOBox" );

    layout37->addWidget( leWorkPOBox, 2, 1 );

    leWorkCountry = new TQLineEdit( tab_3, "leWorkCountry" );

    layout37->addWidget( leWorkCountry, 5, 1 );

    lblCity_2 = new TQLabel( tab_3, "lblCity_2" );

    layout37->addWidget( lblCity_2, 3, 0 );

    leWorkExtAddr = new TQLineEdit( tab_3, "leWorkExtAddr" );

    layout37->addWidget( leWorkExtAddr, 1, 1 );

    lblPOBox_2 = new TQLabel( tab_3, "lblPOBox_2" );

    layout37->addWidget( lblPOBox_2, 2, 0 );

    leWorkCity = new TQLineEdit( tab_3, "leWorkCity" );

    layout37->addWidget( leWorkCity, 3, 1 );

    leWorkStreet = new TQLineEdit( tab_3, "leWorkStreet" );

    layout37->addWidget( leWorkStreet, 0, 1 );

    lblEmail_2 = new TQLabel( tab_3, "lblEmail_2" );

    layout37->addWidget( lblEmail_2, 6, 0 );

    lblCountry_2 = new TQLabel( tab_3, "lblCountry_2" );

    layout37->addWidget( lblCountry_2, 5, 0 );

    leWorkPostalCode = new TQLineEdit( tab_3, "leWorkPostalCode" );

    layout37->addWidget( leWorkPostalCode, 4, 1 );
    spacer25 = new TQSpacerItem( 20, 30, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout37->addMultiCell( spacer25, 7, 8, 0, 0 );

    lblState_2 = new TQLabel( tab_3, "lblState_2" );

    layout37->addWidget( lblState_2, 4, 0 );

    lblStreet_2 = new TQLabel( tab_3, "lblStreet_2" );

    layout37->addWidget( lblStreet_2, 0, 0 );

    wsWorkEmail = new TQWidgetStack( tab_3, "wsWorkEmail" );
    wsWorkEmail->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, wsWorkEmail->sizePolicy().hasHeightForWidth() ) );

    page_5 = new TQWidget( wsWorkEmail, "page_5" );

    urlWorkEmail = new KURLLabel( page_5, "urlWorkEmail" );
    urlWorkEmail->setGeometry( TQRect( 0, 5, 437, 18 ) );
    wsWorkEmail->addWidget( page_5, 0 );

    page_6 = new TQWidget( wsWorkEmail, "page_6" );

    leWorkEmail = new TQLineEdit( page_6, "leWorkEmail" );
    leWorkEmail->setGeometry( TQRect( 0, 0, 450, 25 ) );
    leWorkEmail->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, leWorkEmail->sizePolicy().hasHeightForWidth() ) );
    wsWorkEmail->addWidget( page_6, 1 );

    layout37->addMultiCellWidget( wsWorkEmail, 6, 7, 1, 1 );

    tabLayout_3->addLayout( layout37, 0, 0 );
    tabWidget3->insertTab( tab_3, TQString::fromLatin1("") );

    tab_4 = new TQWidget( tabWidget3, "tab_4" );
    tabLayout_4 = new TQGridLayout( tab_4, 1, 1, 11, 6, "tabLayout_4"); 

    layout57 = new TQGridLayout( 0, 1, 1, 0, 6, "layout57"); 

    leDepartment = new TQLineEdit( tab_4, "leDepartment" );

    layout57->addWidget( leDepartment, 1, 1 );

    leCompany = new TQLineEdit( tab_4, "leCompany" );

    layout57->addWidget( leCompany, 0, 1 );
    spacer26 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout57->addItem( spacer26, 4, 1 );

    lblPosition = new TQLabel( tab_4, "lblPosition" );

    layout57->addWidget( lblPosition, 2, 0 );

    lePosition = new TQLineEdit( tab_4, "lePosition" );

    layout57->addWidget( lePosition, 2, 1 );

    leRole = new TQLineEdit( tab_4, "leRole" );

    layout57->addWidget( leRole, 3, 1 );

    lblRole = new TQLabel( tab_4, "lblRole" );

    layout57->addWidget( lblRole, 3, 0 );

    lblDepartment = new TQLabel( tab_4, "lblDepartment" );

    layout57->addWidget( lblDepartment, 1, 0 );

    lblCompany = new TQLabel( tab_4, "lblCompany" );

    layout57->addWidget( lblCompany, 0, 0 );

    tabLayout_4->addLayout( layout57, 0, 0 );
    tabWidget3->insertTab( tab_4, TQString::fromLatin1("") );

    tab_5 = new TQWidget( tabWidget3, "tab_5" );
    tabLayout_5 = new TQGridLayout( tab_5, 1, 1, 11, 6, "tabLayout_5"); 

    layout59 = new TQGridLayout( 0, 1, 1, 0, 6, "layout59"); 
    spacer27 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout59->addItem( spacer27, 4, 1 );

    lePhoneFax = new TQLineEdit( tab_5, "lePhoneFax" );

    layout59->addWidget( lePhoneFax, 2, 1 );

    lePhoneCell = new TQLineEdit( tab_5, "lePhoneCell" );

    layout59->addWidget( lePhoneCell, 3, 1 );

    lblPhoneFax = new TQLabel( tab_5, "lblPhoneFax" );

    layout59->addWidget( lblPhoneFax, 2, 0 );

    lePhoneHome = new TQLineEdit( tab_5, "lePhoneHome" );

    layout59->addWidget( lePhoneHome, 0, 1 );

    lblPhoneCell = new TQLabel( tab_5, "lblPhoneCell" );

    layout59->addWidget( lblPhoneCell, 3, 0 );

    lePhoneWork = new TQLineEdit( tab_5, "lePhoneWork" );

    layout59->addWidget( lePhoneWork, 1, 1 );

    lblPhoneWork = new TQLabel( tab_5, "lblPhoneWork" );

    layout59->addWidget( lblPhoneWork, 1, 0 );

    lblPhoneHome = new TQLabel( tab_5, "lblPhoneHome" );

    layout59->addWidget( lblPhoneHome, 0, 0 );

    tabLayout_5->addLayout( layout59, 0, 0 );
    tabWidget3->insertTab( tab_5, TQString::fromLatin1("") );

    tab_6 = new TQWidget( tabWidget3, "tab_6" );
    tabLayout_6 = new TQGridLayout( tab_6, 1, 1, 11, 6, "tabLayout_6"); 

    teAbout = new TQTextEdit( tab_6, "teAbout" );

    tabLayout_6->addWidget( teAbout, 0, 0 );
    tabWidget3->insertTab( tab_6, TQString::fromLatin1("") );

    dlgVCardLayout->addWidget( tabWidget3, 0, 0 );

    lblStatus = new TQLabel( this, "lblStatus" );

    dlgVCardLayout->addWidget( lblStatus, 1, 0 );
    languageChange();
    resize( TQSize(764, 487).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // tab order
    setTabOrder( tabWidget3, leNick );
    setTabOrder( leNick, leName );
    setTabOrder( leName, leJID );
    setTabOrder( leJID, leBirthday );
    setTabOrder( leBirthday, leTimezone );
    setTabOrder( leTimezone, leHomepage );
    setTabOrder( leHomepage, leHomeStreet );
    setTabOrder( leHomeStreet, leHomeExtAddr );
    setTabOrder( leHomeExtAddr, leHomePOBox );
    setTabOrder( leHomePOBox, leHomeCity );
    setTabOrder( leHomeCity, leHomePostalCode );
    setTabOrder( leHomePostalCode, leHomeCountry );
    setTabOrder( leHomeCountry, leHomeEmail );
    setTabOrder( leHomeEmail, leWorkStreet );
    setTabOrder( leWorkStreet, leWorkExtAddr );
    setTabOrder( leWorkExtAddr, leWorkPOBox );
    setTabOrder( leWorkPOBox, leWorkCity );
    setTabOrder( leWorkCity, leWorkPostalCode );
    setTabOrder( leWorkPostalCode, leWorkCountry );
    setTabOrder( leWorkCountry, leWorkEmail );
    setTabOrder( leWorkEmail, leCompany );
    setTabOrder( leCompany, leDepartment );
    setTabOrder( leDepartment, lePosition );
    setTabOrder( lePosition, leRole );
    setTabOrder( leRole, lePhoneHome );
    setTabOrder( lePhoneHome, lePhoneWork );
    setTabOrder( lePhoneWork, lePhoneFax );
    setTabOrder( lePhoneFax, lePhoneCell );
    setTabOrder( lePhoneCell, teAbout );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void dlgVCard::languageChange()
{
    lblBirthday->setText( tr2i18n( "Birthday:" ) );
    lblHomepage->setText( tr2i18n( "Homepage:" ) );
    lblTimezone->setText( tr2i18n( "Timezone:" ) );
    lblJID->setText( tr2i18n( "Jabber ID:" ) );
    lblName->setText( tr2i18n( "Full name:" ) );
    leName->setText( TQString::null );
    lblNick->setText( tr2i18n( "Nickname:" ) );
    groupBox1->setTitle( tr2i18n( "Photo" ) );
    btnSelectPhoto->setText( tr2i18n( "&Select Photo..." ) );
    btnClearPhoto->setText( tr2i18n( "Clear Pho&to" ) );
    tabWidget3->changeTab( tab, tr2i18n( "&General" ) );
    lblState->setText( tr2i18n( "Postal code:" ) );
    lblPOBox->setText( tr2i18n( "PO box:" ) );
    lblCity->setText( tr2i18n( "City:" ) );
    lblCountry->setText( tr2i18n( "Country:" ) );
    lblStreet->setText( tr2i18n( "Street:" ) );
    lblEmail->setText( tr2i18n( "Email:" ) );
    tabWidget3->changeTab( tab_2, tr2i18n( "&Home Address" ) );
    lblCity_2->setText( tr2i18n( "City:" ) );
    lblPOBox_2->setText( tr2i18n( "PO box:" ) );
    lblEmail_2->setText( tr2i18n( "Email:" ) );
    lblCountry_2->setText( tr2i18n( "Country:" ) );
    lblState_2->setText( tr2i18n( "Postal code:" ) );
    lblStreet_2->setText( tr2i18n( "Street:" ) );
    tabWidget3->changeTab( tab_3, tr2i18n( "&Work Address" ) );
    lblPosition->setText( tr2i18n( "Position:" ) );
    lblRole->setText( tr2i18n( "Role:" ) );
    lblDepartment->setText( tr2i18n( "Department:" ) );
    lblCompany->setText( tr2i18n( "Company:" ) );
    tabWidget3->changeTab( tab_4, tr2i18n( "Wor&k Information" ) );
    lblPhoneFax->setText( tr2i18n( "Fax:" ) );
    lblPhoneCell->setText( tr2i18n( "Cell:" ) );
    lblPhoneWork->setText( tr2i18n( "Work:" ) );
    lblPhoneHome->setText( tr2i18n( "Home:" ) );
    tabWidget3->changeTab( tab_5, tr2i18n( "Phone &Numbers" ) );
    tabWidget3->changeTab( tab_6, tr2i18n( "A&bout" ) );
    lblStatus->setText( TQString::null );
}

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

TQMetaObject *dlgVCard::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_dlgVCard( "dlgVCard", &dlgVCard::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

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

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

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

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

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

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