00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "karambaconf.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 *KarambaConf::className() const
00023 {
00024 return "KarambaConf";
00025 }
00026
00027 QMetaObject *KarambaConf::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_KarambaConf( "KarambaConf", &KarambaConf::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString KarambaConf::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "KarambaConf", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString KarambaConf::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "KarambaConf", 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* KarambaConf::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = QDialog::staticMetaObject();
00055 static const QUMethod slot_0 = {"languageChange", 0, 0 };
00056 static const QUMethod slot_1 = {"selColor", 0, 0 };
00057 static const QUMethod slot_2 = {"selFadeColor", 0, 0 };
00058 static const QUMethod slot_3 = {"loadConfig", 0, 0 };
00059 static const QUMethod slot_4 = {"saveConfig", 0, 0 };
00060 static const QUMethod slot_5 = {"selThemeDir", 0, 0 };
00061 static const QUMethod slot_6 = {"selDefaultTheme", 0, 0 };
00062 static const QUMethod slot_7 = {"selDefaultViewer", 0, 0 };
00063 static const QUMethod slot_8 = {"toggleCover", 0, 0 };
00064 static const QUMethod slot_9 = {"help", 0, 0 };
00065 static const QUParameter param_slot_10[] = {
00066 { "f", &static_QUType_int, 0, QUParameter::In }
00067 };
00068 static const QUMethod slot_10 = {"slotTestFade", 1, param_slot_10 };
00069 static const QMetaData slot_tbl[] = {
00070 { "languageChange()", &slot_0, QMetaData::Protected },
00071 { "selColor()", &slot_1, QMetaData::Protected },
00072 { "selFadeColor()", &slot_2, QMetaData::Protected },
00073 { "loadConfig()", &slot_3, QMetaData::Private },
00074 { "saveConfig()", &slot_4, QMetaData::Private },
00075 { "selThemeDir()", &slot_5, QMetaData::Private },
00076 { "selDefaultTheme()", &slot_6, QMetaData::Private },
00077 { "selDefaultViewer()", &slot_7, QMetaData::Private },
00078 { "toggleCover()", &slot_8, QMetaData::Private },
00079 { "help()", &slot_9, QMetaData::Private },
00080 { "slotTestFade(int)", &slot_10, QMetaData::Private }
00081 };
00082 metaObj = QMetaObject::new_metaobject(
00083 "KarambaConf", parentObject,
00084 slot_tbl, 11,
00085 0, 0,
00086 #ifndef QT_NO_PROPERTIES
00087 0, 0,
00088 0, 0,
00089 #endif
00090 0, 0 );
00091 cleanUp_KarambaConf.setMetaObject( metaObj );
00092 return metaObj;
00093 }
00094
00095 void* KarambaConf::qt_cast( const char* clname )
00096 {
00097 if ( !qstrcmp( clname, "KarambaConf" ) )
00098 return this;
00099 return QDialog::qt_cast( clname );
00100 }
00101
00102 bool KarambaConf::qt_invoke( int _id, QUObject* _o )
00103 {
00104 switch ( _id - staticMetaObject()->slotOffset() ) {
00105 case 0: languageChange(); break;
00106 case 1: selColor(); break;
00107 case 2: selFadeColor(); break;
00108 case 3: loadConfig(); break;
00109 case 4: saveConfig(); break;
00110 case 5: selThemeDir(); break;
00111 case 6: selDefaultTheme(); break;
00112 case 7: selDefaultViewer(); break;
00113 case 8: toggleCover(); break;
00114 case 9: help(); break;
00115 case 10: slotTestFade((int)static_QUType_int.get(_o+1)); break;
00116 default:
00117 return QDialog::qt_invoke( _id, _o );
00118 }
00119 return TRUE;
00120 }
00121
00122 bool KarambaConf::qt_emit( int _id, QUObject* _o )
00123 {
00124 return QDialog::qt_emit(_id,_o);
00125 }
00126 #ifndef QT_NO_PROPERTIES
00127
00128 bool KarambaConf::qt_property( int id, int f, QVariant* v)
00129 {
00130 return QDialog::qt_property( id, f, v);
00131 }
00132
00133 bool KarambaConf::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00134 #endif // QT_NO_PROPERTIES