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

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

#include "cppnewclassdlgbase.h"

#include <ntqvariant.h>
#include <kdialog.h>
#include <klineedit.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqwidget.h>
#include <ntqlabel.h>
#include <ntqtextedit.h>
#include <ntqgroupbox.h>
#include <ntqcheckbox.h>
#include <ntqbuttongroup.h>
#include <ntqheader.h>
#include <ntqlistview.h>
#include <ntqcombobox.h>
#include <ntqradiobutton.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include "classgeneratorconfig.h"

/*
 *  Constructs a CppNewClassDialogBase 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.
 */
CppNewClassDialogBase::CppNewClassDialogBase( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : TQDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "CppNewClassDlgBase" );
    CppNewClassDlgBaseLayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint(), "CppNewClassDlgBaseLayout"); 

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

    tab1 = new TQWidget( class_tabs, "tab1" );
    tab1Layout = new TQGridLayout( tab1, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "tab1Layout"); 
    Spacer6 = new TQSpacerItem( 10, 20, TQSizePolicy::Preferred, TQSizePolicy::Minimum );
    tab1Layout->addItem( Spacer6, 0, 0 );

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

    documentation_label_ = new TQLabel( tab1, "documentation_label_" );
    Layout10->addWidget( documentation_label_ );

    documentation_edit = new TQTextEdit( tab1, "documentation_edit" );
    Layout10->addWidget( documentation_edit );

    tab1Layout->addMultiCellLayout( Layout10, 3, 3, 0, 1 );

    filenames_group = new TQGroupBox( tab1, "filenames_group" );
    filenames_group->setColumnLayout(0, TQt::Vertical );
    filenames_group->layout()->setSpacing( KDialog::spacingHint() );
    filenames_group->layout()->setMargin( KDialog::marginHint() );
    filenames_groupLayout = new TQVBoxLayout( filenames_group->layout() );
    filenames_groupLayout->setAlignment( TQt::AlignTop );

    header_label = new TQLabel( filenames_group, "header_label" );
    filenames_groupLayout->addWidget( header_label );

    header_edit = new KLineEdit( filenames_group, "header_edit" );
    filenames_groupLayout->addWidget( header_edit );

    implementation_label = new TQLabel( filenames_group, "implementation_label" );
    filenames_groupLayout->addWidget( implementation_label );

    implementation_edit = new KLineEdit( filenames_group, "implementation_edit" );
    filenames_groupLayout->addWidget( implementation_edit );

    headeronly_box = new TQCheckBox( filenames_group, "headeronly_box" );
    filenames_groupLayout->addWidget( headeronly_box );

    tab1Layout->addWidget( filenames_group, 2, 0 );

    groupBox7 = new TQGroupBox( tab1, "groupBox7" );
    groupBox7->setColumnLayout(0, TQt::Vertical );
    groupBox7->layout()->setSpacing( KDialog::spacingHint() );
    groupBox7->layout()->setMargin( KDialog::marginHint() );
    groupBox7Layout = new TQHBoxLayout( groupBox7->layout() );
    groupBox7Layout->setAlignment( TQt::AlignTop );

    classname_label = new TQLabel( groupBox7, "classname_label" );
    classname_label->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, classname_label->sizePolicy().hasHeightForWidth() ) );
    groupBox7Layout->addWidget( classname_label );

    classname_edit = new KLineEdit( groupBox7, "classname_edit" );
    groupBox7Layout->addWidget( classname_edit );

    namespace_label = new TQLabel( groupBox7, "namespace_label" );
    namespace_label->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, namespace_label->sizePolicy().hasHeightForWidth() ) );
    groupBox7Layout->addWidget( namespace_label );

    namespace_edit = new KLineEdit( groupBox7, "namespace_edit" );
    groupBox7Layout->addWidget( namespace_edit );

    tab1Layout->addMultiCellWidget( groupBox7, 0, 0, 0, 1 );

    inheritance_group = new TQButtonGroup( tab1, "inheritance_group" );
    inheritance_group->setColumnLayout(0, TQt::Vertical );
    inheritance_group->layout()->setSpacing( KDialog::spacingHint() );
    inheritance_group->layout()->setMargin( KDialog::marginHint() );
    inheritance_groupLayout = new TQGridLayout( inheritance_group->layout() );
    inheritance_groupLayout->setAlignment( TQt::AlignTop );

    addbaseclass_button = new TQPushButton( inheritance_group, "addbaseclass_button" );
    addbaseclass_button->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, addbaseclass_button->sizePolicy().hasHeightForWidth() ) );
    addbaseclass_button->setAutoDefault( true );

    inheritance_groupLayout->addWidget( addbaseclass_button, 2, 0 );

    rembaseclass_button = new TQPushButton( inheritance_group, "rembaseclass_button" );
    rembaseclass_button->setEnabled( false );
    rembaseclass_button->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, rembaseclass_button->sizePolicy().hasHeightForWidth() ) );
    rembaseclass_button->setMinimumSize( TQSize( 0, 0 ) );
    rembaseclass_button->setAutoDefault( true );

    inheritance_groupLayout->addWidget( rembaseclass_button, 3, 0 );

    upbaseclass_button = new TQPushButton( inheritance_group, "upbaseclass_button" );
    upbaseclass_button->setEnabled( false );
    upbaseclass_button->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, upbaseclass_button->sizePolicy().hasHeightForWidth() ) );
    upbaseclass_button->setAutoDefault( true );

    inheritance_groupLayout->addWidget( upbaseclass_button, 4, 0 );

    downbaseclass_button = new TQPushButton( inheritance_group, "downbaseclass_button" );
    downbaseclass_button->setEnabled( false );
    downbaseclass_button->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, downbaseclass_button->sizePolicy().hasHeightForWidth() ) );
    downbaseclass_button->setMinimumSize( TQSize( 0, 0 ) );
    downbaseclass_button->setAutoDefault( true );

    inheritance_groupLayout->addWidget( downbaseclass_button, 5, 0 );

    basename_label = new TQLabel( inheritance_group, "basename_label" );
    basename_label->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, basename_label->sizePolicy().hasHeightForWidth() ) );

    inheritance_groupLayout->addWidget( basename_label, 0, 0 );

    baseclasses_view = new TQListView( inheritance_group, "baseclasses_view" );
    baseclasses_view->addColumn( tr2i18n( "Baseclass Name" ) );
    baseclasses_view->addColumn( tr2i18n( "Inheritance Type" ) );
    baseclasses_view->setEnabled( false );
    baseclasses_view->setResizePolicy( TQListView::AutoOneFit );
    baseclasses_view->setResizeMode( TQListView::AllColumns );

    inheritance_groupLayout->addMultiCellWidget( baseclasses_view, 2, 5, 1, 2 );

    basename_edit = new KLineEdit( inheritance_group, "basename_edit" );
    basename_edit->setEnabled( false );
    basename_edit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, basename_edit->sizePolicy().hasHeightForWidth() ) );
    basename_edit->setMinimumSize( TQSize( 0, 20 ) );
    basename_edit->setFocusPolicy( KLineEdit::StrongFocus );

    inheritance_groupLayout->addWidget( basename_edit, 0, 1 );

    baseinclude_edit = new KLineEdit( inheritance_group, "baseinclude_edit" );
    baseinclude_edit->setEnabled( false );
    baseinclude_edit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, baseinclude_edit->sizePolicy().hasHeightForWidth() ) );
    baseinclude_edit->setMinimumSize( TQSize( 0, 20 ) );
    baseinclude_edit->setFocusPolicy( KLineEdit::StrongFocus );

    inheritance_groupLayout->addWidget( baseinclude_edit, 0, 2 );

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

    scope_box = new TQComboBox( false, inheritance_group, "scope_box" );
    scope_box->setEnabled( false );
    scope_box->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, scope_box->sizePolicy().hasHeightForWidth() ) );
    layout5->addWidget( scope_box );

    virtual_box = new TQCheckBox( inheritance_group, "virtual_box" );
    virtual_box->setEnabled( false );
    layout5->addWidget( virtual_box );

    public_button = new TQRadioButton( inheritance_group, "public_button" );
    public_button->setEnabled( false );
    public_button->setChecked( true );
    layout5->addWidget( public_button );

    protected_button = new TQRadioButton( inheritance_group, "protected_button" );
    protected_button->setEnabled( false );
    layout5->addWidget( protected_button );

    private_button = new TQRadioButton( inheritance_group, "private_button" );
    private_button->setEnabled( false );
    layout5->addWidget( private_button );

    inheritance_groupLayout->addMultiCellLayout( layout5, 1, 1, 0, 2 );

    tab1Layout->addMultiCellWidget( inheritance_group, 1, 1, 0, 1 );

    optionsBox = new TQGroupBox( tab1, "optionsBox" );
    optionsBox->setColumnLayout(0, TQt::Vertical );
    optionsBox->layout()->setSpacing( KDialog::spacingHint() );
    optionsBox->layout()->setMargin( KDialog::marginHint() );
    optionsBoxLayout = new TQVBoxLayout( optionsBox->layout() );
    optionsBoxLayout->setAlignment( TQt::AlignTop );

    filetemplate_box = new TQCheckBox( optionsBox, "filetemplate_box" );
    filetemplate_box->setChecked( true );
    optionsBoxLayout->addWidget( filetemplate_box );

    qobject_box = new TQCheckBox( optionsBox, "qobject_box" );
    optionsBoxLayout->addWidget( qobject_box );

    childclass_box = new TQCheckBox( optionsBox, "childclass_box" );
    optionsBoxLayout->addWidget( childclass_box );

    gtk_box = new TQCheckBox( optionsBox, "gtk_box" );
    optionsBoxLayout->addWidget( gtk_box );

    objc_box = new TQCheckBox( optionsBox, "objc_box" );
    optionsBoxLayout->addWidget( objc_box );

    tab1Layout->addWidget( optionsBox, 2, 1 );
    class_tabs->insertTab( tab1, TQString::fromLatin1("") );

    tab2 = new TQWidget( class_tabs, "tab2" );
    tab2Layout = new TQVBoxLayout( tab2, KDialog::marginHint(), KDialog::spacingHint(), "tab2Layout"); 

    tabWidget4 = new TQTabWidget( tab2, "tabWidget4" );

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

    constructors_view = new TQListView( tab, "constructors_view" );
    constructors_view->addColumn( tr2i18n( "Base Class Constructors" ) );
    constructors_view->setResizePolicy( TQListView::AutoOneFit );
    constructors_view->setRootIsDecorated( true );
    constructors_view->setResizeMode( TQListView::AllColumns );
    tabLayout->addWidget( constructors_view );

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

    to_constructors_list = new TQPushButton( tab, "to_constructors_list" );
    to_constructors_list->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, to_constructors_list->sizePolicy().hasHeightForWidth() ) );
    to_constructors_list->setMinimumSize( TQSize( 125, 0 ) );
    layout4->addWidget( to_constructors_list );

    clear_selection_button = new TQPushButton( tab, "clear_selection_button" );
    clear_selection_button->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, clear_selection_button->sizePolicy().hasHeightForWidth() ) );
    clear_selection_button->setMinimumSize( TQSize( 125, 0 ) );
    layout4->addWidget( clear_selection_button );
    spacer9_2_2 = new TQSpacerItem( 150, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout4->addItem( spacer9_2_2 );
    tabLayout->addLayout( layout4 );

    tabWidget3 = new TQTabWidget( tab, "tabWidget3" );

    tab_header = new TQWidget( tabWidget3, "tab_header" );
    tab_headerLayout = new TQGridLayout( tab_header, 1, 1, 2, KDialog::spacingHint(), "tab_headerLayout"); 

    constructors_h_edit = new TQTextEdit( tab_header, "constructors_h_edit" );
    constructors_h_edit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, constructors_h_edit->sizePolicy().hasHeightForWidth() ) );
    constructors_h_edit->setTextFormat( TQTextEdit::PlainText );
    constructors_h_edit->setWordWrap( TQTextEdit::NoWrap );

    tab_headerLayout->addWidget( constructors_h_edit, 0, 0 );
    tabWidget3->insertTab( tab_header, TQString::fromLatin1("") );

    tab_source = new TQWidget( tabWidget3, "tab_source" );
    tab_sourceLayout = new TQGridLayout( tab_source, 1, 1, 2, KDialog::spacingHint(), "tab_sourceLayout"); 

    constructors_cpp_edit = new TQTextEdit( tab_source, "constructors_cpp_edit" );
    constructors_cpp_edit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, constructors_cpp_edit->sizePolicy().hasHeightForWidth() ) );
    constructors_cpp_edit->setTextFormat( TQTextEdit::PlainText );
    constructors_cpp_edit->setWordWrap( TQTextEdit::NoWrap );

    tab_sourceLayout->addWidget( constructors_cpp_edit, 0, 0 );
    tabWidget3->insertTab( tab_source, TQString::fromLatin1("") );
    tabLayout->addWidget( tabWidget3 );
    tabWidget4->insertTab( tab, TQString::fromLatin1("") );

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

    methods_view = new TQListView( tab_2, "methods_view" );
    methods_view->addColumn( tr2i18n( "Methods" ) );
    methods_view->addColumn( tr2i18n( "Extend Functionality" ) );
    methods_view->setEnabled( true );
    methods_view->setResizePolicy( TQListView::AutoOneFit );
    methods_view->setAllColumnsShowFocus( true );
    methods_view->setRootIsDecorated( true );
    methods_view->setResizeMode( TQListView::AllColumns );
    tabLayout_2->addWidget( methods_view );
    tabWidget4->insertTab( tab_2, TQString::fromLatin1("") );

    tab_3 = new TQWidget( tabWidget4, "tab_3" );
    tabLayout_3 = new TQVBoxLayout( tab_3, KDialog::marginHint(), KDialog::spacingHint(), "tabLayout_3"); 

    access_view = new TQListView( tab_3, "access_view" );
    access_view->addColumn( tr2i18n( "Methods & Attributes" ) );
    access_view->addColumn( tr2i18n( "Implied Modifier" ) );
    access_view->addColumn( tr2i18n( "New Modifier" ) );
    access_view->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, access_view->sizePolicy().hasHeightForWidth() ) );
    access_view->setResizePolicy( TQListView::AutoOneFit );
    access_view->setAllColumnsShowFocus( true );
    access_view->setRootIsDecorated( true );
    access_view->setResizeMode( TQListView::AllColumns );
    tabLayout_3->addWidget( access_view );
    tabWidget4->insertTab( tab_3, TQString::fromLatin1("") );
    tab2Layout->addWidget( tabWidget4 );
    class_tabs->insertTab( tab2, TQString::fromLatin1("") );

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

    gen_config = new ClassGeneratorConfig( tab_4, "gen_config" );
    gen_config->setFocusPolicy( ClassGeneratorConfig::StrongFocus );

    tabLayout_4->addWidget( gen_config, 0, 0 );
    class_tabs->insertTab( tab_4, TQString::fromLatin1("") );
    CppNewClassDlgBaseLayout->addWidget( class_tabs );

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

    ok_button = new TQPushButton( this, "ok_button" );
    ok_button->setDefault( true );
    Layout3->addWidget( ok_button );

    cancel_button = new TQPushButton( this, "cancel_button" );
    Layout3->addWidget( cancel_button );
    CppNewClassDlgBaseLayout->addLayout( Layout3 );
    languageChange();
    resize( TQSize(510, 611).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( ok_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
    connect( cancel_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
    connect( classname_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( classNameChanged(const TQString&) ) );
    connect( header_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( headerChanged() ) );
    connect( implementation_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( implementationChanged() ) );
    connect( childclass_box, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( checkQWidgetInheritance(int) ) );
    connect( objc_box, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( checkObjCInheritance(int) ) );
    connect( virtual_box, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( currBaseVirtualChanged(int) ) );
    connect( public_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( currBasePublicSet() ) );
    connect( protected_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( currBaseProtectedSet() ) );
    connect( private_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( currBasePrivateSet() ) );
    connect( addbaseclass_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addBaseClass() ) );
    connect( rembaseclass_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( remBaseClass() ) );
    connect( baseclasses_view, TQ_SIGNAL( currentChanged(TQListViewItem*) ), this, TQ_SLOT( currBaseSelected(TQListViewItem*) ) );
    connect( upbaseclass_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( upbaseclass_button_clicked() ) );
    connect( downbaseclass_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( downbaseclass_button_clicked() ) );
    connect( baseclasses_view, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( baseclasses_view_selectionChanged() ) );
    connect( gtk_box, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( gtk_box_stateChanged(int) ) );
    connect( basename_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( currBaseNameChanged(const TQString&) ) );
    connect( qobject_box, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( qobject_box_stateChanged(int) ) );
    connect( access_view, TQ_SIGNAL( mouseButtonPressed(int,TQListViewItem*,const TQPoint&,int) ), this, TQ_SLOT( access_view_mouseButtonPressed(int,TQListViewItem*,const TQPoint&,int) ) );
    connect( methods_view, TQ_SIGNAL( mouseButtonPressed(int,TQListViewItem*,const TQPoint&,int) ), this, TQ_SLOT( methods_view_mouseButtonPressed(int,TQListViewItem*,const TQPoint&,int) ) );
    connect( clear_selection_button, TQ_SIGNAL( clicked() ), this, TQ_SLOT( clear_selection_button_clicked() ) );
    connect( to_constructors_list, TQ_SIGNAL( clicked() ), this, TQ_SLOT( to_constructors_list_clicked() ) );
    connect( class_tabs, TQ_SIGNAL( selected(const TQString&) ), this, TQ_SLOT( newTabSelected(const TQString&) ) );
    connect( class_tabs, TQ_SIGNAL( currentChanged(TQWidget*) ), this, TQ_SLOT( newTabSelected(TQWidget*) ) );
    connect( basename_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( baseclassname_changed(const TQString&) ) );
    connect( baseinclude_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( baseIncludeChanged(const TQString&) ) );
    connect( scope_box, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( scopeboxActivated(int) ) );
    connect( namespace_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( classNamespaceChanged(const TQString&) ) );
    connect( headeronly_box, TQ_SIGNAL( stateChanged(int) ), this, TQ_SLOT( headeronly_box_stateChanged(int) ) );

    // tab order
    setTabOrder( classname_edit, namespace_edit );
    setTabOrder( namespace_edit, addbaseclass_button );
    setTabOrder( addbaseclass_button, basename_edit );
    setTabOrder( basename_edit, baseinclude_edit );
    setTabOrder( baseinclude_edit, scope_box );
    setTabOrder( scope_box, virtual_box );
    setTabOrder( virtual_box, public_button );
    setTabOrder( public_button, protected_button );
    setTabOrder( protected_button, private_button );
    setTabOrder( private_button, baseclasses_view );
    setTabOrder( baseclasses_view, rembaseclass_button );
    setTabOrder( rembaseclass_button, upbaseclass_button );
    setTabOrder( upbaseclass_button, downbaseclass_button );
    setTabOrder( downbaseclass_button, header_edit );
    setTabOrder( header_edit, implementation_edit );
    setTabOrder( implementation_edit, filetemplate_box );
    setTabOrder( filetemplate_box, qobject_box );
    setTabOrder( qobject_box, childclass_box );
    setTabOrder( childclass_box, gtk_box );
    setTabOrder( gtk_box, objc_box );
    setTabOrder( objc_box, documentation_edit );
    setTabOrder( documentation_edit, class_tabs );
    setTabOrder( class_tabs, ok_button );
    setTabOrder( ok_button, cancel_button );
    setTabOrder( cancel_button, tabWidget4 );
    setTabOrder( tabWidget4, constructors_view );
    setTabOrder( constructors_view, to_constructors_list );
    setTabOrder( to_constructors_list, clear_selection_button );
    setTabOrder( clear_selection_button, tabWidget3 );
    setTabOrder( tabWidget3, constructors_h_edit );
    setTabOrder( constructors_h_edit, methods_view );
    setTabOrder( methods_view, access_view );
    setTabOrder( access_view, gen_config );
    setTabOrder( gen_config, constructors_cpp_edit );

    // buddies
    documentation_label_->setBuddy( documentation_edit );
    header_label->setBuddy( header_edit );
    implementation_label->setBuddy( implementation_edit );
    classname_label->setBuddy( classname_edit );
    namespace_label->setBuddy( namespace_edit );
    basename_label->setBuddy( basename_edit );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void CppNewClassDialogBase::languageChange()
{
    setCaption( tr2i18n( "New Class" ) );
    TQToolTip::add( this, TQString::null );
    documentation_label_->setText( tr2i18n( "Docu&mentation:" ) );
    TQWhatsThis::add( documentation_edit, tr2i18n( "Insert a short description for your new class\n"
"here for documentation purposes. This can be used\n"
"to create API documentation in HTML format with\n"
"doxygen or similar tools." ) );
    filenames_group->setTitle( tr2i18n( "File Names" ) );
    header_label->setText( tr2i18n( "&Header:" ) );
    TQWhatsThis::add( header_edit, tr2i18n( "Insert your header file name here.\n"
"It is automatically inserted while\n"
"you select the classname, but you can\n"
"still edit it afterwards." ) );
    implementation_label->setText( tr2i18n( "Im&plementation:" ) );
    TQWhatsThis::add( implementation_edit, tr2i18n( "Insert your implementation filename here.\n"
"It is automatically inserted while\n"
"you select the classname, but you can\n"
"still edit it afterwards." ) );
    headeronly_box->setText( tr2i18n( "Create only header" ) );
    groupBox7->setTitle( tr2i18n( "Class" ) );
    classname_label->setText( tr2i18n( "&Name:" ) );
    TQWhatsThis::add( classname_edit, tr2i18n( "Insert your new classname here.\n"
"You can also define template classes by specifying\n"
"template <params> classname" ) );
    namespace_label->setText( tr2i18n( "Name&space:" ) );
    TQWhatsThis::add( namespace_edit, tr2i18n( "Insert a name of the namespace here.\n"
"You can define nested namespaces by specifying\n"
"Namespace1::Namespace2::...::NamespaceN" ) );
    inheritance_group->setTitle( tr2i18n( "Inheritance" ) );
    addbaseclass_button->setText( tr2i18n( "&Add" ) );
    rembaseclass_button->setText( tr2i18n( "&Remove" ) );
    upbaseclass_button->setText( tr2i18n( "Move &Up" ) );
    downbaseclass_button->setText( tr2i18n( "Move &Down" ) );
    basename_label->setText( tr2i18n( "&Base class:" ) );
    baseclasses_view->header()->setLabel( 0, tr2i18n( "Baseclass Name" ) );
    baseclasses_view->header()->setLabel( 1, tr2i18n( "Inheritance Type" ) );
    TQWhatsThis::add( basename_edit, tr2i18n( "Insert the base class which your new class will be derived from. If you have checked 'Generate TQWidget child class' the new class will be derived from TQWidget. If no base class is named, the new class will not have a parent class. You can also use template classes here (like BaseClass<int, int>)" ) );
    TQWhatsThis::add( baseinclude_edit, TQString::null );
    scope_box->clear();
    scope_box->insertItem( tr2i18n( "Global" ) );
    scope_box->insertItem( tr2i18n( "Local" ) );
    virtual_box->setText( tr2i18n( "Virtual" ) );
    public_button->setText( tr2i18n( "Public" ) );
    protected_button->setText( tr2i18n( "Protected" ) );
    private_button->setText( tr2i18n( "Private" ) );
    optionsBox->setTitle( tr2i18n( "Options" ) );
    filetemplate_box->setText( tr2i18n( "Use file t&emplates" ) );
    qobject_box->setText( tr2i18n( "Generate QOb&ject child class" ) );
    childclass_box->setText( tr2i18n( "Generate Q&Widget child class" ) );
    gtk_box->setText( tr2i18n( "Generate G&TK+ class" ) );
    objc_box->setText( tr2i18n( "Use Objective-C" ) );
    class_tabs->changeTab( tab1, tr2i18n( "Class &Information" ) );
    constructors_view->header()->setLabel( 0, tr2i18n( "Base Class Constructors" ) );
    to_constructors_list->setText( tr2i18n( "C&reate Constructor >>" ) );
    clear_selection_button->setText( tr2i18n( "C&lear Selection" ) );
    tabWidget3->changeTab( tab_header, tr2i18n( "&Header" ) );
    tabWidget3->changeTab( tab_source, tr2i18n( "&Source" ) );
    tabWidget4->changeTab( tab, tr2i18n( "Constr&uctors" ) );
    methods_view->header()->setLabel( 0, tr2i18n( "Methods" ) );
    methods_view->header()->setLabel( 1, tr2i18n( "Extend Functionality" ) );
    tabWidget4->changeTab( tab_2, tr2i18n( "Methods Ov&erriding" ) );
    access_view->header()->setLabel( 0, tr2i18n( "Methods & Attributes" ) );
    access_view->header()->setLabel( 1, tr2i18n( "Implied Modifier" ) );
    access_view->header()->setLabel( 2, tr2i18n( "New Modifier" ) );
    tabWidget4->changeTab( tab_3, tr2i18n( "&Access Control" ) );
    class_tabs->changeTab( tab2, tr2i18n( "Ad&vanced Information" ) );
    class_tabs->changeTab( tab_4, tr2i18n( "&Generation Options" ) );
    ok_button->setText( tr2i18n( "&OK" ) );
    cancel_button->setText( tr2i18n( "&Cancel" ) );
}

void CppNewClassDialogBase::updateClassStore()
{
    tqWarning( "CppNewClassDialogBase::updateClassStore(): Not implemented yet" );
}

void CppNewClassDialogBase::access_view_mouseButtonPressed(int,TQListViewItem*,const TQPoint&,int)
{
    tqWarning( "CppNewClassDialogBase::access_view_mouseButtonPressed(int,TQListViewItem*,const TQPoint&,int): Not implemented yet" );
}

void CppNewClassDialogBase::classNameChanged(const TQString&)
{
    tqWarning( "CppNewClassDialogBase::classNameChanged(const TQString&): Not implemented yet" );
}

void CppNewClassDialogBase::headerChanged()
{
    tqWarning( "CppNewClassDialogBase::headerChanged(): Not implemented yet" );
}

void CppNewClassDialogBase::implementationChanged()
{
    tqWarning( "CppNewClassDialogBase::implementationChanged(): Not implemented yet" );
}

void CppNewClassDialogBase::nameHandlerChanged(const TQString&)
{
    tqWarning( "CppNewClassDialogBase::nameHandlerChanged(const TQString&): Not implemented yet" );
}

void CppNewClassDialogBase::addBaseClass()
{
    tqWarning( "CppNewClassDialogBase::addBaseClass(): Not implemented yet" );
}

void CppNewClassDialogBase::remBaseClass()
{
    tqWarning( "CppNewClassDialogBase::remBaseClass(): Not implemented yet" );
}

void CppNewClassDialogBase::currBaseNameChanged(const TQString&)
{
    tqWarning( "CppNewClassDialogBase::currBaseNameChanged(const TQString&): Not implemented yet" );
}

void CppNewClassDialogBase::currBasePrivateSet()
{
    tqWarning( "CppNewClassDialogBase::currBasePrivateSet(): Not implemented yet" );
}

void CppNewClassDialogBase::currBaseProtectedSet()
{
    tqWarning( "CppNewClassDialogBase::currBaseProtectedSet(): Not implemented yet" );
}

void CppNewClassDialogBase::currBasePublicSet()
{
    tqWarning( "CppNewClassDialogBase::currBasePublicSet(): Not implemented yet" );
}

void CppNewClassDialogBase::currBaseVirtualChanged(int)
{
    tqWarning( "CppNewClassDialogBase::currBaseVirtualChanged(int): Not implemented yet" );
}

void CppNewClassDialogBase::currBaseSelected(TQListViewItem*)
{
    tqWarning( "CppNewClassDialogBase::currBaseSelected(TQListViewItem*): Not implemented yet" );
}

void CppNewClassDialogBase::checkObjCInheritance(int)
{
    tqWarning( "CppNewClassDialogBase::checkObjCInheritance(int): Not implemented yet" );
}

void CppNewClassDialogBase::checkQWidgetInheritance(int)
{
    tqWarning( "CppNewClassDialogBase::checkQWidgetInheritance(int): Not implemented yet" );
}

void CppNewClassDialogBase::newTabSelected(const TQString&)
{
    tqWarning( "CppNewClassDialogBase::newTabSelected(const TQString&): Not implemented yet" );
}

void CppNewClassDialogBase::changeToPrivate()
{
    tqWarning( "CppNewClassDialogBase::changeToPrivate(): Not implemented yet" );
}

void CppNewClassDialogBase::changeToProtected()
{
    tqWarning( "CppNewClassDialogBase::changeToProtected(): Not implemented yet" );
}

void CppNewClassDialogBase::changeToPublic()
{
    tqWarning( "CppNewClassDialogBase::changeToPublic(): Not implemented yet" );
}

void CppNewClassDialogBase::changeToInherited()
{
    tqWarning( "CppNewClassDialogBase::changeToInherited(): Not implemented yet" );
}

void CppNewClassDialogBase::methods_view_mouseButtonPressed(int,TQListViewItem*,const TQPoint&,int)
{
    tqWarning( "CppNewClassDialogBase::methods_view_mouseButtonPressed(int,TQListViewItem*,const TQPoint&,int): Not implemented yet" );
}

void CppNewClassDialogBase::newTabSelected(TQWidget*)
{
    tqWarning( "CppNewClassDialogBase::newTabSelected(TQWidget*): Not implemented yet" );
}

void CppNewClassDialogBase::extendFunctionality()
{
    tqWarning( "CppNewClassDialogBase::extendFunctionality(): Not implemented yet" );
}

void CppNewClassDialogBase::replaceFunctionality()
{
    tqWarning( "CppNewClassDialogBase::replaceFunctionality(): Not implemented yet" );
}

void CppNewClassDialogBase::to_constructors_list_clicked()
{
    tqWarning( "CppNewClassDialogBase::to_constructors_list_clicked(): Not implemented yet" );
}

void CppNewClassDialogBase::from_constructors_list_clicked()
{
    tqWarning( "CppNewClassDialogBase::from_constructors_list_clicked(): Not implemented yet" );
}

void CppNewClassDialogBase::add_constructor_button_clicked()
{
    tqWarning( "CppNewClassDialogBase::add_constructor_button_clicked(): Not implemented yet" );
}

void CppNewClassDialogBase::rem_constructor_button_clicked()
{
    tqWarning( "CppNewClassDialogBase::rem_constructor_button_clicked(): Not implemented yet" );
}

void CppNewClassDialogBase::clear_selection_button_clicked()
{
    tqWarning( "CppNewClassDialogBase::clear_selection_button_clicked(): Not implemented yet" );
}

void CppNewClassDialogBase::upbaseclass_button_clicked()
{
    tqWarning( "CppNewClassDialogBase::upbaseclass_button_clicked(): Not implemented yet" );
}

void CppNewClassDialogBase::downbaseclass_button_clicked()
{
    tqWarning( "CppNewClassDialogBase::downbaseclass_button_clicked(): Not implemented yet" );
}

void CppNewClassDialogBase::baseclasses_view_selectionChanged()
{
    tqWarning( "CppNewClassDialogBase::baseclasses_view_selectionChanged(): Not implemented yet" );
}

void CppNewClassDialogBase::gtk_box_stateChanged(int)
{
    tqWarning( "CppNewClassDialogBase::gtk_box_stateChanged(int): Not implemented yet" );
}

void CppNewClassDialogBase::qobject_box_stateChanged(int)
{
    tqWarning( "CppNewClassDialogBase::qobject_box_stateChanged(int): Not implemented yet" );
}

void CppNewClassDialogBase::selectall_button_clicked()
{
    tqWarning( "CppNewClassDialogBase::selectall_button_clicked(): Not implemented yet" );
}

void CppNewClassDialogBase::baseclassname_changed(const TQString&)
{
    tqWarning( "CppNewClassDialogBase::baseclassname_changed(const TQString&): Not implemented yet" );
}

void CppNewClassDialogBase::baseIncludeChanged(const TQString&)
{
    tqWarning( "CppNewClassDialogBase::baseIncludeChanged(const TQString&): Not implemented yet" );
}

void CppNewClassDialogBase::scopeboxActivated(int)
{
    tqWarning( "CppNewClassDialogBase::scopeboxActivated(int): Not implemented yet" );
}

void CppNewClassDialogBase::classNamespaceChanged(const TQString&)
{
    tqWarning( "CppNewClassDialogBase::classNamespaceChanged(const TQString&): Not implemented yet" );
}

void CppNewClassDialogBase::headeronly_box_stateChanged(int)
{
    tqWarning( "CppNewClassDialogBase::headeronly_box_stateChanged(int): Not implemented yet" );
}

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

TQMetaObject *CppNewClassDialogBase::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_CppNewClassDialogBase( "CppNewClassDialogBase", &CppNewClassDialogBase::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* CppNewClassDialogBase::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 = {"updateClassStore", 0, 0 };
    static const TQUParameter param_slot_2[] = {
	{ "button", &static_QUType_int, 0, TQUParameter::In },
	{ "item", &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ "p", &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ "c", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_2 = {"access_view_mouseButtonPressed", 4, param_slot_2 };
    static const TQUParameter param_slot_3[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"classNameChanged", 1, param_slot_3 };
    static const TQUMethod slot_4 = {"headerChanged", 0, 0 };
    static const TQUMethod slot_5 = {"implementationChanged", 0, 0 };
    static const TQUParameter param_slot_6[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"nameHandlerChanged", 1, param_slot_6 };
    static const TQUMethod slot_7 = {"addBaseClass", 0, 0 };
    static const TQUMethod slot_8 = {"remBaseClass", 0, 0 };
    static const TQUParameter param_slot_9[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_9 = {"currBaseNameChanged", 1, param_slot_9 };
    static const TQUMethod slot_10 = {"currBasePrivateSet", 0, 0 };
    static const TQUMethod slot_11 = {"currBaseProtectedSet", 0, 0 };
    static const TQUMethod slot_12 = {"currBasePublicSet", 0, 0 };
    static const TQUParameter param_slot_13[] = {
	{ "val", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_13 = {"currBaseVirtualChanged", 1, param_slot_13 };
    static const TQUParameter param_slot_14[] = {
	{ "it", &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod slot_14 = {"currBaseSelected", 1, param_slot_14 };
    static const TQUParameter param_slot_15[] = {
	{ "val", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_15 = {"checkObjCInheritance", 1, param_slot_15 };
    static const TQUParameter param_slot_16[] = {
	{ "val", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_16 = {"checkQWidgetInheritance", 1, param_slot_16 };
    static const TQUParameter param_slot_17[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_17 = {"newTabSelected", 1, param_slot_17 };
    static const TQUMethod slot_18 = {"changeToPrivate", 0, 0 };
    static const TQUMethod slot_19 = {"changeToProtected", 0, 0 };
    static const TQUMethod slot_20 = {"changeToPublic", 0, 0 };
    static const TQUMethod slot_21 = {"changeToInherited", 0, 0 };
    static const TQUParameter param_slot_22[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_22 = {"methods_view_mouseButtonPressed", 4, param_slot_22 };
    static const TQUParameter param_slot_23[] = {
	{ "w", &static_QUType_ptr, "TQWidget", TQUParameter::In }
    };
    static const TQUMethod slot_23 = {"newTabSelected", 1, param_slot_23 };
    static const TQUMethod slot_24 = {"extendFunctionality", 0, 0 };
    static const TQUMethod slot_25 = {"replaceFunctionality", 0, 0 };
    static const TQUMethod slot_26 = {"to_constructors_list_clicked", 0, 0 };
    static const TQUMethod slot_27 = {"from_constructors_list_clicked", 0, 0 };
    static const TQUMethod slot_28 = {"add_constructor_button_clicked", 0, 0 };
    static const TQUMethod slot_29 = {"rem_constructor_button_clicked", 0, 0 };
    static const TQUMethod slot_30 = {"clear_selection_button_clicked", 0, 0 };
    static const TQUMethod slot_31 = {"upbaseclass_button_clicked", 0, 0 };
    static const TQUMethod slot_32 = {"downbaseclass_button_clicked", 0, 0 };
    static const TQUMethod slot_33 = {"baseclasses_view_selectionChanged", 0, 0 };
    static const TQUParameter param_slot_34[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_34 = {"gtk_box_stateChanged", 1, param_slot_34 };
    static const TQUParameter param_slot_35[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_35 = {"qobject_box_stateChanged", 1, param_slot_35 };
    static const TQUMethod slot_36 = {"selectall_button_clicked", 0, 0 };
    static const TQUParameter param_slot_37[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_37 = {"baseclassname_changed", 1, param_slot_37 };
    static const TQUParameter param_slot_38[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_38 = {"baseIncludeChanged", 1, param_slot_38 };
    static const TQUParameter param_slot_39[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_39 = {"scopeboxActivated", 1, param_slot_39 };
    static const TQUParameter param_slot_40[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_40 = {"classNamespaceChanged", 1, param_slot_40 };
    static const TQUParameter param_slot_41[] = {
	{ "val", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_41 = {"headeronly_box_stateChanged", 1, param_slot_41 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected },
	{ "updateClassStore()", &slot_1, TQMetaData::Protected },
	{ "access_view_mouseButtonPressed(int,TQListViewItem*,const TQPoint&,int)", &slot_2, TQMetaData::Protected },
	{ "classNameChanged(const TQString&)", &slot_3, TQMetaData::Protected },
	{ "headerChanged()", &slot_4, TQMetaData::Protected },
	{ "implementationChanged()", &slot_5, TQMetaData::Protected },
	{ "nameHandlerChanged(const TQString&)", &slot_6, TQMetaData::Protected },
	{ "addBaseClass()", &slot_7, TQMetaData::Protected },
	{ "remBaseClass()", &slot_8, TQMetaData::Protected },
	{ "currBaseNameChanged(const TQString&)", &slot_9, TQMetaData::Protected },
	{ "currBasePrivateSet()", &slot_10, TQMetaData::Protected },
	{ "currBaseProtectedSet()", &slot_11, TQMetaData::Protected },
	{ "currBasePublicSet()", &slot_12, TQMetaData::Protected },
	{ "currBaseVirtualChanged(int)", &slot_13, TQMetaData::Protected },
	{ "currBaseSelected(TQListViewItem*)", &slot_14, TQMetaData::Protected },
	{ "checkObjCInheritance(int)", &slot_15, TQMetaData::Protected },
	{ "checkQWidgetInheritance(int)", &slot_16, TQMetaData::Protected },
	{ "newTabSelected(const TQString&)", &slot_17, TQMetaData::Protected },
	{ "changeToPrivate()", &slot_18, TQMetaData::Protected },
	{ "changeToProtected()", &slot_19, TQMetaData::Protected },
	{ "changeToPublic()", &slot_20, TQMetaData::Protected },
	{ "changeToInherited()", &slot_21, TQMetaData::Protected },
	{ "methods_view_mouseButtonPressed(int,TQListViewItem*,const TQPoint&,int)", &slot_22, TQMetaData::Protected },
	{ "newTabSelected(TQWidget*)", &slot_23, TQMetaData::Protected },
	{ "extendFunctionality()", &slot_24, TQMetaData::Protected },
	{ "replaceFunctionality()", &slot_25, TQMetaData::Protected },
	{ "to_constructors_list_clicked()", &slot_26, TQMetaData::Protected },
	{ "from_constructors_list_clicked()", &slot_27, TQMetaData::Protected },
	{ "add_constructor_button_clicked()", &slot_28, TQMetaData::Protected },
	{ "rem_constructor_button_clicked()", &slot_29, TQMetaData::Protected },
	{ "clear_selection_button_clicked()", &slot_30, TQMetaData::Protected },
	{ "upbaseclass_button_clicked()", &slot_31, TQMetaData::Protected },
	{ "downbaseclass_button_clicked()", &slot_32, TQMetaData::Protected },
	{ "baseclasses_view_selectionChanged()", &slot_33, TQMetaData::Protected },
	{ "gtk_box_stateChanged(int)", &slot_34, TQMetaData::Protected },
	{ "qobject_box_stateChanged(int)", &slot_35, TQMetaData::Protected },
	{ "selectall_button_clicked()", &slot_36, TQMetaData::Protected },
	{ "baseclassname_changed(const TQString&)", &slot_37, TQMetaData::Protected },
	{ "baseIncludeChanged(const TQString&)", &slot_38, TQMetaData::Protected },
	{ "scopeboxActivated(int)", &slot_39, TQMetaData::Protected },
	{ "classNamespaceChanged(const TQString&)", &slot_40, TQMetaData::Protected },
	{ "headeronly_box_stateChanged(int)", &slot_41, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"CppNewClassDialogBase", parentObject,
	slot_tbl, 42,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_CppNewClassDialogBase.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool CppNewClassDialogBase::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    case 1: updateClassStore(); break;
    case 2: access_view_mouseButtonPressed((int)static_QUType_int.get(_o+1),(TQListViewItem*)static_QUType_ptr.get(_o+2),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+3)),(int)static_QUType_int.get(_o+4)); break;
    case 3: classNameChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 4: headerChanged(); break;
    case 5: implementationChanged(); break;
    case 6: nameHandlerChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 7: addBaseClass(); break;
    case 8: remBaseClass(); break;
    case 9: currBaseNameChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 10: currBasePrivateSet(); break;
    case 11: currBaseProtectedSet(); break;
    case 12: currBasePublicSet(); break;
    case 13: currBaseVirtualChanged((int)static_QUType_int.get(_o+1)); break;
    case 14: currBaseSelected((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 15: checkObjCInheritance((int)static_QUType_int.get(_o+1)); break;
    case 16: checkQWidgetInheritance((int)static_QUType_int.get(_o+1)); break;
    case 17: newTabSelected((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 18: changeToPrivate(); break;
    case 19: changeToProtected(); break;
    case 20: changeToPublic(); break;
    case 21: changeToInherited(); break;
    case 22: methods_view_mouseButtonPressed((int)static_QUType_int.get(_o+1),(TQListViewItem*)static_QUType_ptr.get(_o+2),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+3)),(int)static_QUType_int.get(_o+4)); break;
    case 23: newTabSelected((TQWidget*)static_QUType_ptr.get(_o+1)); break;
    case 24: extendFunctionality(); break;
    case 25: replaceFunctionality(); break;
    case 26: to_constructors_list_clicked(); break;
    case 27: from_constructors_list_clicked(); break;
    case 28: add_constructor_button_clicked(); break;
    case 29: rem_constructor_button_clicked(); break;
    case 30: clear_selection_button_clicked(); break;
    case 31: upbaseclass_button_clicked(); break;
    case 32: downbaseclass_button_clicked(); break;
    case 33: baseclasses_view_selectionChanged(); break;
    case 34: gtk_box_stateChanged((int)static_QUType_int.get(_o+1)); break;
    case 35: qobject_box_stateChanged((int)static_QUType_int.get(_o+1)); break;
    case 36: selectall_button_clicked(); break;
    case 37: baseclassname_changed((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 38: baseIncludeChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 39: scopeboxActivated((int)static_QUType_int.get(_o+1)); break;
    case 40: classNamespaceChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 41: headeronly_box_stateChanged((int)static_QUType_int.get(_o+1)); break;
    default:
	return TQDialog::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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