DatabaseWindow no longer has to pass the config to QueryTab, QueryTab can now init itself from the supplied context.
This commit is contained in:
parent
2a7e505dbf
commit
a54a063c13
3 changed files with 8 additions and 15 deletions
|
|
@ -37,10 +37,7 @@ public:
|
|||
QueryTab(IPluginContentWidgetContext *context, QWidget *parent = nullptr);
|
||||
~QueryTab() override;
|
||||
|
||||
void setConfig(const ConnectionConfig &config, std::shared_ptr<PgDatabaseCatalog>cat);
|
||||
|
||||
void newdoc();
|
||||
// void open();
|
||||
bool load(const QString &filename);
|
||||
bool save();
|
||||
bool saveAs();
|
||||
|
|
@ -50,7 +47,7 @@ public:
|
|||
void explain(bool analyze);
|
||||
void cancel();
|
||||
|
||||
bool canClose();
|
||||
bool canClose() override;
|
||||
|
||||
void copyQueryAsCString();
|
||||
void copyQueryAsRawCppString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue