diff options
Diffstat (limited to 'src/kvirc/kvs/moc_kvi_kvs_popupmenu.cpp')
-rw-r--r-- | src/kvirc/kvs/moc_kvi_kvs_popupmenu.cpp | 217 |
1 files changed, 0 insertions, 217 deletions
diff --git a/src/kvirc/kvs/moc_kvi_kvs_popupmenu.cpp b/src/kvirc/kvs/moc_kvi_kvs_popupmenu.cpp deleted file mode 100644 index 6fd559b6..00000000 --- a/src/kvirc/kvs/moc_kvi_kvs_popupmenu.cpp +++ /dev/null @@ -1,217 +0,0 @@ -/**************************************************************************** -** KviKvsPopupMenuItemLabelHelper meta object code from reading C++ file 'kvi_kvs_popupmenu.h' -** -** Created: Mon Feb 25 00:12:08 2008 -** by: The TQt TQMOC ($Id: qt/tqmoc_yacc.cpp 3.3.8 edited Feb 2 14:59 $) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#undef TQT_NO_COMPAT -#include "kvi_kvs_popupmenu.h" -#include <tqmetaobject.h> -#include <tqapplication.h> - -#include <private/tqucomextra_p.h> -#if !defined(TQ_TQMOC_OUTPUT_REVISION) || (TQ_TQMOC_OUTPUT_REVISION != 26) -#error "This file was generated using the tqmoc from 3.3.8. It" -#error "cannot be used with the include files from this version of TQt." -#error "(The tqmoc has changed too much.)" -#endif - -const char *KviKvsPopupMenuItemLabelHelper::className() const -{ - return "KviKvsPopupMenuItemLabelHelper"; -} - -TQMetaObject *KviKvsPopupMenuItemLabelHelper::metaObj = 0; -static TQMetaObjectCleanUp cleanUp_KviKvsPopupMenuItemLabelHelper( "KviKvsPopupMenuItemLabelHelper", &KviKvsPopupMenuItemLabelHelper::staticMetaObject ); - -#ifndef TQT_NO_TRANSLATION -TQString KviKvsPopupMenuItemLabelHelper::tr( const char *s, const char *c ) -{ - if ( tqApp ) - return tqApp->translate( "KviKvsPopupMenuItemLabelHelper", s, c, TQApplication::DefaultCodec ); - else - return TQString::tqfromLatin1( s ); -} -#ifndef TQT_NO_TRANSLATION_UTF8 -TQString KviKvsPopupMenuItemLabelHelper::trUtf8( const char *s, const char *c ) -{ - if ( tqApp ) - return tqApp->translate( "KviKvsPopupMenuItemLabelHelper", s, c, TQApplication::UnicodeUTF8 ); - else - return TQString::fromUtf8( s ); -} -#endif // TQT_NO_TRANSLATION_UTF8 - -#endif // TQT_NO_TRANSLATION - -TQMetaObject* KviKvsPopupMenuItemLabelHelper::staticMetaObject() -{ - if ( metaObj ) - return metaObj; - TQMetaObject* tqparentObject = TQObject::staticMetaObject(); - static const TQUMethod slot_0 = {"labelDestroyed", 0, 0 }; - static const TQMetaData slot_tbl[] = { - { "labelDestroyed()", &slot_0, TQMetaData::Protected } - }; - metaObj = TQMetaObject::new_metaobject( - "KviKvsPopupMenuItemLabelHelper", tqparentObject, - slot_tbl, 1, - 0, 0, -#ifndef TQT_NO_PROPERTIES - 0, 0, - 0, 0, -#endif // TQT_NO_PROPERTIES - 0, 0 ); - cleanUp_KviKvsPopupMenuItemLabelHelper.setMetaObject( metaObj ); - return metaObj; -} - -void* KviKvsPopupMenuItemLabelHelper::tqqt_cast( const char* clname ) -{ - if ( !qstrcmp( clname, "KviKvsPopupMenuItemLabelHelper" ) ) - return this; - return TQObject::tqqt_cast( clname ); -} - -bool KviKvsPopupMenuItemLabelHelper::qt_invoke( int _id, TQUObject* _o ) -{ - switch ( _id - staticMetaObject()->slotOffset() ) { - case 0: labelDestroyed(); break; - default: - return TQObject::qt_invoke( _id, _o ); - } - return TRUE; -} - -bool KviKvsPopupMenuItemLabelHelper::qt_emit( int _id, TQUObject* _o ) -{ - return TQObject::qt_emit(_id,_o); -} -#ifndef TQT_NO_PROPERTIES - -bool KviKvsPopupMenuItemLabelHelper::qt_property( int id, int f, TQVariant* v) -{ - return TQObject::qt_property( id, f, v); -} - -bool KviKvsPopupMenuItemLabelHelper::qt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; } -#endif // TQT_NO_PROPERTIES - - -const char *KviKvsPopupMenu::className() const -{ - return "KviKvsPopupMenu"; -} - -TQMetaObject *KviKvsPopupMenu::metaObj = 0; -static TQMetaObjectCleanUp cleanUp_KviKvsPopupMenu( "KviKvsPopupMenu", &KviKvsPopupMenu::staticMetaObject ); - -#ifndef TQT_NO_TRANSLATION -TQString KviKvsPopupMenu::tr( const char *s, const char *c ) -{ - if ( tqApp ) - return tqApp->translate( "KviKvsPopupMenu", s, c, TQApplication::DefaultCodec ); - else - return TQString::tqfromLatin1( s ); -} -#ifndef TQT_NO_TRANSLATION_UTF8 -TQString KviKvsPopupMenu::trUtf8( const char *s, const char *c ) -{ - if ( tqApp ) - return tqApp->translate( "KviKvsPopupMenu", s, c, TQApplication::UnicodeUTF8 ); - else - return TQString::fromUtf8( s ); -} -#endif // TQT_NO_TRANSLATION_UTF8 - -#endif // TQT_NO_TRANSLATION - -TQMetaObject* KviKvsPopupMenu::staticMetaObject() -{ - if ( metaObj ) - return metaObj; - TQMetaObject* tqparentObject = KviTalPopupMenu::staticMetaObject(); - static const TQUMethod slot_0 = {"setupMenuContents", 0, 0 }; - static const TQUParameter param_slot_1[] = { - { "itemId", &static_TQUType_int, 0, TQUParameter::In } - }; - static const TQUMethod slot_1 = {"itemClicked", 1, param_slot_1 }; - static const TQMetaData slot_tbl[] = { - { "setupMenuContents()", &slot_0, TQMetaData::Private }, - { "itemClicked(int)", &slot_1, TQMetaData::Protected } - }; - static const TQUParameter param_signal_0[] = { - { "it", &static_TQUType_ptr, "KviKvsPopupMenuItem", TQUParameter::In } - }; - static const TQUMethod signal_0 = {"testModeItemClicked", 1, param_signal_0 }; - static const TQMetaData signal_tbl[] = { - { "testModeItemClicked(KviKvsPopupMenuItem*)", &signal_0, TQMetaData::Protected } - }; - metaObj = TQMetaObject::new_metaobject( - "KviKvsPopupMenu", tqparentObject, - slot_tbl, 2, - signal_tbl, 1, -#ifndef TQT_NO_PROPERTIES - 0, 0, - 0, 0, -#endif // TQT_NO_PROPERTIES - 0, 0 ); - cleanUp_KviKvsPopupMenu.setMetaObject( metaObj ); - return metaObj; -} - -void* KviKvsPopupMenu::tqqt_cast( const char* clname ) -{ - if ( !qstrcmp( clname, "KviKvsPopupMenu" ) ) - return this; - return KviTalPopupMenu::tqqt_cast( clname ); -} - -#include <tqobjectdefs.h> -#include <tqtqsignalslotimp.h> - -// TQT_SIGNAL testModeItemClicked -void KviKvsPopupMenu::testModeItemClicked( KviKvsPopupMenuItem* t0 ) -{ - if ( signalsBlocked() ) - return; - TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 0 ); - if ( !clist ) - return; - TQUObject o[2]; - static_TQUType_ptr.set(o+1,t0); - activate_signal( clist, o ); -} - -bool KviKvsPopupMenu::qt_invoke( int _id, TQUObject* _o ) -{ - switch ( _id - staticMetaObject()->slotOffset() ) { - case 0: setupMenuContents(); break; - case 1: itemClicked((int)static_TQUType_int.get(_o+1)); break; - default: - return KviTalPopupMenu::qt_invoke( _id, _o ); - } - return TRUE; -} - -bool KviKvsPopupMenu::qt_emit( int _id, TQUObject* _o ) -{ - switch ( _id - staticMetaObject()->signalOffset() ) { - case 0: testModeItemClicked((KviKvsPopupMenuItem*)static_TQUType_ptr.get(_o+1)); break; - default: - return KviTalPopupMenu::qt_emit(_id,_o); - } - return TRUE; -} -#ifndef TQT_NO_PROPERTIES - -bool KviKvsPopupMenu::qt_property( int id, int f, TQVariant* v) -{ - return KviTalPopupMenu::qt_property( id, f, v); -} - -bool KviKvsPopupMenu::qt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; } -#endif // TQT_NO_PROPERTIES |