Add EntryModel.

This commit is contained in:
Felix Geyer
2010-08-18 16:22:48 +02:00
parent 84bc5ef463
commit 8d623f37ca
11 changed files with 341 additions and 9 deletions

View File

@@ -32,6 +32,7 @@ class Group : public QObject
public:
Group();
~Group();
Uuid uuid() const;
QString name() const;
QString notes() const;
@@ -65,10 +66,18 @@ public:
Q_SIGNALS:
void dataChanged(const Group* group);
void aboutToRemove(const Group* group);
void removed();
void aboutToAdd(const Group* group, int index);
void added();
void aboutToRemove(const Group* group);
void removed();
void entryAboutToAdd(const Entry* entry);
void entryAdded();
void entryAboutToRemove(const Entry* entry);
void entryRemoved();
void entryDataChanged(const Entry* entry);
private:
void recSetDatabase(Database* db);