[Qt] New qt patch - QAbstractScrollArea implemented

Den Jean Den.Jean at telenet.be
Sat Jun 2 19:35:10 CEST 2007

On Saturday 02 June 2007 11:08:37 zeljko wrote:
> QAbstractItemView_create() ... so where's constructor & destructor for this

cannot create class instance of a class with abstract functions.

class Q_GUI_EXPORT QAbstractItemView : public QAbstractScrollArea
    virtual QRect visualRect(const QModelIndex &index) const = 0;

compile error:

In function QAbstractItemView__* QAbstractItemView_create(QWidget__*):
lib/qabstractitemview.cppb:17: error: cannot allocate an object of abstract type QAbstractItemView
note:   because the following virtual functions are pure within QAbstractItemView:
note:   virtual QRect QAbstractItemView::visualRect(const QModelIndex&) const


More information about the Qt mailing list