/****************************************************************************
** ProfileWidget meta object code from reading C++ file 'profilewidget.h'
**
** Created: Mon Aug 28 16:23:05 2006
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.6   edited Mar 8 17:43 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "profilewidget.h"
#include <qmetaobject.h>
#include <qapplication.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.3.6. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

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

QMetaObject *ProfileWidget::metaObj = 0;
static QMetaObjectCleanUp cleanUp_ProfileWidget( "ProfileWidget", &ProfileWidget::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString ProfileWidget::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "ProfileWidget", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString ProfileWidget::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "ProfileWidget", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* ProfileWidget::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = ProfileWidgetBase::staticMetaObject();
    static const QUMethod slot_0 = {"importCertificate", 0, 0 };
    static const QUParameter param_slot_1[] = {
	{ "itemtext", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"profileChanged", 1, param_slot_1 };
    static const QUMethod slot_2 = {"newSessionClicked", 0, 0 };
    static const QUMethod slot_3 = {"saveSessionClicked", 0, 0 };
    static const QUMethod slot_4 = {"deleteSessionClicked", 0, 0 };
    static const QUMethod slot_5 = {"slotCancelClicked", 0, 0 };
    static const QUParameter param_slot_6[] = {
	{ "connectiontype", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_6 = {"connectionTypeChanged", 1, param_slot_6 };
    static const QUParameter param_slot_7[] = {
	{ "authtype", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_7 = {"authTypeChanged", 1, param_slot_7 };
    static const QUParameter param_slot_8[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_8 = {"pingIpToggled", 1, param_slot_8 };
    static const QUMethod slot_9 = {"advancedSettingsClicked", 0, 0 };
    static const QUMethod slot_10 = {"useSpecialRemoteIDClicked", 0, 0 };
    static const QUMethod slot_11 = {"renameSessionClicked", 0, 0 };
    static const QUMethod slot_12 = {"useVirtualIPClicked", 0, 0 };
    static const QUMethod slot_13 = {"PskInFileToggled", 0, 0 };
    static const QUMethod slot_14 = {"addNetworkRouteClicked", 0, 0 };
    static const QUMethod slot_15 = {"delNetworkRouteClicked", 0, 0 };
    static const QUParameter param_slot_16[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_16 = {"additionalNetworkRoutesToggled", 1, param_slot_16 };
    static const QUParameter param_slot_17[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_17 = {"useSpecialServerCertificateToggled", 1, param_slot_17 };
    static const QUParameter param_slot_18[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_18 = {"udpPortToggled", 1, param_slot_18 };
    static const QUParameter param_slot_19[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_19 = {"useUdpToggled", 1, param_slot_19 };
    static const QUParameter param_slot_20[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_20 = {"useDnsServerToggled", 1, param_slot_20 };
    static const QUParameter param_slot_21[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_21 = {"setDefaultRouteToggled", 1, param_slot_21 };
    static const QUParameter param_slot_22[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_22 = {"mtuToggled", 1, param_slot_22 };
    static const QUParameter param_slot_23[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_23 = {"userdefinedPortToggled", 1, param_slot_23 };
    static const QMetaData slot_tbl[] = {
	{ "importCertificate()", &slot_0, QMetaData::Public },
	{ "profileChanged(const QString&)", &slot_1, QMetaData::Public },
	{ "newSessionClicked()", &slot_2, QMetaData::Public },
	{ "saveSessionClicked()", &slot_3, QMetaData::Public },
	{ "deleteSessionClicked()", &slot_4, QMetaData::Public },
	{ "slotCancelClicked()", &slot_5, QMetaData::Public },
	{ "connectionTypeChanged(int)", &slot_6, QMetaData::Public },
	{ "authTypeChanged(int)", &slot_7, QMetaData::Public },
	{ "pingIpToggled(bool)", &slot_8, QMetaData::Public },
	{ "advancedSettingsClicked()", &slot_9, QMetaData::Public },
	{ "useSpecialRemoteIDClicked()", &slot_10, QMetaData::Public },
	{ "renameSessionClicked()", &slot_11, QMetaData::Protected },
	{ "useVirtualIPClicked()", &slot_12, QMetaData::Protected },
	{ "PskInFileToggled()", &slot_13, QMetaData::Protected },
	{ "addNetworkRouteClicked()", &slot_14, QMetaData::Protected },
	{ "delNetworkRouteClicked()", &slot_15, QMetaData::Protected },
	{ "additionalNetworkRoutesToggled(bool)", &slot_16, QMetaData::Protected },
	{ "useSpecialServerCertificateToggled(bool)", &slot_17, QMetaData::Protected },
	{ "udpPortToggled(bool)", &slot_18, QMetaData::Protected },
	{ "useUdpToggled(bool)", &slot_19, QMetaData::Protected },
	{ "useDnsServerToggled(bool)", &slot_20, QMetaData::Protected },
	{ "setDefaultRouteToggled(bool)", &slot_21, QMetaData::Protected },
	{ "mtuToggled(bool)", &slot_22, QMetaData::Protected },
	{ "userdefinedPortToggled(bool)", &slot_23, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"ProfileWidget", parentObject,
	slot_tbl, 24,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_ProfileWidget.setMetaObject( metaObj );
    return metaObj;
}

void* ProfileWidget::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "ProfileWidget" ) )
	return this;
    return ProfileWidgetBase::qt_cast( clname );
}

bool ProfileWidget::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: importCertificate(); break;
    case 1: profileChanged((const QString&)static_QUType_QString.get(_o+1)); break;
    case 2: newSessionClicked(); break;
    case 3: saveSessionClicked(); break;
    case 4: deleteSessionClicked(); break;
    case 5: slotCancelClicked(); break;
    case 6: connectionTypeChanged((int)static_QUType_int.get(_o+1)); break;
    case 7: authTypeChanged((int)static_QUType_int.get(_o+1)); break;
    case 8: pingIpToggled((bool)static_QUType_bool.get(_o+1)); break;
    case 9: advancedSettingsClicked(); break;
    case 10: useSpecialRemoteIDClicked(); break;
    case 11: renameSessionClicked(); break;
    case 12: useVirtualIPClicked(); break;
    case 13: PskInFileToggled(); break;
    case 14: addNetworkRouteClicked(); break;
    case 15: delNetworkRouteClicked(); break;
    case 16: additionalNetworkRoutesToggled((bool)static_QUType_bool.get(_o+1)); break;
    case 17: useSpecialServerCertificateToggled((bool)static_QUType_bool.get(_o+1)); break;
    case 18: udpPortToggled((bool)static_QUType_bool.get(_o+1)); break;
    case 19: useUdpToggled((bool)static_QUType_bool.get(_o+1)); break;
    case 20: useDnsServerToggled((bool)static_QUType_bool.get(_o+1)); break;
    case 21: setDefaultRouteToggled((bool)static_QUType_bool.get(_o+1)); break;
    case 22: mtuToggled((bool)static_QUType_bool.get(_o+1)); break;
    case 23: userdefinedPortToggled((bool)static_QUType_bool.get(_o+1)); break;
    default:
	return ProfileWidgetBase::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool ProfileWidget::qt_emit( int _id, QUObject* _o )
{
    return ProfileWidgetBase::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool ProfileWidget::qt_property( int id, int f, QVariant* v)
{
    return ProfileWidgetBase::qt_property( id, f, v);
}

bool ProfileWidget::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
