diff options
Diffstat (limited to 'sip/qtext/qextscintillabase.sip')
-rw-r--r-- | sip/qtext/qextscintillabase.sip | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/sip/qtext/qextscintillabase.sip b/sip/qtext/qextscintillabase.sip index 009ea0b..87f6275 100644 --- a/sip/qtext/qextscintillabase.sip +++ b/sip/qtext/qextscintillabase.sip @@ -3,20 +3,20 @@ // Copyright (c) 2007 // Riverbank Computing Limited <info@riverbankcomputing.co.uk> // -// This file is part of PyQt. +// This file is part of PyTQt. // -// This copy of PyQt is free software; you can redistribute it and/or modify it +// This copy of PyTQt is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the Free // Software Foundation; either version 2, or (at your option) any later // version. // -// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY +// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more // details. // // You should have received a copy of the GNU General Public License along with -// PyQt; see the file LICENSE. If not, write to the Free Software Foundation, +// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation, // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -24,7 +24,7 @@ // enough to handle the resulting %Timeline complexity. -class QextScintillaBase : QWidget +class QextScintillaBase : TQWidget { %TypeHeaderCode #include <qextscintillabase.h> @@ -239,13 +239,13 @@ public: SCI_CALLTIPSETBACK, SCI_CALLTIPSETFORE, SCI_CALLTIPSETFOREHLT, -%If (QScintilla_1_6 -) +%If (TQScintilla_1_6 -) SCI_AUTOCSETMAXWIDTH, SCI_AUTOCGETMAXWIDTH, SCI_AUTOCSETMAXHEIGHT, SCI_AUTOCGETMAXHEIGHT, %End -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) SCI_CALLTIPUSESTYLE, %End SCI_VISIBLEFROMDOCLINE, @@ -263,7 +263,7 @@ public: SCI_ENSUREVISIBLE, SCI_SETFOLDFLAGS, SCI_ENSUREVISIBLEENFORCEPOLICY, -%If (QScintilla_1_6 -) +%If (TQScintilla_1_6 -) SCI_WRAPCOUNT, %End SCI_SETTABINDENTS, @@ -409,13 +409,13 @@ public: SCI_PARADOWNEXTEND, SCI_PARAUP, SCI_PARAUPEXTEND, -%If (QScintilla_1_1 -) +%If (TQScintilla_1_1 -) SCI_POSITIONBEFORE, SCI_POSITIONAFTER, SCI_COPYRANGE, SCI_COPYTEXT, %End -%If (QScintilla_1_3 -) +%If (TQScintilla_1_3 -) SCI_SETSELECTIONMODE, SCI_GETSELECTIONMODE, SCI_GETLINESELSTARTPOSITION, @@ -448,16 +448,16 @@ public: SCI_LINEENDWRAPEXTEND, SCI_VCHOMEWRAP, SCI_VCHOMEWRAPEXTEND, -%If (QScintilla_1_1 -) +%If (TQScintilla_1_1 -) SCI_LINECOPY, %End -%If (QScintilla_1_6 -) +%If (TQScintilla_1_6 -) SCI_FINDCOLUMN, SCI_GETCARETSTICKY, SCI_SETCARETSTICKY, SCI_TOGGLECARETSTICKY, %End -%If (QScintilla_1_3 -) +%If (TQScintilla_1_3 -) SCI_SETWRAPVISUALFLAGS, SCI_GETWRAPVISUALFLAGS, SCI_SETWRAPVISUALFLAGSLOCATION, @@ -465,7 +465,7 @@ public: SCI_SETWRAPSTARTINDENT, SCI_GETWRAPSTARTINDENT, %End -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) SCI_MARKERADDSET, SCI_SETPASTECONVERTENDINGS SCI_GETPASTECONVERTENDINGS @@ -484,27 +484,27 @@ public: SCI_SETPROPERTY, SCI_SETKEYWORDS, SCI_SETLEXERLANGUAGE, -%If (QScintilla_1_6 -) +%If (TQScintilla_1_6 -) SCI_LOADLEXERLIBRARY, SCI_GETPROPERTY, SCI_GETPROPERTYEXPANDED, SCI_GETPROPERTYINT, %End -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) SCI_GETSTYLEBITSNEEDED, %End }; -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) enum { SC_ALPHA_TRANSPARENT, - SC_ALPHA_OPAQUE, + SC_ALPHA_OPATQUE, SC_ALPHA_NOALPHA, }; %End -%If (QScintilla_1_3 -) +%If (TQScintilla_1_3 -) enum { SC_WRAPVISUALFLAG_NONE, @@ -570,7 +570,7 @@ public: SC_MARK_DOTDOTDOT, SC_MARK_ARROWS, SC_MARK_PIXMAP, -%If (QScintilla_1_6 -) +%If (TQScintilla_1_6 -) SC_MARK_FULLRECT, %End SC_MARK_CHARACTER @@ -590,7 +590,7 @@ public: enum { SC_MARGIN_SYMBOL, SC_MARGIN_NUMBER, -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) SC_MARGIN_BACK, SC_MARGIN_FORE, %End @@ -603,11 +603,11 @@ public: STYLE_BRACEBAD, STYLE_CONTROLCHAR, STYLE_INDENTGUIDE, -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) STYLE_CALLTIP, %End STYLE_LASTPREDEFINED, -%If (QScintilla_1_3 -) +%If (TQScintilla_1_3 -) STYLE_MAX %End }; @@ -632,7 +632,7 @@ public: SC_CHARSET_ARABIC, SC_CHARSET_VIETNAMESE, SC_CHARSET_THAI, -%If (QScintilla_1_6 -) +%If (TQScintilla_1_6 -) SC_CHARSET_8859_15, %End }; @@ -646,17 +646,17 @@ public: enum { INDIC_MAX, INDIC_PLAIN, - INDIC_SQUIGGLE, + INDIC_STQUIGGLE, INDIC_TT, INDIC_DIAGONAL, INDIC_STRIKE, -%If (QScintilla_1_2 -) +%If (TQScintilla_1_2 -) INDIC_HIDDEN, %End -%If (QScintilla_1_3 -) +%If (TQScintilla_1_3 -) INDIC_BOX, %End -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) INDIC_ROUNDBOX, %End INDIC0_MASK, @@ -709,7 +709,7 @@ public: enum { SC_WRAP_NONE, SC_WRAP_WORD, -%If (QScintilla_1_6 -) +%If (TQScintilla_1_6 -) SC_WRAP_CHAR, %End }; @@ -752,14 +752,14 @@ public: SC_PERFORMED_USER, SC_PERFORMED_UNDO, SC_PERFORMED_REDO, -%If (QScintilla_1_6 -) +%If (TQScintilla_1_6 -) SC_MULTISTEPUNDOREDO, %End SC_LASTSTEPINUNDOREDO, SC_MOD_CHANGEMARKER, SC_MOD_BEFOREINSERT, SC_MOD_BEFOREDELETE, -%If (QScintilla_1_6 -) +%If (TQScintilla_1_6 -) SC_MULTILINEUNDOREDO, %End SC_MODEVENTMASKALL @@ -786,7 +786,7 @@ public: }; enum { -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) SCMOD_NORM, %End SCMOD_SHIFT, @@ -827,7 +827,7 @@ public: SCLEX_PHP, SCLEX_BAAN, SCLEX_MATLAB, -%If (QScintilla_1_2 -) +%If (TQScintilla_1_2 -) SCLEX_SCRIPTOL, %End SCLEX_ASM, @@ -836,16 +836,16 @@ public: SCLEX_F77, SCLEX_CSS, SCLEX_POV, -%If (QScintilla_1_1 -) +%If (TQScintilla_1_1 -) SCLEX_LOUT, SCLEX_ESCRIPT, %End -%If (QScintilla_1_2 -) +%If (TQScintilla_1_2 -) SCLEX_PS, SCLEX_NSIS, SCLEX_MMIXAL, %End -%If (QScintilla_1_3 -) +%If (TQScintilla_1_3 -) SCLEX_CLW, SCLEX_CLWNOCASE, SCLEX_LOT, @@ -865,11 +865,11 @@ public: SCLEX_APDL, SCLEX_BASH, %End -%If (QScintilla_1_5 -) +%If (TQScintilla_1_5 -) SCLEX_ASN1, SCLEX_VHDL, %End -%If (QScintilla_1_6 -) +%If (TQScintilla_1_6 -) SCLEX_CAML, SCLEX_BLITZBASIC, SCLEX_PUREBASIC, @@ -881,7 +881,7 @@ public: SCLEX_FLAGSHIP, SCLEX_CSOUND, %End -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) SCLEX_FREEBASIC, SCLEX_INNOSETUP, SCLEX_OPAL, @@ -889,7 +889,7 @@ public: %End }; - QextScintillaBase(QWidget * /TransferThis/,const char *, + QextScintillaBase(TQWidget * /TransferThis/,const char *, WFlags = 0); %ConvertToSubClassCode @@ -901,34 +901,34 @@ public: {sipName_QextScintillaLexer, &sipClass_QextScintillaLexer, 3, 1}, {sipName_QextScintillaBase, &sipClass_QextScintillaBase, 15, 2}, {sipName_QextScintillaMacro, &sipClass_QextScintillaMacro, -1, -1}, -#if QSCINTILLA_VERSION >= 0x010300 +#if TQSCINTILLA_VERSION >= 0x010300 {sipName_QextScintillaLexerPerl, &sipClass_QextScintillaLexerPerl, -1, 4}, #else {NULL, NULL, -1, 4}, #endif -#if QSCINTILLA_VERSION >= 0x010100 +#if TQSCINTILLA_VERSION >= 0x010100 {sipName_QextScintillaLexerHTML, &sipClass_QextScintillaLexerHTML, -1, 5}, #else {NULL, NULL, -1, 5}, #endif -#if QSCINTILLA_VERSION >= 0x010500 +#if TQSCINTILLA_VERSION >= 0x010500 {sipName_QextScintillaLexerRuby, &sipClass_QextScintillaLexerRuby, -1, 6}, #else {NULL, NULL, -1, 6}, #endif {sipName_QextScintillaLexerCPP, &sipClass_QextScintillaLexerCPP, 11, 7}, {sipName_QextScintillaLexerPython, &sipClass_QextScintillaLexerPython, -1, 8}, -#if QSCINTILLA_VERSION >= 0x010100 +#if TQSCINTILLA_VERSION >= 0x010100 {sipName_QextScintillaLexerSQL, &sipClass_QextScintillaLexerSQL, -1, 9}, #else {NULL, NULL, -1, 9}, #endif -#if QSCINTILLA_VERSION >= 0x010400 +#if TQSCINTILLA_VERSION >= 0x010400 {sipName_QextScintillaLexerBash, &sipClass_QextScintillaLexerBash, -1, 10}, #else {NULL, NULL, -1, 10}, #endif -#if QSCINTILLA_VERSION >= 0x010500 +#if TQSCINTILLA_VERSION >= 0x010500 {sipName_QextScintillaLexerLua, &sipClass_QextScintillaLexerLua, -1, -1}, #else {NULL, NULL, -1, -1}, @@ -959,7 +959,7 @@ public: while (i >= 0); %End -%If (QScintilla_1_3 -) +%If (TQScintilla_1_3 -) QextScintillaBase *pool(); %End @@ -970,23 +970,23 @@ public: long SendScintilla(unsigned int,long); //long SendScintilla(unsigned int,int); long SendScintilla(unsigned int,long,long,char *); - long SendScintilla(unsigned int,unsigned long,const QColor &); - long SendScintilla(unsigned int,const QColor &); - long SendScintilla(unsigned int,unsigned long,QPainter *,const QRect &, + long SendScintilla(unsigned int,unsigned long,const TQColor &); + long SendScintilla(unsigned int,const TQColor &); + long SendScintilla(unsigned int,unsigned long,TQPainter *,const TQRect &, long,long); - long SendScintilla(unsigned int,unsigned long,const QPixmap *); + long SendScintilla(unsigned int,unsigned long,const TQPixmap *); - virtual QSize sizeHint() const; -%If (QScintilla_1_5 -) - QWidget *viewport() const; + virtual TQSize sizeHint() const; +%If (TQScintilla_1_5 -) + TQWidget *viewport() const; %End signals: - void QSCN_SELCHANGED(bool); + void TQSCN_SELCHANGED(bool); void SCEN_CHANGE(); -%If (QScintilla_1_6 -) +%If (TQScintilla_1_6 -) void SCN_AUTOCSELECTION(const char *,int); %End void SCN_CHARADDED(int); @@ -1010,12 +1010,12 @@ signals: void SCN_ZOOM(); protected: - bool eventFilter(QObject *,QEvent *); - virtual void keyPressEvent(QKeyEvent *); - virtual void focusInEvent(QFocusEvent *); - virtual void focusOutEvent(QFocusEvent *); + bool eventFilter(TQObject *,TQEvent *); + virtual void keyPressEvent(TQKeyEvent *); + virtual void focusInEvent(TQFocusEvent *); + virtual void focusOutEvent(TQFocusEvent *); virtual bool focusNextPrevChild(bool); -%If (QScintilla_1_5 -) +%If (TQScintilla_1_5 -) virtual void startDrag(); %End |