]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/tests/testdir.cpp
port Dolphin from KUrl to QUrl
[dolphin.git] / src / tests / testdir.cpp
index 8938e6082acf2b70353a7803c21135f55e3fb86f..dcc4c87a5dc3f3c5fff090d9807873ef52bc75f3 100644 (file)
@@ -36,9 +36,9 @@ TestDir::~TestDir()
 {
 }
 
-KUrl TestDir::url() const
+QUrl TestDir::url() const
 {
-    return KUrl(name());
+    return QUrl::fromLocalFile(name());
 }
 
 /** The following function is taken from kdelibs/kio/tests/kiotesthelper.h, copyright (C) 2006 by David Faure */