- Main Page
- Namespaces
- Classes
- Files
- Directories

# CommandDlg.moc

    00001 /****************************************************************************
    00002 ** CommandDlg meta object code from reading C++ file 'CommandDlg.h'
    00003 **
    00004 ** Created: Tue May 15 19:57:53 2007
    00005 **      by: The TQt MOC ($Id: CommandDlg_8moc-source.html,v 1.8 2007/05/16 20:11:59 kuddel-fl Exp $)
    00006 **
    00007 ** WARNING! All changes made in this file will be lost!
    00008 *****************************************************************************/
    00009
    00010 #undef QT_NO_COMPAT
    00011 #include "CommandDlg.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 *CommandDlg::className() const
    00023 {
    00024     return "CommandDlg";
    00025 }
    00026
    00027 TQMetaObject *CommandDlg::metaObj = 0;
    00028 static TQMetaObjectCleanUp cleanUp_CommandDlg( "CommandDlg", &CommandDlg::staticMetaObject );
    00029
    00030 #ifndef QT_NO_TRANSLATION
    00031 TQString CommandDlg::tr( const char *s, const char *c )
    00032 {
    00033     if ( tqApp )
    00034        return tqApp->translate( "CommandDlg", s, c, TQApplication::DefaultCodec );
    00035     else
    00036        return TQString::fromLatin1( s );
    00037 }
    00038 #ifndef QT_NO_TRANSLATION_UTF8
    00039 TQString CommandDlg::trUtf8( const char *s, const char *c )
    00040 {
    00041     if ( tqApp )
    00042        return tqApp->translate( "CommandDlg", 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* CommandDlg::staticMetaObject()
    00051 {
    00052     if ( metaObj )
    00053        return metaObj;
    00054     TQMetaObject* parentObject = TQDialog::staticMetaObject();
    00055     static const TQUParameter param_slot_0[] = {
    00056        { 0, &static_QUType_int, 0, TQUParameter::In }
    00057     };
    00058     static const TQUMethod slot_0 = {"slotCommandActivated", 1, param_slot_0 };
    00059     static const TQUMethod slot_1 = {"slotAdd", 0, 0 };
    00060     static const TQUMethod slot_2 = {"slotCopy", 0, 0 };
    00061     static const TQUMethod slot_3 = {"slotDelete", 0, 0 };
    00062     static const TQUMethod slot_4 = {"slotEdit", 0, 0 };
    00063     static const TQUMethod slot_5 = {"slotOk", 0, 0 };
    00064     static const TQUMethod slot_6 = {"languageChange", 0, 0 };
    00065     static const TQMetaData slot_tbl[] = {
    00066        { "slotCommandActivated(int)", &slot_0, TQMetaData::Public },
    00067        { "slotAdd()", &slot_1, TQMetaData::Public },
    00068        { "slotCopy()", &slot_2, TQMetaData::Public },
    00069        { "slotDelete()", &slot_3, TQMetaData::Public },
    00070        { "slotEdit()", &slot_4, TQMetaData::Public },
    00071        { "slotOk()", &slot_5, TQMetaData::Public },
    00072        { "languageChange()", &slot_6, TQMetaData::Protected }
    00073     };
    00074     metaObj = TQMetaObject::new_metaobject(
    00075        "CommandDlg", parentObject,
    00076        slot_tbl, 7,
    00077        0, 0,
    00078 #ifndef QT_NO_PROPERTIES
    00079        0, 0,
    00080        0, 0,
    00081 #endif // QT_NO_PROPERTIES
    00082        0, 0 );
    00083     cleanUp_CommandDlg.setMetaObject( metaObj );
    00084     return metaObj;
    00085 }
    00086
    00087 void* CommandDlg::tqt_cast( const char* clname )
    00088 {
    00089     if ( !qstrcmp( clname, "CommandDlg" ) )
    00090        return this;
    00091     return TQDialog::tqt_cast( clname );
    00092 }
    00093
    00094 bool CommandDlg::tqt_invoke( int _id, TQUObject* _o )
    00095 {
    00096     switch ( _id - staticMetaObject()->slotOffset() ) {
    00097     case 0: slotCommandActivated((int)static_QUType_int.get(_o+1)); break;
    00098     case 1: slotAdd(); break;
    00099     case 2: slotCopy(); break;
    00100     case 3: slotDelete(); break;
    00101     case 4: slotEdit(); break;
    00102     case 5: slotOk(); break;
    00103     case 6: languageChange(); break;
    00104     default:
    00105        return TQDialog::tqt_invoke( _id, _o );
    00106     }
    00107     return TRUE;
    00108 }
    00109
    00110 bool CommandDlg::tqt_emit( int _id, TQUObject* _o )
    00111 {
    00112     return TQDialog::tqt_emit(_id,_o);
    00113 }
    00114 #ifndef QT_NO_PROPERTIES
    00115
    00116 bool CommandDlg::tqt_property( int id, int f, TQVariant* v)
    00117 {
    00118     return TQDialog::tqt_property( id, f, v);
    00119 }
    00120
    00121 bool CommandDlg::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
    00122 #endif // QT_NO_PROPERTIES