diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-05-11 12:15:35 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-05-26 17:57:02 +0300 |
commit | f9dbdd4420a21eaba24f0c70d9bf702e346bde06 (patch) | |
tree | 8964d438858311be50f99115e6bb3b6ca22e1da6 /src/gui/accountmanager.h | |
parent | f53341b1bbcfbf49ad66728355629b74c165e5df (diff) |
Sort account list
Diffstat (limited to 'src/gui/accountmanager.h')
-rw-r--r-- | src/gui/accountmanager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/accountmanager.h b/src/gui/accountmanager.h index e7a77f5f9..41232127e 100644 --- a/src/gui/accountmanager.h +++ b/src/gui/accountmanager.h @@ -88,6 +88,11 @@ public: */ static void backwardMigrationSettingsKeys(QStringList *deleteKeys, QStringList *ignoreKeys); + /** + * Returns a sorted list of displayNames + */ + QStringList accountNames() const; + private: // saving and loading Account to settings void saveAccountHelper(Account *account, QSettings &settings, bool saveCredentials = true); |