diff options
| author | Peter Penz <[email protected]> | 2012-04-28 23:58:56 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-04-29 00:00:38 +0200 |
| commit | b419cfc5974192f3445b6a439b40bae4af119615 (patch) | |
| tree | 3e31094427b7f54fd6ffb5771890ed02e0662795 /src/kitemviews/kstandarditemmodel.h | |
| parent | 0a00f13bf246d37182dafcd053776048f63d2299 (diff) | |
Places Panel fixes
Implement adding, editing and removing of entries. Note that the
result currently is still not stored in bookmarks.xml (this needs
to wait until the hiding is implemented in the model).
Diffstat (limited to 'src/kitemviews/kstandarditemmodel.h')
| -rw-r--r-- | src/kitemviews/kstandarditemmodel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kitemviews/kstandarditemmodel.h b/src/kitemviews/kstandarditemmodel.h index 01d2d4d76..5cf60085b 100644 --- a/src/kitemviews/kstandarditemmodel.h +++ b/src/kitemviews/kstandarditemmodel.h @@ -44,8 +44,9 @@ public: virtual ~KStandardItemModel(); void insertItem(int index, KStandardItem* item); + void replaceItem(int index, KStandardItem* item); void appendItem(KStandardItem* item); - void removeItem(KStandardItem* item); + void removeItem(int index); KStandardItem* item(int index) const; int index(const KStandardItem* item) const; |
