Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

moc_principal.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Principal meta object code from reading C++ file 'principal.h'
00003 **
00004 ** Created: qui 16. jun 01:45:05 2005
00005 **      by: The Qt MOC ($Id: $)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #undef QT_NO_COMPAT
00011 #include "principal.h"
00012 #include <qmetaobject.h>
00013 #include <qapplication.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.2. It"
00018 #error "cannot be used with the include files from this version of Qt."
00019 #error "(The moc has changed too much.)"
00020 #endif
00021 
00022 const char *Principal::className() const
00023 {
00024     return "Principal";
00025 }
00026 
00027 QMetaObject *Principal::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_Principal( "Principal", &Principal::staticMetaObject );
00029 
00030 #ifndef QT_NO_TRANSLATION
00031 QString Principal::tr( const char *s, const char *c )
00032 {
00033     if ( qApp )
00034         return qApp->translate( "Principal", s, c, QApplication::DefaultCodec );
00035     else
00036         return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString Principal::trUtf8( const char *s, const char *c )
00040 {
00041     if ( qApp )
00042         return qApp->translate( "Principal", s, c, QApplication::UnicodeUTF8 );
00043     else
00044         return QString::fromUtf8( s );
00045 }
00046 #endif // QT_NO_TRANSLATION_UTF8
00047 
00048 #endif // QT_NO_TRANSLATION
00049 
00050 QMetaObject* Principal::staticMetaObject()
00051 {
00052     if ( metaObj )
00053         return metaObj;
00054     QMetaObject* parentObject = QMainWindow::staticMetaObject();
00055     static const QUMethod slot_0 = {"sOpen", 0, 0 };
00056     static const QUMethod slot_1 = {"newProposition_activated", 0, 0 };
00057     static const QUParameter param_slot_2[] = {
00058         { "text", &static_QUType_QString, 0, QUParameter::In }
00059     };
00060     static const QUMethod slot_2 = {"setStatusText", 1, param_slot_2 };
00061     static const QUMethod slot_3 = {"fileSaveAction_activated", 0, 0 };
00062     static const QUMethod slot_4 = {"changeButton_clicked", 0, 0 };
00063     static const QUMethod slot_5 = {"infoChanged", 0, 0 };
00064     static const QUMethod slot_6 = {"addConexao_activated", 0, 0 };
00065     static const QUMethod slot_7 = {"helpAboutAction_activated", 0, 0 };
00066     static const QUMethod slot_8 = {"delConexao_activated", 0, 0 };
00067     static const QUMethod slot_9 = {"delProposition_activated", 0, 0 };
00068     static const QUMethod slot_10 = {"editConexao_activated", 0, 0 };
00069     static const QUMethod slot_11 = {"CVS_activated", 0, 0 };
00070     static const QUParameter param_slot_12[] = {
00071         { "newOrientation", &static_QUType_int, 0, QUParameter::In }
00072     };
00073     static const QUMethod slot_12 = {"setOrientation", 1, param_slot_12 };
00074     static const QUParameter param_slot_13[] = {
00075         { "newLanguage", &static_QUType_int, 0, QUParameter::In }
00076     };
00077     static const QUMethod slot_13 = {"setLanguage", 1, param_slot_13 };
00078     static const QUMethod slot_14 = {"configure_activated", 0, 0 };
00079     static const QUMethod slot_15 = {"commitAction_activated", 0, 0 };
00080     static const QUMethod slot_16 = {"edgeInfoChanged", 0, 0 };
00081     static const QUMethod slot_17 = {"help_activated", 0, 0 };
00082     static const QUMethod slot_18 = {"revertAction_activated", 0, 0 };
00083     static const QUMethod slot_19 = {"svnUpdate_to_Older_VersionAction_activated", 0, 0 };
00084     static const QUMethod slot_20 = {"languageChange", 0, 0 };
00085     static const QMetaData slot_tbl[] = {
00086         { "sOpen()", &slot_0, QMetaData::Public },
00087         { "newProposition_activated()", &slot_1, QMetaData::Public },
00088         { "setStatusText(QString)", &slot_2, QMetaData::Public },
00089         { "fileSaveAction_activated()", &slot_3, QMetaData::Public },
00090         { "changeButton_clicked()", &slot_4, QMetaData::Public },
00091         { "infoChanged()", &slot_5, QMetaData::Public },
00092         { "addConexao_activated()", &slot_6, QMetaData::Public },
00093         { "helpAboutAction_activated()", &slot_7, QMetaData::Public },
00094         { "delConexao_activated()", &slot_8, QMetaData::Public },
00095         { "delProposition_activated()", &slot_9, QMetaData::Public },
00096         { "editConexao_activated()", &slot_10, QMetaData::Public },
00097         { "CVS_activated()", &slot_11, QMetaData::Public },
00098         { "setOrientation(int)", &slot_12, QMetaData::Public },
00099         { "setLanguage(int)", &slot_13, QMetaData::Public },
00100         { "configure_activated()", &slot_14, QMetaData::Public },
00101         { "commitAction_activated()", &slot_15, QMetaData::Public },
00102         { "edgeInfoChanged()", &slot_16, QMetaData::Public },
00103         { "help_activated()", &slot_17, QMetaData::Public },
00104         { "revertAction_activated()", &slot_18, QMetaData::Public },
00105         { "svnUpdate_to_Older_VersionAction_activated()", &slot_19, QMetaData::Public },
00106         { "languageChange()", &slot_20, QMetaData::Protected }
00107     };
00108     metaObj = QMetaObject::new_metaobject(
00109         "Principal", parentObject,
00110         slot_tbl, 21,
00111         0, 0,
00112 #ifndef QT_NO_PROPERTIES
00113         0, 0,
00114         0, 0,
00115 #endif // QT_NO_PROPERTIES
00116         0, 0 );
00117     cleanUp_Principal.setMetaObject( metaObj );
00118     return metaObj;
00119 }
00120 
00121 void* Principal::qt_cast( const char* clname )
00122 {
00123     if ( !qstrcmp( clname, "Principal" ) )
00124         return this;
00125     return QMainWindow::qt_cast( clname );
00126 }
00127 
00128 bool Principal::qt_invoke( int _id, QUObject* _o )
00129 {
00130     switch ( _id - staticMetaObject()->slotOffset() ) {
00131     case 0: sOpen(); break;
00132     case 1: newProposition_activated(); break;
00133     case 2: setStatusText((QString)static_QUType_QString.get(_o+1)); break;
00134     case 3: fileSaveAction_activated(); break;
00135     case 4: changeButton_clicked(); break;
00136     case 5: infoChanged(); break;
00137     case 6: addConexao_activated(); break;
00138     case 7: helpAboutAction_activated(); break;
00139     case 8: delConexao_activated(); break;
00140     case 9: delProposition_activated(); break;
00141     case 10: editConexao_activated(); break;
00142     case 11: CVS_activated(); break;
00143     case 12: setOrientation((int)static_QUType_int.get(_o+1)); break;
00144     case 13: setLanguage((int)static_QUType_int.get(_o+1)); break;
00145     case 14: configure_activated(); break;
00146     case 15: commitAction_activated(); break;
00147     case 16: edgeInfoChanged(); break;
00148     case 17: help_activated(); break;
00149     case 18: revertAction_activated(); break;
00150     case 19: svnUpdate_to_Older_VersionAction_activated(); break;
00151     case 20: languageChange(); break;
00152     default:
00153         return QMainWindow::qt_invoke( _id, _o );
00154     }
00155     return TRUE;
00156 }
00157 
00158 bool Principal::qt_emit( int _id, QUObject* _o )
00159 {
00160     return QMainWindow::qt_emit(_id,_o);
00161 }
00162 #ifndef QT_NO_PROPERTIES
00163 
00164 bool Principal::qt_property( int id, int f, QVariant* v)
00165 {
00166     return QMainWindow::qt_property( id, f, v);
00167 }
00168 
00169 bool Principal::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00170 #endif // QT_NO_PROPERTIES
Untitled Document Pesquisa Psi SourceForge.net Logo