]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinapplication.h
Fix the bug reported by Will. Now this code is also more polite. This was a TODO...
[dolphin.git] / src / dolphinapplication.h
index fa6a1ceeefb6f0b7399b49d6accfaaaf5f5941be..8b19e6ef2487fe1df7957840b86817fb90783117 100644 (file)
 #define _DOLPHIN_APPLICATION_H
 
 #include <kuniqueapplication.h>
+#include <kurl.h>
 
 class DolphinMainWindow;
+class KUrl;
 
 /**
  * @brief Holds the application data which can be accessed.
@@ -51,8 +53,11 @@ public:
     DolphinMainWindow* createMainWindow();
     void refreshMainWindows();
 
+    /** @see KUniqueApplication::newInstance(). */
+    virtual int newInstance();
+
 public slots:
-    int openWindow(const QString& url);
+    int openWindow(const KUrl& url);
 
 protected:
     /** Called by the DolphinMainWindow to deregister. */