Attica::HomePageType
#include <Attica/HomePageType>
Public Types | |
typedef QList< HomePageType > | List |
Public Member Functions | |
HomePageType () | |
HomePageType (const HomePageType &other) | |
~HomePageType () | |
uint | id () const |
QString | name () const |
HomePageType & | operator= (const HomePageType &other) |
void | setId (uint id) |
void | setName (const QString &name) |
Detailed Description
The HomePageType class contains information about one home page type.
It consists of an integer id and a home page type name.
Definition at line 26 of file homepagetype.h.
Member Typedef Documentation
◆ List
Definition at line 29 of file homepagetype.h.
Constructor & Destructor Documentation
◆ HomePageType() [1/2]
HomePageType::HomePageType | ( | ) |
Creates an empty HomePageType.
Definition at line 26 of file homepagetype.cpp.
◆ HomePageType() [2/2]
HomePageType::HomePageType | ( | const HomePageType & | other | ) |
Copy constructor.
- Parameters
-
other the HomePageType to copy from
Definition at line 31 of file homepagetype.cpp.
◆ ~HomePageType()
HomePageType::~HomePageType | ( | ) |
Destructor.
Definition at line 42 of file homepagetype.cpp.
Member Function Documentation
◆ id()
uint HomePageType::id | ( | ) | const |
Definition at line 46 of file homepagetype.cpp.
◆ name()
QString HomePageType::name | ( | ) | const |
Definition at line 56 of file homepagetype.cpp.
◆ operator=()
HomePageType & HomePageType::operator= | ( | const HomePageType & | other | ) |
Assignment operator.
- Parameters
-
other the HomePageType to assign from
- Returns
- pointer to this HomePageType
Definition at line 36 of file homepagetype.cpp.
◆ setId()
void HomePageType::setId | ( | uint | id | ) |
Definition at line 51 of file homepagetype.cpp.
◆ setName()
void HomePageType::setName | ( | const QString & | name | ) |
Definition at line 61 of file homepagetype.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.