/***************************************************************************
                            qt_QTextEdit.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, 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.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "qt_QTextEdit.h"
}

#include <qtextedit.h>

class QTextEditBridge : public QTextEdit
{
public:
	QTextEditBridge(const QString& text, const QString& context, QWidget* parent, const char* name) : QTextEdit(text, context, parent, name) {}
	QTextEditBridge(QWidget* parent, const char* name) : QTextEdit(parent, name) {}
	~QTextEditBridge() {}
	void protected_repaintChanged() {
		QTextEdit::repaintChanged();
		return;
	}
	void protected_updateStyles() {
		QTextEdit::updateStyles();
		return;
	}
	void protected_drawContents(QPainter* p, int cx, int cy, int cw, int ch) {
		QTextEdit::drawContents(p, cx, cy, cw, ch);
		return;
	}
	bool  protected_event(QEvent* e) {
		return (bool ) QTextEdit::event(e);
	}
	bool  protected_focusNextPrevChild(bool next) {
		return (bool ) QTextEdit::focusNextPrevChild(next);
	}
	QTextDocument * protected_document() {
		return (QTextDocument *) QTextEdit::document();
	}
	QTextCursor * protected_textCursor() {
		return (QTextCursor *) QTextEdit::textCursor();
	}
	void protected_setDocument(QTextDocument* doc) {
		QTextEdit::setDocument(doc);
		return;
	}
	 QPopupMenu * protected_createPopupMenu(const QPoint& pos) {
		return ( QPopupMenu *) QTextEdit::createPopupMenu(pos);
	}
	 QPopupMenu * protected_createPopupMenu() {
		return ( QPopupMenu *) QTextEdit::createPopupMenu();
	}
	void protected_drawCursor(bool visible) {
		QTextEdit::drawCursor(visible);
		return;
	}
	void protected_windowActivationChange(bool arg1) {
		QTextEdit::windowActivationChange(arg1);
		return;
	}
	void protected_doChangeInterval() {
		QTextEdit::doChangeInterval();
		return;
	}
	void keyPressEvent(QKeyEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyPressEvent", e, "QKeyEvent")) {
			QTextEdit::keyPressEvent(e);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyReleaseEvent", arg1, "QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusOutEvent", arg1, "QFocusEvent")) {
			QWidget::focusOutEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void viewportDragMoveEvent(QDragMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportDragMoveEvent", arg1, "QDragMoveEvent")) {
			QScrollView::viewportDragMoveEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragMoveEvent", arg1, "QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void contentsWheelEvent(QWheelEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsWheelEvent", e, "QWheelEvent")) {
			QTextEdit::contentsWheelEvent(e);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "leaveEvent", arg1, "QEvent")) {
			QWidget::leaveEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "tabletEvent", arg1, "QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "showEvent", arg1, "QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void contentsContextMenuEvent(QContextMenuEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsContextMenuEvent", e, "QContextMenuEvent")) {
			QTextEdit::contentsContextMenuEvent(e);
		}
		return;
	}
	void viewportContextMenuEvent(QContextMenuEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportContextMenuEvent", arg1, "QContextMenuEvent")) {
			QScrollView::viewportContextMenuEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contextMenuEvent", arg1, "QContextMenuEvent")) {
			QScrollView::contextMenuEvent(arg1);
		}
		return;
	}
	void viewportMousePressEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportMousePressEvent", arg1, "QMouseEvent")) {
			QScrollView::viewportMousePressEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mousePressEvent", arg1, "QMouseEvent")) {
			QScrollView::mousePressEvent(arg1);
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imComposeEvent", arg1, "QIMEvent")) {
			QTextEdit::imComposeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", arg1, "QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void viewportMouseReleaseEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportMouseReleaseEvent", arg1, "QMouseEvent")) {
			QScrollView::viewportMouseReleaseEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseReleaseEvent", arg1, "QMouseEvent")) {
			QScrollView::mouseReleaseEvent(arg1);
		}
		return;
	}
	void viewportMouseDoubleClickEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportMouseDoubleClickEvent", arg1, "QMouseEvent")) {
			QScrollView::viewportMouseDoubleClickEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseDoubleClickEvent", arg1, "QMouseEvent")) {
			QScrollView::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void viewportDragLeaveEvent(QDragLeaveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportDragLeaveEvent", arg1, "QDragLeaveEvent")) {
			QScrollView::viewportDragLeaveEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragLeaveEvent", arg1, "QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "enterEvent", arg1, "QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void contentsDropEvent(QDropEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsDropEvent", e, "QDropEvent")) {
			QTextEdit::contentsDropEvent(e);
		}
		return;
	}
	void focusInEvent(QFocusEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusInEvent", arg1, "QFocusEvent")) {
			QWidget::focusInEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imEndEvent", arg1, "QIMEvent")) {
			QTextEdit::imEndEvent(arg1);
		}
		return;
	}
	void contentsDragLeaveEvent(QDragLeaveEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsDragLeaveEvent", e, "QDragLeaveEvent")) {
			QTextEdit::contentsDragLeaveEvent(e);
		}
		return;
	}
	void viewportDropEvent(QDropEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportDropEvent", arg1, "QDropEvent")) {
			QScrollView::viewportDropEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dropEvent", arg1, "QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void contentsMouseDoubleClickEvent(QMouseEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsMouseDoubleClickEvent", e, "QMouseEvent")) {
			QTextEdit::contentsMouseDoubleClickEvent(e);
		}
		return;
	}
	void viewportDragEnterEvent(QDragEnterEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportDragEnterEvent", arg1, "QDragEnterEvent")) {
			QScrollView::viewportDragEnterEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragEnterEvent", arg1, "QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void viewportMouseMoveEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportMouseMoveEvent", arg1, "QMouseEvent")) {
			QScrollView::viewportMouseMoveEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseMoveEvent", arg1, "QMouseEvent")) {
			QScrollView::mouseMoveEvent(arg1);
		}
		return;
	}
	void contentsDragMoveEvent(QDragMoveEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsDragMoveEvent", e, "QDragMoveEvent")) {
			QTextEdit::contentsDragMoveEvent(e);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "moveEvent", arg1, "QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void contentsMouseReleaseEvent(QMouseEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsMouseReleaseEvent", e, "QMouseEvent")) {
			QTextEdit::contentsMouseReleaseEvent(e);
		}
		return;
	}
	void viewportWheelEvent(QWheelEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportWheelEvent", arg1, "QWheelEvent")) {
			QScrollView::viewportWheelEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "wheelEvent", arg1, "QWheelEvent")) {
			QScrollView::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "hideEvent", arg1, "QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void contentsDragEnterEvent(QDragEnterEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsDragEnterEvent", e, "QDragEnterEvent")) {
			QTextEdit::contentsDragEnterEvent(e);
		}
		return;
	}
	void contentsMouseMoveEvent(QMouseEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsMouseMoveEvent", e, "QMouseEvent")) {
			QTextEdit::contentsMouseMoveEvent(e);
		}
		return;
	}
	void contentsMousePressEvent(QMouseEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsMousePressEvent", e, "QMouseEvent")) {
			QTextEdit::contentsMousePressEvent(e);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imStartEvent", arg1, "QIMEvent")) {
			QTextEdit::imStartEvent(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "closeEvent", arg1, "QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void viewportPaintEvent(QPaintEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportPaintEvent", arg1, "QPaintEvent")) {
			QScrollView::viewportPaintEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "paintEvent", arg1, "QPaintEvent")) {
			QFrame::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void viewportResizeEvent(QResizeEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportResizeEvent", arg1, "QResizeEvent")) {
			QTextEdit::viewportResizeEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "resizeEvent", e, "QResizeEvent")) {
			QTextEdit::resizeEvent(e);
		}
		return;
	}
};

qt_QTextEdit * qt_new_QTextEdit(qt_QString * text, qt_QString * context, qt_QWidget * parent, char* name){
	return (qt_QTextEdit *) new QTextEditBridge((QString&)* (QString*)text, (QString&)* (QString*)context, (QWidget*)parent, (char*)name);
}
qt_QTextEdit * qt_new_QTextEdit1(qt_QWidget * parent, char* name){
	return (qt_QTextEdit *) new QTextEditBridge((QWidget*)parent, (char*)name);
}
void qt_del_QTextEdit( qt_QTextEdit* p ){
	delete (QTextEditBridge*) p;
}
void qt_QTextEdit_setPalette( qt_QTextEdit* instPointer,qt_QPalette * arg1){
	((QTextEditBridge*)instPointer)->setPalette((QPalette&)* (QPalette*)arg1);
	return;
}
qt_QString * qt_QTextEdit_text( qt_QTextEdit* instPointer){
	return (qt_QString *)new QString(((QTextEditBridge*)instPointer)->text());
}
qt_QString * qt_QTextEdit_text1( qt_QTextEdit* instPointer,int para){
	return (qt_QString *)new QString(((QTextEditBridge*)instPointer)->text((int)para));
}
int qt_QTextEdit_textFormat( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->textFormat();
}
qt_QString * qt_QTextEdit_context( qt_QTextEdit* instPointer){
	return (qt_QString *)new QString(((QTextEditBridge*)instPointer)->context());
}
qt_QString * qt_QTextEdit_documentTitle( qt_QTextEdit* instPointer){
	return (qt_QString *)new QString(((QTextEditBridge*)instPointer)->documentTitle());
}
void qt_QTextEdit_getSelection( qt_QTextEdit* instPointer,int* paraFrom, int* indexFrom, int* paraTo, int* indexTo, int selNum){
	((QTextEditBridge*)instPointer)->getSelection((int*)paraFrom, (int*)indexFrom, (int*)paraTo, (int*)indexTo, (int)selNum);
	return;
}
int qt_QTextEdit_find( qt_QTextEdit* instPointer,qt_QString * expr, int cs, int wo, int forward, int* para, int* index){
	return (int) ((QTextEditBridge*)instPointer)->find((QString&)* (QString*)expr, (bool)cs, (bool)wo, (bool)forward, (int*)para, (int*)index);
}
int qt_QTextEdit_paragraphs( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->paragraphs();
}
int qt_QTextEdit_lines( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->lines();
}
int qt_QTextEdit_linesOfParagraph( qt_QTextEdit* instPointer,int para){
	return (int) ((QTextEditBridge*)instPointer)->linesOfParagraph((int)para);
}
int qt_QTextEdit_lineOfChar( qt_QTextEdit* instPointer,int para, int chr){
	return (int) ((QTextEditBridge*)instPointer)->lineOfChar((int)para, (int)chr);
}
int qt_QTextEdit_length( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->length();
}
qt_QRect* qt_QTextEdit_paragraphRect( qt_QTextEdit* instPointer,int para){
	QRect _r= ((QTextEditBridge*)instPointer)->paragraphRect((int)para);
	return (qt_QRect*)new QRect(_r.left(),_r.top(),_r.width(),_r.height());
}
int qt_QTextEdit_paragraphAt( qt_QTextEdit* instPointer,qt_QPoint* pos){
	return (int) ((QTextEditBridge*)instPointer)->paragraphAt((QPoint&)* (QPoint*)pos);
}
int qt_QTextEdit_charAt( qt_QTextEdit* instPointer,qt_QPoint* pos, int* para){
	return (int) ((QTextEditBridge*)instPointer)->charAt((QPoint&)* (QPoint*)pos, (int*)para);
}
int qt_QTextEdit_paragraphLength( qt_QTextEdit* instPointer,int para){
	return (int) ((QTextEditBridge*)instPointer)->paragraphLength((int)para);
}
qt_QStyleSheet* qt_QTextEdit_styleSheet( qt_QTextEdit* instPointer){
	return (qt_QStyleSheet*) ((QTextEditBridge*)instPointer)->styleSheet();
}
qt_QMimeSourceFactory* qt_QTextEdit_mimeSourceFactory( qt_QTextEdit* instPointer){
	return (qt_QMimeSourceFactory*) ((QTextEditBridge*)instPointer)->mimeSourceFactory();
}
qt_QBrush* qt_QTextEdit_paper( qt_QTextEdit* instPointer){
	QBrush _b= ((QTextEditBridge*)instPointer)->paper();
	return (qt_QBrush*)new QBrush(_b.color(),_b.style());
}
int qt_QTextEdit_linkUnderline( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->linkUnderline();
}
int qt_QTextEdit_heightForWidth( qt_QTextEdit* instPointer,int w){
	return (int) ((QTextEditBridge*)instPointer)->heightForWidth((int)w);
}
int qt_QTextEdit_hasSelectedText( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->hasSelectedText();
}
qt_QString * qt_QTextEdit_selectedText( qt_QTextEdit* instPointer){
	return (qt_QString *)new QString(((QTextEditBridge*)instPointer)->selectedText());
}
int qt_QTextEdit_isUndoAvailable( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->isUndoAvailable();
}
int qt_QTextEdit_isRedoAvailable( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->isRedoAvailable();
}
int qt_QTextEdit_wordWrap( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->wordWrap();
}
int qt_QTextEdit_wrapColumnOrWidth( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->wrapColumnOrWidth();
}
int qt_QTextEdit_wrapPolicy( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->wrapPolicy();
}
int qt_QTextEdit_tabStopWidth( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->tabStopWidth();
}
qt_QString * qt_QTextEdit_anchorAt( qt_QTextEdit* instPointer,qt_QPoint* pos){
	return (qt_QString *)new QString(((QTextEditBridge*)instPointer)->anchorAt((QPoint&)* (QPoint*)pos));
}
qt_QSize * qt_QTextEdit_sizeHint( qt_QTextEdit* instPointer){
	QSize _s= ((QTextEditBridge*)instPointer)->sizeHint();
	return (qt_QSize *)new QSize(_s.width(),_s.height());
}
int qt_QTextEdit_isReadOnly( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->isReadOnly();
}
void qt_QTextEdit_getCursorPosition( qt_QTextEdit* instPointer,int* parag, int* index){
	((QTextEditBridge*)instPointer)->getCursorPosition((int*)parag, (int*)index);
	return;
}
int qt_QTextEdit_isModified( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->isModified();
}
int qt_QTextEdit_italic( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->italic();
}
int qt_QTextEdit_bold( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->bold();
}
int qt_QTextEdit_underline( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->underline();
}
qt_QString * qt_QTextEdit_family( qt_QTextEdit* instPointer){
	return (qt_QString *)new QString(((QTextEditBridge*)instPointer)->family());
}
int qt_QTextEdit_pointSize( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->pointSize();
}
qt_QColor * qt_QTextEdit_color( qt_QTextEdit* instPointer){
	return (qt_QColor *)new QColor(((QTextEditBridge*)instPointer)->color());
}
qt_QFont * qt_QTextEdit_font( qt_QTextEdit* instPointer){
	return (qt_QFont *)new QFont(((QTextEditBridge*)instPointer)->font());
}
int qt_QTextEdit_alignment( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->alignment();
}
int qt_QTextEdit_undoDepth( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->undoDepth();
}
int qt_QTextEdit_getFormat( qt_QTextEdit* instPointer,int para, int index, qt_QFont * font, qt_QColor* color, int* verticalAlignment){
	return (int) ((QTextEditBridge*)instPointer)->getFormat((int)para, (int)index, (QFont*)font, (QColor*)color, (QTextEdit::VerticalAlignment*)verticalAlignment);
}
int qt_QTextEdit_getParagraphFormat( qt_QTextEdit* instPointer,int para, qt_QFont * font, qt_QColor* color, int* verticalAlignment, int* alignment, int displayMode, int listStyle, int* listDepth){
	return (int) ((QTextEditBridge*)instPointer)->getParagraphFormat((int)para, (QFont*)font, (QColor*)color, (QTextEdit::VerticalAlignment*)verticalAlignment, (int*)alignment, (QStyleSheetItem::DisplayMode*)displayMode, (QStyleSheetItem::ListStyle*)listStyle, (int*)listDepth);
}
int qt_QTextEdit_isOverwriteMode( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->isOverwriteMode();
}
qt_QColor * qt_QTextEdit_paragraphBackgroundColor( qt_QTextEdit* instPointer,int para){
	return (qt_QColor *)new QColor(((QTextEditBridge*)instPointer)->paragraphBackgroundColor((int)para));
}
int qt_QTextEdit_isUndoRedoEnabled( qt_QTextEdit* instPointer){
	return (int) ((QTextEditBridge*)instPointer)->isUndoRedoEnabled();
}
int qt_QTextEdit_eventFilter( qt_QTextEdit* instPointer,qt_QObject * o, qt_QEvent * e){
	return (int) ((QTextEditBridge*)instPointer)->eventFilter((QObject*)o, (QEvent*)e);
}
void qt_QTextEdit_setEnabled( qt_QTextEdit* instPointer,int arg1){
	((QTextEditBridge*)instPointer)->setEnabled((bool)arg1);
	return;
}
void qt_QTextEdit_setMimeSourceFactory( qt_QTextEdit* instPointer,qt_QMimeSourceFactory* factory){
	((QTextEditBridge*)instPointer)->setMimeSourceFactory((QMimeSourceFactory*)factory);
	return;
}
void qt_QTextEdit_setStyleSheet( qt_QTextEdit* instPointer,qt_QStyleSheet* styleSheet){
	((QTextEditBridge*)instPointer)->setStyleSheet((QStyleSheet*)styleSheet);
	return;
}
void qt_QTextEdit_scrollToAnchor( qt_QTextEdit* instPointer,qt_QString * name){
	((QTextEditBridge*)instPointer)->scrollToAnchor((QString&)* (QString*)name);
	return;
}
void qt_QTextEdit_setPaper( qt_QTextEdit* instPointer,qt_QBrush * pap){
	((QTextEditBridge*)instPointer)->setPaper((QBrush&)* (QBrush*)pap);
	return;
}
void qt_QTextEdit_setLinkUnderline( qt_QTextEdit* instPointer,int arg1){
	((QTextEditBridge*)instPointer)->setLinkUnderline((bool)arg1);
	return;
}
void qt_QTextEdit_setWordWrap( qt_QTextEdit* instPointer,int mode){
	((QTextEditBridge*)instPointer)->setWordWrap((QTextEdit::WordWrap)mode);
	return;
}
void qt_QTextEdit_setWrapColumnOrWidth( qt_QTextEdit* instPointer,int arg1){
	((QTextEditBridge*)instPointer)->setWrapColumnOrWidth((int)arg1);
	return;
}
void qt_QTextEdit_setWrapPolicy( qt_QTextEdit* instPointer,int policy){
	((QTextEditBridge*)instPointer)->setWrapPolicy((QTextEdit::WrapPolicy)policy);
	return;
}
void qt_QTextEdit_copy( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->copy();
	return;
}
void qt_QTextEdit_append( qt_QTextEdit* instPointer,qt_QString * text){
	((QTextEditBridge*)instPointer)->append((QString&)* (QString*)text);
	return;
}
void qt_QTextEdit_setText( qt_QTextEdit* instPointer,qt_QString * txt){
	((QTextEditBridge*)instPointer)->setText((QString&)* (QString*)txt);
	return;
}
void qt_QTextEdit_setText1( qt_QTextEdit* instPointer,qt_QString * txt, qt_QString * context){
	((QTextEditBridge*)instPointer)->setText((QString&)* (QString*)txt, (QString&)* (QString*)context);
	return;
}
void qt_QTextEdit_setTextFormat( qt_QTextEdit* instPointer,int f){
	((QTextEditBridge*)instPointer)->setTextFormat((Qt::TextFormat)f);
	return;
}
void qt_QTextEdit_selectAll( qt_QTextEdit* instPointer,int select){
	((QTextEditBridge*)instPointer)->selectAll((bool)select);
	return;
}
void qt_QTextEdit_setTabStopWidth( qt_QTextEdit* instPointer,int ts){
	((QTextEditBridge*)instPointer)->setTabStopWidth((int)ts);
	return;
}
void qt_QTextEdit_zoomIn( qt_QTextEdit* instPointer,int range){
	((QTextEditBridge*)instPointer)->zoomIn((int)range);
	return;
}
void qt_QTextEdit_zoomIn1( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->zoomIn();
	return;
}
void qt_QTextEdit_zoomOut( qt_QTextEdit* instPointer,int range){
	((QTextEditBridge*)instPointer)->zoomOut((int)range);
	return;
}
void qt_QTextEdit_zoomOut1( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->zoomOut();
	return;
}
void qt_QTextEdit_zoomTo( qt_QTextEdit* instPointer,int size){
	((QTextEditBridge*)instPointer)->zoomTo((int)size);
	return;
}
void qt_QTextEdit_sync( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->sync();
	return;
}
void qt_QTextEdit_setReadOnly( qt_QTextEdit* instPointer,int b){
	((QTextEditBridge*)instPointer)->setReadOnly((bool)b);
	return;
}
void qt_QTextEdit_undo( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->undo();
	return;
}
void qt_QTextEdit_redo( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->redo();
	return;
}
void qt_QTextEdit_cut( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->cut();
	return;
}
void qt_QTextEdit_paste( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->paste();
	return;
}
void qt_QTextEdit_pasteSubType( qt_QTextEdit* instPointer,qt_QCString* subtype){
	((QTextEditBridge*)instPointer)->pasteSubType((QCString&)* (QCString*)subtype);
	return;
}
void qt_QTextEdit_clear( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->clear();
	return;
}
void qt_QTextEdit_del( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->del();
	return;
}
void qt_QTextEdit_indent( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->indent();
	return;
}
void qt_QTextEdit_setItalic( qt_QTextEdit* instPointer,int b){
	((QTextEditBridge*)instPointer)->setItalic((bool)b);
	return;
}
void qt_QTextEdit_setBold( qt_QTextEdit* instPointer,int b){
	((QTextEditBridge*)instPointer)->setBold((bool)b);
	return;
}
void qt_QTextEdit_setUnderline( qt_QTextEdit* instPointer,int b){
	((QTextEditBridge*)instPointer)->setUnderline((bool)b);
	return;
}
void qt_QTextEdit_setFamily( qt_QTextEdit* instPointer,qt_QString * f){
	((QTextEditBridge*)instPointer)->setFamily((QString&)* (QString*)f);
	return;
}
void qt_QTextEdit_setPointSize( qt_QTextEdit* instPointer,int s){
	((QTextEditBridge*)instPointer)->setPointSize((int)s);
	return;
}
void qt_QTextEdit_setColor( qt_QTextEdit* instPointer,qt_QColor * c){
	((QTextEditBridge*)instPointer)->setColor((QColor&)* (QColor*)c);
	return;
}
void qt_QTextEdit_setFont( qt_QTextEdit* instPointer,qt_QFont * f){
	((QTextEditBridge*)instPointer)->setFont((QFont&)* (QFont*)f);
	return;
}
void qt_QTextEdit_setVerticalAlignment( qt_QTextEdit* instPointer,int a){
	((QTextEditBridge*)instPointer)->setVerticalAlignment((QTextEdit::VerticalAlignment)a);
	return;
}
void qt_QTextEdit_setAlignment( qt_QTextEdit* instPointer,int a){
	((QTextEditBridge*)instPointer)->setAlignment((int)a);
	return;
}
void qt_QTextEdit_setParagType( qt_QTextEdit* instPointer,int dm, int listStyle){
	((QTextEditBridge*)instPointer)->setParagType((QStyleSheetItem::DisplayMode)dm, (QStyleSheetItem::ListStyle)listStyle);
	return;
}
void qt_QTextEdit_setCursorPosition( qt_QTextEdit* instPointer,int parag, int index){
	((QTextEditBridge*)instPointer)->setCursorPosition((int)parag, (int)index);
	return;
}
void qt_QTextEdit_setSelection( qt_QTextEdit* instPointer,int parag_from, int index_from, int parag_to, int index_to, int selNum){
	((QTextEditBridge*)instPointer)->setSelection((int)parag_from, (int)index_from, (int)parag_to, (int)index_to, (int)selNum);
	return;
}
void qt_QTextEdit_setSelectionAttributes( qt_QTextEdit* instPointer,int selNum, qt_QColor * back, int invertText){
	((QTextEditBridge*)instPointer)->setSelectionAttributes((int)selNum, (QColor&)* (QColor*)back, (bool)invertText);
	return;
}
void qt_QTextEdit_setModified( qt_QTextEdit* instPointer,int m){
	((QTextEditBridge*)instPointer)->setModified((bool)m);
	return;
}
void qt_QTextEdit_resetFormat( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->resetFormat();
	return;
}
void qt_QTextEdit_setUndoDepth( qt_QTextEdit* instPointer,int d){
	((QTextEditBridge*)instPointer)->setUndoDepth((int)d);
	return;
}
//void qt_QTextEdit_setFormat( qt_QTextEdit* instPointer,qt_QTextFormat* f, int flags){
//	((QTextEditBridge*)instPointer)->setFormat((QTextFormat*)f, (int)flags);
//	return;
//}
void qt_QTextEdit_ensureCursorVisible( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->ensureCursorVisible();
	return;
}
//void qt_QTextEdit_placeCursor( qt_QTextEdit* instPointer,qt_QPoint* pos, qt_QTextCursor* c){
//	((QTextEditBridge*)instPointer)->placeCursor((QPoint&)* (QPoint*)pos, (QTextCursor*)c);
//	return;
//}
void qt_QTextEdit_moveCursor( qt_QTextEdit* instPointer,int action, int select){
	((QTextEditBridge*)instPointer)->moveCursor((QTextEdit::CursorAction)action, (bool)select);
	return;
}
void qt_QTextEdit_doKeyboardAction( qt_QTextEdit* instPointer,int action){
	((QTextEditBridge*)instPointer)->doKeyboardAction((QTextEdit::KeyboardAction)action);
	return;
}
void qt_QTextEdit_removeSelectedText( qt_QTextEdit* instPointer,int selNum){
	((QTextEditBridge*)instPointer)->removeSelectedText((int)selNum);
	return;
}
void qt_QTextEdit_removeSelection( qt_QTextEdit* instPointer,int selNum){
	((QTextEditBridge*)instPointer)->removeSelection((int)selNum);
	return;
}
void qt_QTextEdit_setCurrentFont( qt_QTextEdit* instPointer,qt_QFont * f){
	((QTextEditBridge*)instPointer)->setCurrentFont((QFont&)* (QFont*)f);
	return;
}
void qt_QTextEdit_setOverwriteMode( qt_QTextEdit* instPointer,int b){
	((QTextEditBridge*)instPointer)->setOverwriteMode((bool)b);
	return;
}
void qt_QTextEdit_scrollToBottom( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->scrollToBottom();
	return;
}
void qt_QTextEdit_insert( qt_QTextEdit* instPointer,qt_QString * text, int indent, int checkNewLine, int removeSelected){
	((QTextEditBridge*)instPointer)->insert((QString&)* (QString*)text, (bool)indent, (bool)checkNewLine, (bool)removeSelected);
	return;
}
void qt_QTextEdit_insertAt( qt_QTextEdit* instPointer,qt_QString * text, int para, int index){
	((QTextEditBridge*)instPointer)->insertAt((QString&)* (QString*)text, (int)para, (int)index);
	return;
}
void qt_QTextEdit_removeParagraph( qt_QTextEdit* instPointer,int para){
	((QTextEditBridge*)instPointer)->removeParagraph((int)para);
	return;
}
void qt_QTextEdit_insertParagraph( qt_QTextEdit* instPointer,qt_QString * text, int para){
	((QTextEditBridge*)instPointer)->insertParagraph((QString&)* (QString*)text, (int)para);
	return;
}
void qt_QTextEdit_setParagraphBackgroundColor( qt_QTextEdit* instPointer,int para, qt_QColor * bg){
	((QTextEditBridge*)instPointer)->setParagraphBackgroundColor((int)para, (QColor&)* (QColor*)bg);
	return;
}
void qt_QTextEdit_clearParagraphBackground( qt_QTextEdit* instPointer,int para){
	((QTextEditBridge*)instPointer)->clearParagraphBackground((int)para);
	return;
}
void qt_QTextEdit_setUndoRedoEnabled( qt_QTextEdit* instPointer,int b){
	((QTextEditBridge*)instPointer)->setUndoRedoEnabled((bool)b);
	return;
}
void qt_QTextEdit_repaintChanged( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->protected_repaintChanged();
	return;
}
void qt_QTextEdit_updateStyles( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->protected_updateStyles();
	return;
}
void qt_QTextEdit_drawContents( qt_QTextEdit* instPointer,qt_QPainter * p, int cx, int cy, int cw, int ch){
	((QTextEditBridge*)instPointer)->protected_drawContents((QPainter*)p, (int)cx, (int)cy, (int)cw, (int)ch);
	return;
}
int qt_QTextEdit_event( qt_QTextEdit* instPointer,qt_QEvent * e){
	return (int) ((QTextEditBridge*)instPointer)->protected_event((QEvent*)e);
}
int qt_QTextEdit_focusNextPrevChild( qt_QTextEdit* instPointer,int next){
	return (int) ((QTextEditBridge*)instPointer)->protected_focusNextPrevChild((bool)next);
}
//qt_QTextDocument* qt_QTextEdit_document( qt_QTextEdit* instPointer){
//	return (qt_QTextDocument*) ((QTextEditBridge*)instPointer)->protected_document();
//}
//qt_QTextCursor* qt_QTextEdit_textCursor( qt_QTextEdit* instPointer){
//	return (qt_QTextCursor*) ((QTextEditBridge*)instPointer)->protected_textCursor();
//}
//void qt_QTextEdit_setDocument( qt_QTextEdit* instPointer,qt_QTextDocument* doc){
//	((QTextEditBridge*)instPointer)->protected_setDocument((QTextDocument*)doc);
//	return;
//}
qt_QPopupMenu* qt_QTextEdit_createPopupMenu( qt_QTextEdit* instPointer,qt_QPoint* pos){
	return (qt_QPopupMenu*) ((QTextEditBridge*)instPointer)->protected_createPopupMenu((QPoint&)* (QPoint*)pos);
}
qt_QPopupMenu* qt_QTextEdit_createPopupMenu1( qt_QTextEdit* instPointer){
	return (qt_QPopupMenu*) ((QTextEditBridge*)instPointer)->protected_createPopupMenu();
}
void qt_QTextEdit_drawCursor( qt_QTextEdit* instPointer,int visible){
	((QTextEditBridge*)instPointer)->protected_drawCursor((bool)visible);
	return;
}
void qt_QTextEdit_windowActivationChange( qt_QTextEdit* instPointer,int arg1){
	((QTextEditBridge*)instPointer)->protected_windowActivationChange((bool)arg1);
	return;
}
void qt_QTextEdit_doChangeInterval( qt_QTextEdit* instPointer){
	((QTextEditBridge*)instPointer)->protected_doChangeInterval();
	return;
}
