]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinplacesmodelsingleton.h
GIT_SILENT Sync po/docbooks with svn
[dolphin.git] / src / dolphinplacesmodelsingleton.h
index 13e1193423d23a6655717344d6ff8d89e99b2703..161a19cbc82beae5a4a5fdb92ec1edfe5396245d 100644 (file)
@@ -7,8 +7,8 @@
 #ifndef DOLPHINPLACESMODELSINGLETON_H
 #define DOLPHINPLACESMODELSINGLETON_H
 
-#include <QString>
 #include <QScopedPointer>
+#include <QString>
 
 #include <KFilePlacesModel>
 
@@ -23,7 +23,7 @@ class DolphinPlacesModel : public KFilePlacesModel
     Q_OBJECT
 
 public:
-    explicit DolphinPlacesModel(const QString &alternativeApplicationName, QObject *parent = nullptr);
+    explicit DolphinPlacesModel(QObject *parent = nullptr);
     ~DolphinPlacesModel() override;
 
     bool panelsLocked() const;
@@ -50,17 +50,13 @@ private:
  */
 class DolphinPlacesModelSingleton
 {
-
 public:
-    static DolphinPlacesModelSingletoninstance();
+    static DolphinPlacesModelSingleton &instance();
 
     DolphinPlacesModel *placesModel() const;
-    /** A suffix to the application-name of the stored bookmarks is
-     added, which is only read by PlacesItemModel. */
-    static QString applicationNameSuffix();
 
-    DolphinPlacesModelSingleton(const DolphinPlacesModelSingleton&) = delete;
-    DolphinPlacesModelSingleton& operator=(const DolphinPlacesModelSingleton&) = delete;
+    DolphinPlacesModelSingleton(const DolphinPlacesModelSingleton &) = delete;
+    DolphinPlacesModelSingleton &operator=(const DolphinPlacesModelSingleton &) = delete;
 
 private:
     DolphinPlacesModelSingleton();