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

tdeui

  • tdeui
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 <tdelibs_export.h>
25 
26 // ### inherit KTextBrowser in KDE4
27 
28 class KActiveLabelPrivate;
37 class TDEUI_EXPORT KActiveLabel : public TQTextBrowser
38 {
39  TQ_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:38

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.1
This website is maintained by Timothy Pearson.