From 36ae0b6185e310113e0e31e247919da866d7f91b Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 11 Nov 2009 18:59:29 +0000 Subject: * 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 --- src/panels/information/kmetadatawidget.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/panels/information/kmetadatawidget.h') 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 @@ -99,6 +99,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); -- cgit v1.3.1