#include <kdialog.h>
#include <tdelocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './outputpage.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "outputpage.h"

#include <ntqvariant.h>
#include <klineedit.h>
#include <kpushbutton.h>
#include <kurlrequester.h>
#include <ntqlabel.h>
#include <ntqcheckbox.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

/*
 *  Constructs a OutputPage as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
OutputPage::OutputPage( TQWidget* parent, const char* name, WFlags fl )
    : TQWidget( parent, name, fl )
{
    if ( !name )
	setName( "OutputPage" );
    OutputPageLayout = new TQVBoxLayout( this, 0, 6, "OutputPageLayout"); 

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

    textLabel1 = new TQLabel( this, "textLabel1" );
    layout1->addWidget( textLabel1 );

    kcfg_destURL = new KURLRequester( this, "kcfg_destURL" );
    layout1->addWidget( kcfg_destURL );
    OutputPageLayout->addLayout( layout1 );

    kcfg_openInBrowser = new TQCheckBox( this, "kcfg_openInBrowser" );
    OutputPageLayout->addWidget( kcfg_openInBrowser );
    spacer1 = new TQSpacerItem( 20, 51, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    OutputPageLayout->addItem( spacer1 );
    languageChange();
    resize( TQSize(347, 192).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // buddies
    textLabel1->setBuddy( kcfg_destURL );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void OutputPage::languageChange()
{
    textLabel1->setText( tr2i18n( "Destination folder:" ) );
    kcfg_openInBrowser->setText( tr2i18n( "Open in browser" ) );
}

#include "outputpage.moc"
