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

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

#include "modcalcprecdlg.h"

#include <ntqvariant.h>
#include <kpushbutton.h>
#include <klineedit.h>
#include <dmsbox.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqbuttongroup.h>
#include <ntqlabel.h>
#include <ntqgroupbox.h>
#include <ntqcheckbox.h>
#include <ntqradiobutton.h>
#include <ntqlineedit.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

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

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

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

    InputBox = new TQButtonGroup( tab, "InputBox" );
    InputBox->setColumnLayout(0, TQt::Vertical );
    InputBox->layout()->setSpacing( 6 );
    InputBox->layout()->setMargin( 11 );
    InputBoxLayout = new TQHBoxLayout( InputBox->layout() );
    InputBoxLayout->setAlignment( TQt::AlignTop );
    spacer35 = new TQSpacerItem( 98, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    InputBoxLayout->addItem( spacer35 );

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

    epoch0Label = new TQLabel( InputBox, "epoch0Label" );

    layout25->addWidget( epoch0Label, 2, 0 );

    dec0Box = new dmsBox( InputBox, "dec0Box" );
    dec0Box->setProperty( "focusPolicy", "StrongFocus" );

    layout25->addWidget( dec0Box, 1, 1 );

    ra0Box = new dmsBox( InputBox, "ra0Box" );
    ra0Box->setProperty( "focusPolicy", "StrongFocus" );

    layout25->addWidget( ra0Box, 0, 1 );

    ra0Label = new TQLabel( InputBox, "ra0Label" );

    layout25->addWidget( ra0Label, 0, 0 );

    epochfName = new KLineEdit( InputBox, "epochfName" );

    layout25->addWidget( epochfName, 3, 1 );

    epoch0Name = new KLineEdit( InputBox, "epoch0Name" );

    layout25->addWidget( epoch0Name, 2, 1 );

    dec0Label = new TQLabel( InputBox, "dec0Label" );

    layout25->addWidget( dec0Label, 1, 0 );

    epochfLabel = new TQLabel( InputBox, "epochfLabel" );

    layout25->addWidget( epochfLabel, 3, 0 );
    InputBoxLayout->addLayout( layout25 );
    spacer34 = new TQSpacerItem( 98, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    InputBoxLayout->addItem( spacer34 );
    tabLayout->addWidget( InputBox );

    layout2 = new TQHBoxLayout( 0, 0, 6, "layout2"); 
    spacer5 = new TQSpacerItem( 91, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout2->addItem( spacer5 );

    Compute = new KPushButton( tab, "Compute" );
    layout2->addWidget( Compute );
    spacer4 = new TQSpacerItem( 51, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout2->addItem( spacer4 );

    Clear = new KPushButton( tab, "Clear" );
    layout2->addWidget( Clear );
    spacer3 = new TQSpacerItem( 91, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout2->addItem( spacer3 );
    tabLayout->addLayout( layout2 );
    spacer15 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
    tabLayout->addItem( spacer15 );

    outputBox = new TQGroupBox( tab, "outputBox" );
    outputBox->setColumnLayout(0, TQt::Vertical );
    outputBox->layout()->setSpacing( 6 );
    outputBox->layout()->setMargin( 11 );
    outputBoxLayout = new TQHBoxLayout( outputBox->layout() );
    outputBoxLayout->setAlignment( TQt::AlignTop );
    spacer36 = new TQSpacerItem( 90, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    outputBoxLayout->addItem( spacer36 );

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

    rafLabel = new TQLabel( outputBox, "rafLabel" );

    layout26->addWidget( rafLabel, 0, 0 );

    decfLabel = new TQLabel( outputBox, "decfLabel" );

    layout26->addWidget( decfLabel, 1, 0 );

    decfBox = new dmsBox( outputBox, "decfBox" );
    decfBox->setProperty( "focusPolicy", "StrongFocus" );

    layout26->addWidget( decfBox, 1, 1 );

    rafBox = new dmsBox( outputBox, "rafBox" );
    rafBox->setProperty( "focusPolicy", "StrongFocus" );

    layout26->addWidget( rafBox, 0, 1 );
    outputBoxLayout->addLayout( layout26 );
    spacer37 = new TQSpacerItem( 90, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    outputBoxLayout->addItem( spacer37 );
    tabLayout->addWidget( outputBox );
    spacer14 = new TQSpacerItem( 20, 70, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( spacer14 );
    tabWidget3->insertTab( tab, TQString::fromLatin1("") );

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

    InputBox_2_2 = new TQButtonGroup( tab_2, "InputBox_2_2" );
    InputBox_2_2->setProperty( "enabled", TQVariant( true ) );
    InputBox_2_2->setProperty( "sizePolicy", TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, InputBox_2_2->sizePolicy().hasHeightForWidth() ) );
    InputBox_2_2->setColumnLayout(0, TQt::Vertical );
    InputBox_2_2->layout()->setSpacing( 6 );
    InputBox_2_2->layout()->setMargin( 11 );
    InputBox_2_2Layout = new TQGridLayout( InputBox_2_2->layout() );
    InputBox_2_2Layout->setAlignment( TQt::AlignTop );

    decBoxBatch = new dmsBox( InputBox_2_2, "decBoxBatch" );
    decBoxBatch->setProperty( "enabled", TQVariant( false ) );
    decBoxBatch->setProperty( "focusPolicy", "StrongFocus" );

    InputBox_2_2Layout->addWidget( decBoxBatch, 1, 1 );

    raBoxBatch = new dmsBox( InputBox_2_2, "raBoxBatch" );
    raBoxBatch->setProperty( "enabled", TQVariant( false ) );
    raBoxBatch->setProperty( "focusPolicy", "StrongFocus" );

    InputBox_2_2Layout->addWidget( raBoxBatch, 0, 1 );

    decCheckBatch = new TQCheckBox( InputBox_2_2, "decCheckBatch" );
    decCheckBatch->setProperty( "checked", TQVariant( true ) );

    InputBox_2_2Layout->addWidget( decCheckBatch, 1, 0 );

    epochCheckBatch = new TQCheckBox( InputBox_2_2, "epochCheckBatch" );

    InputBox_2_2Layout->addWidget( epochCheckBatch, 2, 0 );

    targetEpochCheckBatch = new TQCheckBox( InputBox_2_2, "targetEpochCheckBatch" );

    InputBox_2_2Layout->addWidget( targetEpochCheckBatch, 3, 0 );

    epochBoxBatch = new KLineEdit( InputBox_2_2, "epochBoxBatch" );
    epochBoxBatch->setProperty( "sizePolicy", TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, epochBoxBatch->sizePolicy().hasHeightForWidth() ) );

    InputBox_2_2Layout->addWidget( epochBoxBatch, 2, 1 );

    targetEpochBoxBatch = new KLineEdit( InputBox_2_2, "targetEpochBoxBatch" );
    targetEpochBoxBatch->setProperty( "sizePolicy", TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, targetEpochBoxBatch->sizePolicy().hasHeightForWidth() ) );

    InputBox_2_2Layout->addWidget( targetEpochBoxBatch, 3, 1 );

    raCheckBatch = new TQCheckBox( InputBox_2_2, "raCheckBatch" );
    raCheckBatch->setProperty( "checked", TQVariant( true ) );

    InputBox_2_2Layout->addWidget( raCheckBatch, 0, 0 );
    tabLayout_2->addWidget( InputBox_2_2 );

    buttonGroup4_2 = new TQButtonGroup( tab_2, "buttonGroup4_2" );
    buttonGroup4_2->setColumnLayout(0, TQt::Vertical );
    buttonGroup4_2->layout()->setSpacing( 6 );
    buttonGroup4_2->layout()->setMargin( 11 );
    buttonGroup4_2Layout = new TQHBoxLayout( buttonGroup4_2->layout() );
    buttonGroup4_2Layout->setAlignment( TQt::AlignTop );

    allRadioBatch = new TQRadioButton( buttonGroup4_2, "allRadioBatch" );
    buttonGroup4_2Layout->addWidget( allRadioBatch );

    inputRadioBatch = new TQRadioButton( buttonGroup4_2, "inputRadioBatch" );
    inputRadioBatch->setProperty( "checked", TQVariant( true ) );
    buttonGroup4_2Layout->addWidget( inputRadioBatch );
    tabLayout_2->addWidget( buttonGroup4_2 );

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

    InputButtonBatch = new TQPushButton( groupBox4_2, "InputButtonBatch" );

    groupBox4_2Layout->addWidget( InputButtonBatch, 0, 0 );

    InputLineEditBatch = new TQLineEdit( groupBox4_2, "InputLineEditBatch" );

    groupBox4_2Layout->addWidget( InputLineEditBatch, 0, 1 );

    OutputLineEditBatch = new TQLineEdit( groupBox4_2, "OutputLineEditBatch" );

    groupBox4_2Layout->addWidget( OutputLineEditBatch, 1, 1 );

    OutButtonBatch = new TQPushButton( groupBox4_2, "OutButtonBatch" );

    groupBox4_2Layout->addWidget( OutButtonBatch, 1, 0 );
    tabLayout_2->addWidget( groupBox4_2 );

    layout14_2 = new TQHBoxLayout( 0, 0, 6, "layout14_2"); 
    spacer20_2 = new TQSpacerItem( 151, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout14_2->addItem( spacer20_2 );

    runButtonBatch_2 = new KPushButton( tab_2, "runButtonBatch_2" );
    runButtonBatch_2->setProperty( "sizePolicy", TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, runButtonBatch_2->sizePolicy().hasHeightForWidth() ) );
    layout14_2->addWidget( runButtonBatch_2 );
    spacer19_2 = new TQSpacerItem( 131, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout14_2->addItem( spacer19_2 );
    tabLayout_2->addLayout( layout14_2 );
    spacer25 = new TQSpacerItem( 21, 30, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout_2->addItem( spacer25 );
    tabWidget3->insertTab( tab_2, TQString::fromLatin1("") );
    modCalcPrecDlgLayout->addWidget( tabWidget3 );
    languageChange();
    resize( TQSize(548, 481).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( Compute, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotComputeCoords() ) );
    connect( Clear, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotClearCoords() ) );
    connect( raCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRaCheckedBatch() ) );
    connect( decCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDecCheckedBatch() ) );
    connect( epochCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEpochCheckedBatch() ) );
    connect( targetEpochCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotTargetEpochCheckedBatch() ) );
    connect( InputButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotInputFile() ) );
    connect( OutButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotOutputFile() ) );

    // tab order
    setTabOrder( tabWidget3, ra0Box );
    setTabOrder( ra0Box, dec0Box );
    setTabOrder( dec0Box, epoch0Name );
    setTabOrder( epoch0Name, epochfName );
    setTabOrder( epochfName, Compute );
    setTabOrder( Compute, Clear );
    setTabOrder( Clear, rafBox );
    setTabOrder( rafBox, decfBox );
    setTabOrder( decfBox, raCheckBatch );
    setTabOrder( raCheckBatch, raBoxBatch );
    setTabOrder( raBoxBatch, decCheckBatch );
    setTabOrder( decCheckBatch, decBoxBatch );
    setTabOrder( decBoxBatch, epochCheckBatch );
    setTabOrder( epochCheckBatch, epochBoxBatch );
    setTabOrder( epochBoxBatch, targetEpochCheckBatch );
    setTabOrder( targetEpochCheckBatch, targetEpochBoxBatch );
    setTabOrder( targetEpochBoxBatch, inputRadioBatch );
    setTabOrder( inputRadioBatch, InputButtonBatch );
    setTabOrder( InputButtonBatch, InputLineEditBatch );
    setTabOrder( InputLineEditBatch, OutButtonBatch );
    setTabOrder( OutButtonBatch, OutputLineEditBatch );
    setTabOrder( OutputLineEditBatch, runButtonBatch_2 );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void modCalcPrecDlg::languageChange()
{
    setProperty( "caption", tr2i18n( "Precession" ) );
    InputBox->setProperty( "title", tr2i18n( "Input Coordinates" ) );
    epoch0Label->setProperty( "text", tr2i18n( "Input epoch:" ) );
    ra0Label->setProperty( "text", tr2i18n( "Right ascension:" ) );
    dec0Label->setProperty( "text", tr2i18n( "Declination:" ) );
    epochfLabel->setProperty( "text", tr2i18n( "Target epoch:" ) );
    Compute->setProperty( "text", tr2i18n( "Compute" ) );
    Clear->setProperty( "text", tr2i18n( "Clear" ) );
    outputBox->setProperty( "title", tr2i18n( "Precessed Coordinates" ) );
    rafLabel->setProperty( "text", tr2i18n( "Right ascension:" ) );
    decfLabel->setProperty( "text", tr2i18n( "Declination:" ) );
    tabWidget3->changeTab( tab, tr2i18n( "Interactive Mode" ) );
    InputBox_2_2->setProperty( "title", tr2i18n( "Select Fields in Input File" ) );
    decCheckBatch->setProperty( "text", tr2i18n( "Declination:" ) );
    epochCheckBatch->setProperty( "text", tr2i18n( "Input epoch:" ) );
    targetEpochCheckBatch->setProperty( "text", tr2i18n( "Target epoch:" ) );
    raCheckBatch->setProperty( "text", tr2i18n( "Right ascension:" ) );
    buttonGroup4_2->setProperty( "title", tr2i18n( "Fields in Output File Plus Result" ) );
    allRadioBatch->setProperty( "text", tr2i18n( "All parameters" ) );
    inputRadioBatch->setProperty( "text", tr2i18n( "Only parameters in input file" ) );
    groupBox4_2->setProperty( "title", tr2i18n( "Files" ) );
    InputButtonBatch->setProperty( "text", tr2i18n( "Input File..." ) );
    TQToolTip::add( InputButtonBatch, tr2i18n( "File with the input data" ) );
    OutButtonBatch->setProperty( "text", tr2i18n( "Output File..." ) );
    TQToolTip::add( OutButtonBatch, tr2i18n( "File for the output data" ) );
    runButtonBatch_2->setProperty( "text", tr2i18n( "Run" ) );
    tabWidget3->changeTab( tab_2, tr2i18n( "Batch Mode" ) );
}

void modCalcPrecDlg::slotComputeCoords()
{
    tqWarning( "modCalcPrecDlg::slotComputeCoords(): Not implemented yet" );
}

void modCalcPrecDlg::slotClearCoords()
{
    tqWarning( "modCalcPrecDlg::slotClearCoords(): Not implemented yet" );
}

void modCalcPrecDlg::slotRaCheckedBatch()
{
    tqWarning( "modCalcPrecDlg::slotRaCheckedBatch(): Not implemented yet" );
}

void modCalcPrecDlg::slotDecCheckedBatch()
{
    tqWarning( "modCalcPrecDlg::slotDecCheckedBatch(): Not implemented yet" );
}

void modCalcPrecDlg::slotEpochCheckedBatch()
{
    tqWarning( "modCalcPrecDlg::slotEpochCheckedBatch(): Not implemented yet" );
}

void modCalcPrecDlg::slotTargetEpochCheckedBatch()
{
    tqWarning( "modCalcPrecDlg::slotTargetEpochCheckedBatch(): Not implemented yet" );
}

void modCalcPrecDlg::slotAllRadioBatch()
{
    tqWarning( "modCalcPrecDlg::slotAllRadioBatch(): Not implemented yet" );
}

void modCalcPrecDlg::slotInputBatch()
{
    tqWarning( "modCalcPrecDlg::slotInputBatch(): Not implemented yet" );
}

void modCalcPrecDlg::slotInputFile()
{
    tqWarning( "modCalcPrecDlg::slotInputFile(): Not implemented yet" );
}

void modCalcPrecDlg::slotOutputFile()
{
    tqWarning( "modCalcPrecDlg::slotOutputFile(): Not implemented yet" );
}

void modCalcPrecDlg::slotRunBatch()
{
    tqWarning( "modCalcPrecDlg::slotRunBatch(): Not implemented yet" );
}

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

TQMetaObject *modCalcPrecDlg::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_modCalcPrecDlg( "modCalcPrecDlg", &modCalcPrecDlg::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* modCalcPrecDlg::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 = {"slotComputeCoords", 0, 0 };
    static const TQUMethod slot_1 = {"slotClearCoords", 0, 0 };
    static const TQUMethod slot_2 = {"slotRaCheckedBatch", 0, 0 };
    static const TQUMethod slot_3 = {"slotDecCheckedBatch", 0, 0 };
    static const TQUMethod slot_4 = {"slotEpochCheckedBatch", 0, 0 };
    static const TQUMethod slot_5 = {"slotTargetEpochCheckedBatch", 0, 0 };
    static const TQUMethod slot_6 = {"slotAllRadioBatch", 0, 0 };
    static const TQUMethod slot_7 = {"slotInputBatch", 0, 0 };
    static const TQUMethod slot_8 = {"slotInputFile", 0, 0 };
    static const TQUMethod slot_9 = {"slotOutputFile", 0, 0 };
    static const TQUMethod slot_10 = {"slotRunBatch", 0, 0 };
    static const TQUMethod slot_11 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "slotComputeCoords()", &slot_0, TQMetaData::Public },
	{ "slotClearCoords()", &slot_1, TQMetaData::Public },
	{ "slotRaCheckedBatch()", &slot_2, TQMetaData::Public },
	{ "slotDecCheckedBatch()", &slot_3, TQMetaData::Public },
	{ "slotEpochCheckedBatch()", &slot_4, TQMetaData::Public },
	{ "slotTargetEpochCheckedBatch()", &slot_5, TQMetaData::Public },
	{ "slotAllRadioBatch()", &slot_6, TQMetaData::Public },
	{ "slotInputBatch()", &slot_7, TQMetaData::Public },
	{ "slotInputFile()", &slot_8, TQMetaData::Public },
	{ "slotOutputFile()", &slot_9, TQMetaData::Public },
	{ "slotRunBatch()", &slot_10, TQMetaData::Public },
	{ "languageChange()", &slot_11, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"modCalcPrecDlg", parentObject,
	slot_tbl, 12,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_modCalcPrecDlg.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool modCalcPrecDlg::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: slotComputeCoords(); break;
    case 1: slotClearCoords(); break;
    case 2: slotRaCheckedBatch(); break;
    case 3: slotDecCheckedBatch(); break;
    case 4: slotEpochCheckedBatch(); break;
    case 5: slotTargetEpochCheckedBatch(); break;
    case 6: slotAllRadioBatch(); break;
    case 7: slotInputBatch(); break;
    case 8: slotInputFile(); break;
    case 9: slotOutputFile(); break;
    case 10: slotRunBatch(); break;
    case 11: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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