]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinapplication.h
Don't try to apply the services-settings, if they have not even been shown. This...
[dolphin.git] / src / dolphinapplication.h
index ad95f23920b1e2a3f7b1a0dfde8dd34ac76c829c..2e8f7e7d73160dd68eddd96b1e60e895829a4982 100644 (file)
@@ -25,7 +25,6 @@
 #include <kuniqueapplication.h>
 
 class DolphinMainWindow;
-class MetadataLoader;
 
 /**
  * @brief Holds the application data which can be accessed.
@@ -52,15 +51,13 @@ public:
     DolphinMainWindow* createMainWindow();
     void refreshMainWindows();
 
-    /**
-     * Returns the metadata loader.
-     */
-    MetadataLoader* metadataLoader();
+    /** @see KUniqueApplication::newInstance(). */
+    virtual int newInstance();
 
-public slots:
-    int openWindow(const QString& url);
+    /** Interface implementation for D-Bus Interface. */
+    int openWindow(const QString& urlString);
 
-protected:
+private:
     /** Called by the DolphinMainWindow to deregister. */
     void removeMainWindow(DolphinMainWindow* mainWindow);