Opening of a window for a database is now done by the MasterController.

The ConnectionManager just passes on the action now.
This commit is contained in:
Eelke Klein 2017-02-01 19:59:07 +01:00
parent 6370050204
commit 343390ff38
4 changed files with 24 additions and 17 deletions

View file

@ -8,6 +8,8 @@ class ConnectionConfig;
class ConnectionListModel;
class ConnectionManagerWindow;
/** \brief Controller class responsible for all things global.
*/
class MasterController : public QObject
{
Q_OBJECT
@ -24,11 +26,14 @@ public:
void showConnectionManager();
void openWindowForConnection(int connection_index);
signals:
public slots:
private:
ConnectionListModel *m_connectionListModel = nullptr;
ConnectionManagerWindow *m_connectionManagerWindow = nullptr;
};