Advertisement
Guest User

Untitled

a guest
Sep 10th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.40 KB | None | 0 0
  1.  
  2. static const uint qt_meta_data_Foo[] = {
  3.  
  4.  // content:
  5.        8,       // revision /* Bumped the version to 8. Still downwards compat though. */
  6.        0,       // classname
  7.        1,   16, // classinfo
  8.        5,   18, // methods
  9.        2,   54, // properties
  10.        1,   60, // enums/sets
  11.        1,   70, // constructors
  12.        0,       // flags
  13.        1,       // signalCount
  14.       10,   75, // infos /* New header field. */
  15.  
  16. /* Nothing changed here so far ... */
  17.  // classinfo: key, value
  18.        1,    2,
  19.  
  20.  // signals: name, argc, parameters, tag, flags
  21.        3,    0,   48,    4, 0x05,
  22.  
  23.  // slots: name, argc, parameters, tag, flags
  24.        5,    0,   49,    6, 0x0a,
  25.        7,    0,   50,    4, 0x8a,
  26.        8,    0,   51,    4, 0x08,
  27.        9,    0,   52,    4, 0x08,
  28.  
  29.  // signals: revision
  30.        0,
  31.  
  32.  // slots: revision
  33.        0,
  34.        1,
  35.        0,
  36.        0,
  37.  
  38.  // signals: parameters
  39.     QMetaType::Void,
  40.  
  41.  // slots: parameters
  42.     QMetaType::Void,
  43.     QMetaType::Int,
  44.     QMetaType::Int,
  45.     QMetaType::QByteArray,
  46.  
  47.  // constructors: parameters
  48.     0x80000000 | 4,
  49.  
  50.  // properties: name, type, flags
  51.        7, QMetaType::Int, 0x00095001,
  52.       10, QMetaType::Int, 0x00095001,
  53.  
  54.  // enums: name, flags, count, data
  55.       11, 0x0,    3,   64,
  56.  
  57.  // enum data: key, value
  58.       12, uint(Foo::Eins),
  59.       13, uint(Foo::Zwei),
  60.       14, uint(Foo::Drei),
  61.  
  62.  // constructors: name, argc, parameters, tag, flags
  63.        0,    0,   53,    4, 0x0e,
  64.  
  65. /* Okay, here begins the Q_INFO related meta-data. */
  66.  // class infos: count, info data
  67.        2,   95,
  68. /* First the count of annotations, then the data offset. See below. */
  69.  // signals: count, info data
  70.        1,  102,
  71.  
  72.  // slots: count, info data
  73.        2,  105,
  74.        0,    0,
  75.        0,    0,
  76.        1,  113,
  77.  
  78.  // constructors: count, info data
  79.        1,  116,
  80.  
  81.  // properties: count, info data
  82.        1,  119,
  83.        0,    0,
  84.  
  85.  // enums: count, info data
  86.        2,  122,
  87.  
  88. /* The annotation -> payload mapping table. */
  89.  // infos: name, flags, count, arguments
  90.       15,    0,    1,   16, /* One value */
  91.       17,    0,    0, /* No values here ... */
  92.       18,    0,    0,
  93.       19,    0,    2,   20,   21, /* Two values for this one */
  94.       22,    0,    0,
  95.       23,    0,    0,
  96.       24,    0,    0,
  97.       25,    0,    0,
  98.       26,    0,    1,   27,
  99.       28,    0,    0,
  100.  
  101.        0        // eod
  102. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement