~ubuntu-branches/ubuntu/maverick/xdrawchem/maverick

« back to all changes in this revision

Viewing changes to xdrawchem/http.moc.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2010-07-14 14:59:08 UTC
  • mfrom: (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100714145908-z8o1t4rwvja9vm1b
Tags: 1.9.9-4.1
* Non-maintainer upload.
* debian/patches/04_shellescape.dpatch:
  - Fix location of patched files (Closes: #560527).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/****************************************************************************
2
 
** HTTP meta object code from reading C++ file 'http.h'
3
 
**
4
 
** Created: Fri Aug 10 23:32:36 2007
5
 
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.7   edited Oct 19 16:22 $)
6
 
**
7
 
** WARNING! All changes made in this file will be lost!
8
 
*****************************************************************************/
9
 
 
10
 
#undef QT_NO_COMPAT
11
 
#include "http.h"
12
 
#include <qmetaobject.h>
13
 
#include <qapplication.h>
14
 
 
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.7. It"
18
 
#error "cannot be used with the include files from this version of Qt."
19
 
#error "(The moc has changed too much.)"
20
 
#endif
21
 
 
22
 
const char *HTTP::className() const
23
 
{
24
 
    return "HTTP";
25
 
}
26
 
 
27
 
QMetaObject *HTTP::metaObj = 0;
28
 
static QMetaObjectCleanUp cleanUp_HTTP( "HTTP", &HTTP::staticMetaObject );
29
 
 
30
 
#ifndef QT_NO_TRANSLATION
31
 
QString HTTP::tr( const char *s, const char *c )
32
 
{
33
 
    if ( qApp )
34
 
        return qApp->translate( "HTTP", s, c, QApplication::DefaultCodec );
35
 
    else
36
 
        return QString::fromLatin1( s );
37
 
}
38
 
#ifndef QT_NO_TRANSLATION_UTF8
39
 
QString HTTP::trUtf8( const char *s, const char *c )
40
 
{
41
 
    if ( qApp )
42
 
        return qApp->translate( "HTTP", s, c, QApplication::UnicodeUTF8 );
43
 
    else
44
 
        return QString::fromUtf8( s );
45
 
}
46
 
#endif // QT_NO_TRANSLATION_UTF8
47
 
 
48
 
#endif // QT_NO_TRANSLATION
49
 
 
50
 
QMetaObject* HTTP::staticMetaObject()
51
 
{
52
 
    if ( metaObj )
53
 
        return metaObj;
54
 
    QMetaObject* parentObject = QDialog::staticMetaObject();
55
 
    static const QUParameter param_slot_0[] = {
56
 
        { "d1", &static_QUType_varptr, "\x1d", QUParameter::In }
57
 
    };
58
 
    static const QUMethod slot_0 = {"slotData", 1, param_slot_0 };
59
 
    static const QUParameter param_slot_1[] = {
60
 
        { "op", &static_QUType_ptr, "QNetworkOperation", QUParameter::In }
61
 
    };
62
 
    static const QUMethod slot_1 = {"slotFinished", 1, param_slot_1 };
63
 
    static const QMetaData slot_tbl[] = {
64
 
        { "slotData(const QByteArray&)", &slot_0, QMetaData::Public },
65
 
        { "slotFinished(QNetworkOperation*)", &slot_1, QMetaData::Public }
66
 
    };
67
 
    metaObj = QMetaObject::new_metaobject(
68
 
        "HTTP", parentObject,
69
 
        slot_tbl, 2,
70
 
        0, 0,
71
 
#ifndef QT_NO_PROPERTIES
72
 
        0, 0,
73
 
        0, 0,
74
 
#endif // QT_NO_PROPERTIES
75
 
        0, 0 );
76
 
    cleanUp_HTTP.setMetaObject( metaObj );
77
 
    return metaObj;
78
 
}
79
 
 
80
 
void* HTTP::qt_cast( const char* clname )
81
 
{
82
 
    if ( !qstrcmp( clname, "HTTP" ) )
83
 
        return this;
84
 
    return QDialog::qt_cast( clname );
85
 
}
86
 
 
87
 
bool HTTP::qt_invoke( int _id, QUObject* _o )
88
 
{
89
 
    switch ( _id - staticMetaObject()->slotOffset() ) {
90
 
    case 0: slotData((const QByteArray&)*((const QByteArray*)static_QUType_ptr.get(_o+1))); break;
91
 
    case 1: slotFinished((QNetworkOperation*)static_QUType_ptr.get(_o+1)); break;
92
 
    default:
93
 
        return QDialog::qt_invoke( _id, _o );
94
 
    }
95
 
    return TRUE;
96
 
}
97
 
 
98
 
bool HTTP::qt_emit( int _id, QUObject* _o )
99
 
{
100
 
    return QDialog::qt_emit(_id,_o);
101
 
}
102
 
#ifndef QT_NO_PROPERTIES
103
 
 
104
 
bool HTTP::qt_property( int id, int f, QVariant* v)
105
 
{
106
 
    return QDialog::qt_property( id, f, v);
107
 
}
108
 
 
109
 
bool HTTP::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
110
 
#endif // QT_NO_PROPERTIES