[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: koffice/interfaces
From: David Faure <faure () kde ! org>
Date: 2007-10-01 8:43:06
Message-ID: 200710011043.06633.faure () kde ! org
[Download RAW message or body]
On Monday 01 October 2007, Inge Wallin wrote:
> SVN commit 719325 by ingwa:
>
> Use a real model instead of an interface
>
> M +2 -1 koChart.h
>
>
> --- trunk/koffice/interfaces/koChart.h #719324:719325
> @@ -26,6 +26,7 @@
>
>
> class QAbstractItemModel;
> +class QStandardItemModel;
>
> namespace KoChart
> {
> @@ -90,7 +91,7 @@
> ChartInterface();
> virtual ~ChartInterface();
>
> - virtual void setModel( QAbstractItemModel* model ) = 0;
> + virtual void setModel( QStandardItemModel* model ) = 0;
I'm curious. Why should kchart care which kind of model it's being given?
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic