KIO
#include <kcommentwidget_p.h>

Signals | |
void | commentChanged (const QString &comment) |
Public Member Functions | |
KCommentWidget (QWidget *parent=0) | |
virtual | ~KCommentWidget () |
bool | isReadOnly () const |
void | setReadOnly (bool readOnly) |
void | setText (const QString &comment) |
virtual QSize | sizeHint () const |
QString | text () const |
Protected Member Functions | |
virtual bool | event (QEvent *event) |
Detailed Description
Allows to edit and show a comment as part of KMetaDataWidget.
Definition at line 32 of file kcommentwidget_p.h.
Constructor & Destructor Documentation
◆ KCommentWidget()
|
explicit |
Definition at line 32 of file kcommentwidget.cpp.
◆ ~KCommentWidget()
|
virtual |
Definition at line 54 of file kcommentwidget.cpp.
Member Function Documentation
◆ commentChanged
|
signal |
◆ event()
|
protectedvirtual |
Definition at line 106 of file kcommentwidget.cpp.
◆ isReadOnly()
bool KCommentWidget::isReadOnly | ( | ) | const |
Definition at line 91 of file kcommentwidget.cpp.
◆ setReadOnly()
void KCommentWidget::setReadOnly | ( | bool | readOnly | ) |
If set to true, the comment cannot be changed by the user.
Per default read-only is disabled.
Definition at line 85 of file kcommentwidget.cpp.
◆ setText()
void KCommentWidget::setText | ( | const QString & | comment | ) |
Definition at line 58 of file kcommentwidget.cpp.
◆ sizeHint()
|
virtual |
Definition at line 96 of file kcommentwidget.cpp.
◆ text()
QString KCommentWidget::text | ( | ) | const |
Definition at line 80 of file kcommentwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.