Because that's what it is. It's a subclass anyway but saves us some
casts in the future.
-KFilePlacesModel *DolphinPlacesModelSingleton::placesModel() const
+DolphinPlacesModel *DolphinPlacesModelSingleton::placesModel() const
{
return m_placesModel.data();
}
{
return m_placesModel.data();
}
public:
static DolphinPlacesModelSingleton& instance();
public:
static DolphinPlacesModelSingleton& instance();
- KFilePlacesModel *placesModel() const;
+ DolphinPlacesModel *placesModel() const;
/** A suffix to the application-name of the stored bookmarks is
added, which is only read by PlacesItemModel. */
static QString applicationNameSuffix();
/** A suffix to the application-name of the stored bookmarks is
added, which is only read by PlacesItemModel. */
static QString applicationNameSuffix();
private:
DolphinPlacesModelSingleton();
private:
DolphinPlacesModelSingleton();
- QScopedPointer<KFilePlacesModel> m_placesModel;
+ QScopedPointer<DolphinPlacesModel> m_placesModel;
};
#endif // DOLPHINPLACESMODELSINGLETON_H
};
#endif // DOLPHINPLACESMODELSINGLETON_H