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

karamba.moc

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** karamba meta object code from reading C++ file 'karamba.h'
00003 **
00004 ** Created: Mon Aug 23 10:12:56 2004
00005 **      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.2   edited Apr 19 11:34 $)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #undef QT_NO_COMPAT
00011 #include "karamba.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 *karamba::className() const
00023 {
00024     return "karamba";
00025 }
00026 
00027 QMetaObject *karamba::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_karamba( "karamba", &karamba::staticMetaObject );
00029 
00030 #ifndef QT_NO_TRANSLATION
00031 QString karamba::tr( const char *s, const char *c )
00032 {
00033     if ( qApp )
00034         return qApp->translate( "karamba", s, c, QApplication::DefaultCodec );
00035     else
00036         return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString karamba::trUtf8( const char *s, const char *c )
00040 {
00041     if ( qApp )
00042         return qApp->translate( "karamba", 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* karamba::staticMetaObject()
00051 {
00052     if ( metaObj )
00053         return metaObj;
00054     QMetaObject* parentObject = QWidget::staticMetaObject();
00055     static const QUMethod slot_0 = {"updateSensors", 0, 0 };
00056     static const QUMethod slot_1 = {"about", 0, 0 };
00057     static const QUMethod slot_2 = {"aboutKDE", 0, 0 };
00058     static const QUMethod slot_3 = {"reloadConfig", 0, 0 };
00059     static const QUMethod slot_4 = {"startNewKaramba", 0, 0 };
00060     static const QUMethod slot_5 = {"editConfig", 0, 0 };
00061     static const QUMethod slot_6 = {"LaunchCreator", 0, 0 };
00062     static const QUMethod slot_7 = {"Config", 0, 0 };
00063     static const QUMethod slot_8 = {"toggleHide", 0, 0 };
00064     static const QUMethod slot_9 = {"step", 0, 0 };
00065     static const QUParameter param_slot_10[] = {
00066         { 0, &static_QUType_ptr, "KSharedPixmap", QUParameter::In }
00067     };
00068     static const QUMethod slot_10 = {"updateBackground", 1, param_slot_10 };
00069     static const QUParameter param_slot_11[] = {
00070         { 0, &static_QUType_varptr, "\x0a", QUParameter::In }
00071     };
00072     static const QUMethod slot_11 = {"ChangeBgColor", 1, param_slot_11 };
00073     static const QUMethod slot_12 = {"slotMove", 0, 0 };
00074     static const QUParameter param_slot_13[] = {
00075         { "nx", &static_QUType_int, 0, QUParameter::In }
00076     };
00077     static const QUMethod slot_13 = {"slotMove", 1, param_slot_13 };
00078     static const QUParameter param_slot_14[] = {
00079         { "nx", &static_QUType_int, 0, QUParameter::In },
00080         { "ny", &static_QUType_int, 0, QUParameter::In }
00081     };
00082     static const QUMethod slot_14 = {"slotMove", 2, param_slot_14 };
00083     static const QUParameter param_slot_15[] = {
00084         { 0, &static_QUType_ptr, "QPtrList<MeterList>", QUParameter::Out }
00085     };
00086     static const QUMethod slot_15 = {"getMeterList", 1, param_slot_15 };
00087     static const QUMethod slot_16 = {"setActiveWin", 0, 0 };
00088     static const QUParameter param_slot_17[] = {
00089         { 0, &static_QUType_int, 0, QUParameter::In }
00090     };
00091     static const QUMethod slot_17 = {"currentDesktopChanged", 1, param_slot_17 };
00092     static const QUMethod slot_18 = {"slotToggleLocked", 0, 0 };
00093     static const QUParameter param_slot_19[] = {
00094         { 0, &static_QUType_bool, 0, QUParameter::In }
00095     };
00096     static const QUMethod slot_19 = {"status", 1, param_slot_19 };
00097     static const QUMethod slot_20 = {"popupShown", 0, 0 };
00098     static const QUMethod slot_21 = {"popupHiden", 0, 0 };
00099     static const QMetaData slot_tbl[] = {
00100         { "updateSensors()", &slot_0, QMetaData::Public },
00101         { "about()", &slot_1, QMetaData::Public },
00102         { "aboutKDE()", &slot_2, QMetaData::Public },
00103         { "reloadConfig()", &slot_3, QMetaData::Public },
00104         { "startNewKaramba()", &slot_4, QMetaData::Public },
00105         { "editConfig()", &slot_5, QMetaData::Public },
00106         { "LaunchCreator()", &slot_6, QMetaData::Public },
00107         { "Config()", &slot_7, QMetaData::Public },
00108         { "toggleHide()", &slot_8, QMetaData::Public },
00109         { "step()", &slot_9, QMetaData::Public },
00110         { "updateBackground(KSharedPixmap*)", &slot_10, QMetaData::Public },
00111         { "ChangeBgColor(QColor)", &slot_11, QMetaData::Public },
00112         { "slotMove()", &slot_12, QMetaData::Public },
00113         { "slotMove(int)", &slot_13, QMetaData::Public },
00114         { "slotMove(int,int)", &slot_14, QMetaData::Public },
00115         { "getMeterList()", &slot_15, QMetaData::Public },
00116         { "setActiveWin()", &slot_16, QMetaData::Public },
00117         { "currentDesktopChanged(int)", &slot_17, QMetaData::Private },
00118         { "slotToggleLocked()", &slot_18, QMetaData::Private },
00119         { "status(bool)", &slot_19, QMetaData::Private },
00120         { "popupShown()", &slot_20, QMetaData::Private },
00121         { "popupHiden()", &slot_21, QMetaData::Private }
00122     };
00123     static const QUParameter param_signal_0[] = {
00124         { 0, &static_QUType_bool, 0, QUParameter::In }
00125     };
00126     static const QUMethod signal_0 = {"karambaRun", 1, param_signal_0 };
00127     static const QUParameter param_signal_1[] = {
00128         { 0, &static_QUType_bool, 0, QUParameter::In }
00129     };
00130     static const QUMethod signal_1 = {"ActiveWin", 1, param_signal_1 };
00131     static const QUMethod signal_2 = {"configChanged", 0, 0 };
00132     static const QMetaData signal_tbl[] = {
00133         { "karambaRun(bool)", &signal_0, QMetaData::Private },
00134         { "ActiveWin(bool)", &signal_1, QMetaData::Private },
00135         { "configChanged()", &signal_2, QMetaData::Private }
00136     };
00137     metaObj = QMetaObject::new_metaobject(
00138         "karamba", parentObject,
00139         slot_tbl, 22,
00140         signal_tbl, 3,
00141 #ifndef QT_NO_PROPERTIES
00142         0, 0,
00143         0, 0,
00144 #endif // QT_NO_PROPERTIES
00145         0, 0 );
00146     cleanUp_karamba.setMetaObject( metaObj );
00147     return metaObj;
00148 }
00149 
00150 void* karamba::qt_cast( const char* clname )
00151 {
00152     if ( !qstrcmp( clname, "karamba" ) )
00153         return this;
00154     if ( !qstrcmp( clname, "DCOPiface" ) )
00155         return (DCOPiface*)this;
00156     return QWidget::qt_cast( clname );
00157 }
00158 
00159 // SIGNAL karambaRun
00160 void karamba::karambaRun( bool t0 )
00161 {
00162     activate_signal_bool( staticMetaObject()->signalOffset() + 0, t0 );
00163 }
00164 
00165 // SIGNAL ActiveWin
00166 void karamba::ActiveWin( bool t0 )
00167 {
00168     activate_signal_bool( staticMetaObject()->signalOffset() + 1, t0 );
00169 }
00170 
00171 // SIGNAL configChanged
00172 void karamba::configChanged()
00173 {
00174     activate_signal( staticMetaObject()->signalOffset() + 2 );
00175 }
00176 
00177 bool karamba::qt_invoke( int _id, QUObject* _o )
00178 {
00179     switch ( _id - staticMetaObject()->slotOffset() ) {
00180     case 0: updateSensors(); break;
00181     case 1: about(); break;
00182     case 2: aboutKDE(); break;
00183     case 3: reloadConfig(); break;
00184     case 4: startNewKaramba(); break;
00185     case 5: editConfig(); break;
00186     case 6: LaunchCreator(); break;
00187     case 7: Config(); break;
00188     case 8: toggleHide(); break;
00189     case 9: step(); break;
00190     case 10: updateBackground((KSharedPixmap*)static_QUType_ptr.get(_o+1)); break;
00191     case 11: ChangeBgColor((QColor)(*((QColor*)static_QUType_ptr.get(_o+1)))); break;
00192     case 12: slotMove(); break;
00193     case 13: slotMove((int)static_QUType_int.get(_o+1)); break;
00194     case 14: slotMove((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
00195     case 15: static_QUType_ptr.set(_o,getMeterList()); break;
00196     case 16: setActiveWin(); break;
00197     case 17: currentDesktopChanged((int)static_QUType_int.get(_o+1)); break;
00198     case 18: slotToggleLocked(); break;
00199     case 19: status((bool)static_QUType_bool.get(_o+1)); break;
00200     case 20: popupShown(); break;
00201     case 21: popupHiden(); break;
00202     default:
00203         return QWidget::qt_invoke( _id, _o );
00204     }
00205     return TRUE;
00206 }
00207 
00208 bool karamba::qt_emit( int _id, QUObject* _o )
00209 {
00210     switch ( _id - staticMetaObject()->signalOffset() ) {
00211     case 0: karambaRun((bool)static_QUType_bool.get(_o+1)); break;
00212     case 1: ActiveWin((bool)static_QUType_bool.get(_o+1)); break;
00213     case 2: configChanged(); break;
00214     default:
00215         return QWidget::qt_emit(_id,_o);
00216     }
00217     return TRUE;
00218 }
00219 #ifndef QT_NO_PROPERTIES
00220 
00221 bool karamba::qt_property( int id, int f, QVariant* v)
00222 {
00223     return QWidget::qt_property( id, f, v);
00224 }
00225 
00226 bool karamba::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00227 #endif // QT_NO_PROPERTIES

Generated on Mon May 16 13:59:20 2005 for karamba by  doxygen 1.3.9.1