[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/interfaces
From: Johannes Simon <johannes.simon () gmail ! com>
Date: 2008-05-03 8:15:12
Message-ID: 1209802512.216585.19819.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 803518 by jsimon:
o Add method to convert a string back to a region
o Rename areaAt() to regionToString() which makes it more obvious what this \
method does o Instead of two QModelIndex'es, use QRect vectors to support \
incontinuous regions o Remove addArea() and removeArea() since there's now \
a way to access the entire spread sheet
M +3 -5 KoChartModel.h
--- trunk/koffice/interfaces/KoChartModel.h #803517:803518
@@ -21,6 +21,7 @@
#define KO_CHART_MODEL
#include <QAbstractTableModel>
+#include <QVector>
#include "kochart_export.h"
namespace KoChart {
@@ -60,11 +61,8 @@
ChartModel( QObject *parent = 0 );
virtual ~ChartModel();
- virtual QString areaAt( const QModelIndex &index ) const = 0;
- virtual QString areaAt( const QModelIndex &first, const QModelIndex \
&last ) const = 0;
-
- virtual bool addArea( const QString &area, int section, \
Qt::Orientation orientation ) = 0;
- virtual bool removeArea( const QString &area, int section, \
Qt::Orientation orientation ) = 0; + virtual QString regionToString( \
const QVector<QRect> ®ion ) const = 0; + virtual QVector<QRect> \
stringToRegion( const QString &string ) const = 0; };
} // Namespace KoChart
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic