]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinapplication.h
fix crash when opening a lot of columns and going back very fast by clicking on each...
[dolphin.git] / src / dolphinapplication.h
index fa6a1ceeefb6f0b7399b49d6accfaaaf5f5941be..af2006e7dc4a59c52874b0f2a3a0e4d2fb8922ed 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,12 @@ public:
     DolphinMainWindow* createMainWindow();
     void refreshMainWindows();
 
+    /** @see KUniqueApplication::newInstance(). */
+    virtual int newInstance();
+
 public slots:
-    int openWindow(const QString& url);
+    int openWindow(const KUrl& url);
+    int openSplitWindow(const KUrl& leftUrl,const KUrl& rightUrl);
 
 protected:
     /** Called by the DolphinMainWindow to deregister. */