Miscellaneous changes. Including a copy action.
This commit is contained in:
parent
242f5464df
commit
4a2c6cc396
19 changed files with 147 additions and 43 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "expected.h"
|
||||
|
||||
class PgsqlDatabaseCatalogue;
|
||||
class TypeSelectionItemModel;
|
||||
|
||||
/** Instances of this class represent a single database on which atleast one
|
||||
* window is opened. This class is used to track details about that database.
|
||||
|
|
@ -20,6 +21,8 @@ public:
|
|||
OpenDatabase& operator=(const OpenDatabase &) = delete;
|
||||
~OpenDatabase();
|
||||
|
||||
PgsqlDatabaseCatalogue* getCatalogue();
|
||||
TypeSelectionItemModel* getTypeSelectionModel();
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
|
@ -28,6 +31,8 @@ private:
|
|||
ConnectionConfig m_config;
|
||||
PgsqlDatabaseCatalogue *m_catalogue;
|
||||
|
||||
TypeSelectionItemModel *m_typeSelectionModel = nullptr;
|
||||
|
||||
OpenDatabase(const ConnectionConfig& cfg, QObject *parent = 0);
|
||||
bool Init();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue