The catalogue now loads the list of databases en there is a table model that can show this data.

This commit is contained in:
eelke 2017-02-12 14:03:42 +01:00
parent a9430bca1a
commit 20af12535e
22 changed files with 504 additions and 118 deletions

26
src/PgDatabaseContainer.h Normal file
View file

@ -0,0 +1,26 @@
#ifndef PGDATABASECONTAINER_H
#define PGDATABASECONTAINER_H
#include <vector>
#include "PgContainer.h"
#include "PgDatabase.h"
namespace Pgsql {
class Result;
}
class PgDatabaseContainer: public PgContainer<PgDatabase> {
public:
PgDatabaseContainer();
std::string getLoadQuery() const;
void load(const Pgsql::Result &res);
private:
};
#endif // PGDATABASECONTAINER_H