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

Adam Treat treat at kde.org
Thu Feb 15 23:04:07 CET 2007


SVN commit 633964 by treat:

* KURL -> KUrl


 M  +1 -1      ksdebug.cpp  
 M  +3 -3      ksdebug.h  
 M  +2 -2      kstdatasource.cpp  


--- branches/work/kst/portto4/kst/src/libkst/ksdebug.cpp #633963:633964
@@ -467,7 +467,7 @@
     *this <<"]";
     return *this;
 }
-kstdbgstream& kstdbgstream::operator<<( const KURL& u ) {
+kstdbgstream& kstdbgstream::operator<<( const KUrl& u ) {
     *this << u.prettyURL();
     return *this;
 }
--- branches/work/kst/portto4/kst/src/libkst/ksdebug.h #633963:633964
@@ -36,7 +36,7 @@
 class QSize;
 class QRect;
 class QRegion;
-class KURL;
+class KUrl;
 class QStringList;
 class QColor;
 class QPen;
@@ -353,7 +353,7 @@
      * @param url the url to print
      * @return this stream
      */
-    kstdbgstream& operator << ( const KURL& url );
+    kstdbgstream& operator << ( const KUrl& url );
 
     /**
      * Prints the given value.
@@ -574,7 +574,7 @@
     kstndbgstream& operator<<( const QSize & )  { return *this; }
     kstndbgstream& operator<<( const QRect & )  { return *this; }
     kstndbgstream& operator<<( const QRegion & ) { return *this; }
-    kstndbgstream& operator<<( const KURL & )  { return *this; }
+    kstndbgstream& operator<<( const KUrl & )  { return *this; }
     kstndbgstream& operator<<( const QStringList & ) { return *this; }
     kstndbgstream& operator<<( const QColor & ) { return *this; }
     kstndbgstream& operator<<( const QPen & ) { return *this; }
--- branches/work/kst/portto4/kst/src/libkst/kstdatasource.cpp #633963:633964
@@ -58,12 +58,12 @@
 
 
 static QString obtainFile(const QString& source) {
-  KURL url;
+  KUrl url;
   
   if (QFile::exists(source) && QFileInfo(source).isRelative()) {
     url.setPath(source);
   } else {
-    url = KURL::fromPathOrURL(source);
+    url = KUrl::fromPathOrUrl(source);
   }
 
   if (url.isLocalFile() || url.protocol().isEmpty() || url.protocol().lower() == "nad") {


More information about the Kst mailing list