From kde-commits Sun Sep 30 22:57:43 2007 From: Inge Wallin Date: Sun, 30 Sep 2007 22:57:43 +0000 To: kde-commits Subject: koffice/kspread Message-Id: <1191193063.117348.14947.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=119119307005431 SVN commit 719337 by ingwa: Make compile with the new KChart API M +2 -2 Binding.cpp M +3 -3 Binding.h --- trunk/koffice/kspread/Binding.cpp #719336:719337 @@ -66,7 +66,7 @@ return d->model->region().isEmpty(); } -QAbstractItemModel* Binding::model() const +QStandardItemModel* Binding::model() const { return d->model; } @@ -120,7 +120,7 @@ BindingModel::BindingModel(const Region& region) - : QAbstractTableModel() + : QStandardItemModel() , m_region(region) { } --- trunk/koffice/kspread/Binding.h #719336:719337 @@ -20,7 +20,7 @@ #ifndef KSPREAD_BINDING #define KSPREAD_BINDING -#include +#include #include #include @@ -30,7 +30,7 @@ namespace KSpread { -class BindingModel : public QAbstractTableModel +class BindingModel : public QStandardItemModel { Q_OBJECT @@ -69,7 +69,7 @@ bool isEmpty() const; - QAbstractItemModel* model() const; + QStandardItemModel* model() const; const Region& region() const; void setRegion(const Region& region);