TreeFrogFramework  2.8
tabstractuser.h
Go to the documentation of this file.
1 #pragma once
2 #include <QString>
3 #include <TGlobal>
4 
5 
7 public:
8  virtual ~TAbstractUser() { }
9  virtual QString identityKey() const = 0;
10  virtual QString groupKey() const { return QString(); }
11 };
12 
The TAbstractUser class is the abstract base class of users, providing functionality common to users.
Definition: tabstractuser.h:6
virtual QString groupKey() const
Returns the group key, such as a group name.
Definition: tabstractuser.h:10
virtual QString identityKey() const =0
Returns the identity key, such as a user name.
virtual ~TAbstractUser()
Destroys the user object.
Definition: tabstractuser.h:8
#define T_CORE_EXPORT
Definition: tdeclexport.h:28