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

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

#include "icqadd.h"

#include <ntqvariant.h>
#include <kpushbutton.h>
#include <ntqpushbutton.h>
#include <ntqlabel.h>
#include <ntqlineedit.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include <ntqimage.h>
#include <ntqpixmap.h>

static const unsigned char image0_data[] = { 
    0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
    0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10,
    0x08, 0x06, 0x00, 0x00, 0x00, 0x1f, 0xf3, 0xff, 0x61, 0x00, 0x00, 0x02,
    0xa7, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0x7d, 0x91, 0xcd, 0x4b, 0x94,
    0x51, 0x14, 0xc6, 0x9f, 0x73, 0xef, 0x3b, 0x33, 0xea, 0x7c, 0xa8, 0x38,
    0xa6, 0xa3, 0x26, 0x81, 0x50, 0x11, 0x94, 0xd2, 0x97, 0x50, 0x50, 0xb4,
    0xc8, 0x2f, 0x92, 0xdc, 0x04, 0x2e, 0x5a, 0x55, 0x0b, 0x5b, 0xf6, 0x07,
    0x44, 0xbb, 0x16, 0xb5, 0x8a, 0x82, 0x68, 0x21, 0x81, 0x44, 0xd0, 0x26,
    0xda, 0x64, 0xda, 0x22, 0x8a, 0x0a, 0x2b, 0x52, 0xd1, 0xc8, 0xc8, 0xc4,
    0x8f, 0x2c, 0x54, 0x66, 0x9c, 0x19, 0xdf, 0x79, 0xdf, 0x79, 0x3f, 0xef,
    0xbd, 0x2d, 0x66, 0x24, 0x69, 0x86, 0x0e, 0x1c, 0xb8, 0x70, 0xce, 0xf3,
    0xe3, 0x39, 0xcf, 0x25, 0x00, 0x98, 0x9b, 0x5b, 0x88, 0xe5, 0x6c, 0xb7,
    0x8b, 0x08, 0x57, 0xf2, 0xb6, 0xd3, 0xe6, 0x7b, 0x0e, 0x0b, 0x05, 0x03,
    0xba, 0xf4, 0xe5, 0x7b, 0xdb, 0xb2, 0x1e, 0xb8, 0xb6, 0xfa, 0xde, 0xdf,
    0x7f, 0xda, 0x45, 0x99, 0xa2, 0xe9, 0x99, 0xf9, 0xbd, 0xb6, 0x6b, 0x5f,
    0xb7, 0x5d, 0xb7, 0x9b, 0x31, 0x64, 0xb8, 0xc6, 0xb3, 0x50, 0x4a, 0xf8,
    0x42, 0x68, 0x52, 0x88, 0x5a, 0xdf, 0xf3, 0x27, 0x2d, 0xc3, 0x1c, 0xb1,
    0x4c, 0x31, 0x3e, 0x38, 0xd8, 0x27, 0xfe, 0x05, 0x68, 0x59, 0x3d, 0x77,
    0x22, 0x58, 0x11, 0xb8, 0xd8, 0xd8, 0x10, 0x47, 0x55, 0x55, 0xa8, 0x9e,
    0x88, 0xe0, 0x79, 0x1e, 0x0c, 0x33, 0x0f, 0x25, 0x15, 0xcc, 0x7c, 0x9e,
    0x6c, 0xcb, 0x82, 0x2f, 0x8d, 0x6f, 0x00, 0x96, 0x4a, 0x00, 0x9e, 0x6b,
    0x5f, 0x8e, 0xd5, 0x54, 0x21, 0x1a, 0x0d, 0x23, 0x5c, 0x55, 0x01, 0xce,
    0x18, 0x74, 0xc3, 0x04, 0x11, 0x41, 0x4a, 0x89, 0x58, 0x2c, 0xdc, 0x06,
    0x25, 0xc3, 0xe9, 0x64, 0xe6, 0x4c, 0x39, 0x00, 0xb3, 0x5d, 0xe7, 0x68,
    0x30, 0x10, 0x00, 0xe7, 0x0c, 0x1a, 0xe7, 0x60, 0x8c, 0x81, 0x73, 0x8e,
    0x80, 0xa6, 0xa1, 0xb2, 0xb2, 0x02, 0xb1, 0x68, 0x14, 0xcd, 0x4d, 0x89,
    0x46, 0xce, 0xd5, 0x50, 0xb9, 0x0c, 0x98, 0xe3, 0x3a, 0x15, 0x8c, 0x11,
    0x3c, 0xcf, 0x47, 0xce, 0xcc, 0xc3, 0xcc, 0x5b, 0x08, 0x05, 0x34, 0x28,
    0x25, 0x91, 0xd9, 0x4c, 0x63, 0x7d, 0x6d, 0x1d, 0x5b, 0xd9, 0x2c, 0x2c,
    0xcb, 0x3a, 0xf2, 0xf0, 0xd1, 0xe8, 0xbd, 0x92, 0x13, 0x5c, 0xd7, 0x37,
    0x01, 0x84, 0x01, 0x80, 0x88, 0xc0, 0x35, 0x0e, 0xc6, 0x39, 0xa2, 0x91,
    0x08, 0x62, 0x91, 0x08, 0x3c, 0xcf, 0x43, 0x2e, 0x67, 0x40, 0xd3, 0x82,
    0x2c, 0x99, 0x4c, 0xc5, 0x4a, 0x1c, 0x58, 0x86, 0xf5, 0xd1, 0x75, 0x5d,
    0x48, 0xa9, 0x20, 0xa5, 0x84, 0x52, 0x0a, 0x4a, 0x29, 0x10, 0x00, 0x25,
    0x15, 0x08, 0x84, 0x4c, 0x3a, 0x83, 0xba, 0xf8, 0x2e, 0x10, 0x51, 0xe9,
    0x09, 0x96, 0xe5, 0xdc, 0x59, 0x59, 0xfe, 0x0d, 0x21, 0xfd, 0x42, 0x70,
    0x42, 0x42, 0x08, 0x01, 0x51, 0x84, 0xe9, 0xba, 0x8e, 0x0f, 0x13, 0x93,
    0x50, 0xd0, 0x50, 0x46, 0x0f, 0xd6, 0xde, 0x7e, 0xc8, 0x0e, 0x57, 0x86,
    0x31, 0x3b, 0x33, 0x07, 0xc3, 0x30, 0x21, 0xa4, 0x84, 0xef, 0xfb, 0x10,
    0x42, 0x22, 0x99, 0x4c, 0x61, 0xec, 0xc5, 0x2b, 0x38, 0x0e, 0xc1, 0xcb,
    0xfc, 0xc2, 0x81, 0xfc, 0xd3, 0x3d, 0xd3, 0x37, 0x9a, 0xf7, 0xec, 0x04,
    0xd0, 0xf4, 0x97, 0xc5, 0xae, 0x89, 0x77, 0xaf, 0xc7, 0x7b, 0x7a, 0xcf,
    0x62, 0x62, 0x62, 0x0a, 0x7a, 0x2e, 0x0d, 0x25, 0x05, 0xa0, 0x18, 0x1a,
    0x1a, 0x13, 0x88, 0xd7, 0x35, 0x20, 0x9f, 0x5a, 0x41, 0x64, 0x75, 0x04,
    0xbb, 0x83, 0x3f, 0xdc, 0xad, 0x8d, 0xe4, 0xe8, 0x96, 0xc9, 0x86, 0x4e,
    0xdd, 0x5e, 0xdb, 0x00, 0x00, 0x6d, 0x9b, 0xd4, 0x94, 0x68, 0xc4, 0xc0,
    0x40, 0x6f, 0x31, 0x8b, 0x42, 0x0b, 0x21, 0x21, 0xa4, 0x40, 0xea, 0xf3,
    0x24, 0x22, 0x6d, 0x35, 0x88, 0xb7, 0x9c, 0x0f, 0x6a, 0x53, 0x63, 0x03,
    0xd6, 0xfc, 0x2a, 0x9e, 0x5d, 0x4d, 0x5c, 0x1b, 0xb8, 0xbf, 0xb6, 0xcc,
    0x76, 0x98, 0x29, 0xf7, 0xcd, 0x20, 0x10, 0xaa, 0xf7, 0x77, 0x41, 0xf7,
    0xdb, 0xb0, 0x95, 0xd1, 0x51, 0x7b, 0xb8, 0x1b, 0x0d, 0xad, 0xf5, 0x7d,
    0xd1, 0x90, 0x7b, 0xf3, 0xf1, 0xa5, 0x44, 0x8b, 0x56, 0x56, 0xb5, 0x2d,
    0x2e, 0xa6, 0xc6, 0x2b, 0x6b, 0xf0, 0x76, 0xad, 0x09, 0x35, 0x5f, 0x17,
    0xcc, 0x93, 0x9d, 0x84, 0xfa, 0xce, 0x73, 0x61, 0x85, 0xd1, 0x0b, 0xd9,
    0xd9, 0x54, 0x1d, 0xfb, 0xbb, 0x5c, 0x10, 0x10, 0x01, 0x8c, 0x11, 0x58,
    0xf1, 0x4d, 0x44, 0x20, 0x56, 0x00, 0xad, 0x87, 0x8e, 0xbd, 0xf9, 0xf4,
    0x7c, 0xfc, 0xee, 0xc6, 0xa6, 0xe5, 0xb0, 0xd6, 0xe3, 0x9a, 0x11, 0x39,
    0xd8, 0xa5, 0xb1, 0xe2, 0x70, 0x78, 0x78, 0xe4, 0x7f, 0x66, 0x0a, 0x15,
    0xaa, 0xdd, 0xfc, 0xb9, 0xa4, 0xdf, 0x4a, 0x3f, 0x79, 0xd9, 0x21, 0xab,
    0xf7, 0xf5, 0x2c, 0xda, 0x1d, 0x73, 0x7f, 0x00, 0x30, 0x62, 0x48, 0x81,
    0xb3, 0x91, 0x60, 0x42, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44,
    0xae, 0x42, 0x60, 0x82
};


/*
 *  Constructs a icqAddUI as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
icqAddUI::icqAddUI( TQWidget* parent, const char* name, WFlags fl )
    : TQWidget( parent, name, fl )
{
    TQImage img;
    img.loadFromData( image0_data, sizeof( image0_data ), "PNG" );
    image0 = img;
    if ( !name )
	setName( "icqAddUI" );
    icqAddUILayout = new TQVBoxLayout( this, 0, 6, "icqAddUILayout"); 

    layout3 = new TQHBoxLayout( 0, 0, 6, "layout3"); 

    textLabel1 = new TQLabel( this, "textLabel1" );
    layout3->addWidget( textLabel1 );

    uinEdit = new TQLineEdit( this, "uinEdit" );
    layout3->addWidget( uinEdit );
    icqAddUILayout->addLayout( layout3 );

    layout4 = new TQHBoxLayout( 0, 0, 6, "layout4"); 

    textLabel1_2 = new TQLabel( this, "textLabel1_2" );
    layout4->addWidget( textLabel1_2 );
    spacer8 = new TQSpacerItem( 47, 26, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout4->addItem( spacer8 );

    searchButton = new KPushButton( this, "searchButton" );
    searchButton->setIconSet( TQIconSet( image0 ) );
    layout4->addWidget( searchButton );
    icqAddUILayout->addLayout( layout4 );
    spacer4 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    icqAddUILayout->addItem( spacer4 );
    languageChange();
    resize( TQSize(452, 88).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void icqAddUI::languageChange()
{
    textLabel1->setText( tr2i18n( "UIN #:" ) );
    textLabel1_2->setText( tr2i18n( "Alternatively, you can search the ICQ Whitepages :" ) );
    searchButton->setText( tr2i18n( "&Search" ) );
}

/****************************************************************************
** icqAddUI meta object code from reading C++ file 'icqadd.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 "icqadd.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 *icqAddUI::className() const
{
    return "icqAddUI";
}

TQMetaObject *icqAddUI::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_icqAddUI( "icqAddUI", &icqAddUI::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* icqAddUI::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 = TQWidget::staticMetaObject();
    static const TQUMethod slot_0 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"icqAddUI", parentObject,
	slot_tbl, 1,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_icqAddUI.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

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

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