diff -r 56cd8111b7f7 -r 41300fa6a67c src/gui/itemviews/qlistwidget_p.h --- a/src/gui/itemviews/qlistwidget_p.h Tue Jan 26 12:42:25 2010 +0200 +++ b/src/gui/itemviews/qlistwidget_p.h Tue Feb 02 00:43:10 2010 +0200 @@ -77,7 +77,7 @@ { return *i2 < *i1; } }; -class QListModel : public QAbstractListModel +class Q_AUTOTEST_EXPORT QListModel : public QAbstractListModel { Q_OBJECT public: @@ -90,6 +90,7 @@ void insert(int row, const QStringList &items); void remove(QListWidgetItem *item); QListWidgetItem *take(int row); + void move(int srcRow, int dstRow); int rowCount(const QModelIndex &parent = QModelIndex()) const;