[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Apr 6 07:32:58 CEST 2005


CVS commit by staikos: 

method to set the provider


  M +5 -0      kstscalar.cpp   1.41
  M +3 -0      kstscalar.h   1.30
  M +5 -0      kststring.cpp   1.9
  M +3 -0      kststring.h   1.7


--- kdeextragear-2/kst/kst/kststring.cpp  #1.8:1.9
@@ -120,4 +120,9 @@ void KstString::setValue(const QString& 
 
 
+void KstString::setProvider(KstObject *obj) {
+  _provider = obj;
+}
+
+
 #include "kststring.moc"
 // vim: ts=2 sw=2 et

--- kdeextragear-2/kst/kst/kststring.h  #1.6:1.7
@@ -41,4 +41,7 @@ class KST_EXPORT KstString : public KstO
     KstString& operator=(const char *v);
 
+    // Must not be a KstObjectPtr!
+    virtual void setProvider(KstObject *obj);
+
   public slots:
     /* return the value of the string */

--- kdeextragear-2/kst/kst/kstscalar.cpp  #1.40:1.41
@@ -176,4 +176,9 @@ void KstScalar::setEditable(bool editabl
 }
 
+
+void KstScalar::setProvider(KstObject *obj) {
+  _provider = obj;
+}
+
 #include "kstscalar.moc"
 // vim: et ts=2 sw=2

--- kdeextragear-2/kst/kst/kstscalar.h  #1.29:1.30
@@ -52,4 +52,7 @@ class KST_EXPORT KstScalar : public KstO
     bool isGlobal() const;
 
+    // Must not be a KstObjectPtr!
+    virtual void setProvider(KstObject *obj);
+
   public slots:
     double value() const;




More information about the Kst mailing list