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

#include "tabbedbrowser.h"

#include <ntqvariant.h>
#include <ntqstylesheet.h>
#include <ntqmime.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include <ntqimage.h>
#include <ntqpixmap.h>

#include "helpwindow.h"
#include "mainwindow.h"
#include "tabbedbrowser.ui.h"
/*
 *  Constructs a TabbedBrowser as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
TabbedBrowser::TabbedBrowser( TQWidget* parent, const char* name, WFlags fl )
    : TQWidget( parent, name, fl )
{
    if ( !name )
	setName( "TabbedBrowser" );
    TabbedBrowserLayout = new TQGridLayout( this, 1, 1, 0, 0, "TabbedBrowserLayout"); 

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

    frontpage = new TQWidget( tab, "frontpage" );
    frontpageLayout = new TQGridLayout( frontpage, 1, 1, 11, 6, "frontpageLayout"); 
    tab->insertTab( frontpage, TQString::fromLatin1("") );

    TabbedBrowserLayout->addWidget( tab, 0, 0 );
    languageChange();
    resize( TQSize(710, 681).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
    init();
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void TabbedBrowser::languageChange()
{
    setCaption( tr( "TabbedBrowser" ) );
    tab->changeTab( frontpage, tr( "Untitled" ) );
}

