refs #485, renamed the trait for authenticated user to AuthenticatedDbUser

* there is no single authenticated user, this one has a specific usage
* adjusted classed
* formatting
This commit is contained in:
Klaus Basan
2016-02-29 23:34:24 +01:00
committed by Mathew Sutcliffe
parent f27d130df9
commit 55a0ab7b48
9 changed files with 21 additions and 20 deletions

View File

@@ -46,11 +46,11 @@ namespace BlackGui
bool isReadOnly() const { return m_readOnly; }
//! Authenticated user
const BlackMisc::Network::CAuthenticatedUser &getUser() const;
const BlackMisc::Network::CAuthenticatedUser &getSwiftDbUser() const;
protected:
bool m_readOnly = false; //!< read only
BlackMisc::CData<BlackCore::Data::AuthenticatedUser> m_user {this, &CForm::ps_userChanged}; //!< authenticated user
BlackMisc::CData<BlackCore::Data::AuthenticatedDbUser> m_swiftDbUser {this, &CForm::ps_userChanged}; //!< authenticated user
protected slots:
//! User has been changed