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

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

#include "kendingbalancedlgdecl.h"

#include <ntqvariant.h>
#include <kmymoney/kmymoneydateinput.h>
#include <kmymoney/kmymoneyedit.h>
#include <kmymoney/kmymoneycategory.h>
#include <kmymoney/kmymoneycombo.h>
#include <../widgets/kmymoneyaccountselector.h>
#include <ntqpushbutton.h>
#include <ntqwidget.h>
#include <ntqlabel.h>
#include <kactivelabel.h>
#include <ntqframe.h>
#include <ntqgroupbox.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

/*
 *  Constructs a KEndingBalanceDlgDecl as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The qwizard will by default be modeless, unless you set 'modal' to
 *  true to construct a modal qwizard.
 */
KEndingBalanceDlgDecl::KEndingBalanceDlgDecl( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : KWizard( parent, name, modal, fl )
{
    if ( !name )
	setName( "KEndingBalanceDlgDecl" );

    m_startPageCheckings = new TQWidget( this, "m_startPageCheckings" );
    m_startPageCheckingsLayout = new TQVBoxLayout( m_startPageCheckings, 11, 6, "m_startPageCheckingsLayout"); 

    TextLabel6 = new TQLabel( m_startPageCheckings, "TextLabel6" );
    TextLabel6->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignTop ) );
    m_startPageCheckingsLayout->addWidget( TextLabel6 );
    addPage( m_startPageCheckings, TQString("") );

    m_startPageLoan = new TQWidget( this, "m_startPageLoan" );
    m_startPageLoanLayout = new TQVBoxLayout( m_startPageLoan, 11, 6, "m_startPageLoanLayout"); 

    TextLabel7 = new TQLabel( m_startPageLoan, "TextLabel7" );
    TextLabel7->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignTop ) );
    m_startPageLoanLayout->addWidget( TextLabel7 );
    Spacer11 = new TQSpacerItem( 0, 19, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    m_startPageLoanLayout->addItem( Spacer11 );

    Layout10 = new TQHBoxLayout( 0, 0, 6, "Layout10"); 
    Spacer10 = new TQSpacerItem( 42, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    Layout10->addItem( Spacer10 );

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

    m_startDateEdit = new kMyMoneyDateInput( m_startPageLoan, "m_startDateEdit" );

    Layout9->addWidget( m_startDateEdit, 0, 1 );

    TextLabel3_2 = new TQLabel( m_startPageLoan, "TextLabel3_2" );

    Layout9->addWidget( TextLabel3_2, 1, 0 );

    m_endDateEdit = new kMyMoneyDateInput( m_startPageLoan, "m_endDateEdit" );

    Layout9->addWidget( m_endDateEdit, 1, 1 );

    TextLabel2_2 = new TQLabel( m_startPageLoan, "TextLabel2_2" );

    Layout9->addWidget( TextLabel2_2, 0, 0 );
    Layout10->addLayout( Layout9 );
    Spacer9_2 = new TQSpacerItem( 44, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    Layout10->addItem( Spacer9_2 );
    m_startPageLoanLayout->addLayout( Layout10 );
    Spacer12 = new TQSpacerItem( 0, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    m_startPageLoanLayout->addItem( Spacer12 );
    addPage( m_startPageLoan, TQString("") );

    m_checkPaymentsPage = new TQWidget( this, "m_checkPaymentsPage" );
    m_checkPaymentsPageLayout = new TQVBoxLayout( m_checkPaymentsPage, 11, 6, "m_checkPaymentsPageLayout"); 

    m_loanOverview = new TQLabel( m_checkPaymentsPage, "m_loanOverview" );
    m_loanOverview->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignTop ) );
    m_checkPaymentsPageLayout->addWidget( m_loanOverview );

    Layout12 = new TQHBoxLayout( 0, 0, 6, "Layout12"); 
    Spacer13 = new TQSpacerItem( 51, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    Layout12->addItem( Spacer13 );

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

    TextLabel1 = new TQLabel( m_checkPaymentsPage, "TextLabel1" );

    Layout11->addWidget( TextLabel1, 0, 0 );

    m_amortizationTotalEdit = new kMyMoneyEdit( m_checkPaymentsPage, "m_amortizationTotalEdit" );

    Layout11->addWidget( m_amortizationTotalEdit, 0, 1 );

    TextLabel2_3 = new TQLabel( m_checkPaymentsPage, "TextLabel2_3" );

    Layout11->addWidget( TextLabel2_3, 1, 0 );

    m_interestTotalEdit = new kMyMoneyEdit( m_checkPaymentsPage, "m_interestTotalEdit" );

    Layout11->addWidget( m_interestTotalEdit, 1, 1 );
    Layout12->addLayout( Layout11 );
    Spacer14 = new TQSpacerItem( 71, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    Layout12->addItem( Spacer14 );
    m_checkPaymentsPageLayout->addLayout( Layout12 );

    TextLabel4_2 = new TQLabel( m_checkPaymentsPage, "TextLabel4_2" );
    TextLabel4_2->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignTop ) );
    m_checkPaymentsPageLayout->addWidget( TextLabel4_2 );
    Spacer15 = new TQSpacerItem( 0, 19, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    m_checkPaymentsPageLayout->addItem( Spacer15 );
    addPage( m_checkPaymentsPage, TQString("") );

    m_adjustmentTransactionPage = new TQWidget( this, "m_adjustmentTransactionPage" );
    m_adjustmentTransactionPageLayout = new TQVBoxLayout( m_adjustmentTransactionPage, 11, 6, "m_adjustmentTransactionPageLayout"); 

    TextLabel5_2 = new TQLabel( m_adjustmentTransactionPage, "TextLabel5_2" );
    TextLabel5_2->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignTop ) );
    m_adjustmentTransactionPageLayout->addWidget( TextLabel5_2 );

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

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

    TextLabel7_2 = new TQLabel( m_adjustmentTransactionPage, "TextLabel7_2" );
    Layout16->addWidget( TextLabel7_2 );

    m_accountEdit = new kMyMoneyAccountSelector( m_adjustmentTransactionPage, "m_accountEdit" );
    Layout16->addWidget( m_accountEdit );
    Layout19->addLayout( Layout16 );

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

    TextLabel6_2 = new TQLabel( m_adjustmentTransactionPage, "TextLabel6_2" );
    Layout18->addWidget( TextLabel6_2 );

    m_categoryEdit = new kMyMoneyAccountSelector( m_adjustmentTransactionPage, "m_categoryEdit" );
    Layout18->addWidget( m_categoryEdit );
    Layout19->addLayout( Layout18 );
    m_adjustmentTransactionPageLayout->addLayout( Layout19 );
    Spacer16 = new TQSpacerItem( 0, 25, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    m_adjustmentTransactionPageLayout->addItem( Spacer16 );
    addPage( m_adjustmentTransactionPage, TQString("") );

    m_pagePreviousPostpone = new TQWidget( this, "m_pagePreviousPostpone" );
    m_pagePreviousPostponeLayout = new TQVBoxLayout( m_pagePreviousPostpone, 11, 6, "m_pagePreviousPostponeLayout"); 

    TextLabel8 = new TQLabel( m_pagePreviousPostpone, "TextLabel8" );
    TextLabel8->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignTop ) );
    m_pagePreviousPostponeLayout->addWidget( TextLabel8 );
    addPage( m_pagePreviousPostpone, TQString("") );

    m_statementInfoPageCheckings = new TQWidget( this, "m_statementInfoPageCheckings" );
    m_statementInfoPageCheckingsLayout = new TQVBoxLayout( m_statementInfoPageCheckings, 11, 6, "m_statementInfoPageCheckingsLayout"); 

    m_enterInformationLabel = new KActiveLabel( m_statementInfoPageCheckings, "m_enterInformationLabel" );
    m_statementInfoPageCheckingsLayout->addWidget( m_enterInformationLabel );
    Spacer4 = new TQSpacerItem( 20, 50, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    m_statementInfoPageCheckingsLayout->addItem( Spacer4 );

    Layout9_2 = new TQHBoxLayout( 0, 0, 6, "Layout9_2"); 
    Spacer3 = new TQSpacerItem( 42, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    Layout9_2->addItem( Spacer3 );

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

    TextLabel3 = new TQLabel( m_statementInfoPageCheckings, "TextLabel3" );

    Layout8->addWidget( TextLabel3, 0, 0 );

    m_statementDate = new kMyMoneyDateInput( m_statementInfoPageCheckings, "m_statementDate" );

    Layout8->addWidget( m_statementDate, 0, 1 );

    TextLabel2 = new TQLabel( m_statementInfoPageCheckings, "TextLabel2" );

    Layout8->addWidget( TextLabel2, 1, 0 );

    m_previousBalance = new kMyMoneyEdit( m_statementInfoPageCheckings, "m_previousBalance" );

    Layout8->addWidget( m_previousBalance, 1, 1 );

    TextLabel4 = new TQLabel( m_statementInfoPageCheckings, "TextLabel4" );

    Layout8->addWidget( TextLabel4, 2, 0 );

    m_endingBalance = new kMyMoneyEdit( m_statementInfoPageCheckings, "m_endingBalance" );

    Layout8->addWidget( m_endingBalance, 2, 1 );
    Layout9_2->addLayout( Layout8 );
    Spacer2 = new TQSpacerItem( 46, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    Layout9_2->addItem( Spacer2 );
    m_statementInfoPageCheckingsLayout->addLayout( Layout9_2 );
    Spacer5 = new TQSpacerItem( 16, 87, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    m_statementInfoPageCheckingsLayout->addItem( Spacer5 );

    m_lastStatementDate = new TQLabel( m_statementInfoPageCheckings, "m_lastStatementDate" );
    m_statementInfoPageCheckingsLayout->addWidget( m_lastStatementDate );
    addPage( m_statementInfoPageCheckings, TQString("") );

    m_interestChargeCheckings = new TQWidget( this, "m_interestChargeCheckings" );
    m_interestChargeCheckingsLayout = new TQVBoxLayout( m_interestChargeCheckings, 11, 6, "m_interestChargeCheckingsLayout"); 

    kActiveLabel1 = new KActiveLabel( m_interestChargeCheckings, "kActiveLabel1" );
    m_interestChargeCheckingsLayout->addWidget( kActiveLabel1 );

    Line2 = new TQFrame( m_interestChargeCheckings, "Line2" );
    Line2->setFrameShape( TQFrame::HLine );
    Line2->setFrameShadow( TQFrame::Sunken );
    Line2->setFrameShape( TQFrame::HLine );
    m_interestChargeCheckingsLayout->addWidget( Line2 );
    Spacer8 = new TQSpacerItem( 16, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    m_interestChargeCheckingsLayout->addItem( Spacer8 );

    layout17 = new TQHBoxLayout( 0, 0, 6, "layout17"); 
    Spacer7 = new TQSpacerItem( 60, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout17->addItem( Spacer7 );

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

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

    textLabel1 = new TQLabel( m_interestChargeCheckings, "textLabel1" );
    textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) );
    layout15->addWidget( textLabel1 );

    m_payeeEdit = new KMyMoneyPayeeCombo( m_interestChargeCheckings, "m_payeeEdit" );
    m_payeeEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 1, 0, m_payeeEdit->sizePolicy().hasHeightForWidth() ) );
    layout15->addWidget( m_payeeEdit );
    layout16->addLayout( layout15 );

    groupBox1 = new TQGroupBox( m_interestChargeCheckings, "groupBox1" );
    groupBox1->setColumnLayout(0, TQt::Vertical );
    groupBox1->layout()->setSpacing( 6 );
    groupBox1->layout()->setMargin( 2 );
    groupBox1Layout = new TQVBoxLayout( groupBox1->layout() );
    groupBox1Layout->setAlignment( TQt::AlignTop );

    m_interestCategoryEdit = new KMyMoneyCategory( groupBox1, "m_interestCategoryEdit" );
    m_interestCategoryEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, m_interestCategoryEdit->sizePolicy().hasHeightForWidth() ) );
    groupBox1Layout->addWidget( m_interestCategoryEdit );

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

    m_interestEdit = new kMyMoneyEdit( groupBox1, "m_interestEdit" );
    m_interestEdit->setProperty( "resetButtonVisibility", TQVariant( false ) );
    layout18->addWidget( m_interestEdit );

    m_interestDateEdit = new kMyMoneyDateInput( groupBox1, "m_interestDateEdit" );
    layout18->addWidget( m_interestDateEdit );
    groupBox1Layout->addLayout( layout18 );
    layout16->addWidget( groupBox1 );

    groupBox2 = new TQGroupBox( m_interestChargeCheckings, "groupBox2" );
    groupBox2->setColumnLayout(0, TQt::Vertical );
    groupBox2->layout()->setSpacing( 6 );
    groupBox2->layout()->setMargin( 2 );
    groupBox2Layout = new TQVBoxLayout( groupBox2->layout() );
    groupBox2Layout->setAlignment( TQt::AlignTop );

    m_chargesCategoryEdit = new KMyMoneyCategory( groupBox2, "m_chargesCategoryEdit" );
    m_chargesCategoryEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, m_chargesCategoryEdit->sizePolicy().hasHeightForWidth() ) );
    groupBox2Layout->addWidget( m_chargesCategoryEdit );

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

    m_chargesEdit = new kMyMoneyEdit( groupBox2, "m_chargesEdit" );
    m_chargesEdit->setProperty( "resetButtonVisibility", TQVariant( false ) );
    layout19->addWidget( m_chargesEdit );

    m_chargesDateEdit = new kMyMoneyDateInput( groupBox2, "m_chargesDateEdit" );
    layout19->addWidget( m_chargesDateEdit );
    groupBox2Layout->addLayout( layout19 );
    layout16->addWidget( groupBox2 );
    layout17->addLayout( layout16 );
    Spacer6 = new TQSpacerItem( 60, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout17->addItem( Spacer6 );
    m_interestChargeCheckingsLayout->addLayout( layout17 );
    Spacer9 = new TQSpacerItem( 16, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    m_interestChargeCheckingsLayout->addItem( Spacer9 );
    addPage( m_interestChargeCheckings, TQString("") );
    languageChange();
    resize( TQSize(589, 465).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // buddies
    TextLabel7_2->setBuddy( m_accountEdit );
    TextLabel6_2->setBuddy( m_categoryEdit );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void KEndingBalanceDlgDecl::languageChange()
{
    setCaption( tr2i18n( "Reconciliation Wizard" ) );
    TextLabel6->setText( tr2i18n( "Reconciling your account assures, that your recordings match those of your institution and that there are no mistakes on either side. You should reconcile your account whenever you receive a statement from your institution.\n"
"\n"
"All relevant information necessary for this process is usually printed on your statement.\n"
"\n"
"On the next page you will verify, that the starting and ending balance are matching those on your statement. If not, please modify the figures." ) );
    setTitle( m_startPageCheckings, tr2i18n( "General Information" ) );
    TextLabel7->setText( tr2i18n( "KMyMoney calculates your loan payments automatically. The amounts can deviate from those calculated by the creditor. Therefore, you possibly have to adjust amortization, interest and other costs according to your statement.\n"
"\n"
"Please enter the following information found on your statement:" ) );
    TextLabel3_2->setText( tr2i18n( "Ending date of statement" ) );
    TextLabel2_2->setText( tr2i18n( "Starting date of statement" ) );
    setTitle( m_startPageLoan, tr2i18n( "General Information" ) );
    m_loanOverview->setText( tr2i18n( "1" ) );
    TextLabel1->setText( tr2i18n( "Amortization" ) );
    TextLabel2_3->setText( tr2i18n( "Interest" ) );
    TextLabel4_2->setText( tr2i18n( "If your statement shows different amounts, please cancel this dialog and correct the false transactions or correct the values in this dialog. In the later case, KMyMoney will create an adjustment transaction and add it to the ledger." ) );
    setTitle( m_checkPaymentsPage, tr2i18n( "Verify payments" ) );
    TextLabel5_2->setText( tr2i18n( "In order to create the adjustment transaction, KMyMoney requires an account and possibly an interest category to assign the differences to. Please select an account and - if necessary - a category." ) );
    TextLabel7_2->setText( tr2i18n( "Account" ) );
    TextLabel6_2->setText( tr2i18n( "Interest-Category" ) );
    setTitle( m_adjustmentTransactionPage, tr2i18n( "Adjustment transaction" ) );
    TextLabel8->setText( tr2i18n( "You have previously postponed the reconciliation of this account. If you have entered charges or interests the last time you started reconciling this account you can modify these in the ledger later on.\n"
"\n"
"It is important, that you continue with the same statement you used when you postponed the reconciliation.\n"
"\n"
"All information you have entered into this wizard will be shown and all transactions that you already cleared are marked with a 'C'." ) );
    setTitle( m_pagePreviousPostpone, tr2i18n( "Restarting postponed reconciliation" ) );
    m_enterInformationLabel->setText( tr2i18n( "x" ) );
    TextLabel3->setText( tr2i18n( "Statement date:" ) );
    TextLabel2->setText( tr2i18n( "Starting balance of this statement:" ) );
    TextLabel4->setText( tr2i18n( "Ending balance of this statement:" ) );
    m_lastStatementDate->setText( tr2i18n( "1" ) );
    setTitle( m_statementInfoPageCheckings, tr2i18n( "Statement Information" ) );
    kActiveLabel1->setText( tr2i18n( "If necessary, enter information about interest or charges here. KMyMoney will create transactions and clear them directly for you." ) );
    textLabel1->setText( tr2i18n( "Payee" ) );
    groupBox1->setTitle( tr2i18n( "Interest" ) );
    groupBox2->setTitle( tr2i18n( "Charges" ) );
    setTitle( m_interestChargeCheckings, tr2i18n( "Interest / Charges" ) );
}

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

TQMetaObject *KEndingBalanceDlgDecl::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_KEndingBalanceDlgDecl( "KEndingBalanceDlgDecl", &KEndingBalanceDlgDecl::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

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

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

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

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

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

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