00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "kdepreferencesdialog.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.4. 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 *KdePreferencesDialog::className() const
00023 {
00024 return "KdePreferencesDialog";
00025 }
00026
00027 QMetaObject *KdePreferencesDialog::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_KdePreferencesDialog( "KdePreferencesDialog", &KdePreferencesDialog::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString KdePreferencesDialog::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "KdePreferencesDialog", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString KdePreferencesDialog::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "KdePreferencesDialog", s, c, QApplication::UnicodeUTF8 );
00043 else
00044 return QString::fromUtf8( s );
00045 }
00046 #endif
00047
00048 #endif
00049
00050 QMetaObject* KdePreferencesDialog::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = KDialogBase::staticMetaObject();
00055 static const QUMethod slot_0 = {"slotOk", 0, 0 };
00056 static const QUMethod slot_1 = {"slotApply", 0, 0 };
00057 static const QUMethod slot_2 = {"slotCancel", 0, 0 };
00058 static const QUMethod slot_3 = {"setNow", 0, 0 };
00059 static const QUMethod slot_4 = {"ltSubstract", 0, 0 };
00060 static const QUMethod slot_5 = {"slotTimeHasChanged", 0, 0 };
00061 static const QUParameter param_slot_6[] = {
00062 { "l", &static_QUType_int, 0, QUParameter::In }
00063 };
00064 static const QUMethod slot_6 = {"slotAmbientLightLevel", 1, param_slot_6 };
00065 static const QUParameter param_slot_7[] = {
00066 { "m", &static_QUType_int, 0, QUParameter::In }
00067 };
00068 static const QUMethod slot_7 = {"slotFaintestVisible", 1, param_slot_7 };
00069 static const QUParameter param_slot_8[] = {
00070 { 0, &static_QUType_int, 0, QUParameter::In }
00071 };
00072 static const QUMethod slot_8 = {"slotRenderPath", 1, param_slot_8 };
00073 static const QUParameter param_slot_9[] = {
00074 { 0, &static_QUType_int, 0, QUParameter::In }
00075 };
00076 static const QUMethod slot_9 = {"slotDistanceToScreen", 1, param_slot_9 };
00077 static const QUParameter param_slot_10[] = {
00078 { 0, &static_QUType_int, 0, QUParameter::In }
00079 };
00080 static const QUMethod slot_10 = {"slotMinFeatureSize", 1, param_slot_10 };
00081 static const QMetaData slot_tbl[] = {
00082 { "slotOk()", &slot_0, QMetaData::Public },
00083 { "slotApply()", &slot_1, QMetaData::Public },
00084 { "slotCancel()", &slot_2, QMetaData::Public },
00085 { "setNow()", &slot_3, QMetaData::Public },
00086 { "ltSubstract()", &slot_4, QMetaData::Public },
00087 { "slotTimeHasChanged()", &slot_5, QMetaData::Public },
00088 { "slotAmbientLightLevel(int)", &slot_6, QMetaData::Public },
00089 { "slotFaintestVisible(int)", &slot_7, QMetaData::Public },
00090 { "slotRenderPath(int)", &slot_8, QMetaData::Public },
00091 { "slotDistanceToScreen(int)", &slot_9, QMetaData::Public },
00092 { "slotMinFeatureSize(int)", &slot_10, QMetaData::Public }
00093 };
00094 metaObj = QMetaObject::new_metaobject(
00095 "KdePreferencesDialog", parentObject,
00096 slot_tbl, 11,
00097 0, 0,
00098 #ifndef QT_NO_PROPERTIES
00099 0, 0,
00100 0, 0,
00101 #endif
00102 0, 0 );
00103 cleanUp_KdePreferencesDialog.setMetaObject( metaObj );
00104 return metaObj;
00105 }
00106
00107 void* KdePreferencesDialog::qt_cast( const char* clname )
00108 {
00109 if ( !qstrcmp( clname, "KdePreferencesDialog" ) )
00110 return this;
00111 return KDialogBase::qt_cast( clname );
00112 }
00113
00114 bool KdePreferencesDialog::qt_invoke( int _id, QUObject* _o )
00115 {
00116 switch ( _id - staticMetaObject()->slotOffset() ) {
00117 case 0: slotOk(); break;
00118 case 1: slotApply(); break;
00119 case 2: slotCancel(); break;
00120 case 3: setNow(); break;
00121 case 4: ltSubstract(); break;
00122 case 5: slotTimeHasChanged(); break;
00123 case 6: slotAmbientLightLevel((int)static_QUType_int.get(_o+1)); break;
00124 case 7: slotFaintestVisible((int)static_QUType_int.get(_o+1)); break;
00125 case 8: slotRenderPath((int)static_QUType_int.get(_o+1)); break;
00126 case 9: slotDistanceToScreen((int)static_QUType_int.get(_o+1)); break;
00127 case 10: slotMinFeatureSize((int)static_QUType_int.get(_o+1)); break;
00128 default:
00129 return KDialogBase::qt_invoke( _id, _o );
00130 }
00131 return TRUE;
00132 }
00133
00134 bool KdePreferencesDialog::qt_emit( int _id, QUObject* _o )
00135 {
00136 return KDialogBase::qt_emit(_id,_o);
00137 }
00138 #ifndef QT_NO_PROPERTIES
00139
00140 bool KdePreferencesDialog::qt_property( int id, int f, QVariant* v)
00141 {
00142 return KDialogBase::qt_property( id, f, v);
00143 }
00144
00145 bool KdePreferencesDialog::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00146 #endif // QT_NO_PROPERTIES