Kitlist
1.1.0
|
Represents an Item combined with GuiState attributes. More...
#include <kitmodel.hpp>
Public Member Functions | |
ModelItem () | |
virtual void | set_checked (bool checked) |
![]() | |
Item () | |
Item (const Item &i) | |
Creates a copy of this item based on the passed item. More... | |
void | set_id (long id) |
long | get_id () |
void | set_description (const std::string description) |
std::string | get_description () |
bool | get_checked () |
![]() | |
GuiState () | |
bool | is_dirty () |
void | set_dirty (bool dirty=true) |
bool | is_deleted () |
void | set_deleted (bool deleted) |
void | set_new_flag (bool flag) |
bool | is_new () |
virtual void | reset () |
resets the state of each flag to it's default. More... | |
Friends | |
class | ModelItemCompareId |
Additional Inherited Members | |
![]() | |
bool | m_dirty |
bool | m_deleted |
bool | m_new |
Represents an Item combined with GuiState attributes.
Definition at line 60 of file kitmodel.hpp.
|
inline |
Definition at line 62 of file kitmodel.hpp.
|
inlinevirtual |
Reimplemented from Item.
Definition at line 64 of file kitmodel.hpp.
References Item::set_checked(), and GuiState::set_dirty().
Referenced by KitParser::process_item(), and Service::update_item().
|
friend |
Definition at line 63 of file kitmodel.hpp.