#include "simapi.h"
/****************************************************************************
** Form implementation generated from reading ui file './yahooresultbase.ui'
**
** Created: вт мар 30 18:25:11 2004
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.1.2   edited Dec 19 11:45 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "yahooresultbase.h"

#include <qvariant.h>
#include <qwidget.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include <qimage.h>
#include <qpixmap.h>

static const char* const img0_yahooresultbase[] = { 
"22 22 2 1",
". c None",
"# c #a4c610",
"........######........",
".....###########......",
"....##############....",
"...################...",
"..######......######..",
"..#####........#####..",
".#####.......#..#####.",
".####.......###..####.",
"####.......#####..####",
"####......#####...####",
"####....#######...####",
"####....######....####",
"####...########...####",
".####.##########..####",
".####..####.#########.",
".#####..##...########.",
"..#####.......#######.",
"..######......######..",
"...###################",
"....##################",
"......###########.###.",
"........######.....#.."};


/* 
 *  Constructs a YahooResultBase as a child of 'parent', with the 
 *  name 'name' and widget flags set to 'f'.
 */
YahooResultBase::YahooResultBase( QWidget* parent, const char* name, WFlags fl )
    : QWidget( parent, name, fl ),
      image0( (const char **) img0_yahooresultbase )
{
    if ( !name )
	setName( "YahooResult" );
    YahooResultLayout = new QVBoxLayout( this, 11, 6, "YahooResultLayout"); 

    lblStatus = new QLabel( this, "lblStatus" );
    YahooResultLayout->addWidget( lblStatus );
    QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
    YahooResultLayout->addItem( spacer );
    languageChange();
    resize( QSize(322, 237).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void YahooResultBase::languageChange()
{
    setProperty( "caption", i18n( "Form2" ) );
    lblStatus->setProperty( "text", QString::null );
}

#include "yahooresultbase.moc"
