[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue Apr 26 17:42:30 CEST 2005


CVS commit by staikos: 

revert const changes - this is a public interface.  We don't gain much from it
so it's not worth duplicating the method.


  M +1 -1      kstdatasource.cpp   1.68
  M +1 -1      kstdatasource.h   1.43


--- kdeextragear-2/kst/kst/kstdatasource.cpp  #1.67:1.68
@@ -480,5 +480,5 @@ QStringList KstDataSource::fieldListForS
 
 
-KstDataSourcePtr KstDataSource::loadSource(const QDomElement& e) {
+KstDataSourcePtr KstDataSource::loadSource(QDomElement& e) {
   QString filename, type;
 

--- kdeextragear-2/kst/kst/kstdatasource.h  #1.42:1.43
@@ -55,5 +55,5 @@ class KST_EXPORT KstDataSource : public 
 
     static KstSharedPtr<KstDataSource> loadSource(const QString& filename, const QString& type = QString::null);
-    static KstSharedPtr<KstDataSource> loadSource(const QDomElement& e);
+    static KstSharedPtr<KstDataSource> loadSource(QDomElement& e);
     static QStringList fieldListForSource(const QString& filename, const QString& type = QString::null, QString *outType = 0L, bool *complete = 0L);
     static KstDataSourceConfigWidget *configWidgetForSource(const QString& filename, const QString& type);




More information about the Kst mailing list