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

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

#include "subprojectoptionsdlgbase.h"

#include <ntqvariant.h>
#include <kdialog.h>
#include <klineedit.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqwidget.h>
#include <ntqlabel.h>
#include <ntqcheckbox.h>
#include <ntqheader.h>
#include <ntqlistview.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

/*
 *  Constructs a SubprojectOptionsDialogBase as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The qdialog will by default be modeless, unless you set 'modal' to
 *  true to construct a modal qdialog.
 */
SubprojectOptionsDialogBase::SubprojectOptionsDialogBase( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : TQDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "sub project options widget" );
    sub_project_options_widgetLayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint(), "sub_project_options_widgetLayout"); 

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

    tab = new TQWidget( subprojectoptions_tabwidget, "tab" );
    tabLayout = new TQVBoxLayout( tab, KDialog::marginHint(), KDialog::spacingHint(), "tabLayout"); 

    cflags_label = new TQLabel( tab, "cflags_label" );
    TQFont cflags_label_font(  cflags_label->font() );
    cflags_label->setFont( cflags_label_font ); 
    tabLayout->addWidget( cflags_label );

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

    cflags_edit = new KLineEdit( tab, "cflags_edit" );
    cflags_edit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, cflags_edit->sizePolicy().hasHeightForWidth() ) );
    Layout5->addWidget( cflags_edit );

    cflags_button = new TQPushButton( tab, "cflags_button" );
    cflags_button->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cflags_button->sizePolicy().hasHeightForWidth() ) );
    cflags_button->setMaximumSize( TQSize( 30, 25 ) );
    cflags_button->setAutoDefault( false );
    Layout5->addWidget( cflags_button );
    tabLayout->addLayout( Layout5 );
    Spacer2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Preferred );
    tabLayout->addItem( Spacer2 );

    cxxflags_label = new TQLabel( tab, "cxxflags_label" );
    TQFont cxxflags_label_font(  cxxflags_label->font() );
    cxxflags_label->setFont( cxxflags_label_font ); 
    tabLayout->addWidget( cxxflags_label );

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

    cxxflags_edit = new KLineEdit( tab, "cxxflags_edit" );
    Layout3->addWidget( cxxflags_edit );

    cxxflags_button = new TQPushButton( tab, "cxxflags_button" );
    cxxflags_button->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, cxxflags_button->sizePolicy().hasHeightForWidth() ) );
    cxxflags_button->setMaximumSize( TQSize( 30, 25 ) );
    cxxflags_button->setAutoDefault( false );
    Layout3->addWidget( cxxflags_button );
    tabLayout->addLayout( Layout3 );
    Spacer3 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Preferred );
    tabLayout->addItem( Spacer3 );

    fflags_label = new TQLabel( tab, "fflags_label" );
    TQFont fflags_label_font(  fflags_label->font() );
    fflags_label->setFont( fflags_label_font ); 
    tabLayout->addWidget( fflags_label );

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

    fflags_edit = new KLineEdit( tab, "fflags_edit" );
    Layout4->addWidget( fflags_edit );

    fflags_button = new TQPushButton( tab, "fflags_button" );
    fflags_button->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, fflags_button->sizePolicy().hasHeightForWidth() ) );
    fflags_button->setMaximumSize( TQSize( 30, 25 ) );
    fflags_button->setAutoDefault( false );
    Layout4->addWidget( fflags_button );
    tabLayout->addLayout( Layout4 );
    Spacer4 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( Spacer4 );
    subprojectoptions_tabwidget->insertTab( tab, TQString::fromLatin1("") );

    tab_2 = new TQWidget( subprojectoptions_tabwidget, "tab_2" );
    tabLayout_2 = new TQVBoxLayout( tab_2, KDialog::marginHint(), KDialog::spacingHint(), "tabLayout_2"); 

    layout11 = new TQVBoxLayout( 0, 0, KDialog::spacingHint(), "layout11"); 

    metasources_checkbox = new TQCheckBox( tab_2, "metasources_checkbox" );
    layout11->addWidget( metasources_checkbox );

    layout9 = new TQGridLayout( 0, 1, 1, 0, KDialog::spacingHint(), "layout9"); 

    Layout9 = new TQVBoxLayout( 0, 0, KDialog::spacingHint(), "Layout9"); 
    Spacer2_3 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout9->addItem( Spacer2_3 );

    insidemoveup_button = new TQPushButton( tab_2, "insidemoveup_button" );
    Layout9->addWidget( insidemoveup_button );

    insidemovedown_button = new TQPushButton( tab_2, "insidemovedown_button" );
    Layout9->addWidget( insidemovedown_button );
    Spacer3_2 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout9->addItem( Spacer3_2 );

    layout9->addLayout( Layout9, 1, 1 );

    insideinc_label = new TQLabel( tab_2, "insideinc_label" );
    TQFont insideinc_label_font(  insideinc_label->font() );
    insideinc_label->setFont( insideinc_label_font ); 

    layout9->addWidget( insideinc_label, 0, 0 );

    insideinc_listview = new TQListView( tab_2, "insideinc_listview" );
    insideinc_listview->addColumn( TQString::null );
    insideinc_listview->setResizeMode( TQListView::LastColumn );

    layout9->addWidget( insideinc_listview, 1, 0 );
    layout11->addLayout( layout9 );

    layout10 = new TQGridLayout( 0, 1, 1, 0, KDialog::spacingHint(), "layout10"); 

    Layout10 = new TQVBoxLayout( 0, 0, KDialog::spacingHint(), "Layout10"); 
    Spacer1_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout10->addItem( Spacer1_2 );

    outsideadd_button = new TQPushButton( tab_2, "outsideadd_button" );
    Layout10->addWidget( outsideadd_button );

    outsideedit_button = new TQPushButton( tab_2, "outsideedit_button" );
    Layout10->addWidget( outsideedit_button );

    outsideremove_button = new TQPushButton( tab_2, "outsideremove_button" );
    Layout10->addWidget( outsideremove_button );

    outsidemoveup_button = new TQPushButton( tab_2, "outsidemoveup_button" );
    Layout10->addWidget( outsidemoveup_button );

    outsidemovedown_button = new TQPushButton( tab_2, "outsidemovedown_button" );
    Layout10->addWidget( outsidemovedown_button );
    Spacer2_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout10->addItem( Spacer2_2 );

    layout10->addMultiCellLayout( Layout10, 0, 1, 1, 1 );

    TextLabel2_2 = new TQLabel( tab_2, "TextLabel2_2" );
    TQFont TextLabel2_2_font(  TextLabel2_2->font() );
    TextLabel2_2->setFont( TextLabel2_2_font ); 

    layout10->addWidget( TextLabel2_2, 0, 0 );

    outsideinc_listview = new TQListView( tab_2, "outsideinc_listview" );
    outsideinc_listview->addColumn( TQString::null );
    outsideinc_listview->setResizeMode( TQListView::LastColumn );

    layout10->addWidget( outsideinc_listview, 1, 0 );
    layout11->addLayout( layout10 );
    tabLayout_2->addLayout( layout11 );
    subprojectoptions_tabwidget->insertTab( tab_2, TQString::fromLatin1("") );

    tab_3 = new TQWidget( subprojectoptions_tabwidget, "tab_3" );
    tabLayout_3 = new TQGridLayout( tab_3, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "tabLayout_3"); 

    prefix_listview = new TQListView( tab_3, "prefix_listview" );
    prefix_listview->addColumn( tr2i18n( "Name" ) );
    prefix_listview->addColumn( tr2i18n( "Path" ) );
    prefix_listview->setAllColumnsShowFocus( true );
    prefix_listview->setResizeMode( TQListView::AllColumns );

    tabLayout_3->addWidget( prefix_listview, 1, 0 );

    prefixes_label = new TQLabel( tab_3, "prefixes_label" );
    TQFont prefixes_label_font(  prefixes_label->font() );
    prefixes_label->setFont( prefixes_label_font ); 

    tabLayout_3->addWidget( prefixes_label, 0, 0 );

    Layout6 = new TQVBoxLayout( 0, 0, KDialog::spacingHint(), "Layout6"); 
    Spacer5 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout6->addItem( Spacer5 );

    addprefix_button = new TQPushButton( tab_3, "addprefix_button" );
    Layout6->addWidget( addprefix_button );

    editprefix_button = new TQPushButton( tab_3, "editprefix_button" );
    Layout6->addWidget( editprefix_button );

    removeprefix_button = new TQPushButton( tab_3, "removeprefix_button" );
    Layout6->addWidget( removeprefix_button );
    Spacer6 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout6->addItem( Spacer6 );

    tabLayout_3->addLayout( Layout6, 1, 1 );
    subprojectoptions_tabwidget->insertTab( tab_3, TQString::fromLatin1("") );

    tab_4 = new TQWidget( subprojectoptions_tabwidget, "tab_4" );
    tabLayout_4 = new TQGridLayout( tab_4, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "tabLayout_4"); 

    Layout9_2 = new TQVBoxLayout( 0, 0, KDialog::spacingHint(), "Layout9_2"); 
    Spacer2_3_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout9_2->addItem( Spacer2_3_2 );

    buildmoveup_button = new TQPushButton( tab_4, "buildmoveup_button" );
    Layout9_2->addWidget( buildmoveup_button );

    buildmovedown_button = new TQPushButton( tab_4, "buildmovedown_button" );
    Layout9_2->addWidget( buildmovedown_button );
    Spacer3_2_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout9_2->addItem( Spacer3_2_2 );

    tabLayout_4->addLayout( Layout9_2, 1, 1 );

    buildorder_listview = new TQListView( tab_4, "buildorder_listview" );
    buildorder_listview->addColumn( TQString::null );
    buildorder_listview->setResizeMode( TQListView::LastColumn );

    tabLayout_4->addWidget( buildorder_listview, 1, 0 );

    buildorder_label = new TQLabel( tab_4, "buildorder_label" );
    TQFont buildorder_label_font(  buildorder_label->font() );
    buildorder_label->setFont( buildorder_label_font ); 

    tabLayout_4->addMultiCellWidget( buildorder_label, 0, 0, 0, 1 );
    subprojectoptions_tabwidget->insertTab( tab_4, TQString::fromLatin1("") );
    sub_project_options_widgetLayout->addWidget( subprojectoptions_tabwidget );

    Layout2 = new TQHBoxLayout( 0, 0, KDialog::spacingHint(), "Layout2"); 
    Spacer1 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    Layout2->addItem( Spacer1 );

    okbutton = new TQPushButton( this, "okbutton" );
    okbutton->setDefault( true );
    Layout2->addWidget( okbutton );

    cancelbutton = new TQPushButton( this, "cancelbutton" );
    Layout2->addWidget( cancelbutton );
    sub_project_options_widgetLayout->addLayout( Layout2 );
    languageChange();
    resize( TQSize(442, 437).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( cflags_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( cflagsClicked() ) );
    connect( cxxflags_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( cxxFlagsClicked() ) );
    connect( removeprefix_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( removePrefixClicked() ) );
    connect( insidemoveup_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( insideMoveUpClicked() ) );
    connect( insidemovedown_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( insideMoveDownClicked() ) );
    connect( outsideadd_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( outsideAddClicked() ) );
    connect( outsideedit_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( outsideEditClicked() ) );
    connect( outsidemovedown_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( outsideMoveDownClicked() ) );
    connect( outsidemoveup_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( outsideMoveUpClicked() ) );
    connect( outsideremove_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( outsideRemoveClicked() ) );
    connect( okbutton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
    connect( cancelbutton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
    connect( fflags_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( fflagsClicked() ) );
    connect( buildmovedown_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( buildorderMoveDownClicked() ) );
    connect( buildmoveup_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( buildorderMoveUpClicked() ) );
    connect( addprefix_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addPrefixClicked() ) );
    connect( editprefix_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( editPrefixClicked() ) );

    // tab order
    setTabOrder( cflags_edit, cflags_button );
    setTabOrder( cflags_button, cxxflags_edit );
    setTabOrder( cxxflags_edit, cxxflags_button );
    setTabOrder( cxxflags_button, fflags_edit );
    setTabOrder( fflags_edit, fflags_button );
    setTabOrder( fflags_button, subprojectoptions_tabwidget );
    setTabOrder( subprojectoptions_tabwidget, metasources_checkbox );
    setTabOrder( metasources_checkbox, insideinc_listview );
    setTabOrder( insideinc_listview, insidemoveup_button );
    setTabOrder( insidemoveup_button, insidemovedown_button );
    setTabOrder( insidemovedown_button, outsideinc_listview );
    setTabOrder( outsideinc_listview, outsideadd_button );
    setTabOrder( outsideadd_button, outsideedit_button );
    setTabOrder( outsideedit_button, outsideremove_button );
    setTabOrder( outsideremove_button, outsidemoveup_button );
    setTabOrder( outsidemoveup_button, outsidemovedown_button );
    setTabOrder( outsidemovedown_button, prefix_listview );
    setTabOrder( prefix_listview, addprefix_button );
    setTabOrder( addprefix_button, editprefix_button );
    setTabOrder( editprefix_button, removeprefix_button );
    setTabOrder( removeprefix_button, buildorder_listview );
    setTabOrder( buildorder_listview, buildmoveup_button );
    setTabOrder( buildmoveup_button, buildmovedown_button );
    setTabOrder( buildmovedown_button, okbutton );
    setTabOrder( okbutton, cancelbutton );

    // buddies
    cflags_label->setBuddy( cflags_edit );
    cxxflags_label->setBuddy( cxxflags_edit );
    fflags_label->setBuddy( fflags_edit );
    insideinc_label->setBuddy( insideinc_listview );
    TextLabel2_2->setBuddy( outsideinc_listview );
    prefixes_label->setBuddy( prefix_listview );
    buildorder_label->setBuddy( buildorder_listview );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void SubprojectOptionsDialogBase::languageChange()
{
    setCaption( tr2i18n( "Subproject Options" ) );
    cflags_label->setText( tr2i18n( "Compiler flags for C compiler (CFLA&GS):" ) );
    cflags_button->setText( tr2i18n( "..." ) );
    cxxflags_label->setText( tr2i18n( "Compiler flags for C++ compiler (C&XXFLAGS):" ) );
    cxxflags_button->setText( tr2i18n( "..." ) );
    fflags_label->setText( tr2i18n( "Compiler flags for Fortran compiler (&FFLAGS):" ) );
    fflags_button->setText( tr2i18n( "..." ) );
    subprojectoptions_tabwidget->changeTab( tab, tr2i18n( "Co&mpiler" ) );
    metasources_checkbox->setText( tr2i18n( "Automatically &generate metasources" ) );
    insidemoveup_button->setText( tr2i18n( "Move &Up" ) );
    insidemovedown_button->setText( tr2i18n( "Move &Down" ) );
    insideinc_label->setText( tr2i18n( "Directories in&side project:" ) );
    insideinc_listview->header()->setLabel( 0, TQString::null );
    outsideadd_button->setText( tr2i18n( "&Add..." ) );
    outsideedit_button->setText( tr2i18n( "&Edit..." ) );
    outsideremove_button->setText( tr2i18n( "&Remove" ) );
    outsidemoveup_button->setText( tr2i18n( "Move U&p" ) );
    outsidemovedown_button->setText( tr2i18n( "Move Dow&n" ) );
    TextLabel2_2->setText( tr2i18n( "Directories ou&tside project:" ) );
    outsideinc_listview->header()->setLabel( 0, TQString::null );
    subprojectoptions_tabwidget->changeTab( tab_2, tr2i18n( "&Includes" ) );
    prefix_listview->header()->setLabel( 0, tr2i18n( "Name" ) );
    prefix_listview->header()->setLabel( 1, tr2i18n( "Path" ) );
    prefixes_label->setText( tr2i18n( "C&ustom prefixes:" ) );
    addprefix_button->setText( tr2i18n( "&Add..." ) );
    editprefix_button->setText( tr2i18n( "&Edit..." ) );
    removeprefix_button->setText( tr2i18n( "&Remove" ) );
    subprojectoptions_tabwidget->changeTab( tab_3, tr2i18n( "&Prefixes" ) );
    buildmoveup_button->setText( tr2i18n( "Move &Up" ) );
    buildmovedown_button->setText( tr2i18n( "Move &Down" ) );
    buildorder_listview->header()->setLabel( 0, TQString::null );
    buildorder_label->setText( tr2i18n( "O&rder in which sub projects are built:" ) );
    subprojectoptions_tabwidget->changeTab( tab_4, tr2i18n( "&Build Order" ) );
    okbutton->setText( tr2i18n( "&OK" ) );
    cancelbutton->setText( tr2i18n( "&Cancel" ) );
}

void SubprojectOptionsDialogBase::buildorderMoveDownClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::buildorderMoveDownClicked(): Not implemented yet" );
}

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

void SubprojectOptionsDialogBase::cxxFlagsClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::cxxFlagsClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::fflagsClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::fflagsClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::insideMoveDownClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::insideMoveDownClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::insideMoveUpClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::insideMoveUpClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::buildorderMoveUpClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::buildorderMoveUpClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::outsideAddClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::outsideAddClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::outsideEditClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::outsideEditClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::outsideMoveDownClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::outsideMoveDownClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::outsideMoveUpClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::outsideMoveUpClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::outsideRemoveClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::outsideRemoveClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::removePrefixClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::removePrefixClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::addPrefixClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::addPrefixClicked(): Not implemented yet" );
}

void SubprojectOptionsDialogBase::editPrefixClicked()
{
    tqWarning( "SubprojectOptionsDialogBase::editPrefixClicked(): Not implemented yet" );
}

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

TQMetaObject *SubprojectOptionsDialogBase::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_SubprojectOptionsDialogBase( "SubprojectOptionsDialogBase", &SubprojectOptionsDialogBase::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* SubprojectOptionsDialogBase::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 = TQDialog::staticMetaObject();
    static const TQUMethod slot_0 = {"languageChange", 0, 0 };
    static const TQUMethod slot_1 = {"buildorderMoveDownClicked", 0, 0 };
    static const TQUMethod slot_2 = {"cflagsClicked", 0, 0 };
    static const TQUMethod slot_3 = {"cxxFlagsClicked", 0, 0 };
    static const TQUMethod slot_4 = {"fflagsClicked", 0, 0 };
    static const TQUMethod slot_5 = {"insideMoveDownClicked", 0, 0 };
    static const TQUMethod slot_6 = {"insideMoveUpClicked", 0, 0 };
    static const TQUMethod slot_7 = {"buildorderMoveUpClicked", 0, 0 };
    static const TQUMethod slot_8 = {"outsideAddClicked", 0, 0 };
    static const TQUMethod slot_9 = {"outsideEditClicked", 0, 0 };
    static const TQUMethod slot_10 = {"outsideMoveDownClicked", 0, 0 };
    static const TQUMethod slot_11 = {"outsideMoveUpClicked", 0, 0 };
    static const TQUMethod slot_12 = {"outsideRemoveClicked", 0, 0 };
    static const TQUMethod slot_13 = {"removePrefixClicked", 0, 0 };
    static const TQUMethod slot_14 = {"addPrefixClicked", 0, 0 };
    static const TQUMethod slot_15 = {"editPrefixClicked", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected },
	{ "buildorderMoveDownClicked()", &slot_1, TQMetaData::Protected },
	{ "cflagsClicked()", &slot_2, TQMetaData::Protected },
	{ "cxxFlagsClicked()", &slot_3, TQMetaData::Protected },
	{ "fflagsClicked()", &slot_4, TQMetaData::Protected },
	{ "insideMoveDownClicked()", &slot_5, TQMetaData::Protected },
	{ "insideMoveUpClicked()", &slot_6, TQMetaData::Protected },
	{ "buildorderMoveUpClicked()", &slot_7, TQMetaData::Protected },
	{ "outsideAddClicked()", &slot_8, TQMetaData::Protected },
	{ "outsideEditClicked()", &slot_9, TQMetaData::Protected },
	{ "outsideMoveDownClicked()", &slot_10, TQMetaData::Protected },
	{ "outsideMoveUpClicked()", &slot_11, TQMetaData::Protected },
	{ "outsideRemoveClicked()", &slot_12, TQMetaData::Protected },
	{ "removePrefixClicked()", &slot_13, TQMetaData::Protected },
	{ "addPrefixClicked()", &slot_14, TQMetaData::Private },
	{ "editPrefixClicked()", &slot_15, TQMetaData::Private }
    };
    metaObj = TQMetaObject::new_metaobject(
	"SubprojectOptionsDialogBase", parentObject,
	slot_tbl, 16,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_SubprojectOptionsDialogBase.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool SubprojectOptionsDialogBase::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    case 1: buildorderMoveDownClicked(); break;
    case 2: cflagsClicked(); break;
    case 3: cxxFlagsClicked(); break;
    case 4: fflagsClicked(); break;
    case 5: insideMoveDownClicked(); break;
    case 6: insideMoveUpClicked(); break;
    case 7: buildorderMoveUpClicked(); break;
    case 8: outsideAddClicked(); break;
    case 9: outsideEditClicked(); break;
    case 10: outsideMoveDownClicked(); break;
    case 11: outsideMoveUpClicked(); break;
    case 12: outsideRemoveClicked(); break;
    case 13: removePrefixClicked(); break;
    case 14: addPrefixClicked(); break;
    case 15: editPrefixClicked(); break;
    default:
	return TQDialog::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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