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

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

#include "newfovui.h"

#include <ntqvariant.h>
#include <kpushbutton.h>
#include <klineedit.h>
#include <knuminput.h>
#include <kcolorbutton.h>
#include <kcombobox.h>
#include <ntqpushbutton.h>
#include <ntqlabel.h>
#include <ntqtabwidget.h>
#include <ntqframe.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

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

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

    textLabel1 = new TQLabel( this, "textLabel1" );
    textLabel1->setFrameShape( TQLabel::NoFrame );
    textLabel1->setFrameShadow( TQLabel::Plain );
    layout6->addWidget( textLabel1 );

    FOVName = new KLineEdit( this, "FOVName" );
    layout6->addWidget( FOVName );
    NewFOVUILayout->addLayout( layout6 );

    tabWidget2 = new TQTabWidget( this, "tabWidget2" );
    tabWidget2->setMargin( 0 );

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

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

    layout11 = new TQVBoxLayout( 0, 0, 6, "layout11"); 

    textLabel5 = new TQLabel( tab, "textLabel5" );
    layout11->addWidget( textLabel5 );

    textLabel7_2 = new TQLabel( tab, "textLabel7_2" );
    layout11->addWidget( textLabel7_2 );

    textLabel8_2 = new TQLabel( tab, "textLabel8_2" );
    layout11->addWidget( textLabel8_2 );
    layout16->addLayout( layout11 );

    layout15 = new TQVBoxLayout( 0, 0, 6, "layout15"); 

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

    TLength1 = new KDoubleNumInput( tab, "TLength1" );
    layout12->addWidget( TLength1 );

    textLabel6_2 = new TQLabel( tab, "textLabel6_2" );
    TQFont textLabel6_2_font(  textLabel6_2->font() );
    textLabel6_2_font.setItalic( true );
    textLabel6_2->setFont( textLabel6_2_font ); 
    layout12->addWidget( textLabel6_2 );
    layout15->addLayout( layout12 );

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

    EyeLength = new KDoubleNumInput( tab, "EyeLength" );
    layout13->addWidget( EyeLength );

    textLabel6_2_2 = new TQLabel( tab, "textLabel6_2_2" );
    TQFont textLabel6_2_2_font(  textLabel6_2_2->font() );
    textLabel6_2_2_font.setItalic( true );
    textLabel6_2_2->setFont( textLabel6_2_2_font ); 
    layout13->addWidget( textLabel6_2_2 );
    layout15->addLayout( layout13 );

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

    EyeFOV = new KDoubleNumInput( tab, "EyeFOV" );
    layout14->addWidget( EyeFOV );

    textLabel6_2_2_2 = new TQLabel( tab, "textLabel6_2_2_2" );
    TQFont textLabel6_2_2_2_font(  textLabel6_2_2_2->font() );
    textLabel6_2_2_2_font.setItalic( true );
    textLabel6_2_2_2->setFont( textLabel6_2_2_2_font ); 
    layout14->addWidget( textLabel6_2_2_2 );
    layout15->addLayout( layout14 );
    layout16->addLayout( layout15 );
    tabLayout->addLayout( layout16 );
    spacer8 = new TQSpacerItem( 20, 21, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( spacer8 );

    layout14_2 = new TQHBoxLayout( 0, 0, 6, "layout14_2"); 
    spacer12 = new TQSpacerItem( 152, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout14_2->addItem( spacer12 );

    ComputeEyeFOV = new KPushButton( tab, "ComputeEyeFOV" );
    layout14_2->addWidget( ComputeEyeFOV );
    tabLayout->addLayout( layout14_2 );
    tabWidget2->insertTab( tab, TQString::fromLatin1("") );

    tab_2 = new TQWidget( tabWidget2, "tab_2" );
    tabLayout_2 = new TQGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2"); 

    ComputeCameraFOV = new KPushButton( tab_2, "ComputeCameraFOV" );

    tabLayout_2->addWidget( ComputeCameraFOV, 2, 1 );
    spacer13 = new TQSpacerItem( 180, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout_2->addItem( spacer13, 2, 0 );
    spacer14 = new TQSpacerItem( 20, 22, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout_2->addItem( spacer14, 1, 0 );
    spacer15 = new TQSpacerItem( 20, 22, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout_2->addItem( spacer15, 1, 1 );

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

    layout25 = new TQVBoxLayout( 0, 0, 6, "layout25"); 

    textLabel5_2 = new TQLabel( tab_2, "textLabel5_2" );
    layout25->addWidget( textLabel5_2 );

    textLabel9 = new TQLabel( tab_2, "textLabel9" );
    layout25->addWidget( textLabel9 );
    layout26->addLayout( layout25 );

    layout24 = new TQVBoxLayout( 0, 0, 6, "layout24"); 

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

    TLength2 = new KDoubleNumInput( tab_2, "TLength2" );
    layout15_2->addWidget( TLength2 );

    textLabel6_2_3 = new TQLabel( tab_2, "textLabel6_2_3" );
    textLabel6_2_3->setMinimumSize( TQSize( 60, 0 ) );
    TQFont textLabel6_2_3_font(  textLabel6_2_3->font() );
    textLabel6_2_3_font.setItalic( true );
    textLabel6_2_3->setFont( textLabel6_2_3_font ); 
    layout15_2->addWidget( textLabel6_2_3 );
    layout24->addLayout( layout15_2 );

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

    ChipSize = new KDoubleNumInput( tab_2, "ChipSize" );
    layout16_2->addWidget( ChipSize );

    textLabel6_2_3_2 = new TQLabel( tab_2, "textLabel6_2_3_2" );
    TQFont textLabel6_2_3_2_font(  textLabel6_2_3_2->font() );
    textLabel6_2_3_2_font.setItalic( true );
    textLabel6_2_3_2->setFont( textLabel6_2_3_2_font ); 
    layout16_2->addWidget( textLabel6_2_3_2 );
    layout24->addLayout( layout16_2 );
    layout26->addLayout( layout24 );

    tabLayout_2->addMultiCellLayout( layout26, 0, 0, 0, 1 );
    tabWidget2->insertTab( tab_2, TQString::fromLatin1("") );

    TabPage = new TQWidget( tabWidget2, "TabPage" );
    TabPageLayout = new TQVBoxLayout( TabPage, 11, 6, "TabPageLayout"); 

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

    layout25_3 = new TQVBoxLayout( 0, 0, 6, "layout25_3"); 

    textLabel5_2_3 = new TQLabel( TabPage, "textLabel5_2_3" );
    layout25_3->addWidget( textLabel5_2_3 );

    textLabel9_3 = new TQLabel( TabPage, "textLabel9_3" );
    layout25_3->addWidget( textLabel9_3 );
    layout26_3->addLayout( layout25_3 );

    layout24_3 = new TQVBoxLayout( 0, 0, 6, "layout24_3"); 

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

    RTDiameter = new KDoubleNumInput( TabPage, "RTDiameter" );
    layout15_4->addWidget( RTDiameter );

    textLabel6_2_3_4 = new TQLabel( TabPage, "textLabel6_2_3_4" );
    textLabel6_2_3_4->setMinimumSize( TQSize( 60, 0 ) );
    TQFont textLabel6_2_3_4_font(  textLabel6_2_3_4->font() );
    textLabel6_2_3_4_font.setItalic( true );
    textLabel6_2_3_4->setFont( textLabel6_2_3_4_font ); 
    layout15_4->addWidget( textLabel6_2_3_4 );
    layout24_3->addLayout( layout15_4 );

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

    WaveLength = new KDoubleNumInput( TabPage, "WaveLength" );
    layout16_4->addWidget( WaveLength );

    textLabel6_2_3_2_3 = new TQLabel( TabPage, "textLabel6_2_3_2_3" );
    TQFont textLabel6_2_3_2_3_font(  textLabel6_2_3_2_3->font() );
    textLabel6_2_3_2_3_font.setItalic( true );
    textLabel6_2_3_2_3->setFont( textLabel6_2_3_2_3_font ); 
    layout16_4->addWidget( textLabel6_2_3_2_3 );
    layout24_3->addLayout( layout16_4 );
    layout26_3->addLayout( layout24_3 );
    TabPageLayout->addLayout( layout26_3 );
    spacer13_3 = new TQSpacerItem( 21, 51, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    TabPageLayout->addItem( spacer13_3 );

    layout36 = new TQHBoxLayout( 0, 0, 6, "layout36"); 
    spacer12_3 = new TQSpacerItem( 281, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout36->addItem( spacer12_3 );

    ComputeHPBW = new KPushButton( TabPage, "ComputeHPBW" );
    ComputeHPBW->setFlat( false );
    layout36->addWidget( ComputeHPBW );
    TabPageLayout->addLayout( layout36 );
    tabWidget2->insertTab( TabPage, TQString::fromLatin1("") );
    NewFOVUILayout->addWidget( tabWidget2 );

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

    fieldoFviewLabel = new TQLabel( this, "fieldoFviewLabel" );
    layout14_3->addWidget( fieldoFviewLabel );

    FOVEdit = new KLineEdit( this, "FOVEdit" );
    layout14_3->addWidget( FOVEdit );
    NewFOVUILayout->addLayout( layout14_3 );
    spacer1_2 = new TQSpacerItem( 298, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    NewFOVUILayout->addItem( spacer1_2 );

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

    layout3 = new TQVBoxLayout( 0, 0, 6, "layout3"); 

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

    ColorButton = new KColorButton( this, "ColorButton" );
    ColorButton->setColor( TQColor( 255, 255, 255 ) );

    layout2->addWidget( ColorButton, 1, 1 );

    textLabel8 = new TQLabel( this, "textLabel8" );

    layout2->addWidget( textLabel8, 1, 0 );

    ShapeBox = new KComboBox( false, this, "ShapeBox" );

    layout2->addWidget( ShapeBox, 0, 1 );

    textLabel7 = new TQLabel( this, "textLabel7" );

    layout2->addWidget( textLabel7, 0, 0 );
    layout3->addLayout( layout2 );
    layout11_2->addLayout( layout3 );

    layout10 = new TQVBoxLayout( 0, 0, 6, "layout10"); 

    ViewBox = new TQFrame( this, "ViewBox" );
    ViewBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, ViewBox->sizePolicy().hasHeightForWidth() ) );
    ViewBox->setMinimumSize( TQSize( 80, 80 ) );
    ViewBox->setPaletteForegroundColor( TQColor( 255, 255, 255 ) );
    ViewBox->setPaletteBackgroundColor( TQColor( 0, 0, 0 ) );
    ViewBox->setFrameShape( TQFrame::StyledPanel );
    ViewBox->setFrameShadow( TQFrame::Raised );
    layout10->addWidget( ViewBox );
    layout11_2->addLayout( layout10 );
    NewFOVUILayout->addLayout( layout11_2 );
    languageChange();
    resize( TQSize(483, 437).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // tab order
    setTabOrder( FOVName, tabWidget2 );
    setTabOrder( tabWidget2, TLength1 );
    setTabOrder( TLength1, EyeLength );
    setTabOrder( EyeLength, EyeFOV );
    setTabOrder( EyeFOV, ComputeEyeFOV );
    setTabOrder( ComputeEyeFOV, TLength2 );
    setTabOrder( TLength2, ChipSize );
    setTabOrder( ChipSize, ComputeCameraFOV );
    setTabOrder( ComputeCameraFOV, FOVEdit );
    setTabOrder( FOVEdit, ShapeBox );
    setTabOrder( ShapeBox, ColorButton );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void NewFOVUI::languageChange()
{
    setCaption( tr2i18n( "New FOV Indicator" ) );
    textLabel1->setText( tr2i18n( "<b>Name:</b>" ) );
    TQToolTip::add( FOVName, tr2i18n( "Name for FOV symbol" ) );
    TQWhatsThis::add( FOVName, tr2i18n( "The name of the field-of-view (FOV) symbol.  This name appears in the FOV menu and in the \"Edit FOV Symbols\" tool." ) );
    textLabel5->setText( tr2i18n( "Telescope focal length:" ) );
    textLabel7_2->setText( tr2i18n( "Eyepiece focal length:" ) );
    textLabel8_2->setText( tr2i18n( "Eyepiece FOV:" ) );
    TQToolTip::add( TLength1, tr2i18n( "Telescope focal length, in millimeters" ) );
    TQWhatsThis::add( TLength1, tr2i18n( "Enter the telescope focal length, in millimeters.\n"
"\n"
"This is one of the data fields required for defining a field-of-view (FOV) symbol which matches the field-of-view of a telescope eyepiece." ) );
    textLabel6_2->setText( tr2i18n( "mm" ) );
    TQToolTip::add( EyeLength, tr2i18n( "Eyepiece focal length, in millimeters" ) );
    TQWhatsThis::add( EyeLength, tr2i18n( "Enter the eyepiece focal length, in millimeters.\n"
"\n"
"This is one of the data fields required for defining a field-of-view (FOV) symbol which matches the field-of-view of a telescope eyepiece." ) );
    textLabel6_2_2->setText( tr2i18n( "mm" ) );
    TQToolTip::add( EyeFOV, tr2i18n( "field-of-view of the eyepiece, in arcminutes" ) );
    TQWhatsThis::add( EyeFOV, tr2i18n( "Enter the eyepiece field-of-view angle, in arcminutes.\n"
"\n"
"This is one of the data fields required for defining a field-of-view (FOV) symbol which matches the field-of-view of a telescope eyepiece." ) );
    textLabel6_2_2_2->setText( tr2i18n( "arcmin" ) );
    ComputeEyeFOV->setText( tr2i18n( "Compute FOV" ) );
    TQToolTip::add( ComputeEyeFOV, tr2i18n( "Compute field-of-view from above data fields" ) );
    TQWhatsThis::add( ComputeEyeFOV, tr2i18n( "This button will compute the field-of-view (FOV) angle for a specific eyepiece/telescope combination.  You must first specify the focal lengths of the telescope and eyepiece, and the FOV angle of the eyepiece in the above entry fields.\n"
"\n"
"The computed FOV angle (in arcminutes) will be displayed in the \"Field of view\" edit box." ) );
    tabWidget2->changeTab( tab, tr2i18n( "Eyepiece" ) );
    ComputeCameraFOV->setText( tr2i18n( "Compute FOV" ) );
    TQToolTip::add( ComputeCameraFOV, tr2i18n( "Compute field-of-view from above data fields" ) );
    TQWhatsThis::add( ComputeCameraFOV, tr2i18n( "This button will compute the field-of-view (FOV) angle for a specific camera/telescope combination.  You must first specify the focal length of the telescope and the size of the CCD chip or film negative.\n"
"\n"
"The computed FOV angle (in arcminutes) will be displayed in the \"Field of view\" edit box." ) );
    textLabel5_2->setText( tr2i18n( "Telescope focal length:" ) );
    textLabel9->setText( tr2i18n( "Chip/Film size:" ) );
    TQToolTip::add( TLength2, tr2i18n( "Telescope focal length, in millimeters" ) );
    TQWhatsThis::add( TLength2, tr2i18n( "Enter the telescope focal length, in millimeters.\n"
"\n"
"This is one of the data fields required for defining a field-of-view (FOV) symbol which matches the field-of-view of a camera mounted on a telescope." ) );
    textLabel6_2_3->setText( tr2i18n( "mm" ) );
    TQToolTip::add( ChipSize, tr2i18n( "Size of chip or film, in millimeters" ) );
    TQWhatsThis::add( ChipSize, tr2i18n( "Enter the physical size of the CCD chip or film negative.\n"
"\n"
"This is one of the data fields required for defining a field-of-view (FOV) symbol which matches the field-of-view of a camera mounted on a telescope." ) );
    textLabel6_2_3_2->setText( tr2i18n( "mm" ) );
    tabWidget2->changeTab( tab_2, tr2i18n( "Camera" ) );
    textLabel5_2_3->setText( tr2i18n( "Radiotelescope diameter:" ) );
    textLabel9_3->setText( tr2i18n( "Wavelength:" ) );
    TQToolTip::add( RTDiameter, tr2i18n( "Telescope focal length, in millimeters" ) );
    TQWhatsThis::add( RTDiameter, tr2i18n( "Enter the telescope focal length, in millimeters.\n"
"\n"
"This is one of the data fields required for defining a field-of-view (FOV) symbol which matches the field-of-view of a camera mounted on a telescope." ) );
    textLabel6_2_3_4->setText( tr2i18n( "m" ) );
    TQToolTip::add( WaveLength, tr2i18n( "Size of chip or film, in millimeters" ) );
    TQWhatsThis::add( WaveLength, tr2i18n( "Enter the physical size of the CCD chip or film negative.\n"
"\n"
"This is one of the data fields required for defining a field-of-view (FOV) symbol which matches the field-of-view of a camera mounted on a telescope." ) );
    textLabel6_2_3_2_3->setText( tr2i18n( "cm" ) );
    ComputeHPBW->setText( tr2i18n( "Compute HPBW" ) );
    TQToolTip::add( ComputeHPBW, tr2i18n( "Compute radiotelescope HPBW from above data fields" ) );
    TQWhatsThis::add( ComputeHPBW, tr2i18n( "This button will compute the Half Power Beam Width (HPBW) angle for a specific radiotelescope and observing wavelength combination, assuming no multibeam receiver is available at the telescope.  You must first specify the diameter of the radiotelescope and the observing wavelength.\n"
"\n"
"The computed HPBW angle (in arcminutes) will be displayed in the \"Field of view\" edit box." ) );
    tabWidget2->changeTab( TabPage, tr2i18n( "Radiotelescope" ) );
    fieldoFviewLabel->setText( tr2i18n( "Field of view (arcmin):" ) );
    TQToolTip::add( FOVEdit, tr2i18n( "Desired field-of-view size, in arcminutes" ) );
    TQWhatsThis::add( FOVEdit, tr2i18n( "Enter the desired angular size for the field-of-view (FOV) symbol.\n"
"\n"
"You can either enter a value directly, or use the \"Eyepiece\" or \"Camera\" Tabs to compute an angular size for specific eyepieces or cameras." ) );
    ColorButton->setText( TQString::null );
    TQToolTip::add( ColorButton, tr2i18n( "Select color for the field-of-view symbol" ) );
    TQWhatsThis::add( ColorButton, tr2i18n( "Select a color for the field-of-view (FOV) symbol." ) );
    textLabel8->setText( tr2i18n( "Color:" ) );
    ShapeBox->clear();
    ShapeBox->insertItem( tr2i18n( "Square" ) );
    ShapeBox->insertItem( tr2i18n( "Circle" ) );
    ShapeBox->insertItem( tr2i18n( "Crosshairs" ) );
    ShapeBox->insertItem( tr2i18n( "Bullseye" ) );
    ShapeBox->insertItem( tr2i18n( "Semitransparent circle" ) );
    TQToolTip::add( ShapeBox, tr2i18n( "Select a shape for the field-of-view symbol" ) );
    TQWhatsThis::add( ShapeBox, tr2i18n( "Select a shape for the field-of-view (FOV) symbol.  The possible shapes are:\n"
"\n"
"Circle, Square, Crosshairs, Bullseye." ) );
    textLabel7->setText( tr2i18n( "Shape:" ) );
}

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

TQMetaObject *NewFOVUI::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_NewFOVUI( "NewFOVUI", &NewFOVUI::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* NewFOVUI::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 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"NewFOVUI", parentObject,
	slot_tbl, 1,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_NewFOVUI.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool NewFOVUI::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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