]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinapplication.h
Use a QActionGroup and save 6 slots (and the duplication of the action names in the...
[dolphin.git] / src / dolphinapplication.h
index ad95f23920b1e2a3f7b1a0dfde8dd34ac76c829c..8b19e6ef2487fe1df7957840b86817fb90783117 100644 (file)
 #define _DOLPHIN_APPLICATION_H
 
 #include <kuniqueapplication.h>
+#include <kurl.h>
 
 class DolphinMainWindow;
-class MetadataLoader;
+class KUrl;
 
 /**
  * @brief Holds the application data which can be accessed.
@@ -52,13 +53,11 @@ public:
     DolphinMainWindow* createMainWindow();
     void refreshMainWindows();
 
-    /**
-     * Returns the metadata loader.
-     */
-    MetadataLoader* metadataLoader();
+    /** @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. */