┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/kloadmetadatathread_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/panels/information/kloadmetadatathread_p.h')
-rw-r--r--src/panels/information/kloadmetadatathread_p.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/panels/information/kloadmetadatathread_p.h b/src/panels/information/kloadmetadatathread_p.h
index fddb01a1a..6aba52ad3 100644
--- a/src/panels/information/kloadmetadatathread_p.h
+++ b/src/panels/information/kloadmetadatathread_p.h
@@ -57,6 +57,14 @@ public:
void load(const KUrl::List& urls);
/**
+ * Tells the thread that it should cancel as soon
+ * as possible. It is undefined when the thread
+ * gets cancelled. The signal finished() will emitted
+ * after the cancelling has been done.
+ */
+ void cancel();
+
+ /**
* Cancels the thread and assures that the thread deletes
* itself as soon as the cancelling has been successful. In
* opposite to QThread::wait() the caller of cancelAndDelete()