[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Jul 28 22:20:39 CEST 2004


CVS commit by staikos: 

add in support for a pointer to a config widget, to be embedded in the vector
dialog and data wizard.  Presently unused, but needed for binary compatibility
reasons post-1.0.


  M +4 -0      kstdatasource.cpp   1.26
  M +5 -1      kstdatasource.h   1.11


--- kdeextragear-2/kst/kst/kstdatasource.cpp  #1.25:1.26
@@ -369,3 +369,7 @@ void *KstDataSource::bufferRealloc(void 
 
 
+QGuardedPtr<QWidget> KstDataSource::configWidget() const {
+  return 0L;
+}
+
 // vim: ts=2 sw=2 et

--- kdeextragear-2/kst/kst/kstdatasource.h  #1.10:1.11
@@ -19,7 +19,8 @@
 #define KSTDATASOURCE_H
 
+#include <qdom.h>
+#include <qguardedptr.h>
 #include <qstring.h>
 #include <qtextstream.h>
-#include <qdom.h>
 
 #include "kstobject.h"
@@ -43,4 +44,5 @@ public:
   virtual ~KstDataSource();
 
+  // These three static methods are not for plugins to use
   /** Returns a list of plugins found on the system. */
   static QStringList pluginList();
@@ -91,4 +93,6 @@ public:
   virtual void *bufferRealloc(void *ptr, size_t size);
 
+  virtual QGuardedPtr<QWidget> configWidget() const;
+
 protected:
   virtual void virtual_hook(int id, void *data);





More information about the Kst mailing list