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

tdeui

  • tdeui
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 <tdelibs_export.h>
26
42class TDEUI_EXPORT KTextBrowser : public TQTextBrowser
43{
44 TQ_OBJECT
45 TQ_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:43
KTextBrowser::urlClick
void urlClick(const TQString &url)
Emitted if mailClick() is not emitted and the widget has been configured to emit the signal.
KTextBrowser::mailClick
void mailClick(const TQString &name, const TQString &address)
Emitted when a mail link has been activated and the widget has been configured to emit the signal.

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.4
This website is maintained by Timothy Pearson.