kpilot
Memofiles Class Reference
#include <memofiles.h>
Public Member Functions | |
void | addModifiedMemo (PilotMemo *memo) |
int | count () |
void | deleteMemo (PilotMemo *memo) |
void | eraseLocalMemos () |
Memofile * | find (recordid_t id) |
Memofile * | find (const QString &category, const QString &filename) |
QPtrList< Memofile > | getAll () |
QPtrList< Memofile > | getModified () |
bool | isFirstSync () |
bool | isReady () |
void | load (bool loadAll) |
Memofiles (MemoCategoryMap &categories, PilotMemoInfo &appInfo, QString &baseDirectory, CUDCounter &fCtrHH) | |
MemoCategoryMap | readCategoryMetadata () |
void | save () |
void | setCategories (MemoCategoryMap map) |
void | setPilotMemos (QPtrList< PilotMemo > &memos) |
~Memofiles () | |
Static Public Member Functions | |
static QString | sanitizeName (QString name) |
Static Public Attributes | |
static QString | FIELD_SEP = CSL1("\t") |
Detailed Description
Definition at line 38 of file memofiles.h.
Constructor & Destructor Documentation
Memofiles::Memofiles | ( | MemoCategoryMap & | categories, | |
PilotMemoInfo & | appInfo, | |||
QString & | baseDirectory, | |||
CUDCounter & | fCtrHH | |||
) |
Definition at line 35 of file memofiles.cc.
Memofiles::~Memofiles | ( | ) |
Definition at line 51 of file memofiles.cc.
Member Function Documentation
void Memofiles::addModifiedMemo | ( | PilotMemo * | memo | ) |
Definition at line 365 of file memofiles.cc.
int Memofiles::count | ( | ) | [inline] |
Definition at line 67 of file memofiles.h.
void Memofiles::deleteMemo | ( | PilotMemo * | memo | ) |
Definition at line 350 of file memofiles.cc.
void Memofiles::eraseLocalMemos | ( | ) |
Definition at line 209 of file memofiles.cc.
Memofile * Memofiles::find | ( | recordid_t | id | ) |
Definition at line 319 of file memofiles.cc.
Definition at line 334 of file memofiles.cc.
Definition at line 57 of file memofiles.h.
Definition at line 403 of file memofiles.cc.
bool Memofiles::isFirstSync | ( | ) |
Definition at line 601 of file memofiles.cc.
bool Memofiles::isReady | ( | ) | [inline] |
Definition at line 54 of file memofiles.h.
void Memofiles::load | ( | bool | loadAll | ) |
Definition at line 56 of file memofiles.cc.
MemoCategoryMap Memofiles::readCategoryMetadata | ( | ) |
Definition at line 476 of file memofiles.cc.
Definition at line 692 of file memofiles.cc.
void Memofiles::save | ( | ) |
Definition at line 424 of file memofiles.cc.
void Memofiles::setCategories | ( | MemoCategoryMap | map | ) | [inline] |
Definition at line 62 of file memofiles.h.
Definition at line 231 of file memofiles.cc.
Member Data Documentation
QString Memofiles::FIELD_SEP = CSL1("\t") [static] |
Definition at line 62 of file memofiles.h.
The documentation for this class was generated from the following files: