• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KIO

Signals | Public Member Functions | Protected Member Functions

KCommentWidget Class Reference

Allows to edit and show a comment as part of KMetaDataWidget. More...

#include <kcommentwidget_p.h>

Inheritance diagram for KCommentWidget:
Inheritance graph
[legend]

List of all members.

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::KCommentWidget ( QWidget *  parent = 0) [explicit]

Definition at line 32 of file kcommentwidget.cpp.

KCommentWidget::~KCommentWidget ( ) [virtual]

Definition at line 54 of file kcommentwidget.cpp.


Member Function Documentation

void KCommentWidget::commentChanged ( const QString &  comment) [signal]
bool KCommentWidget::event ( QEvent *  event) [protected, virtual]

Definition at line 106 of file kcommentwidget.cpp.

bool KCommentWidget::isReadOnly ( ) const

Definition at line 91 of file kcommentwidget.cpp.

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.

void KCommentWidget::setText ( const QString &  comment)

Definition at line 58 of file kcommentwidget.cpp.

QSize KCommentWidget::sizeHint ( void  ) const [virtual]

Definition at line 96 of file kcommentwidget.cpp.

QString KCommentWidget::text ( ) const

Definition at line 80 of file kcommentwidget.cpp.


The documentation for this class was generated from the following files:
  • kcommentwidget_p.h
  • kcommentwidget.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal