1
/****************************************************************************
2
** KcmSearch meta object code from reading C++ file 'kcmsearch.h'
4
** Created: Fri May 12 16:18:56 2006
5
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.6 edited Mar 8 17:43 $)
7
** WARNING! All changes made in this file will be lost!
8
*****************************************************************************/
11
#include "../../systemsettings/kcmsearch.h"
12
#include <qmetaobject.h>
13
#include <qapplication.h>
15
#include <private/qucomextra_p.h>
16
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
17
#error "This file was generated using the moc from 3.3.6. It"
18
#error "cannot be used with the include files from this version of Qt."
19
#error "(The moc has changed too much.)"
22
const char *KcmSearch::className() const
27
QMetaObject *KcmSearch::metaObj = 0;
28
static QMetaObjectCleanUp cleanUp_KcmSearch( "KcmSearch", &KcmSearch::staticMetaObject );
30
#ifndef QT_NO_TRANSLATION
31
QString KcmSearch::tr( const char *s, const char *c )
34
return qApp->translate( "KcmSearch", s, c, QApplication::DefaultCodec );
36
return QString::fromLatin1( s );
38
#ifndef QT_NO_TRANSLATION_UTF8
39
QString KcmSearch::trUtf8( const char *s, const char *c )
42
return qApp->translate( "KcmSearch", s, c, QApplication::UnicodeUTF8 );
44
return QString::fromUtf8( s );
46
#endif // QT_NO_TRANSLATION_UTF8
48
#endif // QT_NO_TRANSLATION
50
QMetaObject* KcmSearch::staticMetaObject()
54
QMetaObject* parentObject = KIconViewSearchLine::staticMetaObject();
55
static const QUMethod slot_0 = {"updateSearch", 0, 0 };
56
static const QUParameter param_slot_1[] = {
57
{ "search", &static_QUType_QString, 0, QUParameter::In }
59
static const QUMethod slot_1 = {"updateSearch", 1, param_slot_1 };
60
static const QUParameter param_slot_2[] = {
61
{ 0, &static_QUType_bool, 0, QUParameter::Out },
62
{ "item", &static_QUType_ptr, "QIconViewItem", QUParameter::In },
63
{ "search", &static_QUType_QString, 0, QUParameter::In }
65
static const QUMethod slot_2 = {"itemMatches", 3, param_slot_2 };
66
static const QMetaData slot_tbl[] = {
67
{ "updateSearch()", &slot_0, QMetaData::Public },
68
{ "updateSearch(const QString&)", &slot_1, QMetaData::Public },
69
{ "itemMatches(const QIconViewItem*,const QString&)", &slot_2, QMetaData::Public }
71
metaObj = QMetaObject::new_metaobject(
72
"KcmSearch", parentObject,
75
#ifndef QT_NO_PROPERTIES
78
#endif // QT_NO_PROPERTIES
80
cleanUp_KcmSearch.setMetaObject( metaObj );
84
void* KcmSearch::qt_cast( const char* clname )
86
if ( !qstrcmp( clname, "KcmSearch" ) )
88
return KIconViewSearchLine::qt_cast( clname );
91
bool KcmSearch::qt_invoke( int _id, QUObject* _o )
93
switch ( _id - staticMetaObject()->slotOffset() ) {
94
case 0: updateSearch(); break;
95
case 1: updateSearch((const QString&)static_QUType_QString.get(_o+1)); break;
96
case 2: static_QUType_bool.set(_o,itemMatches((const QIconViewItem*)static_QUType_ptr.get(_o+1),(const QString&)static_QUType_QString.get(_o+2))); break;
98
return KIconViewSearchLine::qt_invoke( _id, _o );
103
bool KcmSearch::qt_emit( int _id, QUObject* _o )
105
return KIconViewSearchLine::qt_emit(_id,_o);
107
#ifndef QT_NO_PROPERTIES
109
bool KcmSearch::qt_property( int id, int f, QVariant* v)
111
return KIconViewSearchLine::qt_property( id, f, v);
114
bool KcmSearch::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
115
#endif // QT_NO_PROPERTIES