Renamed MainWindow to DatabaseWindow so the name tells us the functionality provided by the window.
MainWindow was really a bad name as the app doesn't have a main window.
This commit is contained in:
parent
437736a023
commit
69473d65d2
10 changed files with 58 additions and 55 deletions
|
|
@ -13,14 +13,14 @@ namespace Ui {
|
|||
|
||||
class OpenDatabase;
|
||||
class CrudModel;
|
||||
class MainWindow;
|
||||
class DatabaseWindow;
|
||||
|
||||
class CrudTab : public PlgPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CrudTab(MainWindow *parent = 0);
|
||||
explicit CrudTab(DatabaseWindow *parent = 0);
|
||||
~CrudTab() override;
|
||||
|
||||
void setConfig(std::shared_ptr<OpenDatabase> db, const PgClass &table);
|
||||
|
|
@ -31,7 +31,7 @@ public:
|
|||
private:
|
||||
Ui::CrudTab *ui;
|
||||
|
||||
MainWindow *m_window;
|
||||
DatabaseWindow *m_window;
|
||||
|
||||
std::shared_ptr<OpenDatabase> m_db;
|
||||
std::optional<PgClass> m_table;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue