• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

klaptopdaemon

krichtextlabel.h

Go to the documentation of this file.
00001 /* This file is part of the KDE libraries
00002    Copyright (C) 2005 Waldo Bastian <bastian@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License version 2 as published by the Free Software Foundation.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Library General Public License for more details.
00012 
00013    You should have received a copy of the GNU Library General Public License
00014    along with this library; see the file COPYING.LIB.  If not, write to
00015    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016    Boston, MA 02110-1301, USA.
00017 */
00018 
00019 #ifndef KRICHTEXTLABEL_H
00020 #define KRICHTEXTLABEL_H
00021 
00022 #include <QLabel>
00023 
00024 #include <kdelibs_export.h>
00025 
00032 /*
00033  * QLabel
00034  */
00035 class KDEUI_EXPORT KRichTextLabel : public QLabel {
00036   Q_OBJECT
00037 
00038 public:
00042   KRichTextLabel( QWidget *parent );
00043   KRichTextLabel( const QString &text, QWidget *parent );
00044 
00045   int defaultWidth() const { return m_defaultWidth; }
00046   void setDefaultWidth(int defaultWidth);
00047 
00048   virtual QSize minimumSizeHint() const;
00049   virtual QSize sizeHint() const;
00050   QSizePolicy sizePolicy() const;
00051 
00052 public slots:
00053   void setText( const QString & );
00054 
00055 protected:
00056   int m_defaultWidth;
00057 
00058 protected:
00059   virtual void virtual_hook( int id, void* data );
00060 private:
00061   class KRichTextLabelPrivate;
00062   KRichTextLabelPrivate *d;
00063 };
00064 
00065 #endif // KRICHTEXTLABEL_H

klaptopdaemon

Skip menu "klaptopdaemon"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
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