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

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

#include "newprojectlayout.h"

#include <ntqvariant.h>
#include <kpushbutton.h>
#include <kcombobox.h>
#include <klineedit.h>
#include <kurlrequester.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqwidget.h>
#include <ntqlabel.h>
#include <ntqlineedit.h>
#include <ntqcheckbox.h>
#include <ntqgroupbox.h>
#include <ntqlistbox.h>
#include <ntqspinbox.h>
#include <ntqtextedit.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

/*
 *  Constructs a NewProjectLayout 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.
 */
NewProjectLayout::NewProjectLayout( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : TQDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "NewProjectLayout" );
    NewProjectLayoutLayout = new TQVBoxLayout( this, 11, 6, "NewProjectLayoutLayout"); 

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

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

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

    textLabel2 = new TQLabel( tab, "textLabel2" );

    layout18->addWidget( textLabel2, 1, 0 );

    m_pNameEdit = new TQLineEdit( tab, "m_pNameEdit" );

    layout18->addWidget( m_pNameEdit, 0, 1 );

    textLabel1 = new TQLabel( tab, "textLabel1" );

    layout18->addWidget( textLabel1, 0, 0 );

    m_pPathRequester = new KURLRequester( tab, "m_pPathRequester" );

    layout18->addWidget( m_pPathRequester, 1, 1 );
    tabLayout->addLayout( layout18 );

    m_pHiddenDirCheck = new TQCheckBox( tab, "m_pHiddenDirCheck" );
    tabLayout->addWidget( m_pHiddenDirCheck );

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

    textLabel1_2 = new TQLabel( tab, "textLabel1_2" );
    layout19->addWidget( textLabel1_2 );

    m_pSrcRootRequester = new KURLRequester( tab, "m_pSrcRootRequester" );
    layout19->addWidget( m_pSrcRootRequester );
    tabLayout->addLayout( layout19 );

    textLabel1_3 = new TQLabel( tab, "textLabel1_3" );
    textLabel1_3->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignVCenter ) );
    tabLayout->addWidget( textLabel1_3 );
    spacer29 = new TQSpacerItem( 31, 50, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( spacer29 );
    tabWidget2->insertTab( tab, TQString::fromLatin1("") );

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

    groupBox1 = new TQGroupBox( tab_2, "groupBox1" );
    groupBox1->setColumnLayout(0, TQt::Vertical );
    groupBox1->layout()->setSpacing( 6 );
    groupBox1->layout()->setMargin( 11 );
    groupBox1Layout = new TQVBoxLayout( groupBox1->layout() );
    groupBox1Layout->setAlignment( TQt::AlignTop );

    m_pTypesList = new TQListBox( groupBox1, "m_pTypesList" );
    groupBox1Layout->addWidget( m_pTypesList );
    tabLayout_2->addWidget( groupBox1 );

    layout5 = new TQVBoxLayout( 0, 0, 6, "layout5"); 
    spacer7 = new TQSpacerItem( 21, 61, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout5->addItem( spacer7 );

    m_pAddButton = new TQPushButton( tab_2, "m_pAddButton" );
    layout5->addWidget( m_pAddButton );

    m_pRemoveButton = new TQPushButton( tab_2, "m_pRemoveButton" );
    layout5->addWidget( m_pRemoveButton );
    spacer2 = new TQSpacerItem( 21, 50, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout5->addItem( spacer2 );
    tabLayout_2->addLayout( layout5 );

    groupBox2 = new TQGroupBox( tab_2, "groupBox2" );
    groupBox2->setColumnLayout(0, TQt::Vertical );
    groupBox2->layout()->setSpacing( 6 );
    groupBox2->layout()->setMargin( 11 );
    groupBox2Layout = new TQVBoxLayout( groupBox2->layout() );
    groupBox2Layout->setAlignment( TQt::AlignTop );

    m_pTypesEdit = new TQLineEdit( groupBox2, "m_pTypesEdit" );
    groupBox2Layout->addWidget( m_pTypesEdit );

    m_pAvailTypesList = new TQListBox( groupBox2, "m_pAvailTypesList" );
    groupBox2Layout->addWidget( m_pAvailTypesList );
    tabLayout_2->addWidget( groupBox2 );
    spacer8_2 = new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    tabLayout_2->addItem( spacer8_2 );
    tabWidget2->insertTab( tab_2, TQString::fromLatin1("") );

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

    m_pKernelCheck = new TQCheckBox( TabPage, "m_pKernelCheck" );
    TabPageLayout->addWidget( m_pKernelCheck );

    m_pInvCheck = new TQCheckBox( TabPage, "m_pInvCheck" );
    TabPageLayout->addWidget( m_pInvCheck );

    m_pNoCompCheck = new TQCheckBox( TabPage, "m_pNoCompCheck" );
    TabPageLayout->addWidget( m_pNoCompCheck );

    m_pSlowPathCheck = new TQCheckBox( TabPage, "m_pSlowPathCheck" );
    TabPageLayout->addWidget( m_pSlowPathCheck );

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

    m_pAutoRebuildCheck = new TQCheckBox( TabPage, "m_pAutoRebuildCheck" );
    layout31->addWidget( m_pAutoRebuildCheck );
    spacer32 = new TQSpacerItem( 125, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout31->addItem( spacer32 );

    m_pAutoRebuildLabel = new TQLabel( TabPage, "m_pAutoRebuildLabel" );
    m_pAutoRebuildLabel->setEnabled( false );
    layout31->addWidget( m_pAutoRebuildLabel );

    m_pAutoRebuildSpin = new TQSpinBox( TabPage, "m_pAutoRebuildSpin" );
    m_pAutoRebuildSpin->setEnabled( false );
    layout31->addWidget( m_pAutoRebuildSpin );
    TabPageLayout->addLayout( layout31 );

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

    m_pACCheck = new TQCheckBox( TabPage, "m_pACCheck" );
    layout30->addWidget( m_pACCheck );
    spacer33 = new TQSpacerItem( 61, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout30->addItem( spacer33 );

    m_pACButton = new TQPushButton( TabPage, "m_pACButton" );
    m_pACButton->setEnabled( false );
    layout30->addWidget( m_pACButton );
    TabPageLayout->addLayout( layout30 );

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

    m_pTabWidthCheck = new TQCheckBox( TabPage, "m_pTabWidthCheck" );
    layout6->addWidget( m_pTabWidthCheck );
    spacer9 = new TQSpacerItem( 211, 31, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout6->addItem( spacer9 );

    m_pTabWidthSpin = new TQSpinBox( TabPage, "m_pTabWidthSpin" );
    m_pTabWidthSpin->setEnabled( false );
    layout6->addWidget( m_pTabWidthSpin );
    TabPageLayout->addLayout( layout6 );
    spacer31 = new TQSpacerItem( 21, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    TabPageLayout->addItem( spacer31 );
    tabWidget2->insertTab( TabPage, TQString::fromLatin1("") );

    TabPage_2 = new TQWidget( tabWidget2, "TabPage_2" );
    TabPageLayout_2 = new TQVBoxLayout( TabPage_2, 11, 6, "TabPageLayout_2"); 

    textLabel1_4 = new TQLabel( TabPage_2, "textLabel1_4" );
    TabPageLayout_2->addWidget( textLabel1_4 );

    m_pCtagsCmdEdit = new TQTextEdit( TabPage_2, "m_pCtagsCmdEdit" );
    m_pCtagsCmdEdit->setTextFormat( TQTextEdit::PlainText );
    m_pCtagsCmdEdit->setAutoFormatting( int( TQTextEdit::AutoAll ) );
    TabPageLayout_2->addWidget( m_pCtagsCmdEdit );
    tabWidget2->insertTab( TabPage_2, TQString::fromLatin1("") );
    NewProjectLayoutLayout->addWidget( tabWidget2 );

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

    m_pCreateButton = new TQPushButton( this, "m_pCreateButton" );
    m_pCreateButton->setDefault( true );
    layout19_2->addWidget( m_pCreateButton );

    m_pCancelButton = new TQPushButton( this, "m_pCancelButton" );
    layout19_2->addWidget( m_pCancelButton );
    NewProjectLayoutLayout->addLayout( layout19_2 );
    languageChange();
    resize( TQSize(539, 383).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( m_pAddButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAddType() ) );
    connect( m_pRemoveButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRemoveType() ) );
    connect( m_pAutoRebuildCheck, TQ_SIGNAL( toggled(bool) ), m_pAutoRebuildSpin, TQ_SLOT( setEnabled(bool) ) );
    connect( m_pACCheck, TQ_SIGNAL( toggled(bool) ), m_pACButton, TQ_SLOT( setEnabled(bool) ) );
    connect( m_pAvailTypesList, TQ_SIGNAL( highlighted(const TQString&) ), this, TQ_SLOT( slotAvailTypesChanged(const TQString&) ) );
    connect( m_pTabWidthCheck, TQ_SIGNAL( toggled(bool) ), m_pTabWidthSpin, TQ_SLOT( setEnabled(bool) ) );
    connect( m_pAutoRebuildCheck, TQ_SIGNAL( toggled(bool) ), m_pAutoRebuildLabel, TQ_SLOT( setEnabled(bool) ) );
    connect( m_pHiddenDirCheck, TQ_SIGNAL( toggled(bool) ), m_pPathRequester, TQ_SLOT( setDisabled(bool) ) );

    // tab order
    setTabOrder( m_pNameEdit, m_pPathRequester );
    setTabOrder( m_pPathRequester, m_pHiddenDirCheck );
    setTabOrder( m_pHiddenDirCheck, m_pSrcRootRequester );
    setTabOrder( m_pSrcRootRequester, m_pAddButton );
    setTabOrder( m_pAddButton, m_pRemoveButton );
    setTabOrder( m_pRemoveButton, m_pKernelCheck );
    setTabOrder( m_pKernelCheck, m_pInvCheck );
    setTabOrder( m_pInvCheck, m_pNoCompCheck );
    setTabOrder( m_pNoCompCheck, m_pSlowPathCheck );
    setTabOrder( m_pSlowPathCheck, m_pAutoRebuildCheck );
    setTabOrder( m_pAutoRebuildCheck, m_pAutoRebuildSpin );
    setTabOrder( m_pAutoRebuildSpin, m_pACCheck );
    setTabOrder( m_pACCheck, m_pACButton );
    setTabOrder( m_pACButton, m_pTabWidthCheck );
    setTabOrder( m_pTabWidthCheck, m_pTabWidthSpin );
    setTabOrder( m_pTabWidthSpin, m_pCreateButton );
    setTabOrder( m_pCreateButton, m_pCancelButton );
    setTabOrder( m_pCancelButton, tabWidget2 );
    setTabOrder( tabWidget2, m_pTypesList );
    setTabOrder( m_pTypesList, m_pTypesEdit );
    setTabOrder( m_pTypesEdit, m_pAvailTypesList );
    setTabOrder( m_pAvailTypesList, m_pCtagsCmdEdit );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void NewProjectLayout::languageChange()
{
    setCaption( tr2i18n( "Create Project" ) );
    textLabel2->setText( tr2i18n( "Path" ) );
    TQWhatsThis::add( m_pNameEdit, tr2i18n( "Enter a name for this project.\n"
"The name must conform to the file system's naming conventions for directories (e.g., no spaces, exclamaion marks, etc.)." ) );
    textLabel1->setText( tr2i18n( "Name" ) );
    TQWhatsThis::add( m_pPathRequester, tr2i18n( "The path to hold this project.\n"
"KScope will create a directory with the given name under this project, and populate it with the project configuration and database files.\n"
"This does not need to be the path in which the source files reside." ) );
    m_pHiddenDirCheck->setText( tr2i18n( "&Use a hidden folder under the source root directory" ) );
    textLabel1_2->setText( tr2i18n( "Source Root (Optional)" ) );
    textLabel1_3->setText( tr2i18n( "<blockquote>A project consists of several files located in a directory\n"
" with the given name and path. The project's name needs to be a valid directory\n"
"name and must not contain any whitespace.</blockquote>\n"
"<br>\n"
"<blockquote>The Source Root is a convinient way to specify a common\n"
"path for all source files, but is not required.</blockquote>" ) );
    tabWidget2->changeTab( tab, tr2i18n( "Detai&ls" ) );
    groupBox1->setTitle( tr2i18n( "This Project" ) );
    TQWhatsThis::add( m_pTypesList, tr2i18n( "KScope uses these filters to locate source files to include in this project." ) );
    m_pAddButton->setText( tr2i18n( "<< &Add" ) );
    TQWhatsThis::add( m_pAddButton, tr2i18n( "Adds the selected file type to the current project." ) );
    m_pRemoveButton->setText( tr2i18n( ">> &Remove" ) );
    TQWhatsThis::add( m_pRemoveButton, tr2i18n( "Remove the selected file type from the project." ) );
    groupBox2->setTitle( tr2i18n( "Available Types" ) );
    TQWhatsThis::add( m_pTypesEdit, tr2i18n( "You can enter custom file types here." ) );
    m_pAvailTypesList->clear();
    m_pAvailTypesList->insertItem( tr2i18n( "*.c" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.h" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.l" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.y" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.S" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.cc" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.cpp" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.cxx" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.C" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.hh" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.hpp" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.hxx" ) );
    m_pAvailTypesList->insertItem( tr2i18n( "*.H" ) );
    TQWhatsThis::add( m_pAvailTypesList, tr2i18n( "A list of standard file types." ) );
    tabWidget2->changeTab( tab_2, tr2i18n( "File T&ypes" ) );
    m_pKernelCheck->setText( tr2i18n( "Kernel project (-k)" ) );
    TQWhatsThis::add( m_pKernelCheck, tr2i18n( "For kernel projects, symbols are not looked up in the standard include path." ) );
    m_pInvCheck->setText( tr2i18n( "Build inverted inde&x (-q)" ) );
    TQWhatsThis::add( m_pInvCheck, tr2i18n( "An inverted index may greatly speed up searches in a large project. The project's building process is longer, though." ) );
    m_pNoCompCheck->setText( tr2i18n( "Do not compress the database (-c)" ) );
    m_pSlowPathCheck->setText( tr2i18n( "Slower, but more accurate, function definition detection (-D)" ) );
    m_pAutoRebuildCheck->setText( tr2i18n( "Refresh data&base automatically" ) );
    TQWhatsThis::add( m_pAutoRebuildCheck, tr2i18n( "Rebuild the database after changed files are saved to disk." ) );
    m_pAutoRebuildLabel->setText( tr2i18n( "(Seconds)" ) );
    TQWhatsThis::add( m_pAutoRebuildSpin, tr2i18n( "Wait this number of seconds after the last save before rebuilding the database." ) );
    m_pACCheck->setText( tr2i18n( "&Use symbol auto-completion" ) );
    TQWhatsThis::add( m_pACCheck, tr2i18n( "As-you-type symbol completion." ) );
    m_pACButton->setText( tr2i18n( "Options..." ) );
    m_pTabWidthCheck->setText( tr2i18n( "Override default tab width (Kate only)" ) );
    TQToolTip::add( m_pTabWidthCheck, tr2i18n( "Overrides the editor's configured tab width" ) );
    tabWidget2->changeTab( TabPage, tr2i18n( "&Options" ) );
    textLabel1_4->setText( tr2i18n( "Ctags command line (Do not change unless you know what you are doing!)" ) );
    tabWidget2->changeTab( TabPage_2, tr2i18n( "&Advanced" ) );
    m_pCreateButton->setText( tr2i18n( "&Create" ) );
    m_pCancelButton->setText( tr2i18n( "Ca&ncel" ) );
}

void NewProjectLayout::slotAddType()
{
    tqWarning( "NewProjectLayout::slotAddType(): Not implemented yet" );
}

void NewProjectLayout::slotRemoveType()
{
    tqWarning( "NewProjectLayout::slotRemoveType(): Not implemented yet" );
}

void NewProjectLayout::slotAutoRebuildChanged(bool)
{
    tqWarning( "NewProjectLayout::slotAutoRebuildChanged(bool): Not implemented yet" );
}

void NewProjectLayout::slotAutoCompletionChanged(bool)
{
    tqWarning( "NewProjectLayout::slotAutoCompletionChanged(bool): Not implemented yet" );
}

void NewProjectLayout::slotAvailTypesChanged(const TQString&)
{
    tqWarning( "NewProjectLayout::slotAvailTypesChanged(const TQString&): Not implemented yet" );
}

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

TQMetaObject *NewProjectLayout::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_NewProjectLayout( "NewProjectLayout", &NewProjectLayout::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* NewProjectLayout::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 = {"slotAddType", 0, 0 };
    static const TQUMethod slot_2 = {"slotRemoveType", 0, 0 };
    static const TQUParameter param_slot_3[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"slotAutoRebuildChanged", 1, param_slot_3 };
    static const TQUParameter param_slot_4[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_4 = {"slotAutoCompletionChanged", 1, param_slot_4 };
    static const TQUParameter param_slot_5[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"slotAvailTypesChanged", 1, param_slot_5 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected },
	{ "slotAddType()", &slot_1, TQMetaData::Protected },
	{ "slotRemoveType()", &slot_2, TQMetaData::Protected },
	{ "slotAutoRebuildChanged(bool)", &slot_3, TQMetaData::Protected },
	{ "slotAutoCompletionChanged(bool)", &slot_4, TQMetaData::Protected },
	{ "slotAvailTypesChanged(const TQString&)", &slot_5, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"NewProjectLayout", parentObject,
	slot_tbl, 6,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_NewProjectLayout.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool NewProjectLayout::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    case 1: slotAddType(); break;
    case 2: slotRemoveType(); break;
    case 3: slotAutoRebuildChanged((bool)static_QUType_bool.get(_o+1)); break;
    case 4: slotAutoCompletionChanged((bool)static_QUType_bool.get(_o+1)); break;
    case 5: slotAvailTypesChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    default:
	return TQDialog::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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