#include <kdialog.h>
#include <tdelocale.h>

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

#include "suspend_Dialog.h"

#include <ntqvariant.h>
#include <ntqprogressbar.h>
#include <ntqlabel.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include <ntqimage.h>
#include <ntqpixmap.h>

static const char* const image0_data[] = { 
"22 22 75 2",
".r c #000000",
".u c #000008",
".B c #000400",
".s c #000408",
"#f c #080008",
".q c #080408",
".t c #080410",
"#g c #080800",
".X c #080808",
".T c #080810",
".H c #080c00",
".p c #080c08",
".v c #081010",
".9 c #100c10",
".Z c #101400",
".I c #101408",
".V c #101410",
".j c #101808",
".y c #181808",
".F c #181810",
".k c #181c08",
".1 c #181c10",
".0 c #293008",
".l c #293010",
".i c #293410",
".5 c #313410",
".z c #313810",
".6 c #313c10",
".U c #314010",
".7 c #394018",
"#a c #394020",
".x c #414c10",
"#c c #414c18",
".h c #526518",
".P c #5a6518",
".8 c #5a6910",
".m c #5a6918",
".o c #5a6920",
".A c #5a6d18",
".S c #5a6d20",
"#h c #5a7118",
".2 c #626d20",
".4 c #627120",
"#d c #627520",
"## c #6a8118",
".E c #6a8120",
".Y c #6a8518",
".K c #6a8910",
".C c #738118",
".Q c #738518",
".3 c #738918",
".M c #8baa20",
".N c #94aa20",
".J c #94aa29",
".g c #94ae20",
"#. c #94b220",
".L c #9cbe20",
".W c #a4be18",
".D c #a4be20",
"#i c #a4c210",
".n c #a4c218",
".d c #a4c220",
".G c #a4c608",
".# c #a4c610",
".b c #a4c618",
".w c #a4c620",
".R c #a4ca08",
".f c #a4ca10",
"#e c #acc218",
"#b c #acc220",
".O c #acc610",
".c c #acc618",
".e c #acc620",
".a c #acca10",
"Qt c #acca18",
"Qt.#.a.#Qt.#.a.#Qt.#Qt.#Qt.#.a.#Qt.#.a.#Qt.#",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 'name' and widget flags set to 'f'.
 *
 *  The qdialog will by default be modeless, unless you set 'modal' to
 *  true to construct a modal qdialog.
 */
suspend_Dialog::suspend_Dialog( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : TQDialog( parent, name, modal, fl ),
      image0( (const char **) image0_data )
{
    if ( !name )
	setName( "suspend_Dialog" );
    setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sizePolicy().hasHeightForWidth() ) );
    setMinimumSize( TQSize( 300, 90 ) );
    setMaximumSize( TQSize( 300, 90 ) );

    progressBar = new TQProgressBar( this, "progressBar" );
    progressBar->setGeometry( TQRect( 70, 21, 221, 22 ) );

    message = new TQLabel( this, "message" );
    message->setGeometry( TQRect( 10, 60, 280, 20 ) );

    iconPixmap = new TQLabel( this, "iconPixmap" );
    iconPixmap->setGeometry( TQRect( 10, 10, 48, 48 ) );
    iconPixmap->setMinimumSize( TQSize( 48, 48 ) );
    iconPixmap->setMaximumSize( TQSize( 48, 48 ) );
    iconPixmap->setPixmap( image0 );
    iconPixmap->setScaledContents( false );
    languageChange();
    resize( TQSize(300, 90).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void suspend_Dialog::languageChange()
{
    message->setText( TQString::null );
}

/****************************************************************************
** suspend_Dialog meta object code from reading C++ file 'suspend_Dialog.h'
**
** Created by: The TQt Meta Object Compiler version 26 (TQt 3.5.0)
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef TQT_NO_COMPAT
#include "suspend_Dialog.h"
#include <ntqmetaobject.h>
#include <ntqapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.5.0. It"
#error "cannot be used with the include files from this version of TQt."
#error "(The moc has changed too much.)"
#endif

const char *suspend_Dialog::className() const
{
    return "suspend_Dialog";
}

TQMetaObject *suspend_Dialog::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_suspend_Dialog( "suspend_Dialog", &suspend_Dialog::staticMetaObject );

#ifndef TQT_NO_TRANSLATION
TQString suspend_Dialog::tr( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "suspend_Dialog", s, c, TQApplication::DefaultCodec );
    else
	return TQString::fromLatin1( s );
}
#ifndef TQT_NO_TRANSLATION_UTF8
TQString suspend_Dialog::trUtf8( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "suspend_Dialog", s, c, TQApplication::UnicodeUTF8 );
    else
	return TQString::fromUtf8( s );
}
#endif // TQT_NO_TRANSLATION_UTF8

#endif // TQT_NO_TRANSLATION

TQMetaObject* suspend_Dialog::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = TQDialog::staticMetaObject();
    static const TQUMethod slot_0 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"suspend_Dialog", parentObject,
	slot_tbl, 1,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_suspend_Dialog.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* suspend_Dialog::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "suspend_Dialog" ) )
	return this;
    return TQDialog::tqt_cast( clname );
}

bool suspend_Dialog::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    default:
	return TQDialog::tqt_invoke( _id, _o );
    }
    return true;
}

bool suspend_Dialog::tqt_emit( int _id, TQUObject* _o )
{
    return TQDialog::tqt_emit(_id,_o);
}
#ifndef TQT_NO_PROPERTIES

bool suspend_Dialog::tqt_property( int id, int f, TQVariant* v)
{
    return TQDialog::tqt_property( id, f, v);
}

bool suspend_Dialog::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES
