~ubuntu-branches/ubuntu/oneiric/valkyrie/oneiric

« back to all changes in this revision

Viewing changes to valkyrie/options/options_page.moc.cpp

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2011-09-02 22:08:34 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: package-import@ubuntu.com-20110902220834-kigsixteppj9epp5
Tags: 2.0.0-0ubuntu1
* New upstream release. (LP: #635129, LP: #832886, LP: #721298)
* Standards bumped to 3.9.2, no changes required.
* d/control, d/rules: cdbs removed, dh minimal rule instead.
* d/control: build system is qmake not autotools
* d/control: bump required qt to qt4
* d/valkyrie.install: installing html docs manually as make install
  no longer does so.
* d/patches/valkyrie-2.0.0-fix-doc.dir.patch: Fix doc path to match
  policy. Also corrects LP: #588074 since the documentation link now
  works.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/****************************************************************************
2
 
** OptionsPage meta object code from reading C++ file 'options_page.h'
3
 
**
4
 
** Created: Sat Feb 21 11:49:29 2009
5
 
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.8   edited Feb 2 14:59 $)
6
 
**
7
 
** WARNING! All changes made in this file will be lost!
8
 
*****************************************************************************/
9
 
 
10
 
#undef QT_NO_COMPAT
11
 
#include "options_page.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.8b. 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 *OptionsPage::className() const
23
 
{
24
 
    return "OptionsPage";
25
 
}
26
 
 
27
 
QMetaObject *OptionsPage::metaObj = 0;
28
 
static QMetaObjectCleanUp cleanUp_OptionsPage( "OptionsPage", &OptionsPage::staticMetaObject );
29
 
 
30
 
#ifndef QT_NO_TRANSLATION
31
 
QString OptionsPage::tr( const char *s, const char *c )
32
 
{
33
 
    if ( qApp )
34
 
        return qApp->translate( "OptionsPage", s, c, QApplication::DefaultCodec );
35
 
    else
36
 
        return QString::fromLatin1( s );
37
 
}
38
 
#ifndef QT_NO_TRANSLATION_UTF8
39
 
QString OptionsPage::trUtf8( const char *s, const char *c )
40
 
{
41
 
    if ( qApp )
42
 
        return qApp->translate( "OptionsPage", 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* OptionsPage::staticMetaObject()
51
 
{
52
 
    if ( metaObj )
53
 
        return metaObj;
54
 
    QMetaObject* parentObject = QWidget::staticMetaObject();
55
 
    static const QUParameter param_slot_0[] = {
56
 
        { 0, &static_QUType_bool, 0, QUParameter::In },
57
 
        { 0, &static_QUType_ptr, "OptionWidget", QUParameter::In }
58
 
    };
59
 
    static const QUMethod slot_0 = {"updateEditList", 2, param_slot_0 };
60
 
    static const QMetaData slot_tbl[] = {
61
 
        { "updateEditList(bool,OptionWidget*)", &slot_0, QMetaData::Public }
62
 
    };
63
 
    static const QUMethod signal_0 = {"modified", 0, 0 };
64
 
    static const QUMethod signal_1 = {"apply", 0, 0 };
65
 
    static const QMetaData signal_tbl[] = {
66
 
        { "modified()", &signal_0, QMetaData::Public },
67
 
        { "apply()", &signal_1, QMetaData::Public }
68
 
    };
69
 
    metaObj = QMetaObject::new_metaobject(
70
 
        "OptionsPage", parentObject,
71
 
        slot_tbl, 1,
72
 
        signal_tbl, 2,
73
 
#ifndef QT_NO_PROPERTIES
74
 
        0, 0,
75
 
        0, 0,
76
 
#endif // QT_NO_PROPERTIES
77
 
        0, 0 );
78
 
    cleanUp_OptionsPage.setMetaObject( metaObj );
79
 
    return metaObj;
80
 
}
81
 
 
82
 
void* OptionsPage::qt_cast( const char* clname )
83
 
{
84
 
    if ( !qstrcmp( clname, "OptionsPage" ) )
85
 
        return this;
86
 
    return QWidget::qt_cast( clname );
87
 
}
88
 
 
89
 
// SIGNAL modified
90
 
void OptionsPage::modified()
91
 
{
92
 
    activate_signal( staticMetaObject()->signalOffset() + 0 );
93
 
}
94
 
 
95
 
// SIGNAL apply
96
 
void OptionsPage::apply()
97
 
{
98
 
    activate_signal( staticMetaObject()->signalOffset() + 1 );
99
 
}
100
 
 
101
 
bool OptionsPage::qt_invoke( int _id, QUObject* _o )
102
 
{
103
 
    switch ( _id - staticMetaObject()->slotOffset() ) {
104
 
    case 0: updateEditList((bool)static_QUType_bool.get(_o+1),(OptionWidget*)static_QUType_ptr.get(_o+2)); break;
105
 
    default:
106
 
        return QWidget::qt_invoke( _id, _o );
107
 
    }
108
 
    return TRUE;
109
 
}
110
 
 
111
 
bool OptionsPage::qt_emit( int _id, QUObject* _o )
112
 
{
113
 
    switch ( _id - staticMetaObject()->signalOffset() ) {
114
 
    case 0: modified(); break;
115
 
    case 1: apply(); break;
116
 
    default:
117
 
        return QWidget::qt_emit(_id,_o);
118
 
    }
119
 
    return TRUE;
120
 
}
121
 
#ifndef QT_NO_PROPERTIES
122
 
 
123
 
bool OptionsPage::qt_property( int id, int f, QVariant* v)
124
 
{
125
 
    return QWidget::qt_property( id, f, v);
126
 
}
127
 
 
128
 
bool OptionsPage::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
129
 
#endif // QT_NO_PROPERTIES