#include <kfilemetadatawidget.h>

Signals | |
| void | metaDataRequestFinished (const KFileItemList &items) |
| void | urlActivated (const KUrl &url) |
Public Member Functions | |
| KFileMetaDataWidget (QWidget *parent=0) | |
| virtual | ~KFileMetaDataWidget () |
| bool | isReadOnly () const |
| KFileItemList | items () const |
| void | setItems (const KFileItemList &items) |
| void | setReadOnly (bool readOnly) |
| virtual QSize | sizeHint () const |
Protected Member Functions | |
| virtual bool | event (QEvent *event) |
Properties | |
| bool | readOnly |
Detailed Description
Shows the meta data of one or more file items.
Meta data like name, size, rating, comment, ... are shown as several rows containing a description and the meta data value. It is possible for the user to change specific meta data like rating, tags and comment. The changes are stored automatically by the meta data widget.
- Since:
- 4.5
Constructor & Destructor Documentation
| KFileMetaDataWidget::KFileMetaDataWidget | ( | QWidget * | parent = 0 | ) | [explicit] |
Definition at line 323 of file kfilemetadatawidget.cpp.
| KFileMetaDataWidget::~KFileMetaDataWidget | ( | ) | [virtual] |
Definition at line 329 of file kfilemetadatawidget.cpp.
Member Function Documentation
| bool KFileMetaDataWidget::event | ( | QEvent * | event | ) | [protected, virtual] |
Definition at line 415 of file kfilemetadatawidget.cpp.
| bool KFileMetaDataWidget::isReadOnly | ( | ) | const |
Definition at line 357 of file kfilemetadatawidget.cpp.
| KFileItemList KFileMetaDataWidget::items | ( | ) | const |
Definition at line 341 of file kfilemetadatawidget.cpp.
| void KFileMetaDataWidget::metaDataRequestFinished | ( | const KFileItemList & | items | ) | [signal] |
Is emitted after the meta data has been received for the items set by KFileMetaDataWidget::setItems().
- Since:
- 4.6
| void KFileMetaDataWidget::setItems | ( | const KFileItemList & | items | ) |
Sets the items for which the meta data should be shown.
The signal metaDataRequestFinished() will be emitted, as soon as the meta data for the items has been received.
Definition at line 334 of file kfilemetadatawidget.cpp.
| void KFileMetaDataWidget::setReadOnly | ( | bool | readOnly | ) |
If set to true, data such as the comment, tag or rating cannot be changed by the user.
Per default read-only is disabled.
Definition at line 350 of file kfilemetadatawidget.cpp.
| QSize KFileMetaDataWidget::sizeHint | ( | void | ) | const [virtual] |
- See also:
- QWidget::sizeHint()
Definition at line 366 of file kfilemetadatawidget.cpp.
| void KFileMetaDataWidget::urlActivated | ( | const KUrl & | url | ) | [signal] |
Is emitted, if a meta data represents an URL that has been clicked by the user.
Property Documentation
bool KFileMetaDataWidget::readOnly [read, write] |
Definition at line 47 of file kfilemetadatawidget.h.
The documentation for this class was generated from the following files:
KDE 4.7 API Reference