#ifndef PGOWNEDOBJECT_H #define PGOWNEDOBJECT_H #include #include #include class PgDatabaseCatalog; class PgAuthId; class PgOwnedObject { public: void setOwnerOid(PgDatabaseCatalog& cat, Oid oid); Oid ownerOid() const; QString ownerName() const; const PgAuthId* owner() const; QString alterOwnerSql(const QString& ident) const; private: Oid m_ownerOid = InvalidOid; const PgAuthId * m_owner; }; #endif // PGOWNEDOBJECT_H