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

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

#include "configureoptionswidgetbase.h"

#include <ntqvariant.h>
#include <kdialog.h>
#include <klineedit.h>
#include <ntqpushbutton.h>
#include <ntqlabel.h>
#include <ntqcombobox.h>
#include <ntqtabwidget.h>
#include <ntqgroupbox.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

/*
 *  Constructs a ConfigureOptionsWidgetBase as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
ConfigureOptionsWidgetBase::ConfigureOptionsWidgetBase( TQWidget* parent, const char* name, WFlags fl )
    : TQWidget( parent, name, fl )
{
    if ( !name )
	setName( "configure_options_widget" );
    configure_options_widgetLayout = new TQVBoxLayout( this, 0, KDialog::spacingHint(), "configure_options_widgetLayout"); 

    Layout1 = new TQHBoxLayout( 0, 0, KDialog::spacingHint(), "Layout1"); 

    config_label = new TQLabel( this, "config_label" );
    config_label->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, config_label->sizePolicy().hasHeightForWidth() ) );
    Layout1->addWidget( config_label );

    config_combo = new TQComboBox( false, this, "config_combo" );
    config_combo->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, config_combo->sizePolicy().hasHeightForWidth() ) );
    config_combo->setEditable( true );
    Layout1->addWidget( config_combo );
    Spacer17_2 = new TQSpacerItem( 20, 8, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    Layout1->addItem( Spacer17_2 );

    addconfig_button = new TQPushButton( this, "addconfig_button" );
    addconfig_button->setAutoDefault( false );
    Layout1->addWidget( addconfig_button );

    removeconfig_button = new TQPushButton( this, "removeconfig_button" );
    removeconfig_button->setAutoDefault( false );
    Layout1->addWidget( removeconfig_button );
    Spacer18_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    Layout1->addItem( Spacer18_2 );
    configure_options_widgetLayout->addLayout( Layout1 );

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

    general_tab = new TQWidget( tabwidget, "general_tab" );
    general_tabLayout = new TQGridLayout( general_tab, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "general_tabLayout"); 

    configargs_edit = new KLineEdit( general_tab, "configargs_edit" );

    general_tabLayout->addMultiCellWidget( configargs_edit, 1, 1, 1, 4 );

    builddir_label = new TQLabel( general_tab, "builddir_label" );

    general_tabLayout->addMultiCellWidget( builddir_label, 3, 3, 0, 4 );
    Spacer23 = new TQSpacerItem( 20, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    general_tabLayout->addItem( Spacer23, 1, 0 );

    topsourcedir_label = new TQLabel( general_tab, "topsourcedir_label" );

    general_tabLayout->addMultiCellWidget( topsourcedir_label, 5, 5, 0, 1 );

    builddir_edit = new KLineEdit( general_tab, "builddir_edit" );

    general_tabLayout->addMultiCellWidget( builddir_edit, 4, 4, 1, 3 );

    builddir_button = new TQPushButton( general_tab, "builddir_button" );
    builddir_button->setMinimumSize( TQSize( 30, 0 ) );
    builddir_button->setMaximumSize( TQSize( 30, 32767 ) );

    general_tabLayout->addWidget( builddir_button, 4, 4 );
    Spacer24 = new TQSpacerItem( 20, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    general_tabLayout->addItem( Spacer24, 4, 0 );

    topsourcedir_button = new TQPushButton( general_tab, "topsourcedir_button" );
    topsourcedir_button->setMinimumSize( TQSize( 30, 0 ) );
    topsourcedir_button->setMaximumSize( TQSize( 30, 32767 ) );

    general_tabLayout->addWidget( topsourcedir_button, 6, 4 );

    topsourcedir_edit = new KLineEdit( general_tab, "topsourcedir_edit" );

    general_tabLayout->addMultiCellWidget( topsourcedir_edit, 6, 6, 1, 3 );
    spacer17 = new TQSpacerItem( 20, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    general_tabLayout->addItem( spacer17, 6, 0 );

    ldflags_label = new TQLabel( general_tab, "ldflags_label" );

    general_tabLayout->addMultiCellWidget( ldflags_label, 10, 10, 0, 1 );
    spacer17_2_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    general_tabLayout->addItem( spacer17_2_2, 11, 0 );

    ldflags_edit = new KLineEdit( general_tab, "ldflags_edit" );

    general_tabLayout->addMultiCellWidget( ldflags_edit, 11, 11, 1, 4 );

    cppflags_edit = new KLineEdit( general_tab, "cppflags_edit" );

    general_tabLayout->addMultiCellWidget( cppflags_edit, 9, 9, 1, 4 );
    spacer17_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    general_tabLayout->addItem( spacer17_2, 9, 0 );

    cppflags_label = new TQLabel( general_tab, "cppflags_label" );

    general_tabLayout->addMultiCellWidget( cppflags_label, 8, 8, 0, 1 );

    configargs_label = new TQLabel( general_tab, "configargs_label" );

    general_tabLayout->addMultiCellWidget( configargs_label, 0, 0, 0, 4 );

    env_groupBox = new TQGroupBox( general_tab, "env_groupBox" );
    env_groupBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)3, 0, 0, env_groupBox->sizePolicy().hasHeightForWidth() ) );
    env_groupBox->setColumnLayout(0, TQt::Vertical );
    env_groupBox->layout()->setSpacing( KDialog::spacingHint() );
    env_groupBox->layout()->setMargin( KDialog::marginHint() );
    env_groupBoxLayout = new TQGridLayout( env_groupBox->layout() );
    env_groupBoxLayout->setAlignment( TQt::AlignTop );

    general_tabLayout->addMultiCellWidget( env_groupBox, 12, 12, 0, 4 );
    tabwidget->insertTab( general_tab, TQString::fromLatin1("") );

    c_tab = new TQWidget( tabwidget, "c_tab" );
    c_tabLayout = new TQGridLayout( c_tab, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "c_tabLayout"); 

    ccompiler_label = new TQLabel( c_tab, "ccompiler_label" );

    c_tabLayout->addWidget( ccompiler_label, 0, 0 );

    cservice_combo = new TQComboBox( false, c_tab, "cservice_combo" );

    c_tabLayout->addWidget( cservice_combo, 0, 1 );
    Spacer11 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
    c_tabLayout->addItem( Spacer11, 1, 1 );

    cflags_label = new TQLabel( c_tab, "cflags_label" );

    c_tabLayout->addWidget( cflags_label, 4, 0 );

    cflags_edit = new KLineEdit( c_tab, "cflags_edit" );

    c_tabLayout->addWidget( cflags_edit, 4, 1 );

    cflags_button = new TQPushButton( c_tab, "cflags_button" );
    cflags_button->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cflags_button->sizePolicy().hasHeightForWidth() ) );
    cflags_button->setMaximumSize( TQSize( 30, 32767 ) );

    c_tabLayout->addWidget( cflags_button, 4, 2 );
    Spacer10 = new TQSpacerItem( 20, 168, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    c_tabLayout->addItem( Spacer10, 5, 1 );

    cbinary_label = new TQLabel( c_tab, "cbinary_label" );

    c_tabLayout->addWidget( cbinary_label, 2, 0 );

    cbinary_edit = new KLineEdit( c_tab, "cbinary_edit" );

    c_tabLayout->addWidget( cbinary_edit, 2, 1 );
    Spacer12 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
    c_tabLayout->addItem( Spacer12, 3, 1 );
    tabwidget->insertTab( c_tab, TQString::fromLatin1("") );

    cxx_tab = new TQWidget( tabwidget, "cxx_tab" );
    cxx_tabLayout = new TQGridLayout( cxx_tab, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "cxx_tabLayout"); 

    cxxcompiler_label = new TQLabel( cxx_tab, "cxxcompiler_label" );

    cxx_tabLayout->addWidget( cxxcompiler_label, 0, 0 );

    cxxservice_combo = new TQComboBox( false, cxx_tab, "cxxservice_combo" );

    cxx_tabLayout->addWidget( cxxservice_combo, 0, 1 );
    Spacer13 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
    cxx_tabLayout->addItem( Spacer13, 1, 1 );

    cxxbinary_label = new TQLabel( cxx_tab, "cxxbinary_label" );

    cxx_tabLayout->addWidget( cxxbinary_label, 2, 0 );

    cxxbinary_edit = new KLineEdit( cxx_tab, "cxxbinary_edit" );

    cxx_tabLayout->addWidget( cxxbinary_edit, 2, 1 );
    Spacer13_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
    cxx_tabLayout->addItem( Spacer13_2, 3, 1 );

    cxxflags_label = new TQLabel( cxx_tab, "cxxflags_label" );

    cxx_tabLayout->addWidget( cxxflags_label, 4, 0 );

    cxxflags_edit = new KLineEdit( cxx_tab, "cxxflags_edit" );

    cxx_tabLayout->addWidget( cxxflags_edit, 4, 1 );

    cxxflags_button = new TQPushButton( cxx_tab, "cxxflags_button" );
    cxxflags_button->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cxxflags_button->sizePolicy().hasHeightForWidth() ) );
    cxxflags_button->setMaximumSize( TQSize( 30, 32767 ) );

    cxx_tabLayout->addWidget( cxxflags_button, 4, 2 );
    Spacer16 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    cxx_tabLayout->addItem( Spacer16, 5, 1 );
    tabwidget->insertTab( cxx_tab, TQString::fromLatin1("") );

    fortran_tab = new TQWidget( tabwidget, "fortran_tab" );
    fortran_tabLayout = new TQGridLayout( fortran_tab, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "fortran_tabLayout"); 

    f77compiler_label = new TQLabel( fortran_tab, "f77compiler_label" );

    fortran_tabLayout->addWidget( f77compiler_label, 0, 0 );

    f77service_combo = new TQComboBox( false, fortran_tab, "f77service_combo" );

    fortran_tabLayout->addWidget( f77service_combo, 0, 1 );
    Spacer16_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
    fortran_tabLayout->addItem( Spacer16_2, 1, 1 );

    f77binary_label = new TQLabel( fortran_tab, "f77binary_label" );

    fortran_tabLayout->addWidget( f77binary_label, 2, 0 );

    f77binary_edit = new KLineEdit( fortran_tab, "f77binary_edit" );

    fortran_tabLayout->addWidget( f77binary_edit, 2, 1 );
    Spacer17 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
    fortran_tabLayout->addItem( Spacer17, 3, 1 );

    f77flags_label = new TQLabel( fortran_tab, "f77flags_label" );

    fortran_tabLayout->addWidget( f77flags_label, 4, 0 );

    f77flags_edit = new KLineEdit( fortran_tab, "f77flags_edit" );

    fortran_tabLayout->addWidget( f77flags_edit, 4, 1 );

    f77flags_button = new TQPushButton( fortran_tab, "f77flags_button" );
    f77flags_button->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, f77flags_button->sizePolicy().hasHeightForWidth() ) );
    f77flags_button->setMaximumSize( TQSize( 30, 32767 ) );

    fortran_tabLayout->addWidget( f77flags_button, 4, 2 );
    Spacer18 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    fortran_tabLayout->addItem( Spacer18, 5, 1 );
    tabwidget->insertTab( fortran_tab, TQString::fromLatin1("") );
    configure_options_widgetLayout->addWidget( tabwidget );
    languageChange();
    resize( TQSize(628, 607).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( cflags_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( cflagsClicked() ) );
    connect( f77flags_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( f77flagsClicked() ) );
    connect( cservice_combo, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( cserviceChanged() ) );
    connect( f77service_combo, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( f77serviceChanged() ) );
    connect( cxxflags_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( cxxflagsClicked() ) );
    connect( cxxservice_combo, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( cxxserviceChanged() ) );
    connect( addconfig_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( configAdded() ) );
    connect( removeconfig_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( configRemoved() ) );
    connect( config_combo, TQ_SIGNAL( activated(const TQString&) ), this, TQ_SLOT( configChanged(const TQString&) ) );
    connect( config_combo, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( configComboTextChanged(const TQString&) ) );
    connect( builddir_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( builddirClicked() ) );
    connect( configargs_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( setDirty() ) );
    connect( builddir_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( setDirty() ) );
    connect( cbinary_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( setDirty() ) );
    connect( cflags_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( setDirty() ) );
    connect( cxxbinary_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( setDirty() ) );
    connect( cxxflags_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( setDirty() ) );
    connect( f77binary_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( setDirty() ) );
    connect( f77flags_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( setDirty() ) );
    connect( topsourcedir_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( topsourcedirClicked() ) );
    connect( topsourcedir_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( setDirty() ) );
    connect( cppflags_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( setDirty() ) );
    connect( ldflags_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( setDirty() ) );

    // tab order
    setTabOrder( configargs_edit, builddir_edit );
    setTabOrder( builddir_edit, builddir_button );
    setTabOrder( builddir_button, topsourcedir_edit );
    setTabOrder( topsourcedir_edit, topsourcedir_button );
    setTabOrder( topsourcedir_button, cppflags_edit );
    setTabOrder( cppflags_edit, ldflags_edit );
    setTabOrder( ldflags_edit, tabwidget );
    setTabOrder( tabwidget, config_combo );
    setTabOrder( config_combo, addconfig_button );
    setTabOrder( addconfig_button, removeconfig_button );
    setTabOrder( removeconfig_button, cservice_combo );
    setTabOrder( cservice_combo, cbinary_edit );
    setTabOrder( cbinary_edit, cflags_edit );
    setTabOrder( cflags_edit, cflags_button );
    setTabOrder( cflags_button, cxxservice_combo );
    setTabOrder( cxxservice_combo, cxxbinary_edit );
    setTabOrder( cxxbinary_edit, cxxflags_edit );
    setTabOrder( cxxflags_edit, cxxflags_button );
    setTabOrder( cxxflags_button, f77service_combo );
    setTabOrder( f77service_combo, f77binary_edit );
    setTabOrder( f77binary_edit, f77flags_edit );
    setTabOrder( f77flags_edit, f77flags_button );

    // buddies
    config_label->setBuddy( config_combo );
    builddir_label->setBuddy( builddir_edit );
    topsourcedir_label->setBuddy( topsourcedir_edit );
    ldflags_label->setBuddy( ldflags_edit );
    cppflags_label->setBuddy( cppflags_edit );
    configargs_label->setBuddy( configargs_edit );
    ccompiler_label->setBuddy( cservice_combo );
    cflags_label->setBuddy( cflags_edit );
    cbinary_label->setBuddy( cbinary_edit );
    cxxcompiler_label->setBuddy( cxxservice_combo );
    cxxbinary_label->setBuddy( cxxbinary_edit );
    cxxflags_label->setBuddy( cxxflags_edit );
    f77compiler_label->setBuddy( f77service_combo );
    f77binary_label->setBuddy( f77binary_edit );
    f77flags_label->setBuddy( f77flags_edit );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void ConfigureOptionsWidgetBase::languageChange()
{
    setCaption( tr2i18n( "Configure Options" ) );
    config_label->setText( tr2i18n( "&Configuration:" ) );
    TQToolTip::add( config_combo, tr2i18n( "Different build profiles" ) );
    TQWhatsThis::add( config_combo, tr2i18n( "profiles" ) );
    addconfig_button->setText( tr2i18n( "&Add" ) );
    removeconfig_button->setText( tr2i18n( "&Remove" ) );
    TQToolTip::add( configargs_edit, tr2i18n( "Options to pass to configure, e.g. --prefix=<install dir>" ) );
    TQWhatsThis::add( configargs_edit, tr2i18n( "Options to pass to configure, e.g. --prefix=<install dir>" ) );
    builddir_label->setText( tr2i18n( "&Build directory (must be different for every different configuration):" ) );
    topsourcedir_label->setText( tr2i18n( "Top source &directory:" ) );
    TQToolTip::add( builddir_edit, tr2i18n( "The build process will place the object\n"
"files and binary in this directory. \n"
"\n"
"If the name does not have a leading /\n"
"then it is relative to the project directory.\n"
"(in the General page)\n"
"\n"
"The build process also checks here for \n"
"a Makefile and a configure script.\n"
"\n"
"If you have imported a project and you were \n"
"building in the project directory, you \n"
"probably want this to be blank." ) );
    TQWhatsThis::add( builddir_edit, tr2i18n( "The build process will place the object\n"
"files and binary in this directory. \n"
"\n"
"If the name does not have a leading /\n"
"then it is relative to the project directory.\n"
"(in the General page)\n"
"\n"
"The build process also checks here for \n"
"a Makefile and a configure script.\n"
"\n"
"If you have imported a project and you were \n"
"building in the project directory, you \n"
"probably want this to be blank." ) );
    builddir_button->setText( tr2i18n( "..." ) );
    topsourcedir_button->setText( tr2i18n( "..." ) );
    TQToolTip::add( topsourcedir_edit, tr2i18n( "Where to start looking for the src files.\n"
"If the name does not have a leading /\n"
"then it is relative to the project directory.\n"
"(in the General page)" ) );
    TQWhatsThis::add( topsourcedir_edit, tr2i18n( "Where to start looking for the src files.\n"
"If the name does not have a leading /\n"
"then it is relative to the project directory.\n"
"(in the General page)" ) );
    ldflags_label->setText( tr2i18n( "Li&nker flags (LDFLAGS):" ) );
    TQWhatsThis::add( ldflags_label, tr2i18n( "Linker flags, e.g. -L<lib dir> if you have libraries in a\n"
"nonstandard directory <lib dir>" ) );
    TQToolTip::add( ldflags_edit, tr2i18n( "Linker flags, e.g. -L<lib dir> if you have libraries in a\n"
"nonstandard directory <lib dir>" ) );
    TQWhatsThis::add( ldflags_edit, tr2i18n( "Linker flags, e.g. -L<lib dir> if you have libraries in a\n"
"nonstandard directory <lib dir>" ) );
    TQToolTip::add( cppflags_edit, tr2i18n( "C/C++ preprocessor flags, e.g. -I<include dir> if you have\n"
"headers in a nonstandard directory <include dir>" ) );
    TQWhatsThis::add( cppflags_edit, tr2i18n( "C/C++ preprocessor flags, e.g. -I<include dir> if you have\n"
"headers in a nonstandard directory <include dir>" ) );
    cppflags_label->setText( tr2i18n( "C/C++ &preprocessor flags (CPPFLAGS):" ) );
    TQWhatsThis::add( cppflags_label, tr2i18n( "C/C++ preprocessor flags, e.g. -I<include dir> if you have\n"
"headers in a nonstandard directory <include dir>" ) );
    configargs_label->setText( tr2i18n( "Configure argu&ments:" ) );
    env_groupBox->setTitle( tr2i18n( "Environment &Variables" ) );
    tabwidget->changeTab( general_tab, tr2i18n( "&General" ) );
    ccompiler_label->setText( tr2i18n( "C com&piler:" ) );
    cflags_label->setText( tr2i18n( "Compiler f&lags (CFLAGS):" ) );
    cflags_button->setText( tr2i18n( "..." ) );
    cbinary_label->setText( tr2i18n( "Compiler co&mmand (CC):" ) );
    tabwidget->changeTab( c_tab, tr2i18n( "C" ) );
    cxxcompiler_label->setText( tr2i18n( "C++ com&piler:" ) );
    cxxbinary_label->setText( tr2i18n( "Compiler co&mmand (CXX):" ) );
    cxxflags_label->setText( tr2i18n( "Compiler flags (C&XXFLAGS):" ) );
    cxxflags_button->setText( tr2i18n( "..." ) );
    tabwidget->changeTab( cxx_tab, tr2i18n( "C++" ) );
    f77compiler_label->setText( tr2i18n( "Fortra&n compiler:" ) );
    f77binary_label->setText( tr2i18n( "Compiler co&mmand (F77):" ) );
    f77flags_label->setText( tr2i18n( "Compiler f&lags (FFLAGS):" ) );
    f77flags_button->setText( tr2i18n( "..." ) );
    tabwidget->changeTab( fortran_tab, tr2i18n( "F&ortran" ) );
}

void ConfigureOptionsWidgetBase::builddirClicked()
{
    tqWarning( "ConfigureOptionsWidgetBase::builddirClicked(): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::cflagsClicked()
{
    tqWarning( "ConfigureOptionsWidgetBase::cflagsClicked(): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::configAdded()
{
    tqWarning( "ConfigureOptionsWidgetBase::configAdded(): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::configChanged(const TQString&)
{
    tqWarning( "ConfigureOptionsWidgetBase::configChanged(const TQString&): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::configComboTextChanged(const TQString&)
{
    tqWarning( "ConfigureOptionsWidgetBase::configComboTextChanged(const TQString&): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::configRemoved()
{
    tqWarning( "ConfigureOptionsWidgetBase::configRemoved(): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::cserviceChanged()
{
    tqWarning( "ConfigureOptionsWidgetBase::cserviceChanged(): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::cxxflagsClicked()
{
    tqWarning( "ConfigureOptionsWidgetBase::cxxflagsClicked(): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::cxxserviceChanged()
{
    tqWarning( "ConfigureOptionsWidgetBase::cxxserviceChanged(): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::f77flagsClicked()
{
    tqWarning( "ConfigureOptionsWidgetBase::f77flagsClicked(): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::f77serviceChanged()
{
    tqWarning( "ConfigureOptionsWidgetBase::f77serviceChanged(): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::setDirty()
{
    tqWarning( "ConfigureOptionsWidgetBase::setDirty(): Not implemented yet" );
}

void ConfigureOptionsWidgetBase::topsourcedirClicked()
{
    tqWarning( "ConfigureOptionsWidgetBase::topsourcedirClicked(): Not implemented yet" );
}

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

TQMetaObject *ConfigureOptionsWidgetBase::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_ConfigureOptionsWidgetBase( "ConfigureOptionsWidgetBase", &ConfigureOptionsWidgetBase::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* ConfigureOptionsWidgetBase::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 TQUMethod slot_1 = {"builddirClicked", 0, 0 };
    static const TQUMethod slot_2 = {"cflagsClicked", 0, 0 };
    static const TQUMethod slot_3 = {"configAdded", 0, 0 };
    static const TQUParameter param_slot_4[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_4 = {"configChanged", 1, param_slot_4 };
    static const TQUParameter param_slot_5[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"configComboTextChanged", 1, param_slot_5 };
    static const TQUMethod slot_6 = {"configRemoved", 0, 0 };
    static const TQUMethod slot_7 = {"cserviceChanged", 0, 0 };
    static const TQUMethod slot_8 = {"cxxflagsClicked", 0, 0 };
    static const TQUMethod slot_9 = {"cxxserviceChanged", 0, 0 };
    static const TQUMethod slot_10 = {"f77flagsClicked", 0, 0 };
    static const TQUMethod slot_11 = {"f77serviceChanged", 0, 0 };
    static const TQUMethod slot_12 = {"setDirty", 0, 0 };
    static const TQUMethod slot_13 = {"topsourcedirClicked", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected },
	{ "builddirClicked()", &slot_1, TQMetaData::Protected },
	{ "cflagsClicked()", &slot_2, TQMetaData::Protected },
	{ "configAdded()", &slot_3, TQMetaData::Protected },
	{ "configChanged(const TQString&)", &slot_4, TQMetaData::Protected },
	{ "configComboTextChanged(const TQString&)", &slot_5, TQMetaData::Protected },
	{ "configRemoved()", &slot_6, TQMetaData::Protected },
	{ "cserviceChanged()", &slot_7, TQMetaData::Protected },
	{ "cxxflagsClicked()", &slot_8, TQMetaData::Protected },
	{ "cxxserviceChanged()", &slot_9, TQMetaData::Protected },
	{ "f77flagsClicked()", &slot_10, TQMetaData::Protected },
	{ "f77serviceChanged()", &slot_11, TQMetaData::Protected },
	{ "setDirty()", &slot_12, TQMetaData::Protected },
	{ "topsourcedirClicked()", &slot_13, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"ConfigureOptionsWidgetBase", parentObject,
	slot_tbl, 14,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_ConfigureOptionsWidgetBase.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool ConfigureOptionsWidgetBase::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    case 1: builddirClicked(); break;
    case 2: cflagsClicked(); break;
    case 3: configAdded(); break;
    case 4: configChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 5: configComboTextChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 6: configRemoved(); break;
    case 7: cserviceChanged(); break;
    case 8: cxxflagsClicked(); break;
    case 9: cxxserviceChanged(); break;
    case 10: f77flagsClicked(); break;
    case 11: f77serviceChanged(); break;
    case 12: setDirty(); break;
    case 13: topsourcedirClicked(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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