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

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

#include "distpart_ui.h"

#include <ntqvariant.h>
#include <kdialog.h>
#include <kiconloader.h>
#include <klineedit.h>
#include <kpushbutton.h>
#include <ktextedit.h>
#include <tdelistbox.h>
#include <ntqpushbutton.h>
#include <ntqlabel.h>
#include <ntqtabwidget.h>
#include <ntqcheckbox.h>
#include <ntqgroupbox.h>
#include <ntqbuttongroup.h>
#include <ntqcombobox.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include <ntqimage.h>
#include <ntqpixmap.h>

/*
 *  Constructs a distpart_ui as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
distpart_ui::distpart_ui( TQWidget* parent, const char* name, WFlags fl )
    : TQWidget( parent, name, fl )
{
    if ( !name )
	setName( "packaging_dialog" );
    setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) );
    setMinimumSize( TQSize( 0, 0 ) );
    setMaximumSize( TQSize( 32767, 32767 ) );
    packaging_dialogLayout = new TQVBoxLayout( this, 0, 0, "packaging_dialogLayout"); 

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

    titleLabel = new TQLabel( this, "titleLabel" );
    titleLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, titleLabel->sizePolicy().hasHeightForWidth() ) );
    titleLabel->setMinimumSize( TQSize( 250, 0 ) );
    Layout30->addWidget( titleLabel );

    TDevelopGraphic = new TQLabel( this, "TDevelopGraphic" );
    TDevelopGraphic->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, TDevelopGraphic->sizePolicy().hasHeightForWidth() ) );
    TDevelopGraphic->setMinimumSize( TQSize( 48, 48 ) );
    TDevelopGraphic->setMaximumSize( TQSize( 48, 48 ) );
    TDevelopGraphic->setPixmap( DesktopIcon( "tdevelop" ) );
    TDevelopGraphic->setScaledContents( true );
    Layout30->addWidget( TDevelopGraphic );
    packaging_dialogLayout->addLayout( Layout30 );

    actions_box = new TQTabWidget( this, "actions_box" );
    actions_box->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)3, 0, 0, actions_box->sizePolicy().hasHeightForWidth() ) );
    actions_box->setTabPosition( TQTabWidget::Top );

    tab = new TQWidget( actions_box, "tab" );
    tabLayout = new TQGridLayout( tab, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "tabLayout"); 

    srcDistFileListBox = new TDEListBox( tab, "srcDistFileListBox" );

    tabLayout->addMultiCellWidget( srcDistFileListBox, 1, 2, 1, 1 );

    customProjectCheckBox = new TQCheckBox( tab, "customProjectCheckBox" );

    tabLayout->addMultiCellWidget( customProjectCheckBox, 0, 1, 0, 0 );

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

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

    bzipCheckBox = new TQCheckBox( sourceOptionsGroupBox, "bzipCheckBox" );
    sourceOptionsGroupBoxLayout->addWidget( bzipCheckBox );

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

    archiveNameLabel = new TQLabel( sourceOptionsGroupBox, "archiveNameLabel" );
    Layout34->addWidget( archiveNameLabel );

    archNameFormatLineEdit = new KLineEdit( sourceOptionsGroupBox, "archNameFormatLineEdit" );
    Layout34->addWidget( archNameFormatLineEdit );
    sourceOptionsGroupBoxLayout->addLayout( Layout34 );
    Layout19->addWidget( sourceOptionsGroupBox );
    Spacer37 = new TQSpacerItem( 0, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout19->addItem( Spacer37 );

    addFile = new TQPushButton( tab, "addFile" );
    addFile->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, addFile->sizePolicy().hasHeightForWidth() ) );
    Layout19->addWidget( addFile );

    createSrcArchPushButton = new KPushButton( tab, "createSrcArchPushButton" );
    createSrcArchPushButton->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, createSrcArchPushButton->sizePolicy().hasHeightForWidth() ) );
    Layout19->addWidget( createSrcArchPushButton );

    resetSrcPushButton = new KPushButton( tab, "resetSrcPushButton" );
    resetSrcPushButton->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, resetSrcPushButton->sizePolicy().hasHeightForWidth() ) );
    Layout19->addWidget( resetSrcPushButton );

    tabLayout->addLayout( Layout19, 2, 0 );

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

    tabLayout->addWidget( fileListLabel, 0, 1 );
    actions_box->insertTab( tab, TQString::fromLatin1("") );

    tab_2 = new TQWidget( actions_box, "tab_2" );
    tabLayout_2 = new TQGridLayout( tab_2, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "tabLayout_2"); 

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

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

    licenseLineEdit = new KLineEdit( tab_2, "licenseLineEdit" );
    licenseLineEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 2, 0, licenseLineEdit->sizePolicy().hasHeightForWidth() ) );

    layout11->addWidget( licenseLineEdit, 4, 1 );

    vendorLabel = new TQLabel( tab_2, "vendorLabel" );

    layout11->addWidget( vendorLabel, 3, 0 );

    releaseLineEdit = new KLineEdit( tab_2, "releaseLineEdit" );
    releaseLineEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 2, 0, releaseLineEdit->sizePolicy().hasHeightForWidth() ) );

    layout11->addWidget( releaseLineEdit, 2, 1 );

    appNameLineEdit = new KLineEdit( tab_2, "appNameLineEdit" );
    appNameLineEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 2, 0, appNameLineEdit->sizePolicy().hasHeightForWidth() ) );

    layout11->addWidget( appNameLineEdit, 0, 1 );

    vendorLineEdit = new KLineEdit( tab_2, "vendorLineEdit" );
    vendorLineEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 2, 0, vendorLineEdit->sizePolicy().hasHeightForWidth() ) );

    layout11->addWidget( vendorLineEdit, 3, 1 );

    appNameLabel = new TQLabel( tab_2, "appNameLabel" );

    layout11->addWidget( appNameLabel, 0, 0 );

    summaryLabel = new TQLabel( tab_2, "summaryLabel" );

    layout11->addWidget( summaryLabel, 5, 0 );

    licenseLabel = new TQLabel( tab_2, "licenseLabel" );

    layout11->addWidget( licenseLabel, 4, 0 );

    releaseLabel = new TQLabel( tab_2, "releaseLabel" );

    layout11->addWidget( releaseLabel, 2, 0 );

    versionLabel = new TQLabel( tab_2, "versionLabel" );

    layout11->addWidget( versionLabel, 1, 0 );

    summaryLineEdit = new KLineEdit( tab_2, "summaryLineEdit" );
    summaryLineEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 2, 0, summaryLineEdit->sizePolicy().hasHeightForWidth() ) );

    layout11->addWidget( summaryLineEdit, 5, 1 );

    packagerLineEdit = new KLineEdit( tab_2, "packagerLineEdit" );
    packagerLineEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 2, 0, packagerLineEdit->sizePolicy().hasHeightForWidth() ) );

    layout11->addWidget( packagerLineEdit, 7, 1 );

    versionLineEdit = new KLineEdit( tab_2, "versionLineEdit" );
    versionLineEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 2, 0, versionLineEdit->sizePolicy().hasHeightForWidth() ) );

    layout11->addWidget( versionLineEdit, 1, 1 );

    groupLabel = new TQLabel( tab_2, "groupLabel" );

    layout11->addWidget( groupLabel, 6, 0 );

    packagerLabel = new TQLabel( tab_2, "packagerLabel" );

    layout11->addWidget( packagerLabel, 7, 0 );

    groupLineEdit = new KLineEdit( tab_2, "groupLineEdit" );
    groupLineEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 2, 0, groupLineEdit->sizePolicy().hasHeightForWidth() ) );

    layout11->addWidget( groupLineEdit, 6, 1 );
    layout12->addLayout( layout11 );

    advancedOptionsGroupBox = new TQButtonGroup( tab_2, "advancedOptionsGroupBox" );
    advancedOptionsGroupBox->setColumnLayout(0, TQt::Vertical );
    advancedOptionsGroupBox->layout()->setSpacing( KDialog::spacingHint() );
    advancedOptionsGroupBox->layout()->setMargin( KDialog::marginHint() );
    advancedOptionsGroupBoxLayout = new TQVBoxLayout( advancedOptionsGroupBox->layout() );
    advancedOptionsGroupBoxLayout->setAlignment( TQt::AlignTop );

    devPackageCheckBox = new TQCheckBox( advancedOptionsGroupBox, "devPackageCheckBox" );
    advancedOptionsGroupBoxLayout->addWidget( devPackageCheckBox );

    docsPackageCheckBox = new TQCheckBox( advancedOptionsGroupBox, "docsPackageCheckBox" );
    advancedOptionsGroupBoxLayout->addWidget( docsPackageCheckBox );

    appIconCheckBox = new TQCheckBox( advancedOptionsGroupBox, "appIconCheckBox" );
    advancedOptionsGroupBoxLayout->addWidget( appIconCheckBox );

    archLabel = new TQLabel( advancedOptionsGroupBox, "archLabel" );
    advancedOptionsGroupBoxLayout->addWidget( archLabel );

    archComboBox = new TQComboBox( false, advancedOptionsGroupBox, "archComboBox" );
    archComboBox->setAutoResize( true );
    archComboBox->setSizeLimit( 10 );
    archComboBox->setAutoCompletion( true );
    advancedOptionsGroupBoxLayout->addWidget( archComboBox );
    layout12->addWidget( advancedOptionsGroupBox );

    tabLayout_2->addMultiCellLayout( layout12, 0, 0, 0, 1 );

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

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

    srcPackagePushButton = new KPushButton( tab_2, "srcPackagePushButton" );
    layout8->addWidget( srcPackagePushButton );

    buildAllPushButton = new KPushButton( tab_2, "buildAllPushButton" );
    layout8->addWidget( buildAllPushButton );

    exportSPECPushButton = new KPushButton( tab_2, "exportSPECPushButton" );
    layout8->addWidget( exportSPECPushButton );

    importSPECPushButton = new KPushButton( tab_2, "importSPECPushButton" );
    layout8->addWidget( importSPECPushButton );
    layout13->addLayout( layout8 );

    tabLayout_2->addLayout( layout13, 1, 1 );

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

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

    projectDescriptionLabel = new TQLabel( tab_2, "projectDescriptionLabel" );
    projectDescriptionLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, projectDescriptionLabel->sizePolicy().hasHeightForWidth() ) );
    layout14->addWidget( projectDescriptionLabel );

    projectDescriptionMultilineEdit = new KTextEdit( tab_2, "projectDescriptionMultilineEdit" );
    projectDescriptionMultilineEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)3, 0, 0, projectDescriptionMultilineEdit->sizePolicy().hasHeightForWidth() ) );
    projectDescriptionMultilineEdit->setResizePolicy( KTextEdit::Manual );
    layout14->addWidget( projectDescriptionMultilineEdit );
    layout16->addLayout( layout14 );

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

    TextLabel1 = new TQLabel( tab_2, "TextLabel1" );
    TextLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
    layout15->addWidget( TextLabel1 );

    projectChangelogMultilineEdit = new KTextEdit( tab_2, "projectChangelogMultilineEdit" );
    projectChangelogMultilineEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)3, 0, 0, projectChangelogMultilineEdit->sizePolicy().hasHeightForWidth() ) );
    layout15->addWidget( projectChangelogMultilineEdit );
    layout16->addLayout( layout15 );

    tabLayout_2->addLayout( layout16, 1, 0 );
    actions_box->insertTab( tab_2, TQString::fromLatin1("") );

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

    localOptionsGroupBox = new TQGroupBox( tab_3, "localOptionsGroupBox" );
    localOptionsGroupBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, localOptionsGroupBox->sizePolicy().hasHeightForWidth() ) );
    localOptionsGroupBox->setColumnLayout(0, TQt::Vertical );
    localOptionsGroupBox->layout()->setSpacing( KDialog::spacingHint() );
    localOptionsGroupBox->layout()->setMargin( KDialog::marginHint() );
    localOptionsGroupBoxLayout = new TQHBoxLayout( localOptionsGroupBox->layout() );
    localOptionsGroupBoxLayout->setAlignment( TQt::AlignTop );

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

    genHTMLCheckBox = new TQCheckBox( localOptionsGroupBox, "genHTMLCheckBox" );

    Layout15->addMultiCellWidget( genHTMLCheckBox, 0, 0, 0, 1 );

    useRPMInfoCheckBox = new TQCheckBox( localOptionsGroupBox, "useRPMInfoCheckBox" );

    Layout15->addWidget( useRPMInfoCheckBox, 1, 1 );
    Spacer7 = new TQSpacerItem( 20, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    Layout15->addItem( Spacer7, 1, 0 );
    localOptionsGroupBoxLayout->addLayout( Layout15 );
    Spacer8 = new TQSpacerItem( 20, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    localOptionsGroupBoxLayout->addItem( Spacer8 );

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

    genHTMLPushButton = new KPushButton( localOptionsGroupBox, "genHTMLPushButton" );
    Layout21->addWidget( genHTMLPushButton );

    resetHTMLPushButton = new KPushButton( localOptionsGroupBox, "resetHTMLPushButton" );
    Layout21->addWidget( resetHTMLPushButton );
    localOptionsGroupBoxLayout->addLayout( Layout21 );
    tabLayout_3->addWidget( localOptionsGroupBox );

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

    uploadFileListBox = new TDEListBox( remoteOptionsGroupBox, "uploadFileListBox" );
    uploadFileListBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)7, 0, 0, uploadFileListBox->sizePolicy().hasHeightForWidth() ) );
    uploadFileListBox->setMinimumSize( TQSize( 250, 0 ) );

    remoteOptionsGroupBoxLayout->addWidget( uploadFileListBox, 1, 1 );

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

    fileSubmissionLabel = new TQLabel( remoteOptionsGroupBox, "fileSubmissionLabel" );
    Layout23->addWidget( fileSubmissionLabel );
    Spacer24 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Minimum );
    Layout23->addItem( Spacer24 );

    uploadAddFileToolButton = new KPushButton( remoteOptionsGroupBox, "uploadAddFileToolButton" );
    uploadAddFileToolButton->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)1, 0, 0, uploadAddFileToolButton->sizePolicy().hasHeightForWidth() ) );
    Layout23->addWidget( uploadAddFileToolButton );

    uploadRemoveToolButton = new KPushButton( remoteOptionsGroupBox, "uploadRemoveToolButton" );
    uploadRemoveToolButton->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)1, 0, 0, uploadRemoveToolButton->sizePolicy().hasHeightForWidth() ) );
    Layout23->addWidget( uploadRemoveToolButton );

    remoteOptionsGroupBoxLayout->addLayout( Layout23, 0, 1 );

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

    uploadCustomCheckBox = new TQCheckBox( remoteOptionsGroupBox, "uploadCustomCheckBox" );

    Layout25->addMultiCellWidget( uploadCustomCheckBox, 2, 2, 0, 1 );

    uploadftpkdeorgCheckBox = new TQCheckBox( remoteOptionsGroupBox, "uploadftpkdeorgCheckBox" );

    Layout25->addMultiCellWidget( uploadftpkdeorgCheckBox, 0, 0, 0, 1 );
    Spacer6 = new TQSpacerItem( 0, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout25->addItem( Spacer6, 4, 0 );

    uploadSubmitPushButton = new KPushButton( remoteOptionsGroupBox, "uploadSubmitPushButton" );

    Layout25->addWidget( uploadSubmitPushButton, 7, 0 );

    uploadURLLineEdit = new KLineEdit( remoteOptionsGroupBox, "uploadURLLineEdit" );

    Layout25->addMultiCellWidget( uploadURLLineEdit, 3, 3, 0, 1 );

    uploadResetPushButton = new KPushButton( remoteOptionsGroupBox, "uploadResetPushButton" );

    Layout25->addWidget( uploadResetPushButton, 7, 1 );

    uploadAppsKDEcomCheckBox = new TQCheckBox( remoteOptionsGroupBox, "uploadAppsKDEcomCheckBox" );

    Layout25->addMultiCellWidget( uploadAppsKDEcomCheckBox, 1, 1, 0, 1 );

    remoteOptionsGroupBoxLayout->addMultiCellLayout( Layout25, 0, 1, 0, 0 );
    tabLayout_3->addWidget( remoteOptionsGroupBox );
    actions_box->insertTab( tab_3, TQString::fromLatin1("") );
    packaging_dialogLayout->addWidget( actions_box );
    languageChange();
    resize( TQSize(606, 649).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( buildAllPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotbuildAllPushButtonPressed() ) );
    connect( exportSPECPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotexportSPECPushButtonPressed() ) );
    connect( srcPackagePushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotSrcPackagePushButtonPressed() ) );
    connect( importSPECPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotimportSPECPushButtonPressed() ) );
    connect( addFile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAddFileButtonPressed() ) );
    connect( srcDistFileListBox, TQ_SIGNAL( clicked(TQListBoxItem*) ), this, TQ_SLOT( slotRemoveFile(TQListBoxItem*) ) );

    // tab order
    setTabOrder( actions_box, customProjectCheckBox );
    setTabOrder( customProjectCheckBox, bzipCheckBox );
    setTabOrder( bzipCheckBox, archNameFormatLineEdit );
    setTabOrder( archNameFormatLineEdit, createSrcArchPushButton );
    setTabOrder( createSrcArchPushButton, resetSrcPushButton );
    setTabOrder( resetSrcPushButton, srcDistFileListBox );
    setTabOrder( srcDistFileListBox, appNameLineEdit );
    setTabOrder( appNameLineEdit, versionLineEdit );
    setTabOrder( versionLineEdit, releaseLineEdit );
    setTabOrder( releaseLineEdit, vendorLineEdit );
    setTabOrder( vendorLineEdit, licenseLineEdit );
    setTabOrder( licenseLineEdit, summaryLineEdit );
    setTabOrder( summaryLineEdit, groupLineEdit );
    setTabOrder( groupLineEdit, packagerLineEdit );
    setTabOrder( packagerLineEdit, projectDescriptionMultilineEdit );
    setTabOrder( projectDescriptionMultilineEdit, projectChangelogMultilineEdit );
    setTabOrder( projectChangelogMultilineEdit, devPackageCheckBox );
    setTabOrder( devPackageCheckBox, docsPackageCheckBox );
    setTabOrder( docsPackageCheckBox, appIconCheckBox );
    setTabOrder( appIconCheckBox, archComboBox );
    setTabOrder( archComboBox, genHTMLCheckBox );
    setTabOrder( genHTMLCheckBox, useRPMInfoCheckBox );
    setTabOrder( useRPMInfoCheckBox, genHTMLPushButton );
    setTabOrder( genHTMLPushButton, resetHTMLPushButton );
    setTabOrder( resetHTMLPushButton, uploadftpkdeorgCheckBox );
    setTabOrder( uploadftpkdeorgCheckBox, uploadAppsKDEcomCheckBox );
    setTabOrder( uploadAppsKDEcomCheckBox, uploadCustomCheckBox );
    setTabOrder( uploadCustomCheckBox, uploadURLLineEdit );
    setTabOrder( uploadURLLineEdit, uploadSubmitPushButton );
    setTabOrder( uploadSubmitPushButton, uploadResetPushButton );
    setTabOrder( uploadResetPushButton, uploadAddFileToolButton );
    setTabOrder( uploadAddFileToolButton, uploadRemoveToolButton );
    setTabOrder( uploadRemoveToolButton, uploadFileListBox );

    // buddies
    archiveNameLabel->setBuddy( archNameFormatLineEdit );
    fileListLabel->setBuddy( srcDistFileListBox );
    vendorLabel->setBuddy( vendorLineEdit );
    appNameLabel->setBuddy( appNameLineEdit );
    summaryLabel->setBuddy( summaryLineEdit );
    licenseLabel->setBuddy( licenseLineEdit );
    releaseLabel->setBuddy( releaseLineEdit );
    versionLabel->setBuddy( versionLineEdit );
    groupLabel->setBuddy( groupLineEdit );
    packagerLabel->setBuddy( packagerLineEdit );
    projectDescriptionLabel->setBuddy( projectDescriptionMultilineEdit );
    TextLabel1->setBuddy( projectChangelogMultilineEdit );
    fileSubmissionLabel->setBuddy( uploadFileListBox );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void distpart_ui::languageChange()
{
    setCaption( tr2i18n( "Prepare for Release" ) );
    titleLabel->setText( tr2i18n( "<H2>Project Packaging & Publishing</H2>" ) );
    customProjectCheckBox->setText( tr2i18n( "&Use custom options" ) );
    TQToolTip::add( customProjectCheckBox, tr2i18n( "Default is: %n-%v.tar.gz" ) );
    sourceOptionsGroupBox->setTitle( tr2i18n( "Source Options" ) );
    bzipCheckBox->setText( tr2i18n( "Use &bzip2 instead of gzip" ) );
    archiveNameLabel->setText( tr2i18n( "<b>Archive name format: </b><br> %n - File name <br> %v - File version <br> %d - Date of archive" ) );
    archNameFormatLineEdit->setText( tr2i18n( "%n-%v" ) );
    TQToolTip::add( archNameFormatLineEdit, tr2i18n( "Enter the filename using the format options. " ) );
    addFile->setText( tr2i18n( "&Add Files" ) );
    createSrcArchPushButton->setText( tr2i18n( "&Create Source Archive" ) );
    resetSrcPushButton->setText( tr2i18n( "R&eset" ) );
    fileListLabel->setText( tr2i18n( "File &list:" ) );
    actions_box->changeTab( tab, tr2i18n( "Source &Distribution" ) );
    vendorLabel->setText( tr2i18n( "Ve&ndor:" ) );
    TQToolTip::add( appNameLineEdit, tr2i18n( "Application name" ) );
    appNameLabel->setText( tr2i18n( "&Application name:" ) );
    summaryLabel->setText( tr2i18n( "S&ummary:" ) );
    licenseLabel->setText( tr2i18n( "&License:" ) );
    releaseLabel->setText( tr2i18n( "R&elease:" ) );
    versionLabel->setText( tr2i18n( "&Version:" ) );
    TQToolTip::add( versionLineEdit, tr2i18n( "Version of the file package.\n"
"Menu item: Project/Project Options/General/Version\n"
"changes project compiled version number" ) );
    groupLabel->setText( tr2i18n( "&Group:" ) );
    packagerLabel->setText( tr2i18n( "Pac&kager:" ) );
    advancedOptionsGroupBox->setTitle( tr2i18n( "Advanced Package Op&tions" ) );
    devPackageCheckBox->setText( tr2i18n( "&Create development package" ) );
    docsPackageCheckBox->setText( tr2i18n( "Create documentation package" ) );
    appIconCheckBox->setText( tr2i18n( "Include application icon" ) );
    archLabel->setText( tr2i18n( "Architecture target:<BR><b>(Note: You must have a compiler that supports this target)</b>" ) );
    archComboBox->clear();
    archComboBox->insertItem( tr2i18n( "i386" ) );
    archComboBox->insertItem( tr2i18n( "i586" ) );
    archComboBox->insertItem( tr2i18n( "i686" ) );
    archComboBox->insertItem( tr2i18n( "AMD K6" ) );
    archComboBox->insertItem( tr2i18n( "AMD K7" ) );
    archComboBox->insertItem( tr2i18n( "PPC" ) );
    archComboBox->insertItem( tr2i18n( "PPC G3" ) );
    archComboBox->insertItem( tr2i18n( "PPC Altevec" ) );
    archComboBox->insertItem( tr2i18n( "Dec Alpha (AXP)" ) );
    archComboBox->insertItem( tr2i18n( "Sparc" ) );
    archComboBox->setCurrentItem( 0 );
    srcPackagePushButton->setText( tr2i18n( "&Build Source \n"
"Package" ) );
    buildAllPushButton->setText( tr2i18n( "Build Binar&y \n"
"Package" ) );
    exportSPECPushButton->setText( tr2i18n( "E&xport \n"
"Build Files" ) );
    importSPECPushButton->setText( tr2i18n( "I&mport \n"
"Build Files" ) );
    projectDescriptionLabel->setText( tr2i18n( "&Description:" ) );
    TextLabel1->setText( tr2i18n( "C&hangelog:" ) );
    actions_box->changeTab( tab_2, tr2i18n( "Package &Information" ) );
    localOptionsGroupBox->setTitle( tr2i18n( "Local Options" ) );
    genHTMLCheckBox->setText( tr2i18n( "Ge&nerate HTML information page" ) );
    useRPMInfoCheckBox->setText( tr2i18n( "&User information generated by RPM" ) );
    genHTMLPushButton->setText( tr2i18n( "&Generate" ) );
    resetHTMLPushButton->setText( tr2i18n( "R&eset" ) );
    remoteOptionsGroupBox->setTitle( tr2i18n( "Re&mote Options" ) );
    fileSubmissionLabel->setText( tr2i18n( "File su&bmission list:" ) );
    uploadAddFileToolButton->setText( tr2i18n( "+" ) );
    uploadRemoveToolButton->setText( tr2i18n( "-" ) );
    uploadCustomCheckBox->setText( tr2i18n( "Upload to &custom FTP site" ) );
    uploadftpkdeorgCheckBox->setText( tr2i18n( "Upload files to ftp.&kde.org" ) );
    uploadSubmitPushButton->setText( tr2i18n( "Sub&mit" ) );
    uploadURLLineEdit->setText( tr2i18n( "ftp://username:password@ftp.server.com/path/" ) );
    uploadResetPushButton->setText( tr2i18n( "Reset" ) );
    uploadAppsKDEcomCheckBox->setText( tr2i18n( "Upload to &apps.kde.com" ) );
    actions_box->changeTab( tab_3, tr2i18n( "Pr&oject Publishing" ) );
}

void distpart_ui::slotbuildAllPushButtonPressed()
{
    tqWarning( "distpart_ui::slotbuildAllPushButtonPressed(): Not implemented yet" );
}

void distpart_ui::slotexportSPECPushButtonPressed()
{
    tqWarning( "distpart_ui::slotexportSPECPushButtonPressed(): Not implemented yet" );
}

void distpart_ui::slotimportSPECPushButtonPressed()
{
    tqWarning( "distpart_ui::slotimportSPECPushButtonPressed(): Not implemented yet" );
}

void distpart_ui::slotSrcPackagePushButtonPressed()
{
    tqWarning( "distpart_ui::slotSrcPackagePushButtonPressed(): Not implemented yet" );
}

void distpart_ui::slotAddFileButtonPressed()
{
    tqWarning( "distpart_ui::slotAddFileButtonPressed(): Not implemented yet" );
}

void distpart_ui::slotRemoveFile(TQListBoxItem*)
{
    tqWarning( "distpart_ui::slotRemoveFile(TQListBoxItem*): Not implemented yet" );
}

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

TQMetaObject *distpart_ui::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_distpart_ui( "distpart_ui", &distpart_ui::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* distpart_ui::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = TQWidget::staticMetaObject();
    static const TQUMethod slot_0 = {"slotbuildAllPushButtonPressed", 0, 0 };
    static const TQUMethod slot_1 = {"slotexportSPECPushButtonPressed", 0, 0 };
    static const TQUMethod slot_2 = {"slotimportSPECPushButtonPressed", 0, 0 };
    static const TQUMethod slot_3 = {"slotSrcPackagePushButtonPressed", 0, 0 };
    static const TQUMethod slot_4 = {"slotAddFileButtonPressed", 0, 0 };
    static const TQUParameter param_slot_5[] = {
	{ "item", &static_QUType_ptr, "TQListBoxItem", TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"slotRemoveFile", 1, param_slot_5 };
    static const TQUMethod slot_6 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "slotbuildAllPushButtonPressed()", &slot_0, TQMetaData::Public },
	{ "slotexportSPECPushButtonPressed()", &slot_1, TQMetaData::Public },
	{ "slotimportSPECPushButtonPressed()", &slot_2, TQMetaData::Public },
	{ "slotSrcPackagePushButtonPressed()", &slot_3, TQMetaData::Public },
	{ "slotAddFileButtonPressed()", &slot_4, TQMetaData::Public },
	{ "slotRemoveFile(TQListBoxItem*)", &slot_5, TQMetaData::Public },
	{ "languageChange()", &slot_6, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"distpart_ui", parentObject,
	slot_tbl, 7,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_distpart_ui.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool distpart_ui::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: slotbuildAllPushButtonPressed(); break;
    case 1: slotexportSPECPushButtonPressed(); break;
    case 2: slotimportSPECPushButtonPressed(); break;
    case 3: slotSrcPackagePushButtonPressed(); break;
    case 4: slotAddFileButtonPressed(); break;
    case 5: slotRemoveFile((TQListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    case 6: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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