[Kst] kst_threading_branch: kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue Dec 30 04:01:25 CET 2003


CVS commit by staikos: 

beginning of the threading architecture


  A            updatethread.cpp   1.1.2.1 [GPL (v2+)]
  A            updatethread.h   1.1.2.1 [GPL (v2+)]
  M +1 -0      Makefile.am   1.56.2.1
  M +1 -1      kstobject.cpp   1.7.2.1
  M +4 -2      kstobject.h   1.14.2.1


--- kdeextragear-2/kst/kst/Makefile.am  #1.56:1.56.2.1
@@ -92,4 +92,5 @@
         kstscalar.cpp \
         kstsettings.cpp \
+        updatethread.cpp \
         kstdoc.cpp \
         kst.cpp \

--- kdeextragear-2/kst/kst/kstobject.cpp  #1.7:1.7.2.1
@@ -19,5 +19,5 @@
 
 KstObject::KstObject()
-: KShared(), QObject(), _lastUpdateCounter(0) {
+: KShared(), QObject(), QMutex(true), _lastUpdateCounter(0) {
 }
 

--- kdeextragear-2/kst/kst/kstobject.h  #1.14:1.14.2.1
@@ -20,12 +20,14 @@
 
 #include <ksharedptr.h>
+
+#include <qmutex.h>
+#include <qobject.h>
 #include <qstring.h>
 #include <qstringlist.h>
-#include <qobject.h>
 
 class KstObjectPrivate;
 
 // BINARY COMPATIBILITY IS NOT YET GUARANTEED
-class KstObject : public KShared, public QObject {
+class KstObject : public KShared, public QObject, public QMutex {
 public:
   KstObject();





More information about the Kst mailing list