[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Fri Mar 12 20:37:31 CET 2004


CVS commit by arwalker: 

Add code to save kst configuration from ELOG extension


  M +4 -0      kstview.cpp   1.87


--- kdeextragear-2/kst/kst/kstview.cpp  #1.86:1.87
@@ -192,4 +192,8 @@ void KstView::customEvent( QCustomEvent*
       pCaptureStruct->pBuffer->reset( );
     }
+  } else if( pEvent->type() == KstELOGConfigureEvent ) {
+    QTextStream* pTextStream = (QTextStream*)pEvent->data();
+    
+    ParentApp->getDocument()->saveDocument(*pTextStream);
   }
 }





More information about the Kst mailing list