/***************************************************************************
                            qt_QTextEdit.h -  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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QTEXTEDIT
#define QT_QTEXTEDIT

#include <qtc/qtc_types.h>

#define QTEXTEDIT_NoWrap	0
#define QTEXTEDIT_WidgetWidth	1
#define QTEXTEDIT_FixedPixelWidth	2
#define QTEXTEDIT_FixedColumnWidth	3
#define QTEXTEDIT_AtWordBoundary	0
#define QTEXTEDIT_Anywhere	1
#define QTEXTEDIT_AtWhiteSpace	QTEXTEDIT_AtWordBoundary
#define QTEXTEDIT_ActionBackspace	0
#define QTEXTEDIT_ActionDelete	1
#define QTEXTEDIT_ActionReturn	2
#define QTEXTEDIT_ActionKill	3
#define QTEXTEDIT_MoveBackward	0
#define QTEXTEDIT_MoveForward	1
#define QTEXTEDIT_MoveWordBackward	2
#define QTEXTEDIT_MoveWordForward	3
#define QTEXTEDIT_MoveUp	4
#define QTEXTEDIT_MoveDown	5
#define QTEXTEDIT_MoveLineStart	6
#define QTEXTEDIT_MoveLineEnd	7
#define QTEXTEDIT_MoveHome	8
#define QTEXTEDIT_MoveEnd	9
#define QTEXTEDIT_MovePgUp	10
#define QTEXTEDIT_MovePgDown	11
#define QTEXTEDIT_AlignNormal	0
#define QTEXTEDIT_AlignSuperScript	1
#define QTEXTEDIT_AlignSubScript	2
qt_QTextEdit * qt_new_QTextEdit(qt_QString * text, qt_QString * context, qt_QWidget * parent, char* name);
qt_QTextEdit * qt_new_QTextEdit1(qt_QWidget * parent, char* name);
void qt_del_QTextEdit( qt_QTextEdit* p );
void qt_QTextEdit_setPalette(qt_QTextEdit* instPointer,qt_QPalette * arg1);
qt_QString * qt_QTextEdit_text(qt_QTextEdit* instPointer);
qt_QString * qt_QTextEdit_text1(qt_QTextEdit* instPointer,int para);
int qt_QTextEdit_textFormat(qt_QTextEdit* instPointer);
qt_QString * qt_QTextEdit_context(qt_QTextEdit* instPointer);
qt_QString * qt_QTextEdit_documentTitle(qt_QTextEdit* instPointer);
void qt_QTextEdit_getSelection(qt_QTextEdit* instPointer,int* paraFrom, int* indexFrom, int* paraTo, int* indexTo, int selNum);
int qt_QTextEdit_find(qt_QTextEdit* instPointer,qt_QString * expr, int cs, int wo, int forward, int* para, int* index);
int qt_QTextEdit_paragraphs(qt_QTextEdit* instPointer);
int qt_QTextEdit_lines(qt_QTextEdit* instPointer);
int qt_QTextEdit_linesOfParagraph(qt_QTextEdit* instPointer,int para);
int qt_QTextEdit_lineOfChar(qt_QTextEdit* instPointer,int para, int chr);
int qt_QTextEdit_length(qt_QTextEdit* instPointer);
qt_QRect* qt_QTextEdit_paragraphRect(qt_QTextEdit* instPointer,int para);
int qt_QTextEdit_paragraphAt(qt_QTextEdit* instPointer,qt_QPoint* pos);
int qt_QTextEdit_charAt(qt_QTextEdit* instPointer,qt_QPoint* pos, int* para);
int qt_QTextEdit_paragraphLength(qt_QTextEdit* instPointer,int para);
qt_QStyleSheet* qt_QTextEdit_styleSheet(qt_QTextEdit* instPointer);
qt_QMimeSourceFactory* qt_QTextEdit_mimeSourceFactory(qt_QTextEdit* instPointer);
qt_QBrush* qt_QTextEdit_paper(qt_QTextEdit* instPointer);
int qt_QTextEdit_linkUnderline(qt_QTextEdit* instPointer);
int qt_QTextEdit_heightForWidth(qt_QTextEdit* instPointer,int w);
int qt_QTextEdit_hasSelectedText(qt_QTextEdit* instPointer);
qt_QString * qt_QTextEdit_selectedText(qt_QTextEdit* instPointer);
int qt_QTextEdit_isUndoAvailable(qt_QTextEdit* instPointer);
int qt_QTextEdit_isRedoAvailable(qt_QTextEdit* instPointer);
int qt_QTextEdit_wordWrap(qt_QTextEdit* instPointer);
int qt_QTextEdit_wrapColumnOrWidth(qt_QTextEdit* instPointer);
int qt_QTextEdit_wrapPolicy(qt_QTextEdit* instPointer);
int qt_QTextEdit_tabStopWidth(qt_QTextEdit* instPointer);
qt_QString * qt_QTextEdit_anchorAt(qt_QTextEdit* instPointer,qt_QPoint* pos);
qt_QSize * qt_QTextEdit_sizeHint(qt_QTextEdit* instPointer);
int qt_QTextEdit_isReadOnly(qt_QTextEdit* instPointer);
void qt_QTextEdit_getCursorPosition(qt_QTextEdit* instPointer,int* parag, int* index);
int qt_QTextEdit_isModified(qt_QTextEdit* instPointer);
int qt_QTextEdit_italic(qt_QTextEdit* instPointer);
int qt_QTextEdit_bold(qt_QTextEdit* instPointer);
int qt_QTextEdit_underline(qt_QTextEdit* instPointer);
qt_QString * qt_QTextEdit_family(qt_QTextEdit* instPointer);
int qt_QTextEdit_pointSize(qt_QTextEdit* instPointer);
qt_QColor * qt_QTextEdit_color(qt_QTextEdit* instPointer);
qt_QFont * qt_QTextEdit_font(qt_QTextEdit* instPointer);
int qt_QTextEdit_alignment(qt_QTextEdit* instPointer);
int qt_QTextEdit_undoDepth(qt_QTextEdit* instPointer);
int qt_QTextEdit_getFormat(qt_QTextEdit* instPointer,int para, int index, qt_QFont * font, qt_QColor* color, int* 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);
int qt_QTextEdit_isOverwriteMode(qt_QTextEdit* instPointer);
qt_QColor * qt_QTextEdit_paragraphBackgroundColor(qt_QTextEdit* instPointer,int para);
int qt_QTextEdit_isUndoRedoEnabled(qt_QTextEdit* instPointer);
int qt_QTextEdit_eventFilter(qt_QTextEdit* instPointer,qt_QObject * o, qt_QEvent * e);
void qt_QTextEdit_setEnabled(qt_QTextEdit* instPointer,int arg1);
void qt_QTextEdit_setMimeSourceFactory(qt_QTextEdit* instPointer,qt_QMimeSourceFactory* factory);
void qt_QTextEdit_setStyleSheet(qt_QTextEdit* instPointer,qt_QStyleSheet* styleSheet);
void qt_QTextEdit_scrollToAnchor(qt_QTextEdit* instPointer,qt_QString * name);
void qt_QTextEdit_setPaper(qt_QTextEdit* instPointer,qt_QBrush * pap);
void qt_QTextEdit_setLinkUnderline(qt_QTextEdit* instPointer,int arg1);
void qt_QTextEdit_setWordWrap(qt_QTextEdit* instPointer,int mode);
void qt_QTextEdit_setWrapColumnOrWidth(qt_QTextEdit* instPointer,int arg1);
void qt_QTextEdit_setWrapPolicy(qt_QTextEdit* instPointer,int policy);
void qt_QTextEdit_copy(qt_QTextEdit* instPointer);
void qt_QTextEdit_append(qt_QTextEdit* instPointer,qt_QString * text);
void qt_QTextEdit_setText(qt_QTextEdit* instPointer,qt_QString * txt);
void qt_QTextEdit_setText1(qt_QTextEdit* instPointer,qt_QString * txt, qt_QString * context);
void qt_QTextEdit_setTextFormat(qt_QTextEdit* instPointer,int f);
void qt_QTextEdit_selectAll(qt_QTextEdit* instPointer,int select);
void qt_QTextEdit_setTabStopWidth(qt_QTextEdit* instPointer,int ts);
void qt_QTextEdit_zoomIn(qt_QTextEdit* instPointer,int range);
void qt_QTextEdit_zoomIn1(qt_QTextEdit* instPointer);
void qt_QTextEdit_zoomOut(qt_QTextEdit* instPointer,int range);
void qt_QTextEdit_zoomOut1(qt_QTextEdit* instPointer);
void qt_QTextEdit_zoomTo(qt_QTextEdit* instPointer,int size);
void qt_QTextEdit_sync(qt_QTextEdit* instPointer);
void qt_QTextEdit_setReadOnly(qt_QTextEdit* instPointer,int b);
void qt_QTextEdit_undo(qt_QTextEdit* instPointer);
void qt_QTextEdit_redo(qt_QTextEdit* instPointer);
void qt_QTextEdit_cut(qt_QTextEdit* instPointer);
void qt_QTextEdit_paste(qt_QTextEdit* instPointer);
void qt_QTextEdit_pasteSubType(qt_QTextEdit* instPointer,qt_QCString* subtype);
void qt_QTextEdit_clear(qt_QTextEdit* instPointer);
void qt_QTextEdit_del(qt_QTextEdit* instPointer);
void qt_QTextEdit_indent(qt_QTextEdit* instPointer);
void qt_QTextEdit_setItalic(qt_QTextEdit* instPointer,int b);
void qt_QTextEdit_setBold(qt_QTextEdit* instPointer,int b);
void qt_QTextEdit_setUnderline(qt_QTextEdit* instPointer,int b);
void qt_QTextEdit_setFamily(qt_QTextEdit* instPointer,qt_QString * f);
void qt_QTextEdit_setPointSize(qt_QTextEdit* instPointer,int s);
void qt_QTextEdit_setColor(qt_QTextEdit* instPointer,qt_QColor * c);
void qt_QTextEdit_setFont(qt_QTextEdit* instPointer,qt_QFont * f);
void qt_QTextEdit_setVerticalAlignment(qt_QTextEdit* instPointer,int a);
void qt_QTextEdit_setAlignment(qt_QTextEdit* instPointer,int a);
void qt_QTextEdit_setParagType(qt_QTextEdit* instPointer,int dm, int listStyle);
void qt_QTextEdit_setCursorPosition(qt_QTextEdit* instPointer,int parag, int index);
void qt_QTextEdit_setSelection(qt_QTextEdit* instPointer,int parag_from, int index_from, int parag_to, int index_to, int selNum);
void qt_QTextEdit_setSelectionAttributes(qt_QTextEdit* instPointer,int selNum, qt_QColor * back, int invertText);
void qt_QTextEdit_setModified(qt_QTextEdit* instPointer,int m);
void qt_QTextEdit_resetFormat(qt_QTextEdit* instPointer);
void qt_QTextEdit_setUndoDepth(qt_QTextEdit* instPointer,int d);
//void qt_QTextEdit_setFormat(qt_QTextEdit* instPointer,qt_QTextFormat* f, int flags);
void qt_QTextEdit_ensureCursorVisible(qt_QTextEdit* instPointer);
//void qt_QTextEdit_placeCursor(qt_QTextEdit* instPointer,qt_QPoint* pos, qt_QTextCursor* c);
void qt_QTextEdit_moveCursor(qt_QTextEdit* instPointer,int action, int select);
void qt_QTextEdit_doKeyboardAction(qt_QTextEdit* instPointer,int action);
void qt_QTextEdit_removeSelectedText(qt_QTextEdit* instPointer,int selNum);
void qt_QTextEdit_removeSelection(qt_QTextEdit* instPointer,int selNum);
void qt_QTextEdit_setCurrentFont(qt_QTextEdit* instPointer,qt_QFont * f);
void qt_QTextEdit_setOverwriteMode(qt_QTextEdit* instPointer,int b);
void qt_QTextEdit_scrollToBottom(qt_QTextEdit* instPointer);
void qt_QTextEdit_insert(qt_QTextEdit* instPointer,qt_QString * text, int indent, int checkNewLine, int removeSelected);
void qt_QTextEdit_insertAt(qt_QTextEdit* instPointer,qt_QString * text, int para, int index);
void qt_QTextEdit_removeParagraph(qt_QTextEdit* instPointer,int para);
void qt_QTextEdit_insertParagraph(qt_QTextEdit* instPointer,qt_QString * text, int para);
void qt_QTextEdit_setParagraphBackgroundColor(qt_QTextEdit* instPointer,int para, qt_QColor * bg);
void qt_QTextEdit_clearParagraphBackground(qt_QTextEdit* instPointer,int para);
void qt_QTextEdit_setUndoRedoEnabled(qt_QTextEdit* instPointer,int b);
void qt_QTextEdit_repaintChanged(qt_QTextEdit* instPointer);
void qt_QTextEdit_updateStyles(qt_QTextEdit* instPointer);
void qt_QTextEdit_drawContents(qt_QTextEdit* instPointer,qt_QPainter * p, int cx, int cy, int cw, int ch);
int qt_QTextEdit_event(qt_QTextEdit* instPointer,qt_QEvent * e);
int qt_QTextEdit_focusNextPrevChild(qt_QTextEdit* instPointer,int next);
//qt_QTextDocument* qt_QTextEdit_document(qt_QTextEdit* instPointer);
//qt_QTextCursor* qt_QTextEdit_textCursor(qt_QTextEdit* instPointer);
//void qt_QTextEdit_setDocument(qt_QTextEdit* instPointer,qt_QTextDocument* doc);
qt_QPopupMenu* qt_QTextEdit_createPopupMenu(qt_QTextEdit* instPointer,qt_QPoint* pos);
qt_QPopupMenu* qt_QTextEdit_createPopupMenu1(qt_QTextEdit* instPointer);
void qt_QTextEdit_drawCursor(qt_QTextEdit* instPointer,int visible);
void qt_QTextEdit_windowActivationChange(qt_QTextEdit* instPointer,int arg1);
void qt_QTextEdit_doChangeInterval(qt_QTextEdit* instPointer);

#endif
