/*********************************************************************************
* C++ Interface: kbeardifftextedit.h
* Description:
*
* Begin : sön jun 22 2003
* Author : Björn Sahlström <kbjorn@users.sourceforge.net> (C) 2003
* Copyright : See COPYING file that comes with this distribution
**********************************************************************************/

#ifndef KBEARDIFFTEXTEDIT_H
#define KBEARDIFFTEXTEDIT_H

//////////////////////////////////////////////////////////////////////
// Qt specific include files
#include <qtextedit.h>
#include <qpoint.h>
//////////////////////////////////////////////////////////////////////
// KDE specific include files
//////////////////////////////////////////////////////////////////////
// System specific include files
//////////////////////////////////////////////////////////////////////
// Application specific include files

class QPopupMenu;

/**
@author Björn Sahlström
*/

class KBearDiffTextEdit : public QTextEdit {
	Q_OBJECT
public:
	/** */
	KBearDiffTextEdit( QWidget* parent = 0, const char* name = 0 );
	/** */
	~KBearDiffTextEdit();
	/** */
	void setEnableHighlight( bool );
signals:
	void popupMenuRequest( QPopupMenu* );
protected:
	virtual QPopupMenu* createPopupMenu( const QPoint& );
	virtual QPopupMenu* createPopupMenu();

};

#endif
