Basic version of ConnectionTreeModel is working.

This commit is contained in:
eelke 2019-08-25 15:33:51 +02:00
parent 3721808df4
commit 8840d3bcbb
8 changed files with 348 additions and 3 deletions

View file

@ -7,6 +7,7 @@ class MasterController;
class ConnectionConfig;
class ConnectionList;
class ConnectionListModel;
class ConnectionTreeModel;
class ConnectionManagerWindow;
class PasswordManager;
@ -23,6 +24,11 @@ public:
return m_connectionListModel;
}
ConnectionTreeModel *getConnectionTreeModel()
{
return m_connectionTreeModel;
}
void showConnectionManager();
void openSqlWindowForConnection(int connection_index);
void openServerWindowForConnection(int connection_index);
@ -38,6 +44,7 @@ private:
MasterController *m_masterController;
ConnectionList *m_connectionList = nullptr;
ConnectionListModel *m_connectionListModel = nullptr;
ConnectionTreeModel *m_connectionTreeModel = nullptr;
ConnectionManagerWindow *m_connectionManagerWindow = nullptr;
/** Using long lived object so it can remember its master password for sometime