Renamed PgsqlDatabaseCatalogue to PgDatabaseCatalogue so name is consistend
with other related classes.
This commit is contained in:
parent
52442a145d
commit
243f1c0a42
21 changed files with 491 additions and 61 deletions
|
|
@ -1,10 +1,10 @@
|
|||
#ifndef DATABASESTABLEMODEL_H
|
||||
#ifndef DATABASESTABLEMODEL_H
|
||||
#define DATABASESTABLEMODEL_H
|
||||
|
||||
#include <QAbstractTableModel>
|
||||
|
||||
class PgDatabaseContainer;
|
||||
class PgsqlDatabaseCatalogue;
|
||||
class PgDatabaseCatalogue;
|
||||
|
||||
/** Class for displaying the list of databases of a server in a QTableView
|
||||
*
|
||||
|
|
@ -22,7 +22,7 @@ public:
|
|||
|
||||
explicit DatabasesTableModel(QObject *parent);
|
||||
|
||||
void setDatabaseList(const PgsqlDatabaseCatalogue* cat);
|
||||
void setDatabaseList(const PgDatabaseCatalogue* cat);
|
||||
|
||||
// Header:
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
|
||||
|
|
@ -34,7 +34,7 @@ public:
|
|||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
|
||||
private:
|
||||
const PgsqlDatabaseCatalogue *m_catalog = nullptr;
|
||||
const PgDatabaseCatalogue *m_catalog = nullptr;
|
||||
const PgDatabaseContainer *m_databases = nullptr;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue