/***************************************************************************
                            kde_KTextBrowser.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KTEXTBROWSER
#define KDE_KTEXTBROWSER

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 An extended @ref QTextBrowser.

 By default it will
 invoke the system mailer or the system browser when a link is
 activated, or it can emit the signal @ref urlClick() or @ref mailClick()
 when a link is activated.

 @author Espen Sand (espensa@online.no)

 @version $Id: kde_KTextBrowser.h,v 1.3 2002/02/21 00:43:13 rdale Exp $
 
 @short Extended QTextBrowser.

*/

/** 
 Constructor.

*/
kde_KTextBrowser * kde_new_KTextBrowser(qt_QWidget * parent, char* name, int notifyClick);

/** 
 Destructor.
     
*/
void kde_del_KTextBrowser( kde_KTextBrowser* p );

/** 
 Decide whether a click on a link should be handled internally
 or if a signal should be emitted.

*/
void kde_KTextBrowser_setNotifyClick(kde_KTextBrowser* instPointer,int notifyClick);

/** 
 Returns whether a click on a link should be handled internally
 or if a signal should be emitted.
     
*/
int kde_KTextBrowser_isNotifyClick(kde_KTextBrowser* instPointer);

/** 
       Reimplemented to NOT set the source but to do the special handling.
       Do not call.
     
*/
void kde_KTextBrowser_setSource(kde_KTextBrowser* instPointer,qt_QString * name);

/** 
 Makes sure Key_Escape is ignored
     
*/

/** 
 Make sure we use our own hand cursor
     
*/

/** 
 Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll)
     
*/

#endif
