summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_dirpart.cc
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.cc
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.cc')
-rw-r--r--libkonq/konq_dirpart.cc13
1 files changed, 9 insertions, 4 deletions
diff --git a/libkonq/konq_dirpart.cc b/libkonq/konq_dirpart.cc
index 602496b7c..030cc90a9 100644
--- a/libkonq/konq_dirpart.cc
+++ b/libkonq/konq_dirpart.cc
@@ -440,20 +440,25 @@ void KonqDirPart::updatePasteAction() // KDE4: merge into method above
emit m_extension->enableAction( "paste", paste );
}
-void KonqDirPart::newItems( const KFileItemList & entries )
+void KonqDirPart::newItems(const KFileItemList &entries)
{
d->dirSizeDirty = true;
if ( m_findPart ) {
emitTotalCount();
}
- emit itemsAdded( entries );
+ emit itemsAdded(entries);
}
-void KonqDirPart::deleteItem( KFileItem * fileItem )
+void KonqDirPart::deleteItem(KFileItem * fileItem)
{
d->dirSizeDirty = true;
- emit itemRemoved( fileItem );
+ emit itemRemoved(fileItem);
+}
+
+void KonqDirPart::refreshItems(const KFileItemList &entries)
+{
+ emit itemsRefresh(entries);
}
void KonqDirPart::emitTotalCount()