From ccae7d1520548aaec95f6bd7302dd72c6fbdd6b9 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 8 Sep 2018 13:13:24 +0200 Subject: Replace ProfileManager::profileList() with ProfileManager::idList() --- lib/web/profilemanager.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/web/profilemanager.h') diff --git a/lib/web/profilemanager.h b/lib/web/profilemanager.h index f58fdb5..72af472 100644 --- a/lib/web/profilemanager.h +++ b/lib/web/profilemanager.h @@ -15,8 +15,8 @@ #include #include #include - -typedef QMapIterator ProfileIterator; +#include +#include #define profileManager ProfileManager::instance() @@ -32,10 +32,12 @@ public: WebProfile *loadProfile(const QString &path); + QMenu *createProfileMenu(std::function callback, QWidget *parent = nullptr) const; + + const QStringList idList() const; const QString id(WebProfile *profile) const; WebProfile *profile(const QString &id) const; const QString configurationPath(const QString &id) const; - const QMap profileList() const; private: struct ProfileData -- cgit v1.2.1