summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_dirpart.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2015-01-16 12:35:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2015-01-16 12:35:56 +0900
commitbf0861baf08e739ab3721d642178dbab64015675 (patch)
treee77cbb6b99496c49bc7a4b5146fc44e9ef6cd43d /libkonq/konq_dirpart.h
parent1c7fa323c3529f99f878f4c25a175c8f9b9d42c7 (diff)
downloadtdebase-bf0861baf08e739ab3721d642178dbab64015675.tar.gz
tdebase-bf0861baf08e739ab3721d642178dbab64015675.zip
Added required refreshItems logic. This relates to bug 146.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkonq/konq_dirpart.h')
-rw-r--r--libkonq/konq_dirpart.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/libkonq/konq_dirpart.h b/libkonq/konq_dirpart.h
index 6b24bf9c5..4a8d82cca 100644
--- a/libkonq/konq_dirpart.h
+++ b/libkonq/konq_dirpart.h
@@ -129,6 +129,11 @@ public:
void deleteItem( KFileItem * fileItem );
/**
+ * Refresh the items
+ */
+ void refreshItems(const KFileItemList &entries);
+
+ /**
* Show the counts for the directory in the status bar
*/
void emitTotalCount();
@@ -220,13 +225,19 @@ signals:
* Emitted as the part is updated with new items.
* Useful for informing plugins of changes in view.
*/
- void itemsAdded( const KFileItemList& );
+ void itemsAdded(const KFileItemList &);
/**
* Emitted as the part is updated with these items.
* Useful for informing plugins of changes in view.
*/
- void itemRemoved( const KFileItem* );
+ void itemRemoved(const KFileItem *);
+
+ /**
+ * Emitted when items need to be refreshed (for example when
+ * a file is renamed)
+ */
+ void itemsRefresh(const KFileItemList &);
/**
* Emitted with the list of filtered-out items whenever