commanddialog.moc.cpp

00001 /****************************************************************************
00002 ** CommandDialog meta object code from reading C++ file 'commanddialog.h'
00003 **
00004 ** Created: Tue May 15 19:57:53 2007
00005 **      by: The TQt MOC ($Id: commanddialog_8moc_8cpp-source.html,v 1.8 2007/05/16 20:12:00 kuddel-fl Exp $)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #undef QT_NO_COMPAT
00011 #include "commanddialog.h"
00012 #include <ntqmetaobject.h>
00013 #include <ntqapplication.h>
00014 
00015 #include <private/qucomextra_p.h>
00016 #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
00017 #error "This file was generated using the moc from 3.3.7. It"
00018 #error "cannot be used with the include files from this version of TQt."
00019 #error "(The moc has changed too much.)"
00020 #endif
00021 
00022 const char *CommandDialog::className() const
00023 {
00024     return "CommandDialog";
00025 }
00026 
00027 TQMetaObject *CommandDialog::metaObj = 0;
00028 static TQMetaObjectCleanUp cleanUp_CommandDialog( "CommandDialog", &CommandDialog::staticMetaObject );
00029 
00030 #ifndef QT_NO_TRANSLATION
00031 TQString CommandDialog::tr( const char *s, const char *c )
00032 {
00033     if ( tqApp )
00034        return tqApp->translate( "CommandDialog", s, c, TQApplication::DefaultCodec );
00035     else
00036        return TQString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 TQString CommandDialog::trUtf8( const char *s, const char *c )
00040 {
00041     if ( tqApp )
00042        return tqApp->translate( "CommandDialog", s, c, TQApplication::UnicodeUTF8 );
00043     else
00044        return TQString::fromUtf8( s );
00045 }
00046 #endif // QT_NO_TRANSLATION_UTF8
00047 
00048 #endif // QT_NO_TRANSLATION
00049 
00050 TQMetaObject* CommandDialog::staticMetaObject()
00051 {
00052     if ( metaObj )
00053        return metaObj;
00054     TQMetaObject* parentObject = CommandDlg::staticMetaObject();
00055     static const TQUMethod slot_0 = {"slotAdd", 0, 0 };
00056     static const TQUMethod slot_1 = {"slotEdit", 0, 0 };
00057     static const TQUMethod slot_2 = {"slotCopy", 0, 0 };
00058     static const TQUMethod slot_3 = {"slotDelete", 0, 0 };
00059     static const TQUMethod slot_4 = {"slotOk", 0, 0 };
00060     static const TQUParameter param_slot_5[] = {
00061        { 0, &static_QUType_int, 0, TQUParameter::In }
00062     };
00063     static const TQUMethod slot_5 = {"slotCommandActivated", 1, param_slot_5 };
00064     static const TQMetaData slot_tbl[] = {
00065        { "slotAdd()", &slot_0, TQMetaData::Private },
00066        { "slotEdit()", &slot_1, TQMetaData::Private },
00067        { "slotCopy()", &slot_2, TQMetaData::Private },
00068        { "slotDelete()", &slot_3, TQMetaData::Private },
00069        { "slotOk()", &slot_4, TQMetaData::Private },
00070        { "slotCommandActivated(int)", &slot_5, TQMetaData::Private }
00071     };
00072     metaObj = TQMetaObject::new_metaobject(
00073        "CommandDialog", parentObject,
00074        slot_tbl, 6,
00075        0, 0,
00076 #ifndef QT_NO_PROPERTIES
00077        0, 0,
00078        0, 0,
00079 #endif // QT_NO_PROPERTIES
00080        0, 0 );
00081     cleanUp_CommandDialog.setMetaObject( metaObj );
00082     return metaObj;
00083 }
00084 
00085 void* CommandDialog::tqt_cast( const char* clname )
00086 {
00087     if ( !qstrcmp( clname, "CommandDialog" ) )
00088        return this;
00089     return CommandDlg::tqt_cast( clname );
00090 }
00091 
00092 bool CommandDialog::tqt_invoke( int _id, TQUObject* _o )
00093 {
00094     switch ( _id - staticMetaObject()->slotOffset() ) {
00095     case 0: slotAdd(); break;
00096     case 1: slotEdit(); break;
00097     case 2: slotCopy(); break;
00098     case 3: slotDelete(); break;
00099     case 4: slotOk(); break;
00100     case 5: slotCommandActivated((int)static_QUType_int.get(_o+1)); break;
00101     default:
00102        return CommandDlg::tqt_invoke( _id, _o );
00103     }
00104     return TRUE;
00105 }
00106 
00107 bool CommandDialog::tqt_emit( int _id, TQUObject* _o )
00108 {
00109     return CommandDlg::tqt_emit(_id,_o);
00110 }
00111 #ifndef QT_NO_PROPERTIES
00112 
00113 bool CommandDialog::tqt_property( int id, int f, TQVariant* v)
00114 {
00115     return CommandDlg::tqt_property( id, f, v);
00116 }
00117 
00118 bool CommandDialog::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
00119 #endif // QT_NO_PROPERTIES

Generated on Wed May 16 21:15:18 2007 for kshowmail by  doxygen 1.5.0