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

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

#include "modcalcazeldlg.h"

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

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

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

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

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

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

    datBox = new ExtDateEdit( inputGroupBox, "datBox" );
    datBox->setFocusPolicy( ExtDateEdit::StrongFocus );

    layout20->addWidget( datBox, 1, 1 );

    timBox = new TQTimeEdit( inputGroupBox, "timBox" );
    timBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, timBox->sizePolicy().hasHeightForWidth() ) );

    layout20->addWidget( timBox, 0, 1 );

    timLabel = new TQLabel( inputGroupBox, "timLabel" );

    layout20->addWidget( timLabel, 0, 0 );

    dateLabel = new TQLabel( inputGroupBox, "dateLabel" );

    layout20->addWidget( dateLabel, 1, 0 );
    inputGroupBoxLayout->addLayout( layout20 );
    spacer2 = new TQSpacerItem( 20, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    inputGroupBoxLayout->addItem( spacer2 );

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

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

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

    longBox = new dmsBox( inputGroupBox, "longBox" );
    longBox->setMinimumSize( TQSize( 100, 0 ) );
    longBox->setFocusPolicy( dmsBox::StrongFocus );

    layout11->addWidget( longBox, 0, 1 );

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

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

    latBox = new dmsBox( inputGroupBox, "latBox" );
    latBox->setMinimumSize( TQSize( 100, 0 ) );
    latBox->setFocusPolicy( dmsBox::StrongFocus );

    layout11->addWidget( latBox, 1, 1 );
    inputGroupBoxLayout->addLayout( layout11 );
    tabLayout->addWidget( inputGroupBox );

    buttonGroup4_2 = new TQButtonGroup( tab, "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 );

    radioApCoords = new TQRadioButton( buttonGroup4_2, "radioApCoords" );
    radioApCoords->setChecked( true );
    buttonGroup4_2Layout->addWidget( radioApCoords );

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

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

    Compute = new TQPushButton( tab, "Compute" );
    Compute->setMinimumSize( TQSize( 0, 25 ) );
    Compute->setMaximumSize( TQSize( 120, 32767 ) );
    Layout10->addWidget( Compute );

    Clear = new TQPushButton( tab, "Clear" );
    Clear->setMinimumSize( TQSize( 0, 25 ) );
    Clear->setMaximumSize( TQSize( 120, 32767 ) );
    Layout10->addWidget( Clear );
    tabLayout->addLayout( Layout10 );

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

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

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

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

    raBox = new dmsBox( GroupBox2, "raBox" );
    raBox->setEnabled( true );
    raBox->setMinimumSize( TQSize( 100, 0 ) );
    raBox->setFocusPolicy( dmsBox::StrongFocus );

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

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

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

    decBox = new dmsBox( GroupBox2, "decBox" );
    decBox->setMinimumSize( TQSize( 100, 0 ) );
    decBox->setFocusPolicy( dmsBox::StrongFocus );

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

    epochName = new TQLineEdit( GroupBox2, "epochName" );
    epochName->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, epochName->sizePolicy().hasHeightForWidth() ) );
    epochName->setMaximumSize( TQSize( 32767, 32767 ) );

    GroupBox2Layout->addWidget( epochName, 2, 1 );

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

    GroupBox2Layout->addWidget( epochLabel, 2, 0 );
    layout21->addWidget( GroupBox2 );
    spacer1 = new TQSpacerItem( 16, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    layout21->addItem( spacer1 );

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

    azBox = new dmsBox( GroupBox3, "azBox" );
    azBox->setMinimumSize( TQSize( 100, 0 ) );
    azBox->setFocusPolicy( dmsBox::StrongFocus );

    GroupBox3Layout->addWidget( azBox, 0, 1 );

    azLabel = new TQLabel( GroupBox3, "azLabel" );

    GroupBox3Layout->addWidget( azLabel, 0, 0 );

    elLabel = new TQLabel( GroupBox3, "elLabel" );

    GroupBox3Layout->addWidget( elLabel, 1, 0 );

    elBox = new dmsBox( GroupBox3, "elBox" );
    elBox->setMinimumSize( TQSize( 100, 0 ) );
    elBox->setFocusPolicy( dmsBox::StrongFocus );

    GroupBox3Layout->addWidget( elBox, 1, 1 );
    layout21->addWidget( GroupBox3 );
    tabLayout->addLayout( layout21 );
    spacer3 = new TQSpacerItem( 20, 77, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( spacer3 );
    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->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 );

    utCheckBatch = new TQCheckBox( InputBox_2_2, "utCheckBatch" );
    utCheckBatch->setAutoMask( false );
    utCheckBatch->setChecked( false );

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

    dateCheckBatch = new TQCheckBox( InputBox_2_2, "dateCheckBatch" );
    dateCheckBatch->setChecked( false );

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

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

    InputBox_2_2Layout->addMultiCellWidget( raCheckBatch, 2, 3, 0, 2 );

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

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

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

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

    utBoxBatch = new TQTimeEdit( InputBox_2_2, "utBoxBatch" );
    utBoxBatch->setEnabled( true );
    utBoxBatch->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, utBoxBatch->sizePolicy().hasHeightForWidth() ) );

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

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

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

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

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

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

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

    azCheckBatch = new TQCheckBox( InputBox_2_2, "azCheckBatch" );
    azCheckBatch->setChecked( false );

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

    latBoxBatch = new dmsBox( InputBox_2_2, "latBoxBatch" );
    latBoxBatch->setEnabled( true );
    latBoxBatch->setMinimumSize( TQSize( 100, 0 ) );
    latBoxBatch->setFocusPolicy( dmsBox::StrongFocus );

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

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

    InputBox_2_2Layout->addWidget( azBoxBatch, 3, 3 );

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

    InputBox_2_2Layout->addWidget( elBoxBatch, 4, 3 );

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

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

    longBoxBatch = new dmsBox( InputBox_2_2, "longBoxBatch" );
    longBoxBatch->setEnabled( true );
    longBoxBatch->setMinimumSize( TQSize( 100, 0 ) );
    longBoxBatch->setFocusPolicy( dmsBox::StrongFocus );

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

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

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

    elCheckBatch = new TQCheckBox( InputBox_2_2, "elCheckBatch" );
    elCheckBatch->setChecked( false );

    InputBox_2_2Layout->addWidget( elCheckBatch, 4, 2 );

    dateBoxBatch = new ExtDateEdit( InputBox_2_2, "dateBoxBatch" );
    dateBoxBatch->setMinimumSize( TQSize( 100, 0 ) );

    InputBox_2_2Layout->addWidget( dateBoxBatch, 1, 1 );
    tabLayout_2->addWidget( InputBox_2_2 );

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

    allRadioBatch = new TQRadioButton( buttonGroup4, "allRadioBatch" );
    buttonGroup4Layout->addWidget( allRadioBatch );

    inputRadioBatch = new TQRadioButton( buttonGroup4, "inputRadioBatch" );
    inputRadioBatch->setChecked( true );
    buttonGroup4Layout->addWidget( inputRadioBatch );
    tabLayout_2->addWidget( buttonGroup4 );

    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 = new TQHBoxLayout( 0, 0, 6, "layout14"); 
    spacer20 = new TQSpacerItem( 151, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout14->addItem( spacer20 );

    runButtonBatch = new KPushButton( tab_2, "runButtonBatch" );
    runButtonBatch->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, runButtonBatch->sizePolicy().hasHeightForWidth() ) );
    layout14->addWidget( runButtonBatch );
    spacer19 = new TQSpacerItem( 131, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout14->addItem( spacer19 );
    tabLayout_2->addLayout( layout14 );
    spacer6 = new TQSpacerItem( 20, 31, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout_2->addItem( spacer6 );
    tabWidget3->insertTab( tab_2, TQString::fromLatin1("") );
    modCalcAzelDlgLayout->addWidget( tabWidget3 );
    languageChange();
    resize( TQSize(554, 473).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( runButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRunBatch() ) );
    connect( InputButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotInputFile() ) );
    connect( OutButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotOutputFile() ) );
    connect( utCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotUtChecked() ) );
    connect( dateCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDateChecked() ) );
    connect( azCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAzChecked() ) );
    connect( elCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotElChecked() ) );
    connect( latCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotLatChecked() ) );
    connect( longCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotLongChecked() ) );
    connect( raCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRaChecked() ) );
    connect( decCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDecChecked() ) );

    // tab order
    setTabOrder( tabWidget3, timBox );
    setTabOrder( timBox, datBox );
    setTabOrder( datBox, longBox );
    setTabOrder( longBox, latBox );
    setTabOrder( latBox, radioApCoords );
    setTabOrder( radioApCoords, Compute );
    setTabOrder( Compute, Clear );
    setTabOrder( Clear, raBox );
    setTabOrder( raBox, decBox );
    setTabOrder( decBox, epochName );
    setTabOrder( epochName, azBox );
    setTabOrder( azBox, elBox );
    setTabOrder( elBox, utCheckBatch );
    setTabOrder( utCheckBatch, dateCheckBatch );
    setTabOrder( dateCheckBatch, raCheckBatch );
    setTabOrder( raCheckBatch, decCheckBatch );
    setTabOrder( decCheckBatch, epochCheckBatch );
    setTabOrder( epochCheckBatch, utBoxBatch );
    setTabOrder( utBoxBatch, raBoxBatch );
    setTabOrder( raBoxBatch, decBoxBatch );
    setTabOrder( decBoxBatch, epochBoxBatch );
    setTabOrder( epochBoxBatch, azCheckBatch );
    setTabOrder( azCheckBatch, latBoxBatch );
    setTabOrder( latBoxBatch, azBoxBatch );
    setTabOrder( azBoxBatch, elBoxBatch );
    setTabOrder( elBoxBatch, latCheckBatch );
    setTabOrder( latCheckBatch, longBoxBatch );
    setTabOrder( longBoxBatch, longCheckBatch );
    setTabOrder( longCheckBatch, elCheckBatch );
    setTabOrder( elCheckBatch, inputRadioBatch );
    setTabOrder( inputRadioBatch, InputButtonBatch );
    setTabOrder( InputButtonBatch, InputLineEditBatch );
    setTabOrder( InputLineEditBatch, OutputLineEditBatch );
    setTabOrder( OutputLineEditBatch, OutButtonBatch );
    setTabOrder( OutButtonBatch, runButtonBatch );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void modCalcAzelDlg::languageChange()
{
    setCaption( tr2i18n( "Horizontal Coordinates" ) );
    inputGroupBox->setTitle( tr2i18n( "Time && Location" ) );
    timLabel->setText( tr2i18n( "Universal time:" ) );
    dateLabel->setText( tr2i18n( "Date:" ) );
    longLabel->setText( tr2i18n( "Longitude:" ) );
    latLabel->setText( tr2i18n( "Latitude:" ) );
    buttonGroup4_2->setTitle( tr2i18n( "Select Input" ) );
    radioApCoords->setText( tr2i18n( "Apparent coordinates" ) );
    radioHorCoords->setText( tr2i18n( "Horizontal coordinates" ) );
    Compute->setText( tr2i18n( "Convert" ) );
    Clear->setText( tr2i18n( "Clear" ) );
    GroupBox2->setTitle( tr2i18n( "Equatorial Coordinates" ) );
    raLabel->setText( tr2i18n( "Right ascension:" ) );
    decLabel->setText( tr2i18n( "Declination:" ) );
    epochLabel->setText( tr2i18n( "Epoch:" ) );
    GroupBox3->setTitle( tr2i18n( "Horizontal Coordinates" ) );
    azLabel->setText( tr2i18n( "Azimuth:" ) );
    elLabel->setText( tr2i18n( "Altitude:" ) );
    tabWidget3->changeTab( tab, tr2i18n( "Interactive Mode" ) );
    InputBox_2_2->setTitle( tr2i18n( "Select Fields in Input File" ) );
    utCheckBatch->setText( tr2i18n( "UT:" ) );
    dateCheckBatch->setText( tr2i18n( "Date:" ) );
    raCheckBatch->setText( tr2i18n( "Right ascension:" ) );
    decCheckBatch->setText( tr2i18n( "Declination:" ) );
    epochCheckBatch->setText( tr2i18n( "Epoch:" ) );
    azCheckBatch->setText( tr2i18n( "Azimuth:" ) );
    latCheckBatch->setText( tr2i18n( "Latitude:" ) );
    longCheckBatch->setText( tr2i18n( "Longitude:" ) );
    elCheckBatch->setText( tr2i18n( "Altitude:" ) );
    buttonGroup4->setTitle( tr2i18n( "Fields in Output File Plus Result" ) );
    allRadioBatch->setText( tr2i18n( "All parameters" ) );
    inputRadioBatch->setText( tr2i18n( "Only parameters in input file" ) );
    groupBox4_2->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" ) );
    tabWidget3->changeTab( tab_2, tr2i18n( "Batch Mode" ) );
}

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

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

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

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

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

void modCalcAzelDlg::slotUtChecked()
{
    tqWarning( "modCalcAzelDlg::slotUtChecked(): Not implemented yet" );
}

void modCalcAzelDlg::slotDateChecked()
{
    tqWarning( "modCalcAzelDlg::slotDateChecked(): Not implemented yet" );
}

void modCalcAzelDlg::slotRaChecked()
{
    tqWarning( "modCalcAzelDlg::slotRaChecked(): Not implemented yet" );
}

void modCalcAzelDlg::slotDecChecked()
{
    tqWarning( "modCalcAzelDlg::slotDecChecked(): Not implemented yet" );
}

void modCalcAzelDlg::slotEpochChecked()
{
    tqWarning( "modCalcAzelDlg::slotEpochChecked(): Not implemented yet" );
}

void modCalcAzelDlg::slotLatChecked()
{
    tqWarning( "modCalcAzelDlg::slotLatChecked(): Not implemented yet" );
}

void modCalcAzelDlg::slotLongChecked()
{
    tqWarning( "modCalcAzelDlg::slotLongChecked(): Not implemented yet" );
}

void modCalcAzelDlg::slotAzChecked()
{
    tqWarning( "modCalcAzelDlg::slotAzChecked(): Not implemented yet" );
}

void modCalcAzelDlg::slotElChecked()
{
    tqWarning( "modCalcAzelDlg::slotElChecked(): Not implemented yet" );
}

void modCalcAzelDlg::newSlot()
{
    tqWarning( "modCalcAzelDlg::newSlot(): Not implemented yet" );
}

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

TQMetaObject *modCalcAzelDlg::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_modCalcAzelDlg( "modCalcAzelDlg", &modCalcAzelDlg::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* modCalcAzelDlg::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 = {"slotClearCoords", 0, 0 };
    static const TQUMethod slot_1 = {"slotComputeCoords", 0, 0 };
    static const TQUMethod slot_2 = {"slotInputFile", 0, 0 };
    static const TQUMethod slot_3 = {"slotOutputFile", 0, 0 };
    static const TQUMethod slot_4 = {"slotRunBatch", 0, 0 };
    static const TQUMethod slot_5 = {"slotUtChecked", 0, 0 };
    static const TQUMethod slot_6 = {"slotDateChecked", 0, 0 };
    static const TQUMethod slot_7 = {"slotRaChecked", 0, 0 };
    static const TQUMethod slot_8 = {"slotDecChecked", 0, 0 };
    static const TQUMethod slot_9 = {"slotEpochChecked", 0, 0 };
    static const TQUMethod slot_10 = {"slotLatChecked", 0, 0 };
    static const TQUMethod slot_11 = {"slotLongChecked", 0, 0 };
    static const TQUMethod slot_12 = {"slotAzChecked", 0, 0 };
    static const TQUMethod slot_13 = {"slotElChecked", 0, 0 };
    static const TQUMethod slot_14 = {"newSlot", 0, 0 };
    static const TQUMethod slot_15 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "slotClearCoords()", &slot_0, TQMetaData::Public },
	{ "slotComputeCoords()", &slot_1, TQMetaData::Public },
	{ "slotInputFile()", &slot_2, TQMetaData::Public },
	{ "slotOutputFile()", &slot_3, TQMetaData::Public },
	{ "slotRunBatch()", &slot_4, TQMetaData::Public },
	{ "slotUtChecked()", &slot_5, TQMetaData::Public },
	{ "slotDateChecked()", &slot_6, TQMetaData::Public },
	{ "slotRaChecked()", &slot_7, TQMetaData::Public },
	{ "slotDecChecked()", &slot_8, TQMetaData::Public },
	{ "slotEpochChecked()", &slot_9, TQMetaData::Public },
	{ "slotLatChecked()", &slot_10, TQMetaData::Public },
	{ "slotLongChecked()", &slot_11, TQMetaData::Public },
	{ "slotAzChecked()", &slot_12, TQMetaData::Public },
	{ "slotElChecked()", &slot_13, TQMetaData::Public },
	{ "newSlot()", &slot_14, TQMetaData::Public },
	{ "languageChange()", &slot_15, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"modCalcAzelDlg", parentObject,
	slot_tbl, 16,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_modCalcAzelDlg.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool modCalcAzelDlg::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: slotClearCoords(); break;
    case 1: slotComputeCoords(); break;
    case 2: slotInputFile(); break;
    case 3: slotOutputFile(); break;
    case 4: slotRunBatch(); break;
    case 5: slotUtChecked(); break;
    case 6: slotDateChecked(); break;
    case 7: slotRaChecked(); break;
    case 8: slotDecChecked(); break;
    case 9: slotEpochChecked(); break;
    case 10: slotLatChecked(); break;
    case 11: slotLongChecked(); break;
    case 12: slotAzChecked(); break;
    case 13: slotElChecked(); break;
    case 14: newSlot(); break;
    case 15: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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