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

« back to all changes in this revision

Viewing changes to xdrawchem/xdc_toolbutton.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
 
** XDC_ToolButton meta object code from reading C++ file 'xdc_toolbutton.h'
3
 
**
4
 
** Created: Fri Aug 10 23:33:07 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 "xdc_toolbutton.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 *XDC_ToolButton::className() const
23
 
{
24
 
    return "XDC_ToolButton";
25
 
}
26
 
 
27
 
QMetaObject *XDC_ToolButton::metaObj = 0;
28
 
static QMetaObjectCleanUp cleanUp_XDC_ToolButton( "XDC_ToolButton", &XDC_ToolButton::staticMetaObject );
29
 
 
30
 
#ifndef QT_NO_TRANSLATION
31
 
QString XDC_ToolButton::tr( const char *s, const char *c )
32
 
{
33
 
    if ( qApp )
34
 
        return qApp->translate( "XDC_ToolButton", s, c, QApplication::DefaultCodec );
35
 
    else
36
 
        return QString::fromLatin1( s );
37
 
}
38
 
#ifndef QT_NO_TRANSLATION_UTF8
39
 
QString XDC_ToolButton::trUtf8( const char *s, const char *c )
40
 
{
41
 
    if ( qApp )
42
 
        return qApp->translate( "XDC_ToolButton", 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* XDC_ToolButton::staticMetaObject()
51
 
{
52
 
    if ( metaObj )
53
 
        return metaObj;
54
 
    QMetaObject* parentObject = QToolButton::staticMetaObject();
55
 
    static const QUMethod slot_0 = {"trigger", 0, 0 };
56
 
    static const QMetaData slot_tbl[] = {
57
 
        { "trigger()", &slot_0, QMetaData::Public }
58
 
    };
59
 
    static const QUParameter param_signal_0[] = {
60
 
        { 0, &static_QUType_QString, 0, QUParameter::In }
61
 
    };
62
 
    static const QUMethod signal_0 = {"IncludeFile", 1, param_signal_0 };
63
 
    static const QMetaData signal_tbl[] = {
64
 
        { "IncludeFile(QString)", &signal_0, QMetaData::Public }
65
 
    };
66
 
    metaObj = QMetaObject::new_metaobject(
67
 
        "XDC_ToolButton", parentObject,
68
 
        slot_tbl, 1,
69
 
        signal_tbl, 1,
70
 
#ifndef QT_NO_PROPERTIES
71
 
        0, 0,
72
 
        0, 0,
73
 
#endif // QT_NO_PROPERTIES
74
 
        0, 0 );
75
 
    cleanUp_XDC_ToolButton.setMetaObject( metaObj );
76
 
    return metaObj;
77
 
}
78
 
 
79
 
void* XDC_ToolButton::qt_cast( const char* clname )
80
 
{
81
 
    if ( !qstrcmp( clname, "XDC_ToolButton" ) )
82
 
        return this;
83
 
    return QToolButton::qt_cast( clname );
84
 
}
85
 
 
86
 
// SIGNAL IncludeFile
87
 
void XDC_ToolButton::IncludeFile( QString t0 )
88
 
{
89
 
    activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
90
 
}
91
 
 
92
 
bool XDC_ToolButton::qt_invoke( int _id, QUObject* _o )
93
 
{
94
 
    switch ( _id - staticMetaObject()->slotOffset() ) {
95
 
    case 0: trigger(); break;
96
 
    default:
97
 
        return QToolButton::qt_invoke( _id, _o );
98
 
    }
99
 
    return TRUE;
100
 
}
101
 
 
102
 
bool XDC_ToolButton::qt_emit( int _id, QUObject* _o )
103
 
{
104
 
    switch ( _id - staticMetaObject()->signalOffset() ) {
105
 
    case 0: IncludeFile((QString)static_QUType_QString.get(_o+1)); break;
106
 
    default:
107
 
        return QToolButton::qt_emit(_id,_o);
108
 
    }
109
 
    return TRUE;
110
 
}
111
 
#ifndef QT_NO_PROPERTIES
112
 
 
113
 
bool XDC_ToolButton::qt_property( int id, int f, QVariant* v)
114
 
{
115
 
    return QToolButton::qt_property( id, f, v);
116
 
}
117
 
 
118
 
bool XDC_ToolButton::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
119
 
#endif // QT_NO_PROPERTIES