moc_history.cpp
资源名称:browser.rar [点击查看]
上传用户:huahtool
上传日期:2015-12-10
资源大小:1089k
文件大小:18k
源码类别:
浏览器
开发平台:
Visual C++
- /****************************************************************************
- ** Meta object code from reading C++ file 'history.h'
- **
- ** Created: Tue Nov 18 19:00:12 2008
- ** by: The Qt Meta Object Compiler version 59 (Qt 4.4.3)
- **
- ** WARNING! All changes made in this file will be lost!
- *****************************************************************************/
- #include "../../../history.h"
- #if !defined(Q_MOC_OUTPUT_REVISION)
- #error "The header file 'history.h' doesn't include <QObject>."
- #elif Q_MOC_OUTPUT_REVISION != 59
- #error "This file was generated using the moc from 4.4.3. It"
- #error "cannot be used with the include files from this version of Qt."
- #error "(The moc has changed too much.)"
- #endif
- QT_BEGIN_MOC_NAMESPACE
- static const uint qt_meta_data_HistoryManager[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 8, 10, // methods
- 1, 50, // properties
- 0, 0, // enums/sets
- // signals: signature, parameters, type, tag, flags
- 16, 15, 15, 15, 0x05,
- 36, 31, 15, 15, 0x05,
- 60, 31, 15, 15, 0x05,
- 93, 86, 15, 15, 0x05,
- // slots: signature, parameters, type, tag, flags
- 111, 15, 15, 15, 0x0a,
- 119, 15, 15, 15, 0x0a,
- 134, 15, 15, 15, 0x08,
- 141, 15, 15, 15, 0x08,
- // properties: name, type, flags
- 163, 159, 0x02095103,
- 0 // eod
- };
- static const char qt_meta_stringdata_HistoryManager[] = {
- "HistoryManager historyReset() item "
- "entryAdded(HistoryItem) "
- "entryRemoved(HistoryItem) offset "
- "entryUpdated(int) clear() loadSettings() "
- "save() checkForExpired() int historyLimit "
- };
- const QMetaObject HistoryManager::staticMetaObject = {
- { &QWebHistoryInterface::staticMetaObject, qt_meta_stringdata_HistoryManager,
- qt_meta_data_HistoryManager, 0 }
- };
- const QMetaObject *HistoryManager::metaObject() const
- {
- return &staticMetaObject;
- }
- void *HistoryManager::qt_metacast(const char *_clname)
- {
- if (!_clname) return 0;
- if (!strcmp(_clname, qt_meta_stringdata_HistoryManager))
- return static_cast<void*>(const_cast< HistoryManager*>(this));
- return QWebHistoryInterface::qt_metacast(_clname);
- }
- int HistoryManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QWebHistoryInterface::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- switch (_id) {
- case 0: historyReset(); break;
- case 1: entryAdded((*reinterpret_cast< const HistoryItem(*)>(_a[1]))); break;
- case 2: entryRemoved((*reinterpret_cast< const HistoryItem(*)>(_a[1]))); break;
- case 3: entryUpdated((*reinterpret_cast< int(*)>(_a[1]))); break;
- case 4: clear(); break;
- case 5: loadSettings(); break;
- case 6: save(); break;
- case 7: checkForExpired(); break;
- }
- _id -= 8;
- }
- #ifndef QT_NO_PROPERTIES
- else if (_c == QMetaObject::ReadProperty) {
- void *_v = _a[0];
- switch (_id) {
- case 0: *reinterpret_cast< int*>(_v) = historyLimit(); break;
- }
- _id -= 1;
- } else if (_c == QMetaObject::WriteProperty) {
- void *_v = _a[0];
- switch (_id) {
- case 0: setHistoryLimit(*reinterpret_cast< int*>(_v)); break;
- }
- _id -= 1;
- } else if (_c == QMetaObject::ResetProperty) {
- _id -= 1;
- } else if (_c == QMetaObject::QueryPropertyDesignable) {
- _id -= 1;
- } else if (_c == QMetaObject::QueryPropertyScriptable) {
- _id -= 1;
- } else if (_c == QMetaObject::QueryPropertyStored) {
- _id -= 1;
- } else if (_c == QMetaObject::QueryPropertyEditable) {
- _id -= 1;
- } else if (_c == QMetaObject::QueryPropertyUser) {
- _id -= 1;
- }
- #endif // QT_NO_PROPERTIES
- return _id;
- }
- // SIGNAL 0
- void HistoryManager::historyReset()
- {
- QMetaObject::activate(this, &staticMetaObject, 0, 0);
- }
- // SIGNAL 1
- void HistoryManager::entryAdded(const HistoryItem & _t1)
- {
- void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
- QMetaObject::activate(this, &staticMetaObject, 1, _a);
- }
- // SIGNAL 2
- void HistoryManager::entryRemoved(const HistoryItem & _t1)
- {
- void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
- QMetaObject::activate(this, &staticMetaObject, 2, _a);
- }
- // SIGNAL 3
- void HistoryManager::entryUpdated(int _t1)
- {
- void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
- QMetaObject::activate(this, &staticMetaObject, 3, _a);
- }
- static const uint qt_meta_data_HistoryModel[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 3, 10, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- // slots: signature, parameters, type, tag, flags
- 14, 13, 13, 13, 0x0a,
- 29, 13, 13, 13, 0x0a,
- 49, 42, 13, 13, 0x0a,
- 0 // eod
- };
- static const char qt_meta_stringdata_HistoryModel[] = {
- "HistoryModel historyReset() entryAdded() "
- "offset entryUpdated(int) "
- };
- const QMetaObject HistoryModel::staticMetaObject = {
- { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_HistoryModel,
- qt_meta_data_HistoryModel, 0 }
- };
- const QMetaObject *HistoryModel::metaObject() const
- {
- return &staticMetaObject;
- }
- void *HistoryModel::qt_metacast(const char *_clname)
- {
- if (!_clname) return 0;
- if (!strcmp(_clname, qt_meta_stringdata_HistoryModel))
- return static_cast<void*>(const_cast< HistoryModel*>(this));
- return QAbstractTableModel::qt_metacast(_clname);
- }
- int HistoryModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- switch (_id) {
- case 0: historyReset(); break;
- case 1: entryAdded(); break;
- case 2: entryUpdated((*reinterpret_cast< int(*)>(_a[1]))); break;
- }
- _id -= 3;
- }
- return _id;
- }
- static const uint qt_meta_data_HistoryFilterModel[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 4, 10, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- // slots: signature, parameters, type, tag, flags
- 20, 19, 19, 19, 0x08,
- 54, 34, 19, 19, 0x08,
- 114, 97, 19, 19, 0x08,
- 157, 154, 19, 19, 0x08,
- 0 // eod
- };
- static const char qt_meta_stringdata_HistoryFilterModel[] = {
- "HistoryFilterModel sourceReset() "
- "topLeft,bottomRight "
- "sourceDataChanged(QModelIndex,QModelIndex) "
- "parent,start,end "
- "sourceRowsInserted(QModelIndex,int,int) "
- ",, sourceRowsRemoved(QModelIndex,int,int) "
- };
- const QMetaObject HistoryFilterModel::staticMetaObject = {
- { &QAbstractProxyModel::staticMetaObject, qt_meta_stringdata_HistoryFilterModel,
- qt_meta_data_HistoryFilterModel, 0 }
- };
- const QMetaObject *HistoryFilterModel::metaObject() const
- {
- return &staticMetaObject;
- }
- void *HistoryFilterModel::qt_metacast(const char *_clname)
- {
- if (!_clname) return 0;
- if (!strcmp(_clname, qt_meta_stringdata_HistoryFilterModel))
- return static_cast<void*>(const_cast< HistoryFilterModel*>(this));
- return QAbstractProxyModel::qt_metacast(_clname);
- }
- int HistoryFilterModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QAbstractProxyModel::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- switch (_id) {
- case 0: sourceReset(); break;
- case 1: sourceDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
- case 2: sourceRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
- case 3: sourceRowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
- }
- _id -= 4;
- }
- return _id;
- }
- static const uint qt_meta_data_HistoryMenuModel[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 0, 0, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- 0 // eod
- };
- static const char qt_meta_stringdata_HistoryMenuModel[] = {
- "HistoryMenuModel "
- };
- const QMetaObject HistoryMenuModel::staticMetaObject = {
- { &QAbstractProxyModel::staticMetaObject, qt_meta_stringdata_HistoryMenuModel,
- qt_meta_data_HistoryMenuModel, 0 }
- };
- const QMetaObject *HistoryMenuModel::metaObject() const
- {
- return &staticMetaObject;
- }
- void *HistoryMenuModel::qt_metacast(const char *_clname)
- {
- if (!_clname) return 0;
- if (!strcmp(_clname, qt_meta_stringdata_HistoryMenuModel))
- return static_cast<void*>(const_cast< HistoryMenuModel*>(this));
- return QAbstractProxyModel::qt_metacast(_clname);
- }
- int HistoryMenuModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QAbstractProxyModel::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- return _id;
- }
- static const uint qt_meta_data_HistoryMenu[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 3, 10, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- // signals: signature, parameters, type, tag, flags
- 17, 13, 12, 12, 0x05,
- // slots: signature, parameters, type, tag, flags
- 37, 31, 12, 12, 0x08,
- 60, 12, 12, 12, 0x08,
- 0 // eod
- };
- static const char qt_meta_stringdata_HistoryMenu[] = {
- "HistoryMenu url openUrl(QUrl) index "
- "activated(QModelIndex) showHistoryDialog() "
- };
- const QMetaObject HistoryMenu::staticMetaObject = {
- { &ModelMenu::staticMetaObject, qt_meta_stringdata_HistoryMenu,
- qt_meta_data_HistoryMenu, 0 }
- };
- const QMetaObject *HistoryMenu::metaObject() const
- {
- return &staticMetaObject;
- }
- void *HistoryMenu::qt_metacast(const char *_clname)
- {
- if (!_clname) return 0;
- if (!strcmp(_clname, qt_meta_stringdata_HistoryMenu))
- return static_cast<void*>(const_cast< HistoryMenu*>(this));
- return ModelMenu::qt_metacast(_clname);
- }
- int HistoryMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = ModelMenu::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- switch (_id) {
- case 0: openUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
- case 1: activated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
- case 2: showHistoryDialog(); break;
- }
- _id -= 3;
- }
- return _id;
- }
- // SIGNAL 0
- void HistoryMenu::openUrl(const QUrl & _t1)
- {
- void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
- QMetaObject::activate(this, &staticMetaObject, 0, _a);
- }
- static const uint qt_meta_data_HistoryCompletionModel[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 1, 10, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- // slots: signature, parameters, type, tag, flags
- 24, 23, 23, 23, 0x08,
- 0 // eod
- };
- static const char qt_meta_stringdata_HistoryCompletionModel[] = {
- "HistoryCompletionModel sourceReset() "
- };
- const QMetaObject HistoryCompletionModel::staticMetaObject = {
- { &QAbstractProxyModel::staticMetaObject, qt_meta_stringdata_HistoryCompletionModel,
- qt_meta_data_HistoryCompletionModel, 0 }
- };
- const QMetaObject *HistoryCompletionModel::metaObject() const
- {
- return &staticMetaObject;
- }
- void *HistoryCompletionModel::qt_metacast(const char *_clname)
- {
- if (!_clname) return 0;
- if (!strcmp(_clname, qt_meta_stringdata_HistoryCompletionModel))
- return static_cast<void*>(const_cast< HistoryCompletionModel*>(this));
- return QAbstractProxyModel::qt_metacast(_clname);
- }
- int HistoryCompletionModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QAbstractProxyModel::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- switch (_id) {
- case 0: sourceReset(); break;
- }
- _id -= 1;
- }
- return _id;
- }
- static const uint qt_meta_data_HistoryTreeModel[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 3, 10, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- // slots: signature, parameters, type, tag, flags
- 18, 17, 17, 17, 0x08,
- 49, 32, 17, 17, 0x08,
- 89, 32, 17, 17, 0x08,
- 0 // eod
- };
- static const char qt_meta_stringdata_HistoryTreeModel[] = {
- "HistoryTreeModel sourceReset() "
- "parent,start,end "
- "sourceRowsInserted(QModelIndex,int,int) "
- "sourceRowsRemoved(QModelIndex,int,int) "
- };
- const QMetaObject HistoryTreeModel::staticMetaObject = {
- { &QAbstractProxyModel::staticMetaObject, qt_meta_stringdata_HistoryTreeModel,
- qt_meta_data_HistoryTreeModel, 0 }
- };
- const QMetaObject *HistoryTreeModel::metaObject() const
- {
- return &staticMetaObject;
- }
- void *HistoryTreeModel::qt_metacast(const char *_clname)
- {
- if (!_clname) return 0;
- if (!strcmp(_clname, qt_meta_stringdata_HistoryTreeModel))
- return static_cast<void*>(const_cast< HistoryTreeModel*>(this));
- return QAbstractProxyModel::qt_metacast(_clname);
- }
- int HistoryTreeModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QAbstractProxyModel::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- switch (_id) {
- case 0: sourceReset(); break;
- case 1: sourceRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
- case 2: sourceRowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
- }
- _id -= 3;
- }
- return _id;
- }
- static const uint qt_meta_data_TreeProxyModel[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 0, 0, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- 0 // eod
- };
- static const char qt_meta_stringdata_TreeProxyModel[] = {
- "TreeProxyModel "
- };
- const QMetaObject TreeProxyModel::staticMetaObject = {
- { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_TreeProxyModel,
- qt_meta_data_TreeProxyModel, 0 }
- };
- const QMetaObject *TreeProxyModel::metaObject() const
- {
- return &staticMetaObject;
- }
- void *TreeProxyModel::qt_metacast(const char *_clname)
- {
- if (!_clname) return 0;
- if (!strcmp(_clname, qt_meta_stringdata_TreeProxyModel))
- return static_cast<void*>(const_cast< TreeProxyModel*>(this));
- return QSortFilterProxyModel::qt_metacast(_clname);
- }
- int TreeProxyModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QSortFilterProxyModel::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- return _id;
- }
- static const uint qt_meta_data_HistoryDialog[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 4, 10, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- // signals: signature, parameters, type, tag, flags
- 19, 15, 14, 14, 0x05,
- // slots: signature, parameters, type, tag, flags
- 37, 33, 14, 14, 0x08,
- 72, 14, 14, 14, 0x08,
- 79, 14, 14, 14, 0x08,
- 0 // eod
- };
- static const char qt_meta_stringdata_HistoryDialog[] = {
- "HistoryDialog url openUrl(QUrl) pos "
- "customContextMenuRequested(QPoint) "
- "open() copy() "
- };
- const QMetaObject HistoryDialog::staticMetaObject = {
- { &QDialog::staticMetaObject, qt_meta_stringdata_HistoryDialog,
- qt_meta_data_HistoryDialog, 0 }
- };
- const QMetaObject *HistoryDialog::metaObject() const
- {
- return &staticMetaObject;
- }
- void *HistoryDialog::qt_metacast(const char *_clname)
- {
- if (!_clname) return 0;
- if (!strcmp(_clname, qt_meta_stringdata_HistoryDialog))
- return static_cast<void*>(const_cast< HistoryDialog*>(this));
- if (!strcmp(_clname, "Ui_HistoryDialog"))
- return static_cast< Ui_HistoryDialog*>(const_cast< HistoryDialog*>(this));
- return QDialog::qt_metacast(_clname);
- }
- int HistoryDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QDialog::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- switch (_id) {
- case 0: openUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
- case 1: customContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
- case 2: open(); break;
- case 3: copy(); break;
- }
- _id -= 4;
- }
- return _id;
- }
- // SIGNAL 0
- void HistoryDialog::openUrl(const QUrl & _t1)
- {
- void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
- QMetaObject::activate(this, &staticMetaObject, 0, _a);
- }
- QT_END_MOC_NAMESPACE