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

KIO

Signals | Public Member Functions | Protected Member Functions | List of all members
KCommentWidget Class Reference

#include <kcommentwidget_p.h>

Inheritance diagram for KCommentWidget:
Inheritance graph
[legend]

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)
protectedvirtual

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
This file is part of the KDE documentation.
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.

KIO

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal