┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/kloadmetadatathread_p.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-02-28 21:03:58 +0000
committerPeter Penz <[email protected]>2010-02-28 21:03:58 +0000
commita0b010bb00fe10f2b3e927ff0c465839d6993b84 (patch)
tree09973a2b529582e0b603e3a37bf44b104a682edf /src/panels/information/kloadmetadatathread_p.h
parent072dacbb552cd743d99eb811aa4a2ddf4844090a (diff)
Only access the data of the thread that has been created most recently. Data of older threads will just get ignored.
svn path=/trunk/KDE/kdebase/apps/; revision=1097289
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()