Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schuster <michael@schuster.ms>2020-01-15 18:23:46 +0300
committerMichael Schuster <michael@schuster.ms>2020-01-15 18:23:46 +0300
commitcb328d6cea33186110068eb1d5293d9f7721b261 (patch)
tree8a04010c7ddbb8bf89863b948cffe1881085c6b8 /src/gui/owncloudgui.h
parentb57b8cfb66a16ede3552933b9c8a72b9562d73d4 (diff)
Fetch server Apps in AccountState (moved from ownCloudGui)
- Add a new class AccountApp to keep them in an AccountAppList and also save properties like ID and Icon URL. - Clear the app list upon re-fetch to avoid endlessly growing lists like in the previous implementation in ownCloudGui. Signed-off-by: Michael Schuster <michael@schuster.ms>
Diffstat (limited to 'src/gui/owncloudgui.h')
-rw-r--r--src/gui/owncloudgui.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gui/owncloudgui.h b/src/gui/owncloudgui.h
index 9efd34e8b..928a0fbd0 100644
--- a/src/gui/owncloudgui.h
+++ b/src/gui/owncloudgui.h
@@ -91,8 +91,6 @@ public slots:
void slotOpenPath(const QString &path);
void slotAccountStateChanged();
void slotTrayMessageIfServerUnsupported(Account *account);
- void slotNavigationAppsFetched(const QJsonDocument &reply, int statusCode);
- void slotEtagResponseHeaderReceived(const QByteArray &value, int statusCode);
/**
@@ -106,9 +104,6 @@ public slots:
void slotRemoveDestroyedShareDialogs();
-protected slots:
- void slotOcsError(int statusCode, const QString &message);
-
private slots:
void slotLogin();
void slotLogout();
@@ -118,8 +113,6 @@ private slots:
private:
void setPauseOnAllFoldersHelper(bool pause);
- void fetchNavigationApps(AccountStatePtr account);
- void buildNavigationAppsMenu(AccountStatePtr account, QMenu *accountMenu);
QPointer<Systray> _tray;
QPointer<SettingsDialog> _settingsDialog;
@@ -129,8 +122,6 @@ private:
QDBusConnection _bus;
#endif
- QMenu *_recentActionsMenu;
- QVector<QMenu *> _accountMenus;
QMap<QString, QPointer<ShareDialog>> _shareDialogs;
QAction *_actionNewAccountWizard;
@@ -138,9 +129,6 @@ private:
QAction *_actionEstimate;
- QMenu *_navLinksMenu;
- QMap<AccountStatePtr, QJsonArray> _navApps;
-
QList<QAction *> _recentItemsActions;
Application *_app;
};