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

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

#include "appwizarddlgbase.h"

#include <ntqvariant.h>
#include <kdialog.h>
#include <kiconview.h>
#include <klineedit.h>
#include <tdelistview.h>
#include <ntqpushbutton.h>
#include <ntqwidget.h>
#include <ntqtabwidget.h>
#include <ntqcheckbox.h>
#include <ntqlabel.h>
#include <ntqgroupbox.h>
#include <kurlrequester.h>
#include <ntqmultilineedit.h>
#include <ntqcombobox.h>
#include <ntqframe.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

/*
 *  Constructs a AppWizardDialogBase as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The qwizard will by default be modeless, unless you set 'modal' to
 *  true to construct a modal qwizard.
 */
AppWizardDialogBase::AppWizardDialogBase( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : KWizard( parent, name, modal, fl )
{
    if ( !name )
	setName( "AppWizardDialogBase" );

    generalPage = new TQWidget( this, "generalPage" );
    generalPageLayout = new TQGridLayout( generalPage, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "generalPageLayout"); 

    templates_tabwidget = new TQTabWidget( generalPage, "templates_tabwidget" );

    m_allProjectsPage = new TQWidget( templates_tabwidget, "m_allProjectsPage" );
    m_allProjectsPageLayout = new TQGridLayout( m_allProjectsPage, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "m_allProjectsPageLayout"); 

    templates_listview = new TDEListView( m_allProjectsPage, "templates_listview" );
    templates_listview->addColumn( TQString::null );
    templates_listview->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 1, 1, templates_listview->sizePolicy().hasHeightForWidth() ) );
    templates_listview->setHScrollBarMode( TDEListView::Auto );
    templates_listview->setProperty( "selectionMode", "Single" );
    templates_listview->setRootIsDecorated( true );
    templates_listview->setResizeMode( TDEListView::AllColumns );
    templates_listview->setFullWidth( false );
    templates_listview->setItemsMovable( false );

    m_allProjectsPageLayout->addWidget( templates_listview, 0, 0 );

    showAll_box = new TQCheckBox( m_allProjectsPage, "showAll_box" );
    showAll_box->setChecked( false );

    m_allProjectsPageLayout->addWidget( showAll_box, 1, 0 );
    templates_tabwidget->insertTab( m_allProjectsPage, TQString::fromLatin1("") );

    m_favouritesPage = new TQWidget( templates_tabwidget, "m_favouritesPage" );
    m_favouritesPageLayout = new TQGridLayout( m_favouritesPage, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "m_favouritesPageLayout"); 

    favourites_iconview = new TDEIconView( m_favouritesPage, "favourites_iconview" );
    favourites_iconview->setArrangement( TDEIconView::LeftToRight );
    favourites_iconview->setItemsMovable( false );
    favourites_iconview->setMode( TDEIconView::Select );

    m_favouritesPageLayout->addWidget( favourites_iconview, 0, 0 );
    templates_tabwidget->insertTab( m_favouritesPage, TQString::fromLatin1("") );

    generalPageLayout->addMultiCellWidget( templates_tabwidget, 0, 1, 0, 0 );

    icon_label = new TQLabel( generalPage, "icon_label" );
    icon_label->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, icon_label->sizePolicy().hasHeightForWidth() ) );
    icon_label->setMinimumSize( TQSize( 250, 180 ) );
    icon_label->setMaximumSize( TQSize( 250, 180 ) );
    icon_label->setFrameShape( TQLabel::LineEditPanel );
    icon_label->setFrameShadow( TQLabel::Sunken );
    icon_label->setScaledContents( true );
    icon_label->setAlignment( int( TQLabel::AlignCenter ) );

    generalPageLayout->addWidget( icon_label, 0, 1 );

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

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

    appname_label = new TQLabel( GroupBox1, "appname_label" );
    layout2->addWidget( appname_label );

    location_label = new TQLabel( GroupBox1, "location_label" );
    layout2->addWidget( location_label );

    TextLabel3 = new TQLabel( GroupBox1, "TextLabel3" );
    layout2->addWidget( TextLabel3 );
    GroupBox1Layout->addLayout( layout2 );

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

    appname_edit = new KLineEdit( GroupBox1, "appname_edit" );
    appname_edit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 1, 0, appname_edit->sizePolicy().hasHeightForWidth() ) );
    layout1->addWidget( appname_edit );

    dest_edit = new KURLRequester( GroupBox1, "dest_edit" );
    dest_edit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 1, 0, dest_edit->sizePolicy().hasHeightForWidth() ) );
    layout1->addWidget( dest_edit );

    finalLoc_label = new TQLabel( GroupBox1, "finalLoc_label" );
    finalLoc_label->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 1, 0, finalLoc_label->sizePolicy().hasHeightForWidth() ) );
    layout1->addWidget( finalLoc_label );
    GroupBox1Layout->addLayout( layout1 );

    generalPageLayout->addMultiCellWidget( GroupBox1, 2, 2, 0, 1 );

    desc_textview = new TQMultiLineEdit( generalPage, "desc_textview" );
    desc_textview->setEnabled( true );
    desc_textview->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)7, 0, 0, desc_textview->sizePolicy().hasHeightForWidth() ) );
    desc_textview->setMinimumSize( TQSize( 250, 0 ) );
    desc_textview->setMaximumSize( TQSize( 250, 32767 ) );
    desc_textview->setFocusPolicy( TQMultiLineEdit::NoFocus );
    desc_textview->setWordWrap( TQMultiLineEdit::WidgetWidth );
    desc_textview->setReadOnly( true );

    generalPageLayout->addWidget( desc_textview, 1, 1 );
    addPage( generalPage, TQString("") );

    WizardPage = new TQWidget( this, "WizardPage" );
    WizardPageLayout = new TQVBoxLayout( WizardPage, KDialog::marginHint(), KDialog::spacingHint(), "WizardPageLayout"); 

    projectOptions = new TQGroupBox( WizardPage, "projectOptions" );
    projectOptions->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 1, 0, projectOptions->sizePolicy().hasHeightForWidth() ) );
    projectOptions->setColumnLayout(0, TQt::Vertical );
    projectOptions->layout()->setSpacing( KDialog::spacingHint() );
    projectOptions->layout()->setMargin( KDialog::marginHint() );
    projectOptionsLayout = new TQHBoxLayout( projectOptions->layout() );
    projectOptionsLayout->setAlignment( TQt::AlignTop );

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

    author_label = new TQLabel( projectOptions, "author_label" );
    layout6->addWidget( author_label );

    email_label = new TQLabel( projectOptions, "email_label" );
    layout6->addWidget( email_label );

    version_label = new TQLabel( projectOptions, "version_label" );
    layout6->addWidget( version_label );
    projectOptionsLayout->addLayout( layout6 );

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

    author_edit = new KLineEdit( projectOptions, "author_edit" );
    author_edit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 1, 0, author_edit->sizePolicy().hasHeightForWidth() ) );
    layout8->addWidget( author_edit );

    email_edit = new KLineEdit( projectOptions, "email_edit" );
    email_edit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 1, 0, email_edit->sizePolicy().hasHeightForWidth() ) );
    layout8->addWidget( email_edit );

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

    version_edit = new KLineEdit( projectOptions, "version_edit" );
    version_edit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, version_edit->sizePolicy().hasHeightForWidth() ) );
    layout7->addWidget( version_edit );

    license_label = new TQLabel( projectOptions, "license_label" );
    layout7->addWidget( license_label );

    license_combo = new TQComboBox( false, projectOptions, "license_combo" );
    license_combo->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 1, 0, license_combo->sizePolicy().hasHeightForWidth() ) );
    layout7->addWidget( license_combo );
    layout8->addLayout( layout7 );
    projectOptionsLayout->addLayout( layout8 );
    WizardPageLayout->addWidget( projectOptions );

    optionsGroup = new TQGroupBox( WizardPage, "optionsGroup" );
    optionsGroup->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 1, 1, optionsGroup->sizePolicy().hasHeightForWidth() ) );
    optionsGroup->setMinimumSize( TQSize( 550, 270 ) );
    optionsGroup->setColumnLayout(0, TQt::Vertical );
    optionsGroup->layout()->setSpacing( 0 );
    optionsGroup->layout()->setMargin( 0 );
    optionsGroupLayout = new TQGridLayout( optionsGroup->layout() );
    optionsGroupLayout->setAlignment( TQt::AlignTop );

    custom_options = new TQFrame( optionsGroup, "custom_options" );
    custom_options->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 1, 1, custom_options->sizePolicy().hasHeightForWidth() ) );
    custom_options->setFrameShape( TQFrame::NoFrame );
    custom_options->setFrameShadow( TQFrame::Plain );
    custom_options->setLineWidth( 0 );

    optionsGroupLayout->addWidget( custom_options, 0, 0 );
    WizardPageLayout->addWidget( optionsGroup );
    addPage( WizardPage, TQString("") );
    languageChange();
    resize( TQSize(616, 615).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( templates_listview, TQ_SIGNAL( selectionChanged(TQListViewItem*) ), this, TQ_SLOT( templatesTreeViewClicked(TQListViewItem*) ) );
    connect( author_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( textChanged() ) );
    connect( version_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( textChanged() ) );
    connect( appname_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( textChanged() ) );
    connect( appname_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( projectLocationChanged() ) );
    connect( dest_edit, TQ_SIGNAL( urlSelected(const TQString&) ), this, TQ_SLOT( destButtonClicked(const TQString&) ) );
    connect( dest_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( projectLocationChanged() ) );
    connect( favourites_iconview, TQ_SIGNAL( selectionChanged(TQIconViewItem*) ), this, TQ_SLOT( favouritesIconViewClicked(TQIconViewItem*) ) );
    connect( templates_listview, TQ_SIGNAL( contextMenuRequested(TQListViewItem*,const TQPoint&,int) ), this, TQ_SLOT( templatesContextMenu(TQListViewItem*,const TQPoint&,int) ) );
    connect( favourites_iconview, TQ_SIGNAL( contextMenuRequested(TQIconViewItem*,const TQPoint&) ), this, TQ_SLOT( favouritesContextMenu(TQIconViewItem*,const TQPoint&) ) );
    connect( favourites_iconview, TQ_SIGNAL( contextMenuRequested(TQIconViewItem*,const TQPoint&) ), this, TQ_SLOT( favouritesContextMenu(TQIconViewItem*,const TQPoint&) ) );
    connect( showAll_box, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( showTemplates(bool) ) );
    connect( dest_edit, TQ_SIGNAL( returnPressed(const TQString&) ), this, TQ_SLOT( projectLocationChanged() ) );

    // tab order
    setTabOrder( author_edit, email_edit );
    setTabOrder( email_edit, version_edit );
    setTabOrder( version_edit, license_combo );
    setTabOrder( license_combo, appname_edit );
    setTabOrder( appname_edit, dest_edit );
    setTabOrder( dest_edit, templates_tabwidget );
    setTabOrder( templates_tabwidget, templates_listview );
    setTabOrder( templates_listview, favourites_iconview );

    // buddies
    appname_label->setBuddy( appname_edit );
    location_label->setBuddy( dest_edit );
    author_label->setBuddy( author_edit );
    email_label->setBuddy( email_edit );
    version_label->setBuddy( version_edit );
    license_label->setBuddy( license_combo );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void AppWizardDialogBase::languageChange()
{
    setCaption( tr2i18n( "Create New Project" ) );
    templates_listview->header()->setLabel( 0, TQString::null );
    TQWhatsThis::add( templates_listview, TQString::null );
    showAll_box->setText( tr2i18n( "&Show all project templates" ) );
    templates_tabwidget->changeTab( m_allProjectsPage, tr2i18n( "&All Projects" ) );
    templates_tabwidget->changeTab( m_favouritesPage, tr2i18n( "&Favorites" ) );
    GroupBox1->setTitle( tr2i18n( "Properties" ) );
    appname_label->setText( tr2i18n( "Application &name:" ) );
    location_label->setText( tr2i18n( "&Location:" ) );
    TextLabel3->setText( tr2i18n( "Final location:" ) );
    finalLoc_label->setText( tr2i18n( "TextLabel4" ) );
    desc_textview->setText( TQString::null );
    setTitle( generalPage, tr2i18n( "General" ) );
    projectOptions->setTitle( tr2i18n( "General Options" ) );
    author_label->setText( tr2i18n( "Author:" ) );
    email_label->setText( tr2i18n( "Email:" ) );
    version_label->setText( tr2i18n( "Version:" ) );
    version_edit->setText( tr2i18n( "0.1" ) );
    license_label->setText( tr2i18n( "License:" ) );
    license_combo->clear();
    license_combo->insertItem( tr2i18n( "Custom" ) );
    optionsGroup->setTitle( tr2i18n( "Custom Options" ) );
    setTitle( WizardPage, tr2i18n( "Project Options" ) );
}

void AppWizardDialogBase::licenseChanged()
{
    tqWarning( "AppWizardDialogBase::licenseChanged(): Not implemented yet" );
}

void AppWizardDialogBase::destButtonClicked(const TQString&)
{
    tqWarning( "AppWizardDialogBase::destButtonClicked(const TQString&): Not implemented yet" );
}

void AppWizardDialogBase::projectLocationChanged()
{
    tqWarning( "AppWizardDialogBase::projectLocationChanged(): Not implemented yet" );
}

void AppWizardDialogBase::projectNameChanged()
{
    tqWarning( "AppWizardDialogBase::projectNameChanged(): Not implemented yet" );
}

void AppWizardDialogBase::textChanged()
{
    tqWarning( "AppWizardDialogBase::textChanged(): Not implemented yet" );
}

void AppWizardDialogBase::templatesTreeViewClicked(TQListViewItem*)
{
    tqWarning( "AppWizardDialogBase::templatesTreeViewClicked(TQListViewItem*): Not implemented yet" );
}

void AppWizardDialogBase::favouritesIconViewClicked(TQIconViewItem*)
{
    tqWarning( "AppWizardDialogBase::favouritesIconViewClicked(TQIconViewItem*): Not implemented yet" );
}

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

void AppWizardDialogBase::favouritesContextMenu(TQIconViewItem*,const TQPoint&)
{
    tqWarning( "AppWizardDialogBase::favouritesContextMenu(TQIconViewItem*,const TQPoint&): Not implemented yet" );
}

void AppWizardDialogBase::showTemplates(bool)
{
    tqWarning( "AppWizardDialogBase::showTemplates(bool): Not implemented yet" );
}

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

TQMetaObject *AppWizardDialogBase::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_AppWizardDialogBase( "AppWizardDialogBase", &AppWizardDialogBase::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* AppWizardDialogBase::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 = KWizard::staticMetaObject();
    static const TQUParameter param_slot_0[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"showTemplates", 1, param_slot_0 };
    static const TQUMethod slot_1 = {"languageChange", 0, 0 };
    static const TQUMethod slot_2 = {"licenseChanged", 0, 0 };
    static const TQUParameter param_slot_3[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"destButtonClicked", 1, param_slot_3 };
    static const TQUMethod slot_4 = {"projectLocationChanged", 0, 0 };
    static const TQUMethod slot_5 = {"projectNameChanged", 0, 0 };
    static const TQUMethod slot_6 = {"textChanged", 0, 0 };
    static const TQUParameter param_slot_7[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"templatesTreeViewClicked", 1, param_slot_7 };
    static const TQUParameter param_slot_8[] = {
	{ 0, &static_QUType_ptr, "TQIconViewItem", TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"favouritesIconViewClicked", 1, param_slot_8 };
    static const TQUParameter param_slot_9[] = {
	{ 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_9 = {"templatesContextMenu", 3, param_slot_9 };
    static const TQUParameter param_slot_10[] = {
	{ 0, &static_QUType_ptr, "TQIconViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod slot_10 = {"favouritesContextMenu", 2, param_slot_10 };
    static const TQMetaData slot_tbl[] = {
	{ "showTemplates(bool)", &slot_0, TQMetaData::Public },
	{ "languageChange()", &slot_1, TQMetaData::Protected },
	{ "licenseChanged()", &slot_2, TQMetaData::Protected },
	{ "destButtonClicked(const TQString&)", &slot_3, TQMetaData::Protected },
	{ "projectLocationChanged()", &slot_4, TQMetaData::Protected },
	{ "projectNameChanged()", &slot_5, TQMetaData::Protected },
	{ "textChanged()", &slot_6, TQMetaData::Protected },
	{ "templatesTreeViewClicked(TQListViewItem*)", &slot_7, TQMetaData::Protected },
	{ "favouritesIconViewClicked(TQIconViewItem*)", &slot_8, TQMetaData::Protected },
	{ "templatesContextMenu(TQListViewItem*,const TQPoint&,int)", &slot_9, TQMetaData::Protected },
	{ "favouritesContextMenu(TQIconViewItem*,const TQPoint&)", &slot_10, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"AppWizardDialogBase", parentObject,
	slot_tbl, 11,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_AppWizardDialogBase.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool AppWizardDialogBase::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: showTemplates((bool)static_QUType_bool.get(_o+1)); break;
    case 1: languageChange(); break;
    case 2: licenseChanged(); break;
    case 3: destButtonClicked((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 4: projectLocationChanged(); break;
    case 5: projectNameChanged(); break;
    case 6: textChanged(); break;
    case 7: templatesTreeViewClicked((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 8: favouritesIconViewClicked((TQIconViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 9: templatesContextMenu((TQListViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
    case 10: favouritesContextMenu((TQIconViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2))); break;
    default:
	return KWizard::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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