[Kst] branches/work/kst/portto4/kst/src/libkst

Adam Treat treat at kde.org
Thu Feb 15 23:37:26 CET 2007


SVN commit 633971 by treat:

* Use K3TempFile for now...


 M  +1 -1      kstdatasource.cpp  
 M  +2 -2      stdinsource.cpp  
 M  +2 -2      stdinsource.h  


--- branches/work/kst/portto4/kst/src/libkst/kstdatasource.cpp #633970:633971
@@ -64,7 +64,7 @@
   if (QFile::exists(source) && QFileInfo(source).isRelative()) {
     url.setPath(source);
   } else {
-    url = KUrl::fromPathOrUrl(source);
+    url = KUrl(source);
   }
 
   if (url.isLocalFile() || url.protocol().isEmpty() || url.protocol().toLower() == "nad") {
--- branches/work/kst/portto4/kst/src/libkst/stdinsource.cpp #633970:633971
@@ -18,7 +18,7 @@
 #include "config.h"
 #include "stdinsource.h"
 
-#include <ktempfile.h>
+#include <k3tempfile.h>
 
 #include <stdlib.h>
 #include <unistd.h>
@@ -36,7 +36,7 @@
 
 KstStdinSource::KstStdinSource(KConfig *cfg)
 : KstDataSource(cfg, "stdin", "stdin") {
-  _file = new KTempFile;
+  _file = new K3TempFile;
   _filename = _file->name();
   // Unfortunately we have to update here.  stdin is a special case.
   update();
--- branches/work/kst/portto4/kst/src/libkst/stdinsource.h #633970:633971
@@ -22,7 +22,7 @@
 
 #include "kst_export.h"
 
-class KTempFile;
+class K3TempFile;
 
 class KST_EXPORT KstStdinSource : public KstDataSource {
   public:
@@ -50,7 +50,7 @@
 
   private:
     KstDataSourcePtr _src;
-    KTempFile *_file;
+    K3TempFile *_file;
 };
 
 


More information about the Kst mailing list