/****************************************************************************
 ** Form implementation generated from reading ui file 'webwindow.ui'
 **
 ** Created: 월  5월 21 20:57:28 2007
 **      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.7   edited Aug 31 2005 $)
 **
 ** WARNING! All changes made in this file will be lost!
 ****************************************************************************/

#include "webwindow.h"

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

/*
 *  Constructs a WebForm1 as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The dialog will by default be modeless, unless you set 'modal' to
 *  TRUE to construct a modal dialog.
 */
WebForm1::WebForm1( QWidget* parent, const char* name )
	: QWidget( parent, name )
{
	if ( !name )
		setName( "WebForm1" );

	KStandardDirs   *dirs   = KGlobal::dirs();
	QString sPicsPath = dirs->findResource( "data", QString( KGlobal::instance()->aboutData()->appName() ) + "/pics/" );

	setIcon( QPixmap( sPicsPath + "hi16-app-knateon.png") );
	languageChange();
	resize( QSize(401, 290).expandedTo(minimumSizeHint()) );
	clearWState( WState_Polished );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void WebForm1::languageChange()
{
    setCaption( tr( "Nateon Web" ) );
}

#include "webwindow.moc"
