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

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

#include "modcalcsidtimedlg.h"

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

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

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

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

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

    InputBox = new TQButtonGroup( tab, "InputBox" );
    InputBox->setColumnLayout(0, TQt::Vertical );
    InputBox->layout()->setSpacing( 6 );
    InputBox->layout()->setMargin( 11 );
    InputBoxLayout = new TQVBoxLayout( InputBox->layout() );
    InputBoxLayout->setAlignment( TQt::AlignTop );

    UtRadio = new TQRadioButton( InputBox, "UtRadio" );
    UtRadio->setChecked( true );
    InputBoxLayout->addWidget( UtRadio );

    StRadio = new TQRadioButton( InputBox, "StRadio" );
    StRadio->setFocusPolicy( TQRadioButton::TabFocus );
    InputBoxLayout->addWidget( StRadio );
    layout47->addWidget( InputBox );

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

    dateBox = new TQLabel( longdataBox, "dateBox" );

    longdataBoxLayout->addWidget( dateBox, 0, 0 );

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

    longdataBoxLayout->addWidget( longLabel, 1, 0 );

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

    longdataBoxLayout->addWidget( longBox, 1, 1 );

    datBox = new ExtDateEdit( longdataBox, "datBox" );
    datBox->setMinimumSize( TQSize( 100, 0 ) );
    datBox->setFocusPolicy( ExtDateEdit::StrongFocus );

    longdataBoxLayout->addWidget( datBox, 0, 1 );
    layout47->addWidget( longdataBox );
    tabLayout->addLayout( layout47 );

    layout3 = new TQHBoxLayout( 0, 0, 6, "layout3"); 
    spacer8 = new TQSpacerItem( 41, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout3->addItem( spacer8 );

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

    Clear = new KPushButton( tab, "Clear" );
    layout3->addWidget( Clear );
    spacer7 = new TQSpacerItem( 41, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout3->addItem( spacer7 );
    tabLayout->addLayout( layout3 );

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

    UtimeBox = new TQGroupBox( tab, "UtimeBox" );
    UtimeBox->setColumnLayout(0, TQt::Vertical );
    UtimeBox->layout()->setSpacing( 6 );
    UtimeBox->layout()->setMargin( 11 );
    UtimeBoxLayout = new TQHBoxLayout( UtimeBox->layout() );
    UtimeBoxLayout->setAlignment( TQt::AlignTop );
    spacer76 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    UtimeBoxLayout->addItem( spacer76 );

    UtLabel = new TQLabel( UtimeBox, "UtLabel" );
    UtimeBoxLayout->addWidget( UtLabel );

    UtBox = new TQTimeEdit( UtimeBox, "UtBox" );
    UtimeBoxLayout->addWidget( UtBox );
    spacer4 = new TQSpacerItem( 30, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    UtimeBoxLayout->addItem( spacer4 );
    layout47_2->addWidget( UtimeBox );

    St0Box = new TQGroupBox( tab, "St0Box" );
    St0Box->setColumnLayout(0, TQt::Vertical );
    St0Box->layout()->setSpacing( 6 );
    St0Box->layout()->setMargin( 11 );
    St0BoxLayout = new TQHBoxLayout( St0Box->layout() );
    St0BoxLayout->setAlignment( TQt::AlignTop );
    spacer77 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    St0BoxLayout->addItem( spacer77 );

    StLabel = new TQLabel( St0Box, "StLabel" );
    St0BoxLayout->addWidget( StLabel );

    StBox = new TQTimeEdit( St0Box, "StBox" );
    St0BoxLayout->addWidget( StBox );
    spacer2 = new TQSpacerItem( 30, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    St0BoxLayout->addItem( spacer2 );
    layout47_2->addWidget( St0Box );
    tabLayout->addLayout( layout47_2 );
    Spacer1 = new TQSpacerItem( 20, 204, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( Spacer1 );
    tabWidget2->insertTab( tab, TQString::fromLatin1("") );

    tab_2 = new TQWidget( tabWidget2, "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->setMinimumSize( TQSize( 90, 0 ) );
    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 TQHBoxLayout( InputBox_2_2_2->layout() );
    InputBox_2_2_2Layout->setAlignment( TQt::AlignTop );

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

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

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

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

    layout30->addWidget( utCheckBatch, 1, 0 );

    utBoxBatch = new TQTimeEdit( InputBox_2_2_2, "utBoxBatch" );

    layout30->addWidget( utBoxBatch, 1, 1 );

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

    layout30->addWidget( longBoxBatch, 0, 1 );
    InputBox_2_2_2Layout->addLayout( layout30 );
    spacer48 = new TQSpacerItem( 16, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    InputBox_2_2_2Layout->addItem( spacer48 );

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

    dateBoxBatch = new ExtDateEdit( InputBox_2_2_2, "dateBoxBatch" );
    dateBoxBatch->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, dateBoxBatch->sizePolicy().hasHeightForWidth() ) );
    dateBoxBatch->setMinimumSize( TQSize( 100, 0 ) );

    layout32->addWidget( dateBoxBatch, 0, 1 );

    stBoxBatch = new TQTimeEdit( InputBox_2_2_2, "stBoxBatch" );

    layout32->addWidget( stBoxBatch, 1, 1 );

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

    layout32->addWidget( stCheckBatch, 1, 0 );

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

    layout32->addWidget( dateCheckBatch, 0, 0 );
    InputBox_2_2_2Layout->addLayout( layout32 );
    spacer49 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    InputBox_2_2_2Layout->addItem( spacer49 );
    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, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout_2->addItem( spacer50 );
    tabWidget2->insertTab( tab_2, TQString::fromLatin1("") );
    modCalcSidTimeDlgLayout->addWidget( tabWidget2 );
    languageChange();
    resize( TQSize(580, 421).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( Clear, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotClearFields() ) );
    connect( Compute, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotComputeTime() ) );
    connect( longCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotLongChecked() ) );
    connect( dateCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDateChecked() ) );
    connect( utCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotUtChecked() ) );
    connect( stCheckBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotStChecked() ) );
    connect( InputButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotInputFile() ) );
    connect( OutButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotOutputFile() ) );
    connect( runButtonBatch, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRunBatch() ) );

    // tab order
    setTabOrder( tabWidget2, UtRadio );
    setTabOrder( UtRadio, StRadio );
    setTabOrder( StRadio, datBox );
    setTabOrder( datBox, longBox );
    setTabOrder( longBox, Compute );
    setTabOrder( Compute, Clear );
    setTabOrder( Clear, UtBox );
    setTabOrder( UtBox, StBox );
    setTabOrder( StBox, longCheckBatch );
    setTabOrder( longCheckBatch, utCheckBatch );
    setTabOrder( utCheckBatch, utBoxBatch );
    setTabOrder( utBoxBatch, longBoxBatch );
    setTabOrder( longBoxBatch, stBoxBatch );
    setTabOrder( stBoxBatch, stCheckBatch );
    setTabOrder( stCheckBatch, dateCheckBatch );
    setTabOrder( dateCheckBatch, inputRadioBatch );
    setTabOrder( inputRadioBatch, InputButtonBatch );
    setTabOrder( InputButtonBatch, InputLineEditBatch );
    setTabOrder( InputLineEditBatch, OutputLineEditBatch );
    setTabOrder( OutputLineEditBatch, OutButtonBatch );
    setTabOrder( OutButtonBatch, runButtonBatch );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void modCalcSidTimeDlg::languageChange()
{
    setCaption( tr2i18n( "Sidereal Time" ) );
    InputBox->setTitle( tr2i18n( "Input Selection" ) );
    UtRadio->setText( tr2i18n( "Universal time" ) );
    StRadio->setText( tr2i18n( "Sidereal time" ) );
    longdataBox->setTitle( tr2i18n( "Date && Location" ) );
    dateBox->setText( tr2i18n( "Date:" ) );
    longLabel->setText( tr2i18n( "Longitude:" ) );
    Compute->setText( tr2i18n( "Convert" ) );
    Clear->setText( tr2i18n( "Clear" ) );
    UtimeBox->setTitle( tr2i18n( "Universal Time" ) );
    UtLabel->setText( tr2i18n( "UT:" ) );
    St0Box->setTitle( tr2i18n( "Sidereal Time" ) );
    StLabel->setText( tr2i18n( "ST:" ) );
    tabWidget2->changeTab( tab, tr2i18n( "Interactive Mode" ) );
    InputBox_2_2_2->setTitle( tr2i18n( "Select Fields in Input File" ) );
    longCheckBatch->setText( tr2i18n( "Longitude:" ) );
    TQToolTip::add( longCheckBatch, tr2i18n( "If checked, value will be read from input file. If not, value will be read from adjacent box" ) );
    utCheckBatch->setText( tr2i18n( "Univ. time:" ) );
    TQToolTip::add( utCheckBatch, tr2i18n( "If checked, value will be read from input file. If not, value will be read from adjacent box" ) );
    stCheckBatch->setText( tr2i18n( "Sid. time:" ) );
    TQToolTip::add( stCheckBatch, tr2i18n( "If checked, value will be read from input file. If not, value will be read from adjacent box" ) );
    dateCheckBatch->setText( tr2i18n( "Date:" ) );
    TQToolTip::add( dateCheckBatch, 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" ) );
    tabWidget2->changeTab( tab_2, tr2i18n( "Batch Mode" ) );
}

void modCalcSidTimeDlg::slotComputeTime()
{
    tqWarning( "modCalcSidTimeDlg::slotComputeTime(): Not implemented yet" );
}

void modCalcSidTimeDlg::slotClearFields()
{
    tqWarning( "modCalcSidTimeDlg::slotClearFields(): Not implemented yet" );
}

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

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

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

void modCalcSidTimeDlg::slotStChecked()
{
    tqWarning( "modCalcSidTimeDlg::slotStChecked(): Not implemented yet" );
}

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

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

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

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

TQMetaObject *modCalcSidTimeDlg::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_modCalcSidTimeDlg( "modCalcSidTimeDlg", &modCalcSidTimeDlg::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* modCalcSidTimeDlg::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 = {"slotComputeTime", 0, 0 };
    static const TQUMethod slot_1 = {"slotClearFields", 0, 0 };
    static const TQUMethod slot_2 = {"slotLongChecked", 0, 0 };
    static const TQUMethod slot_3 = {"slotDateChecked", 0, 0 };
    static const TQUMethod slot_4 = {"slotUtChecked", 0, 0 };
    static const TQUMethod slot_5 = {"slotStChecked", 0, 0 };
    static const TQUMethod slot_6 = {"slotRunBatch", 0, 0 };
    static const TQUMethod slot_7 = {"slotInputFile", 0, 0 };
    static const TQUMethod slot_8 = {"slotOutputFile", 0, 0 };
    static const TQUMethod slot_9 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "slotComputeTime()", &slot_0, TQMetaData::Public },
	{ "slotClearFields()", &slot_1, TQMetaData::Public },
	{ "slotLongChecked()", &slot_2, TQMetaData::Public },
	{ "slotDateChecked()", &slot_3, TQMetaData::Public },
	{ "slotUtChecked()", &slot_4, TQMetaData::Public },
	{ "slotStChecked()", &slot_5, TQMetaData::Public },
	{ "slotRunBatch()", &slot_6, TQMetaData::Public },
	{ "slotInputFile()", &slot_7, TQMetaData::Public },
	{ "slotOutputFile()", &slot_8, TQMetaData::Public },
	{ "languageChange()", &slot_9, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"modCalcSidTimeDlg", parentObject,
	slot_tbl, 10,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_modCalcSidTimeDlg.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool modCalcSidTimeDlg::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: slotComputeTime(); break;
    case 1: slotClearFields(); break;
    case 2: slotLongChecked(); break;
    case 3: slotDateChecked(); break;
    case 4: slotUtChecked(); break;
    case 5: slotStChecked(); break;
    case 6: slotRunBatch(); break;
    case 7: slotInputFile(); break;
    case 8: slotOutputFile(); break;
    case 9: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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