#include "simapi.h"
/****************************************************************************
** Form implementation generated from reading ui file './journalresultbase.ui'
**
** Created: вт мар 30 17:37:47 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 "journalresultbase.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_journalresultbase[] = { 
"22 22 2 1",
". c None",
"# c #a4c610",
"........######........",
".....###########......",
"....##############....",
"...################...",
"..######......######..",
"..#####........#####..",
".#####.......#..#####.",
".####.......###..####.",
"####.......#####..####",
"####......#####...####",
"####....#######...####",
"####....######....####",
"####...########...####",
".####.##########..####",
".####..####.#########.",
".#####..##...########.",
"..#####.......#######.",
"..######......######..",
"...###################",
"....##################",
"......###########.###.",
"........######.....#.."};


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

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

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

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

#include "journalresultbase.moc"
