#include <tasks.h>
Signals | |
void | added (size_t index) |
void | cleared () |
void | removed (const QString &task_id) |
void | taskChanged (size_t index) |
void | taskIdChanged (size_t task_index, const QString &task_id) |
Public Member Functions | |
Task * | addTask () |
void | clearTasks () |
bool | contains (const QString &id) const |
size_t | count () const |
Task * | getTask (size_t index) const |
bool | isEmpty () const |
void | load (QSettings &settings) |
Tasks & | operator= (const Tasks &config) |
void | read (QDataStream &stream) |
void | removeTask (Task *task) |
void | removeTask (size_t index) |
void | reset () |
void | save (QSettings &settings) const |
Tasks (QObject *parent=NULL) | |
QString | validate () const |
void | write (QDataStream &stream) const |
virtual | ~Tasks () |
Private Slots | |
void | taskChanged () |
void | taskDestroyed () |
void | taskIdChanged (const QString &task_id) |
Private Attributes | |
QVector< Task * > | tasks_ |
Definition at line 14 of file application/tasks.h.
rqt_mrta::config::application::Tasks::Tasks | ( | QObject * | parent = NULL | ) |
Definition at line 10 of file application/tasks.cpp.
rqt_mrta::config::application::Tasks::~Tasks | ( | ) | [virtual] |
Definition at line 12 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::added | ( | size_t | index | ) | [signal] |
Definition at line 32 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::cleared | ( | ) | [signal] |
Definition at line 58 of file application/tasks.cpp.
bool rqt_mrta::config::application::Tasks::contains | ( | const QString & | id | ) | const |
Definition at line 76 of file application/tasks.cpp.
size_t rqt_mrta::config::application::Tasks::count | ( | ) | const |
Definition at line 25 of file application/tasks.cpp.
Task * rqt_mrta::config::application::Tasks::getTask | ( | size_t | index | ) | const |
Definition at line 27 of file application/tasks.cpp.
bool rqt_mrta::config::application::Tasks::isEmpty | ( | ) | const |
Definition at line 88 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::load | ( | QSettings & | settings | ) | [virtual] |
Implements utilities::AbstractConfig.
Definition at line 102 of file application/tasks.cpp.
Definition at line 140 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::read | ( | QDataStream & | stream | ) | [virtual] |
Implements utilities::AbstractConfig.
Definition at line 132 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::removed | ( | const QString & | task_id | ) | [signal] |
void rqt_mrta::config::application::Tasks::removeTask | ( | Task * | task | ) |
Definition at line 45 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::removeTask | ( | size_t | index | ) |
Definition at line 47 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::reset | ( | ) | [virtual] |
Implements utilities::AbstractConfig.
Definition at line 122 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::save | ( | QSettings & | settings | ) | const [virtual] |
Implements utilities::AbstractConfig.
Definition at line 90 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::taskChanged | ( | size_t | index | ) | [signal] |
void rqt_mrta::config::application::Tasks::taskChanged | ( | ) | [private, slot] |
Definition at line 175 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::taskDestroyed | ( | ) | [private, slot] |
Definition at line 198 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::taskIdChanged | ( | size_t | task_index, |
const QString & | task_id | ||
) | [signal] |
void rqt_mrta::config::application::Tasks::taskIdChanged | ( | const QString & | task_id | ) | [private, slot] |
Definition at line 188 of file application/tasks.cpp.
QString rqt_mrta::config::application::Tasks::validate | ( | ) | const |
Definition at line 157 of file application/tasks.cpp.
void rqt_mrta::config::application::Tasks::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements utilities::AbstractConfig.
Definition at line 124 of file application/tasks.cpp.
QVector<Task*> rqt_mrta::config::application::Tasks::tasks_ [private] |
Definition at line 44 of file application/tasks.h.