[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kspread
From: Inge Wallin <inge () lysator ! liu ! se>
Date: 2007-09-30 22:57:43
Message-ID: 1191193063.117348.14947.nullmailer () svn ! kde ! org
[Download RAW message or body]
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 <QAbstractTableModel>
+#include <QStandardItemModel>
#include <QSharedDataPointer>
#include <QVariant>
@@ -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);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic