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

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

#include "modcalcgalcoorddlg.h"

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

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

    tabWidget8 = new TQTabWidget( this, "tabWidget8" );
    tabWidget8->setFocusPolicy( TQTabWidget::StrongFocus );

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

    ButtonGroup1 = new TQButtonGroup( tab, "ButtonGroup1" );
    ButtonGroup1->setColumnLayout(0, TQt::Vertical );
    ButtonGroup1->layout()->setSpacing( 6 );
    ButtonGroup1->layout()->setMargin( 11 );
    ButtonGroup1Layout = new TQHBoxLayout( ButtonGroup1->layout() );
    ButtonGroup1Layout->setAlignment( TQt::AlignTop );
    spacer4 = new TQSpacerItem( 97, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    ButtonGroup1Layout->addItem( spacer4 );

    equRadio = new TQRadioButton( ButtonGroup1, "equRadio" );
    equRadio->setChecked( true );
    ButtonGroup1Layout->addWidget( equRadio );
    spacer3 = new TQSpacerItem( 96, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    ButtonGroup1Layout->addItem( spacer3 );

    galRadio = new TQRadioButton( ButtonGroup1, "galRadio" );
    galRadio->setFocusPolicy( TQRadioButton::TabFocus );
    ButtonGroup1Layout->addWidget( galRadio );
    spacer2 = new TQSpacerItem( 97, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    ButtonGroup1Layout->addItem( spacer2 );
    tabLayout->addWidget( ButtonGroup1 );

    layout2 = new TQHBoxLayout( 0, 0, 6, "layout2"); 
    spacer7 = new TQSpacerItem( 51, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout2->addItem( spacer7 );

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

    Clear = new KPushButton( tab, "Clear" );
    layout2->addWidget( Clear );
    spacer5 = new TQSpacerItem( 71, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout2->addItem( spacer5 );
    tabLayout->addLayout( layout2 );

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

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

    raBox = new dmsBox( equBox, "raBox" );
    raBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, raBox->sizePolicy().hasHeightForWidth() ) );
    raBox->setMinimumSize( TQSize( 100, 0 ) );
    raBox->setFocusPolicy( dmsBox::StrongFocus );

    equBoxLayout->addWidget( raBox, 0, 1 );

    raLabel = new TQLabel( equBox, "raLabel" );

    equBoxLayout->addWidget( raLabel, 0, 0 );

    decBox = new dmsBox( equBox, "decBox" );
    decBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, decBox->sizePolicy().hasHeightForWidth() ) );
    decBox->setMinimumSize( TQSize( 100, 0 ) );
    decBox->setFocusPolicy( dmsBox::StrongFocus );

    equBoxLayout->addWidget( decBox, 1, 1 );

    epochLabel = new TQLabel( equBox, "epochLabel" );

    equBoxLayout->addWidget( epochLabel, 2, 0 );

    decLabel = new TQLabel( equBox, "decLabel" );

    equBoxLayout->addWidget( decLabel, 1, 0 );

    epochName = new KLineEdit( equBox, "epochName" );
    epochName->setEnabled( true );
    epochName->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, epochName->sizePolicy().hasHeightForWidth() ) );

    equBoxLayout->addWidget( epochName, 2, 1 );
    layout22->addWidget( equBox );
    spacer31 = new TQSpacerItem( 15, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    layout22->addItem( spacer31 );

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

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

    bgLabel = new TQLabel( groupBox7, "bgLabel" );

    layout5->addWidget( bgLabel, 1, 0 );

    lgLabel = new TQLabel( groupBox7, "lgLabel" );

    layout5->addWidget( lgLabel, 0, 0 );

    lgBox = new dmsBox( groupBox7, "lgBox" );
    lgBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, lgBox->sizePolicy().hasHeightForWidth() ) );
    lgBox->setMinimumSize( TQSize( 100, 0 ) );
    lgBox->setFocusPolicy( dmsBox::StrongFocus );

    layout5->addWidget( lgBox, 0, 1 );

    bgBox = new dmsBox( groupBox7, "bgBox" );
    bgBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, bgBox->sizePolicy().hasHeightForWidth() ) );
    bgBox->setMinimumSize( TQSize( 100, 0 ) );
    bgBox->setFocusPolicy( dmsBox::StrongFocus );

    layout5->addWidget( bgBox, 1, 1 );

    groupBox7Layout->addLayout( layout5, 0, 0 );
    layout22->addWidget( groupBox7 );
    tabLayout->addLayout( layout22 );
    Spacer1 = new TQSpacerItem( 20, 160, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( Spacer1 );
    tabWidget8->insertTab( tab, TQString::fromLatin1("") );

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

    InputBox_2_2_2 = new TQButtonGroup( tab_2, "InputBox_2_2_2" );
    InputBox_2_2_2->setEnabled( true );
    InputBox_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, InputBox_2_2_2->sizePolicy().hasHeightForWidth() ) );
    InputBox_2_2_2->setColumnLayout(0, TQt::Vertical );
    InputBox_2_2_2->layout()->setSpacing( 6 );
    InputBox_2_2_2->layout()->setMargin( 11 );
    InputBox_2_2_2Layout = new TQGridLayout( InputBox_2_2_2->layout() );
    InputBox_2_2_2Layout->setAlignment( TQt::AlignTop );

    raBoxBatch = new dmsBox( InputBox_2_2_2, "raBoxBatch" );
    raBoxBatch->setEnabled( false );
    raBoxBatch->setMinimumSize( TQSize( 100, 0 ) );
    raBoxBatch->setFocusPolicy( dmsBox::StrongFocus );

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

    decBoxBatch = new dmsBox( InputBox_2_2_2, "decBoxBatch" );
    decBoxBatch->setEnabled( false );
    decBoxBatch->setMinimumSize( TQSize( 100, 0 ) );
    decBoxBatch->setFocusPolicy( dmsBox::StrongFocus );

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

    epochBoxBatch = new KLineEdit( InputBox_2_2_2, "epochBoxBatch" );
    epochBoxBatch->setEnabled( false );
    epochBoxBatch->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, epochBoxBatch->sizePolicy().hasHeightForWidth() ) );

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

    raCheckBatch = new TQCheckBox( InputBox_2_2_2, "raCheckBatch" );
    raCheckBatch->setChecked( true );

    InputBox_2_2_2Layout->addWidget( raCheckBatch, 0, 0 );

    decCheckBatch = new TQCheckBox( InputBox_2_2_2, "decCheckBatch" );
    decCheckBatch->setChecked( true );

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

    epochCheckBatch = new TQCheckBox( InputBox_2_2_2, "epochCheckBatch" );
    epochCheckBatch->setEnabled( true );
    epochCheckBatch->setChecked( false );

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

    galLongCheckBatch = new TQCheckBox( InputBox_2_2_2, "galLongCheckBatch" );
    galLongCheckBatch->setEnabled( true );
    galLongCheckBatch->setChecked( false );

    InputBox_2_2_2Layout->addWidget( galLongCheckBatch, 0, 2 );

    galLatCheckBatch = new TQCheckBox( InputBox_2_2_2, "galLatCheckBatch" );
    galLatCheckBatch->setEnabled( true );
    galLatCheckBatch->setChecked( false );

    InputBox_2_2_2Layout->addWidget( galLatCheckBatch, 1, 2 );

    galLatBoxBatch = new dmsBox( InputBox_2_2_2, "galLatBoxBatch" );
    galLatBoxBatch->setEnabled( false );
    galLatBoxBatch->setMinimumSize( TQSize( 100, 0 ) );
    galLatBoxBatch->setFocusPolicy( dmsBox::StrongFocus );

    InputBox_2_2_2Layout->addWidget( galLatBoxBatch, 1, 3 );

    galLongBoxBatch = new dmsBox( InputBox_2_2_2, "galLongBoxBatch" );
    galLongBoxBatch->setEnabled( false );
    galLongBoxBatch->setMinimumSize( TQSize( 100, 0 ) );
    galLongBoxBatch->setFocusPolicy( dmsBox::StrongFocus );

    InputBox_2_2_2Layout->addWidget( galLongBoxBatch, 0, 3 );
    tabLayout_2->addWidget( InputBox_2_2_2 );

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

    allRadioBatch = new TQRadioButton( buttonFieldsGroup, "allRadioBatch" );
    buttonFieldsGroupLayout->addWidget( allRadioBatch );

    inputRadioBatch = new TQRadioButton( buttonFieldsGroup, "inputRadioBatch" );
    inputRadioBatch->setChecked( true );
    buttonFieldsGroupLayout->addWidget( inputRadioBatch );
    tabLayout_2->addWidget( buttonFieldsGroup );

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

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

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

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

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

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

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

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

    groupFilesBoxLayout->addWidget( OutButtonBatch, 1, 0 );
    tabLayout_2->addWidget( groupFilesBox );

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

    runButtonBatch = new KPushButton( tab_2, "runButtonBatch" );
    runButtonBatch->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, runButtonBatch->sizePolicy().hasHeightForWidth() ) );
    layout22_3->addWidget( runButtonBatch );
    spacer19_2_2 = new TQSpacerItem( 131, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout22_3->addItem( spacer19_2_2 );
    tabLayout_2->addLayout( layout22_3 );
    spacer50 = new TQSpacerItem( 31, 71, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout_2->addItem( spacer50 );
    tabWidget8->insertTab( tab_2, TQString::fromLatin1("") );
    modCalcGalCoordDlgLayout->addWidget( tabWidget8 );
    languageChange();
    resize( TQSize(549, 409).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( Clear, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotClearCoords() ) );
    connect( Compute, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotComputeCoords() ) );
    connect( decCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDecCheckedBatch() ) );
    connect( raCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRaCheckedBatch() ) );
    connect( epochCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEpochCheckedBatch() ) );
    connect( galLongCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotGalLongCheckedBatch() ) );
    connect( InputButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotInputFile() ) );
    connect( OutButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotOutputFile() ) );
    connect( galLatCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotGalLatCheckedBatch() ) );
    connect( runButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRunBatch() ) );

    // tab order
    setTabOrder( tabWidget8, equRadio );
    setTabOrder( equRadio, galRadio );
    setTabOrder( galRadio, Compute );
    setTabOrder( Compute, Clear );
    setTabOrder( Clear, raBox );
    setTabOrder( raBox, decBox );
    setTabOrder( decBox, epochName );
    setTabOrder( epochName, lgBox );
    setTabOrder( lgBox, bgBox );
    setTabOrder( bgBox, raCheckBatch );
    setTabOrder( raCheckBatch, raBoxBatch );
    setTabOrder( raBoxBatch, decCheckBatch );
    setTabOrder( decCheckBatch, decBoxBatch );
    setTabOrder( decBoxBatch, epochCheckBatch );
    setTabOrder( epochCheckBatch, epochBoxBatch );
    setTabOrder( epochBoxBatch, galLongCheckBatch );
    setTabOrder( galLongCheckBatch, galLongBoxBatch );
    setTabOrder( galLongBoxBatch, galLatCheckBatch );
    setTabOrder( galLatCheckBatch, galLatBoxBatch );
    setTabOrder( galLatBoxBatch, inputRadioBatch );
    setTabOrder( inputRadioBatch, InputButtonBatch );
    setTabOrder( InputButtonBatch, InputLineEditBatch );
    setTabOrder( InputLineEditBatch, OutputLineEditBatch );
    setTabOrder( OutputLineEditBatch, OutButtonBatch );
    setTabOrder( OutButtonBatch, runButtonBatch );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void modCalcGalCoordDlg::languageChange()
{
    setCaption( tr2i18n( "Galactic Coordinates" ) );
    ButtonGroup1->setTitle( tr2i18n( "Choose Input Coordinates" ) );
    equRadio->setText( tr2i18n( "Equatorial" ) );
    galRadio->setText( tr2i18n( "Galactic" ) );
    Compute->setText( tr2i18n( "Convert" ) );
    Clear->setText( tr2i18n( "Clear" ) );
    equBox->setTitle( tr2i18n( "Equatorial Coordinates" ) );
    raLabel->setText( tr2i18n( "Right ascension:" ) );
    epochLabel->setText( tr2i18n( "Epoch:" ) );
    decLabel->setText( tr2i18n( "Declination:" ) );
    epochName->setText( TQString::null );
    groupBox7->setTitle( tr2i18n( "Galactic Coordinates" ) );
    bgLabel->setText( tr2i18n( "Latitude:" ) );
    lgLabel->setText( tr2i18n( "Longitude:" ) );
    tabWidget8->changeTab( tab, tr2i18n( "Interactive Mode" ) );
    InputBox_2_2_2->setTitle( tr2i18n( "Select Fields in Input File" ) );
    epochBoxBatch->setText( tr2i18n( "1950.0" ) );
    raCheckBatch->setText( tr2i18n( "Right ascension:" ) );
    TQToolTip::add( raCheckBatch, tr2i18n( "If checked, value will be read from input file. If not, value will be read from adjacent box" ) );
    decCheckBatch->setText( tr2i18n( "Declination:" ) );
    TQToolTip::add( decCheckBatch, tr2i18n( "If checked, value will be read from input file. If not, value will be read from adjacent box" ) );
    epochCheckBatch->setText( tr2i18n( "Epoch:" ) );
    TQToolTip::add( epochCheckBatch, tr2i18n( "If checked, value will be read from input file. If not, value will be read from adjacent box" ) );
    galLongCheckBatch->setText( tr2i18n( "Gal. long.:" ) );
    TQToolTip::add( galLongCheckBatch, tr2i18n( "If checked, value will be read from input file. If not, value will be read from adjacent box" ) );
    galLatCheckBatch->setText( tr2i18n( "Gal. lat.:" ) );
    TQToolTip::add( galLatCheckBatch, tr2i18n( "If checked, value will be read from input file. If not, value will be read from adjacent box" ) );
    buttonFieldsGroup->setTitle( tr2i18n( "Fields in Output File Plus Result" ) );
    allRadioBatch->setText( tr2i18n( "All parameters" ) );
    inputRadioBatch->setText( tr2i18n( "Only parameters in input file" ) );
    groupFilesBox->setTitle( tr2i18n( "Files" ) );
    InputButtonBatch->setText( tr2i18n( "Input File..." ) );
    TQToolTip::add( InputButtonBatch, tr2i18n( "File with the input data" ) );
    OutButtonBatch->setText( tr2i18n( "Output File..." ) );
    TQToolTip::add( OutButtonBatch, tr2i18n( "File for the output data" ) );
    runButtonBatch->setText( tr2i18n( "Run" ) );
    tabWidget8->changeTab( tab_2, tr2i18n( "Batch Mode" ) );
}

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

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

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

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

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

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

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

void modCalcGalCoordDlg::slotGalLatCheckedBatch()
{
    tqWarning( "modCalcGalCoordDlg::slotGalLatCheckedBatch(): Not implemented yet" );
}

void modCalcGalCoordDlg::slotGalLongCheckedBatch()
{
    tqWarning( "modCalcGalCoordDlg::slotGalLongCheckedBatch(): Not implemented yet" );
}

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

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

TQMetaObject *modCalcGalCoordDlg::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_modCalcGalCoordDlg( "modCalcGalCoordDlg", &modCalcGalCoordDlg::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

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

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

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

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

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

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