// promoted widget QListView -> QListViewExt
#ifndef QLISTVIEWEXT_H
#define QLISTVIEWEXT_H
#include <qlistview.h>
{
Q_OBJECT
public:
QListViewExt
(QWidget *parent
= 0,
const char *name
= 0);
~QListViewExt();
};
#endif
// promoted widget QListView -> QListViewExt
#ifndef QLISTVIEWEXT_H
#define QLISTVIEWEXT_H
#include <qlistview.h>
class QListViewExt : public QListView
{
Q_OBJECT
public:
QListViewExt(QWidget *parent = 0, const char *name = 0);
~QListViewExt();
};
#endif
To copy to clipboard, switch view to plain text mode
/****************************************************************************
** Meta object code from reading C++ file 'qlistviewext.h'
**
** Created: dim. 25. juin 10:56:43 2006
** by: The Qt Meta Object Compiler version 59 (Qt 4.1.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "qlistviewext.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qlistviewext.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.1.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
// The problem is at this line
// The problem is at this line
static const uint qt_meta_data_QListViewExt[] = {
// error : 'uint' does not name a type
// error : 'uint' does not name a type
// 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_QListViewExt[] = {
"QListViewExt\0"
};
{ &QListView::staticMetaObject, qt_meta_stringdata_QListViewExt,
// The problem is at this line
// The problem is at this line
qt_meta_data_QListViewExt, 0 }
// error : : 'qt_meta_data_QListViewExt' was not declared in this scope
// error : : 'qt_meta_data_QListViewExt' was not declared in this scope
};
{
return &staticMetaObject;
}
void *QListViewExt::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_QListViewExt))
return static_cast<void*>(const_cast<QListViewExt*>(this));
}
int QListViewExt
::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a
) {
if (_id < 0)
return _id;
return _id;
}
/****************************************************************************
** Meta object code from reading C++ file 'qlistviewext.h'
**
** Created: dim. 25. juin 10:56:43 2006
** by: The Qt Meta Object Compiler version 59 (Qt 4.1.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "qlistviewext.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qlistviewext.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.1.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
// The problem is at this line
// The problem is at this line
static const uint qt_meta_data_QListViewExt[] = {
// error : 'uint' does not name a type
// error : 'uint' does not name a type
// 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_QListViewExt[] = {
"QListViewExt\0"
};
const QMetaObject QListViewExt::staticMetaObject = {
{ &QListView::staticMetaObject, qt_meta_stringdata_QListViewExt,
// The problem is at this line
// The problem is at this line
qt_meta_data_QListViewExt, 0 }
// error : : 'qt_meta_data_QListViewExt' was not declared in this scope
// error : : 'qt_meta_data_QListViewExt' was not declared in this scope
};
const QMetaObject *QListViewExt::metaObject() const
{
return &staticMetaObject;
}
void *QListViewExt::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_QListViewExt))
return static_cast<void*>(const_cast<QListViewExt*>(this));
return QListView::qt_metacast(_clname);
}
int QListViewExt::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QListView::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
return _id;
}
To copy to clipboard, switch view to plain text mode
(so there are two erros (in red comments))
Bookmarks