[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Mon Jun 21 22:53:05 CEST 2004


CVS commit by staikos: 

pausing works


  M +7 -0      kst.cpp   1.157
  M +3 -0      kst.h   1.77


--- kdeextragear-2/kst/kst/kst.cpp  #1.156:1.157
@@ -330,4 +330,5 @@ void KstApp::initActions() {
   PauseAction->setToolTip(i18n("Pause"));
   PauseAction->setWhatsThis(i18n("When paused, new data will not be read."));
+  connect(PauseAction, SIGNAL(toggled(bool)), this, SLOT(updatePausedState(bool)));
 
   /************/
@@ -1450,4 +1451,10 @@ KstLabelDialogI *KstApp::labelDialog() c
 }
 
+
+void KstApp::updatePausedState(bool state) {
+  _updateThread->setPaused(state);
+}
+
+
 #include "kst.moc"
 // vim: ts=2 sw=2 et

--- kdeextragear-2/kst/kst/kst.h  #1.76:1.77
@@ -176,4 +176,7 @@ class KstApp : public KMdiMainFrm {
 
   public slots:
+
+    void updatePausedState(bool);
+
     void tieAll();
 





More information about the Kst mailing list