• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdeui
 

kdeui

  • kdeui
kactivelabel.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 1999 Waldo Bastian (bastian@kde.org)
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; version 2
7  of the License.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 #ifndef _KACTIVELABEL_H_
20 #define _KACTIVELABEL_H_
21 
22 #include <tqtextbrowser.h>
23 
24 #include <kdelibs_export.h>
25 
26 // ### inherit KTextBrowser in KDE4
27 
28 class KActiveLabelPrivate;
37 class KDEUI_EXPORT KActiveLabel : public TQTextBrowser
38 {
39  Q_OBJECT
40 public:
48  KActiveLabel(TQWidget * parent, const char * name = 0);
49 
57  KActiveLabel(const TQString & text, TQWidget * parent, const char * name = 0);
58 
59  TQSize minimumSizeHint() const;
60  TQSize sizeHint() const;
61 
62 public slots:
70  virtual void openLink(const TQString & link);
71 
72 private slots:
73  void paletteChanged();
74  void setSource( const TQString &) { }
75 
76 private:
77  void init();
78 protected:
79  virtual void virtual_hook( int id, void* data );
80  virtual void focusInEvent( TQFocusEvent* fe );
81  virtual void focusOutEvent( TQFocusEvent* fe );
82  virtual void keyPressEvent ( TQKeyEvent * e );
83 private:
84  KActiveLabelPrivate *d;
85 };
86 
87 #endif
KActiveLabel
Label with support for selection and clickable links.
Definition: kactivelabel.h:37

kdeui

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

kdeui

Skip menu "kdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |