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

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

#include "modcalcgeoddlg.h"

#include <ntqvariant.h>
#include <kpushbutton.h>
#include <klineedit.h>
#include <kcombobox.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 modCalcGeodCoordDlg as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
modCalcGeodCoordDlg::modCalcGeodCoordDlg( TQWidget* parent, const char* name, WFlags fl )
    : TQWidget( parent, name, fl )
{
    if ( !name )
	setName( "modCalcGeodCoordDlg" );
    modCalcGeodCoordDlgLayout = new TQVBoxLayout( this, 11, 6, "modCalcGeodCoordDlgLayout"); 

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

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

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

    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 );

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

    cartRadio = new TQRadioButton( InputBox, "cartRadio" );
    layout1->addWidget( cartRadio );

    spheRadio = new TQRadioButton( InputBox, "spheRadio" );
    spheRadio->setFocusPolicy( TQRadioButton::TabFocus );
    spheRadio->setChecked( true );
    layout1->addWidget( spheRadio );
    InputBoxLayout->addLayout( layout1 );
    layout31->addWidget( InputBox );

    groupBox11 = new TQGroupBox( tab, "groupBox11" );
    groupBox11->setColumnLayout(0, TQt::Vertical );
    groupBox11->layout()->setSpacing( 6 );
    groupBox11->layout()->setMargin( 11 );
    groupBox11Layout = new TQHBoxLayout( groupBox11->layout() );
    groupBox11Layout->setAlignment( TQt::AlignTop );

    ellipsoidBox = new KComboBox( false, groupBox11, "ellipsoidBox" );
    groupBox11Layout->addWidget( ellipsoidBox );
    layout31->addWidget( groupBox11 );
    tabLayout->addLayout( layout31 );

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

    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 );
    spacer5 = new TQSpacerItem( 91, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout2->addItem( spacer5 );
    tabLayout->addLayout( layout2 );

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

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

    yLabel = new TQLabel( cartBox, "yLabel" );

    cartBoxLayout->addWidget( yLabel, 1, 0 );

    zLabel = new TQLabel( cartBox, "zLabel" );

    cartBoxLayout->addWidget( zLabel, 2, 0 );

    xLabel = new TQLabel( cartBox, "xLabel" );

    cartBoxLayout->addWidget( xLabel, 0, 0 );

    xGeoName = new KLineEdit( cartBox, "xGeoName" );

    cartBoxLayout->addWidget( xGeoName, 0, 1 );

    zGeoName = new KLineEdit( cartBox, "zGeoName" );

    cartBoxLayout->addWidget( zGeoName, 2, 1 );

    yGeoName = new KLineEdit( cartBox, "yGeoName" );

    cartBoxLayout->addWidget( yGeoName, 1, 1 );
    layout32->addWidget( cartBox );

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

    lonGeoBox = new dmsBox( spheBox, "lonGeoBox" );
    lonGeoBox->setMinimumSize( TQSize( 70, 0 ) );
    lonGeoBox->setFocusPolicy( dmsBox::StrongFocus );

    spheBoxLayout->addMultiCellWidget( lonGeoBox, 0, 0, 1, 2 );

    latGeoBox = new dmsBox( spheBox, "latGeoBox" );
    latGeoBox->setMinimumSize( TQSize( 70, 0 ) );
    latGeoBox->setFocusPolicy( dmsBox::StrongFocus );

    spheBoxLayout->addMultiCellWidget( latGeoBox, 1, 1, 1, 2 );

    latLabel = new TQLabel( spheBox, "latLabel" );

    spheBoxLayout->addWidget( latLabel, 1, 0 );

    longLabel = new TQLabel( spheBox, "longLabel" );

    spheBoxLayout->addWidget( longLabel, 0, 0 );

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

    spheBoxLayout->addMultiCellWidget( TextLabel3_2, 2, 2, 0, 1 );

    altGeoBox = new KLineEdit( spheBox, "altGeoBox" );

    spheBoxLayout->addWidget( altGeoBox, 2, 2 );
    layout32->addWidget( spheBox );
    tabLayout->addLayout( layout32 );
    Spacer1_2 = new TQSpacerItem( 20, 120, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( Spacer1_2 );
    tabWidget->insertTab( tab, TQString::fromLatin1("") );

    tab_2 = new TQWidget( tabWidget, "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->setEnabled( true );
    InputBox_2_2->setSizePolicy( 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 );

    xBoxBatch = new KLineEdit( InputBox_2_2, "xBoxBatch" );
    xBoxBatch->setEnabled( false );

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

    yBoxBatch = new KLineEdit( InputBox_2_2, "yBoxBatch" );
    yBoxBatch->setEnabled( false );

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

    zBoxBatch = new KLineEdit( InputBox_2_2, "zBoxBatch" );
    zBoxBatch->setEnabled( false );

    InputBox_2_2Layout->addWidget( zBoxBatch, 2, 3 );

    longBoxBatch = new dmsBox( InputBox_2_2, "longBoxBatch" );
    longBoxBatch->setEnabled( false );
    longBoxBatch->setFocusPolicy( dmsBox::StrongFocus );

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

    latBoxBatch = new dmsBox( InputBox_2_2, "latBoxBatch" );
    latBoxBatch->setEnabled( false );
    latBoxBatch->setFocusPolicy( dmsBox::StrongFocus );

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

    elevBoxBatch = new KLineEdit( InputBox_2_2, "elevBoxBatch" );
    elevBoxBatch->setEnabled( false );

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

    longCheckBatch = new TQCheckBox( InputBox_2_2, "longCheckBatch" );
    longCheckBatch->setChecked( true );

    InputBox_2_2Layout->addWidget( longCheckBatch, 0, 0 );

    latCheckBatch = new TQCheckBox( InputBox_2_2, "latCheckBatch" );
    latCheckBatch->setChecked( true );

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

    elevCheckBatch = new TQCheckBox( InputBox_2_2, "elevCheckBatch" );
    elevCheckBatch->setChecked( true );

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

    xCheckBatch = new TQCheckBox( InputBox_2_2, "xCheckBatch" );
    xCheckBatch->setEnabled( true );
    xCheckBatch->setChecked( false );

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

    yCheckBatch = new TQCheckBox( InputBox_2_2, "yCheckBatch" );
    yCheckBatch->setEnabled( true );
    yCheckBatch->setChecked( false );

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

    zCheckBatch = new TQCheckBox( InputBox_2_2, "zCheckBatch" );
    zCheckBatch->setEnabled( true );
    zCheckBatch->setChecked( false );

    InputBox_2_2Layout->addWidget( zCheckBatch, 2, 2 );
    tabLayout_2->addWidget( InputBox_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 = new TQHBoxLayout( 0, 0, 6, "layout22"); 
    spacer20_2 = new TQSpacerItem( 151, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout22->addItem( spacer20_2 );

    runButtonBatch = new KPushButton( tab_2, "runButtonBatch" );
    runButtonBatch->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, runButtonBatch->sizePolicy().hasHeightForWidth() ) );
    layout22->addWidget( runButtonBatch );
    spacer19_2 = new TQSpacerItem( 131, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout22->addItem( spacer19_2 );
    tabLayout_2->addLayout( layout22 );
    spacer36 = new TQSpacerItem( 20, 41, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout_2->addItem( spacer36 );
    tabWidget->insertTab( tab_2, TQString::fromLatin1("") );
    modCalcGeodCoordDlgLayout->addWidget( tabWidget );
    languageChange();
    resize( TQSize(548, 444).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( Clear, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotClearGeoCoords() ) );
    connect( Compute, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotComputeGeoCoords() ) );
    connect( InputButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotInputFile() ) );
    connect( OutButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotOutputFile() ) );
    connect( longCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotLongCheckedBatch() ) );
    connect( latCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotLatCheckedBatch() ) );
    connect( xCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotXCheckedBatch() ) );
    connect( yCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotYCheckedBatch() ) );
    connect( zCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotZCheckedBatch() ) );
    connect( runButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRunBatch() ) );
    connect( elevCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotElevCheckedBatch() ) );

    // tab order
    setTabOrder( tabWidget, cartRadio );
    setTabOrder( cartRadio, spheRadio );
    setTabOrder( spheRadio, ellipsoidBox );
    setTabOrder( ellipsoidBox, Compute );
    setTabOrder( Compute, Clear );
    setTabOrder( Clear, xGeoName );
    setTabOrder( xGeoName, yGeoName );
    setTabOrder( yGeoName, zGeoName );
    setTabOrder( zGeoName, lonGeoBox );
    setTabOrder( lonGeoBox, latGeoBox );
    setTabOrder( latGeoBox, altGeoBox );
    setTabOrder( altGeoBox, longCheckBatch );
    setTabOrder( longCheckBatch, longBoxBatch );
    setTabOrder( longBoxBatch, latCheckBatch );
    setTabOrder( latCheckBatch, latBoxBatch );
    setTabOrder( latBoxBatch, elevCheckBatch );
    setTabOrder( elevCheckBatch, elevBoxBatch );
    setTabOrder( elevBoxBatch, xCheckBatch );
    setTabOrder( xCheckBatch, xBoxBatch );
    setTabOrder( xBoxBatch, yCheckBatch );
    setTabOrder( yCheckBatch, yBoxBatch );
    setTabOrder( yBoxBatch, zCheckBatch );
    setTabOrder( zCheckBatch, zBoxBatch );
    setTabOrder( zBoxBatch, inputRadioBatch );
    setTabOrder( inputRadioBatch, InputButtonBatch );
    setTabOrder( InputButtonBatch, InputLineEditBatch );
    setTabOrder( InputLineEditBatch, OutButtonBatch );
    setTabOrder( OutButtonBatch, OutputLineEditBatch );
    setTabOrder( OutputLineEditBatch, runButtonBatch );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void modCalcGeodCoordDlg::languageChange()
{
    setCaption( tr2i18n( "Geodetic Coordinates" ) );
    InputBox->setTitle( tr2i18n( "Choose Input Coordinates" ) );
    cartRadio->setText( tr2i18n( "Cartesian" ) );
    spheRadio->setText( tr2i18n( "Geographic" ) );
    groupBox11->setTitle( tr2i18n( "Ellipsoid Model" ) );
    Compute->setText( tr2i18n( "Convert" ) );
    Clear->setText( tr2i18n( "Clear" ) );
    cartBox->setTitle( tr2i18n( "Cartesian Coordinates" ) );
    yLabel->setText( tr2i18n( "Y (km):" ) );
    zLabel->setText( tr2i18n( "Z (km):" ) );
    xLabel->setText( tr2i18n( "X (km):" ) );
    spheBox->setTitle( tr2i18n( "Geographic Coordinates" ) );
    latLabel->setText( tr2i18n( "Latitude:" ) );
    longLabel->setText( tr2i18n( "Longitude:" ) );
    TextLabel3_2->setText( tr2i18n( "Elevation (meters):" ) );
    altGeoBox->setText( tr2i18n( "0.0" ) );
    tabWidget->changeTab( tab, tr2i18n( "Interactive Mode" ) );
    InputBox_2_2->setTitle( tr2i18n( "Select Fields in Input File" ) );
    longCheckBatch->setText( tr2i18n( "Longitude:" ) );
    latCheckBatch->setText( tr2i18n( "Latitude:" ) );
    elevCheckBatch->setText( tr2i18n( "Elev. (m):" ) );
    xCheckBatch->setText( tr2i18n( "X (km):" ) );
    yCheckBatch->setText( tr2i18n( "Y (km):" ) );
    zCheckBatch->setText( tr2i18n( "Z (km):" ) );
    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" ) );
    tabWidget->changeTab( tab_2, tr2i18n( "Batch Mode" ) );
}

void modCalcGeodCoordDlg::slotComputeGeoCoords()
{
    tqWarning( "modCalcGeodCoordDlg::slotComputeGeoCoords(): Not implemented yet" );
}

void modCalcGeodCoordDlg::slotClearGeoCoords()
{
    tqWarning( "modCalcGeodCoordDlg::slotClearGeoCoords(): Not implemented yet" );
}

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

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

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

void modCalcGeodCoordDlg::slotLatCheckedBatch()
{
    tqWarning( "modCalcGeodCoordDlg::slotLatCheckedBatch(): Not implemented yet" );
}

void modCalcGeodCoordDlg::slotLongCheckedBatch()
{
    tqWarning( "modCalcGeodCoordDlg::slotLongCheckedBatch(): Not implemented yet" );
}

void modCalcGeodCoordDlg::slotElevCheckedBatch()
{
    tqWarning( "modCalcGeodCoordDlg::slotElevCheckedBatch(): Not implemented yet" );
}

void modCalcGeodCoordDlg::slotXCheckedBatch()
{
    tqWarning( "modCalcGeodCoordDlg::slotXCheckedBatch(): Not implemented yet" );
}

void modCalcGeodCoordDlg::slotYCheckedBatch()
{
    tqWarning( "modCalcGeodCoordDlg::slotYCheckedBatch(): Not implemented yet" );
}

void modCalcGeodCoordDlg::slotZCheckedBatch()
{
    tqWarning( "modCalcGeodCoordDlg::slotZCheckedBatch(): Not implemented yet" );
}

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

TQMetaObject *modCalcGeodCoordDlg::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_modCalcGeodCoordDlg( "modCalcGeodCoordDlg", &modCalcGeodCoordDlg::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* modCalcGeodCoordDlg::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 = {"slotComputeGeoCoords", 0, 0 };
    static const TQUMethod slot_1 = {"slotClearGeoCoords", 0, 0 };
    static const TQUMethod slot_2 = {"slotInputFile", 0, 0 };
    static const TQUMethod slot_3 = {"slotRunBatch", 0, 0 };
    static const TQUMethod slot_4 = {"slotOutputFile", 0, 0 };
    static const TQUMethod slot_5 = {"slotLatCheckedBatch", 0, 0 };
    static const TQUMethod slot_6 = {"slotLongCheckedBatch", 0, 0 };
    static const TQUMethod slot_7 = {"slotElevCheckedBatch", 0, 0 };
    static const TQUMethod slot_8 = {"slotXCheckedBatch", 0, 0 };
    static const TQUMethod slot_9 = {"slotYCheckedBatch", 0, 0 };
    static const TQUMethod slot_10 = {"slotZCheckedBatch", 0, 0 };
    static const TQUMethod slot_11 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "slotComputeGeoCoords()", &slot_0, TQMetaData::Public },
	{ "slotClearGeoCoords()", &slot_1, TQMetaData::Public },
	{ "slotInputFile()", &slot_2, TQMetaData::Public },
	{ "slotRunBatch()", &slot_3, TQMetaData::Public },
	{ "slotOutputFile()", &slot_4, TQMetaData::Public },
	{ "slotLatCheckedBatch()", &slot_5, TQMetaData::Public },
	{ "slotLongCheckedBatch()", &slot_6, TQMetaData::Public },
	{ "slotElevCheckedBatch()", &slot_7, TQMetaData::Public },
	{ "slotXCheckedBatch()", &slot_8, TQMetaData::Public },
	{ "slotYCheckedBatch()", &slot_9, TQMetaData::Public },
	{ "slotZCheckedBatch()", &slot_10, TQMetaData::Public },
	{ "languageChange()", &slot_11, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"modCalcGeodCoordDlg", parentObject,
	slot_tbl, 12,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_modCalcGeodCoordDlg.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool modCalcGeodCoordDlg::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: slotComputeGeoCoords(); break;
    case 1: slotClearGeoCoords(); break;
    case 2: slotInputFile(); break;
    case 3: slotRunBatch(); break;
    case 4: slotOutputFile(); break;
    case 5: slotLatCheckedBatch(); break;
    case 6: slotLongCheckedBatch(); break;
    case 7: slotElevCheckedBatch(); break;
    case 8: slotXCheckedBatch(); break;
    case 9: slotYCheckedBatch(); break;
    case 10: slotZCheckedBatch(); break;
    case 11: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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