KIO
#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.
- Deprecated:
- since 4.12 use Nepomuk2::FileMetaDataWidget
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
Definition at line 46 of file kfilemetadatawidget.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 324 of file kfilemetadatawidget.cpp.
|
virtual |
Definition at line 330 of file kfilemetadatawidget.cpp.
Member Function Documentation
|
protectedvirtual |
Definition at line 416 of file kfilemetadatawidget.cpp.
bool KFileMetaDataWidget::isReadOnly | ( | ) | const |
Definition at line 358 of file kfilemetadatawidget.cpp.
KFileItemList KFileMetaDataWidget::items | ( | ) | const |
Definition at line 342 of file kfilemetadatawidget.cpp.
|
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 335 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 351 of file kfilemetadatawidget.cpp.
|
virtual |
- See also
- QWidget::sizeHint()
Definition at line 367 of file kfilemetadatawidget.cpp.
|
signal |
Is emitted, if a meta data represents an URL that has been clicked by the user.
Property Documentation
|
readwrite |
Definition at line 49 of file kfilemetadatawidget.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.