┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/kmetadatawidget.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-11-11 18:59:29 +0000
committerPeter Penz <[email protected]>2009-11-11 18:59:29 +0000
commit36ae0b6185e310113e0e31e247919da866d7f91b (patch)
tree0b3ee37adc99e364993c0624c56a8e8760d4bcb4 /src/panels/information/kmetadatawidget.h
parent6d0ddb92fd7e872a9b54782a2bf2a998c7980531 (diff)
* don't show the "Add Tags..." and "Add Comments..." links for the meta data inside a tooltip
* minor cleanup of thread-interface to allow a proper sorting/merging on client side svn path=/trunk/KDE/kdebase/apps/; revision=1047662
Diffstat (limited to 'src/panels/information/kmetadatawidget.h')
-rw-r--r--src/panels/information/kmetadatawidget.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/panels/information/kmetadatawidget.h b/src/panels/information/kmetadatawidget.h
index 182d3a0c8..9d1232cf2 100644
--- a/src/panels/information/kmetadatawidget.h
+++ b/src/panels/information/kmetadatawidget.h
@@ -100,6 +100,13 @@ public:
KFileItemList items() const;
/**
+ * If set to true, data like comment, tag or rating cannot be changed by the user.
+ * Per default read-only is disabled.
+ */
+ void setReadOnly(bool readOnly);
+ bool isReadOnly() const;
+
+ /**
* Specifies which kind of data types should be shown (@see KMetaDataWidget::Data).
* Example: metaDataWidget->setVisibleDataTypes(KMetaDataWidget::TypeData | KMetaDataWidget::ModifiedData);
* Per default all data types are shown.