~showard314/ubuntu/natty/qtiplot/Python2.7_fix

« back to all changes in this revision

Viewing changes to 3rdparty/qwt/src/moc/moc_qwt_plot_zoomer.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-04-04 15:11:55 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080404151155-rjp12ziov4tryj0o
Tags: 0.9.4-1
* New upstream release.
* Refresh patches.
* Remove 04_homepage_url patch. Merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
** Meta object code from reading C++ file 'qwt_plot_zoomer.h'
 
3
**
 
4
** Created: Thu Mar 27 11:15:19 2008
 
5
**      by: The Qt Meta Object Compiler version 59 (Qt 4.3.4)
 
6
**
 
7
** WARNING! All changes made in this file will be lost!
 
8
*****************************************************************************/
 
9
 
 
10
#include "../qwt_plot_zoomer.h"
 
11
#if !defined(Q_MOC_OUTPUT_REVISION)
 
12
#error "The header file 'qwt_plot_zoomer.h' doesn't include <QObject>."
 
13
#elif Q_MOC_OUTPUT_REVISION != 59
 
14
#error "This file was generated using the moc from 4.3.4. It"
 
15
#error "cannot be used with the include files from this version of Qt."
 
16
#error "(The moc has changed too much.)"
 
17
#endif
 
18
 
 
19
static const uint qt_meta_data_QwtPlotZoomer[] = {
 
20
 
 
21
 // content:
 
22
       1,       // revision
 
23
       0,       // classname
 
24
       0,    0, // classinfo
 
25
       5,   10, // methods
 
26
       0,    0, // properties
 
27
       0,    0, // enums/sets
 
28
 
 
29
 // signals: signature, parameters, type, tag, flags
 
30
      20,   15,   14,   14, 0x05,
 
31
 
 
32
 // slots: signature, parameters, type, tag, flags
 
33
      46,   42,   14,   14, 0x0a,
 
34
      68,   42,   14,   14, 0x0a,
 
35
      88,   14,   14,   14, 0x0a,
 
36
     111,  108,   14,   14, 0x0a,
 
37
 
 
38
       0        // eod
 
39
};
 
40
 
 
41
static const char qt_meta_stringdata_QwtPlotZoomer[] = {
 
42
    "QwtPlotZoomer\0\0rect\0zoomed(QwtDoubleRect)\0"
 
43
    "x,y\0moveBy(double,double)\0move(double,double)\0"
 
44
    "zoom(QwtDoubleRect)\0up\0zoom(int)\0"
 
45
};
 
46
 
 
47
const QMetaObject QwtPlotZoomer::staticMetaObject = {
 
48
    { &QwtPlotPicker::staticMetaObject, qt_meta_stringdata_QwtPlotZoomer,
 
49
      qt_meta_data_QwtPlotZoomer, 0 }
 
50
};
 
51
 
 
52
const QMetaObject *QwtPlotZoomer::metaObject() const
 
53
{
 
54
    return &staticMetaObject;
 
55
}
 
56
 
 
57
void *QwtPlotZoomer::qt_metacast(const char *_clname)
 
58
{
 
59
    if (!_clname) return 0;
 
60
    if (!strcmp(_clname, qt_meta_stringdata_QwtPlotZoomer))
 
61
        return static_cast<void*>(const_cast< QwtPlotZoomer*>(this));
 
62
    return QwtPlotPicker::qt_metacast(_clname);
 
63
}
 
64
 
 
65
int QwtPlotZoomer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
 
66
{
 
67
    _id = QwtPlotPicker::qt_metacall(_c, _id, _a);
 
68
    if (_id < 0)
 
69
        return _id;
 
70
    if (_c == QMetaObject::InvokeMetaMethod) {
 
71
        switch (_id) {
 
72
        case 0: zoomed((*reinterpret_cast< const QwtDoubleRect(*)>(_a[1]))); break;
 
73
        case 1: moveBy((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
 
74
        case 2: move((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
 
75
        case 3: zoom((*reinterpret_cast< const QwtDoubleRect(*)>(_a[1]))); break;
 
76
        case 4: zoom((*reinterpret_cast< int(*)>(_a[1]))); break;
 
77
        }
 
78
        _id -= 5;
 
79
    }
 
80
    return _id;
 
81
}
 
82
 
 
83
// SIGNAL 0
 
84
void QwtPlotZoomer::zoomed(const QwtDoubleRect & _t1)
 
85
{
 
86
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
 
87
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
 
88
}