Index: kio/tests/kfstest.cpp
===================================================================
--- tests/kfstest.cpp	(revision 782659)
+++ tests/kfstest.cpp	(working copy)
@@ -42,6 +42,8 @@
 
 #include "kfdtest.h"
 #include <kconfiggroup.h>
+#include <kglobal.h>
+#include <kstandarddirs.h>
 
 int main(int argc, char **argv)
 {
@@ -98,6 +100,11 @@
             ++it;
         }
     }
+    else if (argv1 == QLatin1String("openurls")) {
+        QStringList globalDataDir = KGlobal::dirs()->findDirs("icon","oxygen/16x16");
+        KUrl::List urls = KFileDialog::getOpenUrls(globalDataDir[0], "*.png\n*");
+        qDebug() << urls;
+    }
 
     else if (argv1 == QLatin1String("dirs"))
         name1 = KFileDialog::getExistingDirectory();