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:
parent
6370050204
commit
343390ff38
4 changed files with 24 additions and 17 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue