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

kdeui

  • kdeui
ktextbrowser.h
1 /* This file is part of the KDE Libraries
2  * Copyright (C) 1999 Espen Sand (espensa@online.no)
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; either
7  * version 2 of the License, or (at your option) any later version.
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 
20 #ifndef _KTEXT_BROWSER_H_
21 #define _KTEXT_BROWSER_H_
22 
23 #include <tqtextbrowser.h>
24 
25 #include <kdelibs_export.h>
26 
42 class KDEUI_EXPORT KTextBrowser : public TQTextBrowser
43 {
44  Q_OBJECT
45  Q_PROPERTY( bool notifyClick READ isNotifyClick WRITE setNotifyClick )
46 
47  public:
55  KTextBrowser( TQWidget *parent=0, const char *name=0,
56  bool notifyClick=false );
57 
61  ~KTextBrowser( void );
62 
69  void setNotifyClick( bool notifyClick );
74  bool isNotifyClick() const;
75 
76  protected:
81  void setSource(const TQString& name);
82 
86  virtual void keyPressEvent(TQKeyEvent *e);
87 
91  virtual void viewportMouseMoveEvent( TQMouseEvent* e);
92 
96  virtual void contentsWheelEvent( TQWheelEvent *e );
97 
103  virtual TQPopupMenu *createPopupMenu( const TQPoint &pos );
104 
105  signals:
113  void mailClick( const TQString &name, const TQString &address );
114 
121  void urlClick( const TQString &url );
122 
123  private:
124  bool mNotifyClick;
125 
126  protected:
127  virtual void virtual_hook( int id, void* data );
128  private:
129  class KTextBrowserPrivate;
130  KTextBrowserPrivate *d;
131 };
132 
133 #endif
KTextBrowser
Extended TQTextBrowser.
Definition: ktextbrowser.h:42

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.13
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |