/****************************************************************************
** TQTextEdit meta object code from reading C++ file 'ntqtextedit.h'
**
** Created by: The TQt Meta Object Compiler version 26 (TQt 3.5.0)
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef TQT_NO_COMPAT
#include "../../widgets/ntqtextedit.h"
#include <ntqmetaobject.h>
#include <ntqapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.5.0. It"
#error "cannot be used with the include files from this version of TQt."
#error "(The moc has changed too much.)"
#endif

#include <ntqvariant.h>
const char *TQTextEdit::className() const
{
    return "TQTextEdit";
}

TQMetaObject *TQTextEdit::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQTextEdit( "TQTextEdit", &TQTextEdit::staticMetaObject );

#ifndef TQT_NO_TRANSLATION
TQString TQTextEdit::tr( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "TQTextEdit", s, c, TQApplication::DefaultCodec );
    else
	return TQString::fromLatin1( s );
}
#ifndef TQT_NO_TRANSLATION_UTF8
TQString TQTextEdit::trUtf8( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "TQTextEdit", s, c, TQApplication::UnicodeUTF8 );
    else
	return TQString::fromUtf8( s );
}
#endif // TQT_NO_TRANSLATION_UTF8

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQTextEdit::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = TQScrollView::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaEnum::Item enum_0[] = {
	{ "NoWrap",  (int) TQTextEdit::NoWrap },
	{ "WidgetWidth",  (int) TQTextEdit::WidgetWidth },
	{ "FixedPixelWidth",  (int) TQTextEdit::FixedPixelWidth },
	{ "FixedColumnWidth",  (int) TQTextEdit::FixedColumnWidth }
    };
    static const TQMetaEnum::Item enum_1[] = {
	{ "AtWordBoundary",  (int) TQTextEdit::AtWordBoundary },
	{ "AtWhiteSpace",  (int) TQTextEdit::AtWhiteSpace },
	{ "Anywhere",  (int) TQTextEdit::Anywhere },
	{ "AtWordOrDocumentBoundary",  (int) TQTextEdit::AtWordOrDocumentBoundary }
    };
    static const TQMetaEnum::Item enum_2[] = {
	{ "AutoNone",  (int) TQTextEdit::AutoNone },
	{ "AutoBulletList",  (int) TQTextEdit::AutoBulletList },
	{ "AutoAll",  (int) TQTextEdit::AutoAll }
    };
    static const TQMetaEnum enum_tbl[] = {
	{ "WordWrap", 4, enum_0, false },
	{ "WrapPolicy", 4, enum_1, false },
	{ "AutoFormatting", 3, enum_2, true }
    };
#endif // TQT_NO_PROPERTIES
    static const TQUParameter param_slot_0[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"setEnabled", 1, param_slot_0 };
    static const TQUParameter param_slot_1[] = {
	{ "factory", &static_QUType_ptr, "TQMimeSourceFactory", TQUParameter::In }
    };
    static const TQUMethod slot_1 = {"setMimeSourceFactory", 1, param_slot_1 };
    static const TQUParameter param_slot_2[] = {
	{ "styleSheet", &static_QUType_ptr, "TQStyleSheet", TQUParameter::In }
    };
    static const TQUMethod slot_2 = {"setStyleSheet", 1, param_slot_2 };
    static const TQUParameter param_slot_3[] = {
	{ "name", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"scrollToAnchor", 1, param_slot_3 };
    static const TQUParameter param_slot_4[] = {
	{ "pap", &static_QUType_varptr, "\x07", TQUParameter::In }
    };
    static const TQUMethod slot_4 = {"setPaper", 1, param_slot_4 };
    static const TQUParameter param_slot_5[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"setLinkUnderline", 1, param_slot_5 };
    static const TQUParameter param_slot_6[] = {
	{ "mode", &static_QUType_enum, 
#ifndef TQT_NO_PROPERTIES
	  &enum_tbl[0]
#else
	  0
#endif // TQT_NO_PROPERTIES
	  , TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"setWordWrap", 1, param_slot_6 };
    static const TQUParameter param_slot_7[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"setWrapColumnOrWidth", 1, param_slot_7 };
    static const TQUParameter param_slot_8[] = {
	{ "policy", &static_QUType_enum, 
#ifndef TQT_NO_PROPERTIES
	  &enum_tbl[1]
#else
	  0
#endif // TQT_NO_PROPERTIES
	  , TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"setWrapPolicy", 1, param_slot_8 };
    static const TQUMethod slot_9 = {"copy", 0, 0 };
    static const TQUParameter param_slot_10[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_10 = {"append", 1, param_slot_10 };
    static const TQUParameter param_slot_11[] = {
	{ "txt", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_11 = {"setText", 1, param_slot_11 };
    static const TQUParameter param_slot_12[] = {
	{ "txt", &static_QUType_TQString, 0, TQUParameter::In },
	{ "context", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_12 = {"setText", 2, param_slot_12 };
    static const TQUParameter param_slot_13[] = {
	{ "f", &static_QUType_ptr, "TextFormat", TQUParameter::In }
    };
    static const TQUMethod slot_13 = {"setTextFormat", 1, param_slot_13 };
    static const TQUMethod slot_14 = {"selectAll", 0, 0 };
    static const TQUParameter param_slot_15[] = {
	{ "select", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_15 = {"selectAll", 1, param_slot_15 };
    static const TQUParameter param_slot_16[] = {
	{ "ts", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_16 = {"setTabStopWidth", 1, param_slot_16 };
    static const TQUParameter param_slot_17[] = {
	{ "range", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_17 = {"zoomIn", 1, param_slot_17 };
    static const TQUMethod slot_18 = {"zoomIn", 0, 0 };
    static const TQUParameter param_slot_19[] = {
	{ "range", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_19 = {"zoomOut", 1, param_slot_19 };
    static const TQUMethod slot_20 = {"zoomOut", 0, 0 };
    static const TQUParameter param_slot_21[] = {
	{ "size", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_21 = {"zoomTo", 1, param_slot_21 };
    static const TQUMethod slot_22 = {"sync", 0, 0 };
    static const TQUParameter param_slot_23[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_23 = {"setReadOnly", 1, param_slot_23 };
    static const TQUMethod slot_24 = {"undo", 0, 0 };
    static const TQUMethod slot_25 = {"redo", 0, 0 };
    static const TQUMethod slot_26 = {"cut", 0, 0 };
    static const TQUMethod slot_27 = {"paste", 0, 0 };
    static const TQUParameter param_slot_28[] = {
	{ "subtype", &static_QUType_varptr, "\x14", TQUParameter::In }
    };
    static const TQUMethod slot_28 = {"pasteSubType", 1, param_slot_28 };
    static const TQUMethod slot_29 = {"clear", 0, 0 };
    static const TQUMethod slot_30 = {"del", 0, 0 };
    static const TQUMethod slot_31 = {"indent", 0, 0 };
    static const TQUParameter param_slot_32[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_32 = {"setItalic", 1, param_slot_32 };
    static const TQUParameter param_slot_33[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_33 = {"setBold", 1, param_slot_33 };
    static const TQUParameter param_slot_34[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_34 = {"setUnderline", 1, param_slot_34 };
    static const TQUParameter param_slot_35[] = {
	{ "f", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_35 = {"setFamily", 1, param_slot_35 };
    static const TQUParameter param_slot_36[] = {
	{ "s", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_36 = {"setPointSize", 1, param_slot_36 };
    static const TQUParameter param_slot_37[] = {
	{ "c", &static_QUType_varptr, "\x0a", TQUParameter::In }
    };
    static const TQUMethod slot_37 = {"setColor", 1, param_slot_37 };
    static const TQUParameter param_slot_38[] = {
	{ "f", &static_QUType_varptr, "\x05", TQUParameter::In }
    };
    static const TQUMethod slot_38 = {"setFont", 1, param_slot_38 };
    static const TQUParameter param_slot_39[] = {
	{ "a", &static_QUType_ptr, "VerticalAlignment", TQUParameter::In }
    };
    static const TQUMethod slot_39 = {"setVerticalAlignment", 1, param_slot_39 };
    static const TQUParameter param_slot_40[] = {
	{ "a", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_40 = {"setAlignment", 1, param_slot_40 };
    static const TQUParameter param_slot_41[] = {
	{ "dm", &static_QUType_ptr, "TQStyleSheetItem::DisplayMode", TQUParameter::In },
	{ "listStyle", &static_QUType_ptr, "TQStyleSheetItem::ListStyle", TQUParameter::In }
    };
    static const TQUMethod slot_41 = {"setParagType", 2, param_slot_41 };
    static const TQUParameter param_slot_42[] = {
	{ "parag", &static_QUType_int, 0, TQUParameter::In },
	{ "index", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_42 = {"setCursorPosition", 2, param_slot_42 };
    static const TQUParameter param_slot_43[] = {
	{ "parag_from", &static_QUType_int, 0, TQUParameter::In },
	{ "index_from", &static_QUType_int, 0, TQUParameter::In },
	{ "parag_to", &static_QUType_int, 0, TQUParameter::In },
	{ "index_to", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_43 = {"setSelection", 4, param_slot_43 };
    static const TQUParameter param_slot_44[] = {
	{ "parag_from", &static_QUType_int, 0, TQUParameter::In },
	{ "index_from", &static_QUType_int, 0, TQUParameter::In },
	{ "parag_to", &static_QUType_int, 0, TQUParameter::In },
	{ "index_to", &static_QUType_int, 0, TQUParameter::In },
	{ "selNum", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_44 = {"setSelection", 5, param_slot_44 };
    static const TQUParameter param_slot_45[] = {
	{ "selNum", &static_QUType_int, 0, TQUParameter::In },
	{ "back", &static_QUType_varptr, "\x0a", TQUParameter::In },
	{ "invertText", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_45 = {"setSelectionAttributes", 3, param_slot_45 };
    static const TQUParameter param_slot_46[] = {
	{ "m", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_46 = {"setModified", 1, param_slot_46 };
    static const TQUMethod slot_47 = {"resetFormat", 0, 0 };
    static const TQUParameter param_slot_48[] = {
	{ "d", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_48 = {"setUndoDepth", 1, param_slot_48 };
    static const TQUParameter param_slot_49[] = {
	{ "f", &static_QUType_ptr, "TQTextFormat", TQUParameter::In },
	{ "flags", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_49 = {"setFormat", 2, param_slot_49 };
    static const TQUMethod slot_50 = {"ensureCursorVisible", 0, 0 };
    static const TQUParameter param_slot_51[] = {
	{ "pos", &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod slot_51 = {"placeCursor", 1, param_slot_51 };
    static const TQUParameter param_slot_52[] = {
	{ "pos", &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ "c", &static_QUType_ptr, "TQTextCursor", TQUParameter::In }
    };
    static const TQUMethod slot_52 = {"placeCursor", 2, param_slot_52 };
    static const TQUParameter param_slot_53[] = {
	{ "action", &static_QUType_ptr, "CursorAction", TQUParameter::In },
	{ "select", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_53 = {"moveCursor", 2, param_slot_53 };
    static const TQUParameter param_slot_54[] = {
	{ "action", &static_QUType_ptr, "KeyboardAction", TQUParameter::In }
    };
    static const TQUMethod slot_54 = {"doKeyboardAction", 1, param_slot_54 };
    static const TQUMethod slot_55 = {"removeSelectedText", 0, 0 };
    static const TQUParameter param_slot_56[] = {
	{ "selNum", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_56 = {"removeSelectedText", 1, param_slot_56 };
    static const TQUMethod slot_57 = {"removeSelection", 0, 0 };
    static const TQUParameter param_slot_58[] = {
	{ "selNum", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_58 = {"removeSelection", 1, param_slot_58 };
    static const TQUParameter param_slot_59[] = {
	{ "f", &static_QUType_varptr, "\x05", TQUParameter::In }
    };
    static const TQUMethod slot_59 = {"setCurrentFont", 1, param_slot_59 };
    static const TQUParameter param_slot_60[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_60 = {"setOverwriteMode", 1, param_slot_60 };
    static const TQUMethod slot_61 = {"scrollToBottom", 0, 0 };
    static const TQUParameter param_slot_62[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_62 = {"insert", 1, param_slot_62 };
    static const TQUParameter param_slot_63[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In },
	{ "insertionFlags", &static_QUType_varptr, "\x11", TQUParameter::In }
    };
    static const TQUMethod slot_63 = {"insert", 2, param_slot_63 };
    static const TQUParameter param_slot_64[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In },
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_64 = {"insert", 2, param_slot_64 };
    static const TQUParameter param_slot_65[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In },
	{ 0, &static_QUType_bool, 0, TQUParameter::In },
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_65 = {"insert", 3, param_slot_65 };
    static const TQUParameter param_slot_66[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In },
	{ 0, &static_QUType_bool, 0, TQUParameter::In },
	{ 0, &static_QUType_bool, 0, TQUParameter::In },
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_66 = {"insert", 4, param_slot_66 };
    static const TQUParameter param_slot_67[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In },
	{ "para", &static_QUType_int, 0, TQUParameter::In },
	{ "index", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_67 = {"insertAt", 3, param_slot_67 };
    static const TQUParameter param_slot_68[] = {
	{ "para", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_68 = {"removeParagraph", 1, param_slot_68 };
    static const TQUParameter param_slot_69[] = {
	{ "text", &static_QUType_TQString, 0, TQUParameter::In },
	{ "para", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_69 = {"insertParagraph", 2, param_slot_69 };
    static const TQUParameter param_slot_70[] = {
	{ "para", &static_QUType_int, 0, TQUParameter::In },
	{ "bg", &static_QUType_varptr, "\x0a", TQUParameter::In }
    };
    static const TQUMethod slot_70 = {"setParagraphBackgroundColor", 2, param_slot_70 };
    static const TQUParameter param_slot_71[] = {
	{ "para", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_71 = {"clearParagraphBackground", 1, param_slot_71 };
    static const TQUParameter param_slot_72[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_72 = {"setUndoRedoEnabled", 1, param_slot_72 };
    static const TQUParameter param_slot_73[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_73 = {"setTabChangesFocus", 1, param_slot_73 };
    static const TQUMethod slot_74 = {"polish", 0, 0 };
    static const TQUParameter param_slot_75[] = {
	{ "numLines", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_75 = {"setMaxLogLines", 1, param_slot_75 };
    static const TQUParameter param_slot_76[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::Out }
    };
    static const TQUMethod slot_76 = {"maxLogLines", 1, param_slot_76 };
    static const TQUMethod slot_77 = {"doChangeInterval", 0, 0 };
    static const TQUMethod slot_78 = {"sliderReleased", 0, 0 };
    static const TQUMethod slot_79 = {"formatMore", 0, 0 };
    static const TQUMethod slot_80 = {"doResize", 0, 0 };
    static const TQUMethod slot_81 = {"autoScrollTimerDone", 0, 0 };
    static const TQUMethod slot_82 = {"blinkCursor", 0, 0 };
    static const TQUMethod slot_83 = {"setModified", 0, 0 };
    static const TQUMethod slot_84 = {"startDrag", 0, 0 };
    static const TQUParameter param_slot_85[] = {
	{ "w", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_85 = {"documentWidthChanged", 1, param_slot_85 };
    static const TQUMethod slot_86 = {"clipboardChanged", 0, 0 };
    static const TQUMethod slot_87 = {"optimDoAutoScroll", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "setEnabled(bool)", &slot_0, TQMetaData::Public },
	{ "setMimeSourceFactory(TQMimeSourceFactory*)", &slot_1, TQMetaData::Public },
	{ "setStyleSheet(TQStyleSheet*)", &slot_2, TQMetaData::Public },
	{ "scrollToAnchor(const TQString&)", &slot_3, TQMetaData::Public },
	{ "setPaper(const TQBrush&)", &slot_4, TQMetaData::Public },
	{ "setLinkUnderline(bool)", &slot_5, TQMetaData::Public },
	{ "setWordWrap(WordWrap)", &slot_6, TQMetaData::Public },
	{ "setWrapColumnOrWidth(int)", &slot_7, TQMetaData::Public },
	{ "setWrapPolicy(WrapPolicy)", &slot_8, TQMetaData::Public },
	{ "copy()", &slot_9, TQMetaData::Public },
	{ "append(const TQString&)", &slot_10, TQMetaData::Public },
	{ "setText(const TQString&)", &slot_11, TQMetaData::Public },
	{ "setText(const TQString&,const TQString&)", &slot_12, TQMetaData::Public },
	{ "setTextFormat(TextFormat)", &slot_13, TQMetaData::Public },
	{ "selectAll()", &slot_14, TQMetaData::Public },
	{ "selectAll(bool)", &slot_15, TQMetaData::Public },
	{ "setTabStopWidth(int)", &slot_16, TQMetaData::Public },
	{ "zoomIn(int)", &slot_17, TQMetaData::Public },
	{ "zoomIn()", &slot_18, TQMetaData::Public },
	{ "zoomOut(int)", &slot_19, TQMetaData::Public },
	{ "zoomOut()", &slot_20, TQMetaData::Public },
	{ "zoomTo(int)", &slot_21, TQMetaData::Public },
	{ "sync()", &slot_22, TQMetaData::Public },
	{ "setReadOnly(bool)", &slot_23, TQMetaData::Public },
	{ "undo()", &slot_24, TQMetaData::Public },
	{ "redo()", &slot_25, TQMetaData::Public },
	{ "cut()", &slot_26, TQMetaData::Public },
	{ "paste()", &slot_27, TQMetaData::Public },
	{ "pasteSubType(const TQCString&)", &slot_28, TQMetaData::Public },
	{ "clear()", &slot_29, TQMetaData::Public },
	{ "del()", &slot_30, TQMetaData::Public },
	{ "indent()", &slot_31, TQMetaData::Public },
	{ "setItalic(bool)", &slot_32, TQMetaData::Public },
	{ "setBold(bool)", &slot_33, TQMetaData::Public },
	{ "setUnderline(bool)", &slot_34, TQMetaData::Public },
	{ "setFamily(const TQString&)", &slot_35, TQMetaData::Public },
	{ "setPointSize(int)", &slot_36, TQMetaData::Public },
	{ "setColor(const TQColor&)", &slot_37, TQMetaData::Public },
	{ "setFont(const TQFont&)", &slot_38, TQMetaData::Public },
	{ "setVerticalAlignment(VerticalAlignment)", &slot_39, TQMetaData::Public },
	{ "setAlignment(int)", &slot_40, TQMetaData::Public },
	{ "setParagType(TQStyleSheetItem::DisplayMode,TQStyleSheetItem::ListStyle)", &slot_41, TQMetaData::Public },
	{ "setCursorPosition(int,int)", &slot_42, TQMetaData::Public },
	{ "setSelection(int,int,int,int)", &slot_43, TQMetaData::Public },
	{ "setSelection(int,int,int,int,int)", &slot_44, TQMetaData::Public },
	{ "setSelectionAttributes(int,const TQColor&,bool)", &slot_45, TQMetaData::Public },
	{ "setModified(bool)", &slot_46, TQMetaData::Public },
	{ "resetFormat()", &slot_47, TQMetaData::Public },
	{ "setUndoDepth(int)", &slot_48, TQMetaData::Public },
	{ "setFormat(TQTextFormat*,int)", &slot_49, TQMetaData::Public },
	{ "ensureCursorVisible()", &slot_50, TQMetaData::Public },
	{ "placeCursor(const TQPoint&)", &slot_51, TQMetaData::Public },
	{ "placeCursor(const TQPoint&,TQTextCursor*)", &slot_52, TQMetaData::Public },
	{ "moveCursor(CursorAction,bool)", &slot_53, TQMetaData::Public },
	{ "doKeyboardAction(KeyboardAction)", &slot_54, TQMetaData::Public },
	{ "removeSelectedText()", &slot_55, TQMetaData::Public },
	{ "removeSelectedText(int)", &slot_56, TQMetaData::Public },
	{ "removeSelection()", &slot_57, TQMetaData::Public },
	{ "removeSelection(int)", &slot_58, TQMetaData::Public },
	{ "setCurrentFont(const TQFont&)", &slot_59, TQMetaData::Public },
	{ "setOverwriteMode(bool)", &slot_60, TQMetaData::Public },
	{ "scrollToBottom()", &slot_61, TQMetaData::Public },
	{ "insert(const TQString&)", &slot_62, TQMetaData::Public },
	{ "insert(const TQString&,uint)", &slot_63, TQMetaData::Public },
	{ "insert(const TQString&,bool)", &slot_64, TQMetaData::Public },
	{ "insert(const TQString&,bool,bool)", &slot_65, TQMetaData::Public },
	{ "insert(const TQString&,bool,bool,bool)", &slot_66, TQMetaData::Public },
	{ "insertAt(const TQString&,int,int)", &slot_67, TQMetaData::Public },
	{ "removeParagraph(int)", &slot_68, TQMetaData::Public },
	{ "insertParagraph(const TQString&,int)", &slot_69, TQMetaData::Public },
	{ "setParagraphBackgroundColor(int,const TQColor&)", &slot_70, TQMetaData::Public },
	{ "clearParagraphBackground(int)", &slot_71, TQMetaData::Public },
	{ "setUndoRedoEnabled(bool)", &slot_72, TQMetaData::Public },
	{ "setTabChangesFocus(bool)", &slot_73, TQMetaData::Public },
	{ "polish()", &slot_74, TQMetaData::Public },
	{ "setMaxLogLines(int)", &slot_75, TQMetaData::Public },
	{ "maxLogLines()", &slot_76, TQMetaData::Public },
	{ "doChangeInterval()", &slot_77, TQMetaData::Protected },
	{ "sliderReleased()", &slot_78, TQMetaData::Protected },
	{ "formatMore()", &slot_79, TQMetaData::Private },
	{ "doResize()", &slot_80, TQMetaData::Private },
	{ "autoScrollTimerDone()", &slot_81, TQMetaData::Private },
	{ "blinkCursor()", &slot_82, TQMetaData::Private },
	{ "setModified()", &slot_83, TQMetaData::Private },
	{ "startDrag()", &slot_84, TQMetaData::Private },
	{ "documentWidthChanged(int)", &slot_85, TQMetaData::Private },
	{ "clipboardChanged()", &slot_86, TQMetaData::Private },
	{ "optimDoAutoScroll()", &slot_87, TQMetaData::Private }
    };
    static const TQUMethod signal_0 = {"textChanged", 0, 0 };
    static const TQUMethod signal_1 = {"selectionChanged", 0, 0 };
    static const TQUParameter param_signal_2[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod signal_2 = {"copyAvailable", 1, param_signal_2 };
    static const TQUParameter param_signal_3[] = {
	{ "yes", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod signal_3 = {"undoAvailable", 1, param_signal_3 };
    static const TQUParameter param_signal_4[] = {
	{ "yes", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod signal_4 = {"redoAvailable", 1, param_signal_4 };
    static const TQUParameter param_signal_5[] = {
	{ "f", &static_QUType_varptr, "\x05", TQUParameter::In }
    };
    static const TQUMethod signal_5 = {"currentFontChanged", 1, param_signal_5 };
    static const TQUParameter param_signal_6[] = {
	{ "c", &static_QUType_varptr, "\x0a", TQUParameter::In }
    };
    static const TQUMethod signal_6 = {"currentColorChanged", 1, param_signal_6 };
    static const TQUParameter param_signal_7[] = {
	{ "a", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_7 = {"currentAlignmentChanged", 1, param_signal_7 };
    static const TQUParameter param_signal_8[] = {
	{ "a", &static_QUType_ptr, "VerticalAlignment", TQUParameter::In }
    };
    static const TQUMethod signal_8 = {"currentVerticalAlignmentChanged", 1, param_signal_8 };
    static const TQUParameter param_signal_9[] = {
	{ "c", &static_QUType_ptr, "TQTextCursor", TQUParameter::In }
    };
    static const TQUMethod signal_9 = {"cursorPositionChanged", 1, param_signal_9 };
    static const TQUParameter param_signal_10[] = {
	{ "para", &static_QUType_int, 0, TQUParameter::In },
	{ "pos", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_10 = {"cursorPositionChanged", 2, param_signal_10 };
    static const TQUMethod signal_11 = {"returnPressed", 0, 0 };
    static const TQUParameter param_signal_12[] = {
	{ "m", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod signal_12 = {"modificationChanged", 1, param_signal_12 };
    static const TQUParameter param_signal_13[] = {
	{ "parag", &static_QUType_int, 0, TQUParameter::In },
	{ "index", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_13 = {"clicked", 2, param_signal_13 };
    static const TQUParameter param_signal_14[] = {
	{ "parag", &static_QUType_int, 0, TQUParameter::In },
	{ "index", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_14 = {"doubleClicked", 2, param_signal_14 };
    static const TQMetaData signal_tbl[] = {
	{ "textChanged()", &signal_0, TQMetaData::Public },
	{ "selectionChanged()", &signal_1, TQMetaData::Public },
	{ "copyAvailable(bool)", &signal_2, TQMetaData::Public },
	{ "undoAvailable(bool)", &signal_3, TQMetaData::Public },
	{ "redoAvailable(bool)", &signal_4, TQMetaData::Public },
	{ "currentFontChanged(const TQFont&)", &signal_5, TQMetaData::Public },
	{ "currentColorChanged(const TQColor&)", &signal_6, TQMetaData::Public },
	{ "currentAlignmentChanged(int)", &signal_7, TQMetaData::Public },
	{ "currentVerticalAlignmentChanged(VerticalAlignment)", &signal_8, TQMetaData::Public },
	{ "cursorPositionChanged(TQTextCursor*)", &signal_9, TQMetaData::Public },
	{ "cursorPositionChanged(int,int)", &signal_10, TQMetaData::Public },
	{ "returnPressed()", &signal_11, TQMetaData::Public },
	{ "modificationChanged(bool)", &signal_12, TQMetaData::Public },
	{ "clicked(int,int)", &signal_13, TQMetaData::Public },
	{ "doubleClicked(int,int)", &signal_14, TQMetaData::Public }
    };
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[19] = {
 	{ "TextFormat","textFormat", 0x010f, &TQTextEdit::metaObj, 0, -1 },
	{ "TQString","text", 0x3000103, &TQTextEdit::metaObj, 0, -1 },
	{ "TQBrush","paper", 0x7000103, &TQTextEdit::metaObj, 0, -1 },
	{ "bool","linkUnderline", 0x12000103, &TQTextEdit::metaObj, 0, -1 },
	{ "TQString","documentTitle", 0x3000001, &TQTextEdit::metaObj, 0, -1 },
	{ "int","length", 0x10000001, &TQTextEdit::metaObj, 0, -1 },
	{ "WordWrap","wordWrap", 0x0107, &TQTextEdit::metaObj, &enum_tbl[0], -1 },
	{ "int","wrapColumnOrWidth", 0x10000103, &TQTextEdit::metaObj, 0, -1 },
	{ "WrapPolicy","wrapPolicy", 0x0107, &TQTextEdit::metaObj, &enum_tbl[1], -1 },
	{ "bool","hasSelectedText", 0x12000001, &TQTextEdit::metaObj, 0, -1 },
	{ "TQString","selectedText", 0x3000001, &TQTextEdit::metaObj, 0, -1 },
	{ "int","undoDepth", 0x10000103, &TQTextEdit::metaObj, 0, -1 },
	{ "bool","overwriteMode", 0x12000103, &TQTextEdit::metaObj, 0, -1 },
	{ "bool","modified", 0x12001103, &TQTextEdit::metaObj, 0, -1 },
	{ "bool","readOnly", 0x12000103, &TQTextEdit::metaObj, 0, -1 },
	{ "bool","undoRedoEnabled", 0x12000103, &TQTextEdit::metaObj, 0, -1 },
	{ "int","tabStopWidth", 0x10000103, &TQTextEdit::metaObj, 0, -1 },
	{ "bool","tabChangesFocus", 0x12000103, &TQTextEdit::metaObj, 0, -1 },
	{ "AutoFormatting","autoFormatting", 0x0107, &TQTextEdit::metaObj, &enum_tbl[2], -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQTextEdit", parentObject,
	slot_tbl, 88,
	signal_tbl, 15,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 19,
	enum_tbl, 3,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQTextEdit.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* TQTextEdit::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "TQTextEdit" ) )
	return this;
    return TQScrollView::tqt_cast( clname );
}

// TQ_SIGNAL textChanged
void TQTextEdit::textChanged()
{
    activate_signal( staticMetaObject()->signalOffset() + 0 );
}

// TQ_SIGNAL selectionChanged
void TQTextEdit::selectionChanged()
{
    activate_signal( staticMetaObject()->signalOffset() + 1 );
}

// TQ_SIGNAL copyAvailable
void TQTextEdit::copyAvailable( bool t0 )
{
    activate_signal_bool( staticMetaObject()->signalOffset() + 2, t0 );
}

// TQ_SIGNAL undoAvailable
void TQTextEdit::undoAvailable( bool t0 )
{
    activate_signal_bool( staticMetaObject()->signalOffset() + 3, t0 );
}

// TQ_SIGNAL redoAvailable
void TQTextEdit::redoAvailable( bool t0 )
{
    activate_signal_bool( staticMetaObject()->signalOffset() + 4, t0 );
}

#include <ntqobjectdefs.h>
#include <ntqsignalslotimp.h>

// TQ_SIGNAL currentFontChanged
void TQTextEdit::currentFontChanged( const TQFont& t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 5 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_varptr.set(o+1,&t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL currentColorChanged
void TQTextEdit::currentColorChanged( const TQColor& t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 6 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_varptr.set(o+1,&t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL currentAlignmentChanged
void TQTextEdit::currentAlignmentChanged( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 7, t0 );
}

// TQ_SIGNAL currentVerticalAlignmentChanged
void TQTextEdit::currentVerticalAlignmentChanged( VerticalAlignment t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 8 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,&t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL cursorPositionChanged
void TQTextEdit::cursorPositionChanged( TQTextCursor* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 9 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL cursorPositionChanged
void TQTextEdit::cursorPositionChanged( int t0, int t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 10 );
    if ( !clist )
	return;
    TQUObject o[3];
    static_QUType_int.set(o+1,t0);
    static_QUType_int.set(o+2,t1);
    o[2].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL returnPressed
void TQTextEdit::returnPressed()
{
    activate_signal( staticMetaObject()->signalOffset() + 11 );
}

// TQ_SIGNAL modificationChanged
void TQTextEdit::modificationChanged( bool t0 )
{
    activate_signal_bool( staticMetaObject()->signalOffset() + 12, t0 );
}

// TQ_SIGNAL clicked
void TQTextEdit::clicked( int t0, int t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 13 );
    if ( !clist )
	return;
    TQUObject o[3];
    static_QUType_int.set(o+1,t0);
    static_QUType_int.set(o+2,t1);
    o[2].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL doubleClicked
void TQTextEdit::doubleClicked( int t0, int t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 14 );
    if ( !clist )
	return;
    TQUObject o[3];
    static_QUType_int.set(o+1,t0);
    static_QUType_int.set(o+2,t1);
    o[2].isLastObject = true;
    activate_signal( clist, o );
}

bool TQTextEdit::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: setEnabled((bool)static_QUType_bool.get(_o+1)); break;
    case 1: setMimeSourceFactory((TQMimeSourceFactory*)static_QUType_ptr.get(_o+1)); break;
    case 2: setStyleSheet((TQStyleSheet*)static_QUType_ptr.get(_o+1)); break;
    case 3: scrollToAnchor((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 4: setPaper((const TQBrush&)*((const TQBrush*)static_QUType_ptr.get(_o+1))); break;
    case 5: setLinkUnderline((bool)static_QUType_bool.get(_o+1)); break;
    case 6: setWordWrap((WordWrap)static_QUType_enum.get(_o+1)); break;
    case 7: setWrapColumnOrWidth((int)static_QUType_int.get(_o+1)); break;
    case 8: setWrapPolicy((WrapPolicy)static_QUType_enum.get(_o+1)); break;
    case 9: copy(); break;
    case 10: append((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 11: setText((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 12: setText((const TQString&)static_QUType_TQString.get(_o+1),(const TQString&)static_QUType_TQString.get(_o+2)); break;
    case 13: setTextFormat((TextFormat)(*((TextFormat*)static_QUType_ptr.get(_o+1)))); break;
    case 14: selectAll(); break;
    case 15: selectAll((bool)static_QUType_bool.get(_o+1)); break;
    case 16: setTabStopWidth((int)static_QUType_int.get(_o+1)); break;
    case 17: zoomIn((int)static_QUType_int.get(_o+1)); break;
    case 18: zoomIn(); break;
    case 19: zoomOut((int)static_QUType_int.get(_o+1)); break;
    case 20: zoomOut(); break;
    case 21: zoomTo((int)static_QUType_int.get(_o+1)); break;
    case 22: sync(); break;
    case 23: setReadOnly((bool)static_QUType_bool.get(_o+1)); break;
    case 24: undo(); break;
    case 25: redo(); break;
    case 26: cut(); break;
    case 27: paste(); break;
    case 28: pasteSubType((const TQCString&)*((const TQCString*)static_QUType_ptr.get(_o+1))); break;
    case 29: clear(); break;
    case 30: del(); break;
    case 31: indent(); break;
    case 32: setItalic((bool)static_QUType_bool.get(_o+1)); break;
    case 33: setBold((bool)static_QUType_bool.get(_o+1)); break;
    case 34: setUnderline((bool)static_QUType_bool.get(_o+1)); break;
    case 35: setFamily((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 36: setPointSize((int)static_QUType_int.get(_o+1)); break;
    case 37: setColor((const TQColor&)*((const TQColor*)static_QUType_ptr.get(_o+1))); break;
    case 38: setFont((const TQFont&)*((const TQFont*)static_QUType_ptr.get(_o+1))); break;
    case 39: setVerticalAlignment((VerticalAlignment)(*((VerticalAlignment*)static_QUType_ptr.get(_o+1)))); break;
    case 40: setAlignment((int)static_QUType_int.get(_o+1)); break;
    case 41: setParagType((TQStyleSheetItem::DisplayMode)(*((TQStyleSheetItem::DisplayMode*)static_QUType_ptr.get(_o+1))),(TQStyleSheetItem::ListStyle)(*((TQStyleSheetItem::ListStyle*)static_QUType_ptr.get(_o+2)))); break;
    case 42: setCursorPosition((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 43: setSelection((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4)); break;
    case 44: setSelection((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4),(int)static_QUType_int.get(_o+5)); break;
    case 45: setSelectionAttributes((int)static_QUType_int.get(_o+1),(const TQColor&)*((const TQColor*)static_QUType_ptr.get(_o+2)),(bool)static_QUType_bool.get(_o+3)); break;
    case 46: setModified((bool)static_QUType_bool.get(_o+1)); break;
    case 47: resetFormat(); break;
    case 48: setUndoDepth((int)static_QUType_int.get(_o+1)); break;
    case 49: setFormat((TQTextFormat*)static_QUType_ptr.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 50: ensureCursorVisible(); break;
    case 51: placeCursor((const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+1))); break;
    case 52: placeCursor((const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+1)),(TQTextCursor*)static_QUType_ptr.get(_o+2)); break;
    case 53: moveCursor((CursorAction)(*((CursorAction*)static_QUType_ptr.get(_o+1))),(bool)static_QUType_bool.get(_o+2)); break;
    case 54: doKeyboardAction((KeyboardAction)(*((KeyboardAction*)static_QUType_ptr.get(_o+1)))); break;
    case 55: removeSelectedText(); break;
    case 56: removeSelectedText((int)static_QUType_int.get(_o+1)); break;
    case 57: removeSelection(); break;
    case 58: removeSelection((int)static_QUType_int.get(_o+1)); break;
    case 59: setCurrentFont((const TQFont&)*((const TQFont*)static_QUType_ptr.get(_o+1))); break;
    case 60: setOverwriteMode((bool)static_QUType_bool.get(_o+1)); break;
    case 61: scrollToBottom(); break;
    case 62: insert((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 63: insert((const TQString&)static_QUType_TQString.get(_o+1),(uint)(*((uint*)static_QUType_ptr.get(_o+2)))); break;
    case 64: insert((const TQString&)static_QUType_TQString.get(_o+1),(bool)static_QUType_bool.get(_o+2)); break;
    case 65: insert((const TQString&)static_QUType_TQString.get(_o+1),(bool)static_QUType_bool.get(_o+2),(bool)static_QUType_bool.get(_o+3)); break;
    case 66: insert((const TQString&)static_QUType_TQString.get(_o+1),(bool)static_QUType_bool.get(_o+2),(bool)static_QUType_bool.get(_o+3),(bool)static_QUType_bool.get(_o+4)); break;
    case 67: insertAt((const TQString&)static_QUType_TQString.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3)); break;
    case 68: removeParagraph((int)static_QUType_int.get(_o+1)); break;
    case 69: insertParagraph((const TQString&)static_QUType_TQString.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 70: setParagraphBackgroundColor((int)static_QUType_int.get(_o+1),(const TQColor&)*((const TQColor*)static_QUType_ptr.get(_o+2))); break;
    case 71: clearParagraphBackground((int)static_QUType_int.get(_o+1)); break;
    case 72: setUndoRedoEnabled((bool)static_QUType_bool.get(_o+1)); break;
    case 73: setTabChangesFocus((bool)static_QUType_bool.get(_o+1)); break;
    case 74: polish(); break;
    case 75: setMaxLogLines((int)static_QUType_int.get(_o+1)); break;
    case 76: static_QUType_int.set(_o,maxLogLines()); break;
    case 77: doChangeInterval(); break;
    case 78: sliderReleased(); break;
    case 79: formatMore(); break;
    case 80: doResize(); break;
    case 81: autoScrollTimerDone(); break;
    case 82: blinkCursor(); break;
    case 83: setModified(); break;
    case 84: startDrag(); break;
    case 85: documentWidthChanged((int)static_QUType_int.get(_o+1)); break;
    case 86: clipboardChanged(); break;
    case 87: optimDoAutoScroll(); break;
    default:
	return TQScrollView::tqt_invoke( _id, _o );
    }
    return true;
}

bool TQTextEdit::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: textChanged(); break;
    case 1: selectionChanged(); break;
    case 2: copyAvailable((bool)static_QUType_bool.get(_o+1)); break;
    case 3: undoAvailable((bool)static_QUType_bool.get(_o+1)); break;
    case 4: redoAvailable((bool)static_QUType_bool.get(_o+1)); break;
    case 5: currentFontChanged((const TQFont&)*((const TQFont*)static_QUType_ptr.get(_o+1))); break;
    case 6: currentColorChanged((const TQColor&)*((const TQColor*)static_QUType_ptr.get(_o+1))); break;
    case 7: currentAlignmentChanged((int)static_QUType_int.get(_o+1)); break;
    case 8: currentVerticalAlignmentChanged((VerticalAlignment)(*((VerticalAlignment*)static_QUType_ptr.get(_o+1)))); break;
    case 9: cursorPositionChanged((TQTextCursor*)static_QUType_ptr.get(_o+1)); break;
    case 10: cursorPositionChanged((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 11: returnPressed(); break;
    case 12: modificationChanged((bool)static_QUType_bool.get(_o+1)); break;
    case 13: clicked((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 14: doubleClicked((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    default:
	return TQScrollView::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

bool TQTextEdit::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setTextFormat((TextFormat&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->textFormat() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 1: switch( f ) {
	case 0: setText(v->asString()); break;
	case 1: *v = TQVariant( this->text() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 2: switch( f ) {
	case 0: setPaper(v->asBrush()); break;
	case 1: *v = TQVariant( this->paper() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 3: switch( f ) {
	case 0: setLinkUnderline(v->asBool()); break;
	case 1: *v = TQVariant( this->linkUnderline() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 4: switch( f ) {
	case 1: *v = TQVariant( this->documentTitle() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 5: switch( f ) {
	case 1: *v = TQVariant( this->length() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 6: switch( f ) {
	case 0: setWordWrap((WordWrap&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->wordWrap() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 7: switch( f ) {
	case 0: setWrapColumnOrWidth(v->asInt()); break;
	case 1: *v = TQVariant( this->wrapColumnOrWidth() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 8: switch( f ) {
	case 0: setWrapPolicy((WrapPolicy&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->wrapPolicy() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 9: switch( f ) {
	case 1: *v = TQVariant( this->hasSelectedText() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 10: switch( f ) {
	case 1: *v = TQVariant( this->selectedText() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 11: switch( f ) {
	case 0: setUndoDepth(v->asInt()); break;
	case 1: *v = TQVariant( this->undoDepth() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 12: switch( f ) {
	case 0: setOverwriteMode(v->asBool()); break;
	case 1: *v = TQVariant( this->isOverwriteMode() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 13: switch( f ) {
	case 0: setModified(v->asBool()); break;
	case 1: *v = TQVariant( this->isModified() ); break;
	case 4: case 5: break;
	default: return false;
    } break;
    case 14: switch( f ) {
	case 0: setReadOnly(v->asBool()); break;
	case 1: *v = TQVariant( this->isReadOnly() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 15: switch( f ) {
	case 0: setUndoRedoEnabled(v->asBool()); break;
	case 1: *v = TQVariant( this->isUndoRedoEnabled() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 16: switch( f ) {
	case 0: setTabStopWidth(v->asInt()); break;
	case 1: *v = TQVariant( this->tabStopWidth() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 17: switch( f ) {
	case 0: setTabChangesFocus(v->asBool()); break;
	case 1: *v = TQVariant( this->tabChangesFocus() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 18: switch( f ) {
	case 0: setAutoFormatting(v->asUInt()); break;
	case 1: *v = TQVariant( (int)this->autoFormatting() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    default:
	return TQScrollView::tqt_property( id, f, v );
    }
    return true;
}

bool TQTextEdit::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES
