diff options
Diffstat (limited to 'sip/qtext/qextscintilla.sip')
-rw-r--r-- | sip/qtext/qextscintilla.sip | 164 |
1 files changed, 82 insertions, 82 deletions
diff --git a/sip/qtext/qextscintilla.sip b/sip/qtext/qextscintilla.sip index c03dc56..e7609b9 100644 --- a/sip/qtext/qextscintilla.sip +++ b/sip/qtext/qextscintilla.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. @@ -40,7 +40,7 @@ public: enum AutoCompletionSource { AcsDocument, AcsAPIs, -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) AcsAll, %End }; @@ -51,7 +51,7 @@ public: SloppyBraceMatch }; -%If (QScintilla_1_4 -) +%If (TQScintilla_1_4 -) enum EdgeMode { EdgeNone, EdgeLine, @@ -111,12 +111,12 @@ public: enum WrapMode { WrapNone, WrapWord, -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) WrapCharacter, %End }; -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) enum WrapVisualFlag { WrapFlagNone, WrapFlagByText, @@ -124,11 +124,11 @@ public: }; %End - QextScintilla(QWidget * /TransferThis/ = 0,const char * = 0, + QextScintilla(TQWidget * /TransferThis/ = 0,const char * = 0, WFlags = 0); bool autoCompletionCaseSensitivity(); -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) bool autoCompletionFillupsEnabled(); %End bool autoCompletionReplaceWord(); @@ -140,18 +140,18 @@ public: void beginUndoAction(); BraceMatch braceMatching() const; int callTipsVisible() const; -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) void cancelList(); %End void clearRegisteredImages(); void convertEols(EolMode); -%If (QScintilla_1_3 -) +%If (TQScintilla_1_3 -) QextScintillaDocument document(); %End void endUndoAction(); -%If (QScintilla_1_4 -) - QColor edgeColor(); +%If (TQScintilla_1_4 -) + TQColor edgeColor(); int edgeColumn(); EdgeMode edgeMode(); %End @@ -159,22 +159,22 @@ public: EolMode eolMode(); bool eolVisibility(); -%If (QScintilla_1_7 -) - QColor color() const; - QColor paper() const; +%If (TQScintilla_1_7 -) + TQColor color() const; + TQColor paper() const; %End -%If (QScintilla_1_6 -) - virtual bool findFirst(const QString &,bool,bool,bool,bool,bool = 1, +%If (TQScintilla_1_6 -) + virtual bool findFirst(const TQString &,bool,bool,bool,bool,bool = 1, int = -1,int = -1,bool = 1); %End -%If (- QScintilla_1_6) - virtual bool findFirst(const QString &,bool,bool,bool,bool,bool = 1, +%If (- TQScintilla_1_6) + virtual bool findFirst(const TQString &,bool,bool,bool,bool,bool = 1, int = -1,int = -1); %End virtual bool findNext(); -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) int firstVisibleLine(); %End @@ -189,7 +189,7 @@ public: bool indentationsUseTabs(); int indentationWidth(); -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) bool isCallTipActive(); bool isListActive(); %End @@ -198,11 +198,11 @@ public: bool isRedoAvailable(); bool isUndoAvailable(); bool isUtf8(); - int lineAt(const QPoint &); + int lineAt(const TQPoint &); int lineLength(int); int lines(); int length(); -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) QextScintillaLexer *lexer() const; %End @@ -213,7 +213,7 @@ public: int markerDefine(MarkerSymbol,int = -1); int markerDefine(char,int = -1); - int markerDefine(const QPixmap *,int = -1); + int markerDefine(const TQPixmap *,int = -1); int markerAdd(int,int); unsigned markersAtLine(int); void markerDelete(int,int = -1); @@ -222,74 +222,74 @@ public: int markerLine(int); int markerFindNext(int,unsigned); int markerFindPrevious(int,unsigned); -%If (QScintilla_1_3 -) +%If (TQScintilla_1_3 -) virtual void recolor(int = 0,int = -1); %End - void registerImage(int,const QPixmap *); - virtual void replace(const QString &); + void registerImage(int,const TQPixmap *); + virtual void replace(const TQString &); void resetFoldMarginColors(); - void setFoldMarginColors(const QColor &,const QColor &); + void setFoldMarginColors(const TQColor &,const TQColor &); void setAutoCompletionAPIs(QextScintillaAPIs * = 0); void setAutoCompletionFillups(const char *); -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) void setAutoCompletionFillupsEnabled(bool); void setAutoCompletionStartCharacters(const char *); %End void setCallTipsAPIs(QextScintillaAPIs * = 0); - void setCallTipsBackgroundColor(const QColor &); - void setCallTipsForegroundColor(const QColor &); - void setCallTipsHighlightColor(const QColor &); + void setCallTipsBackgroundColor(const TQColor &); + void setCallTipsForegroundColor(const TQColor &); + void setCallTipsHighlightColor(const TQColor &); void setCallTipsVisible(int); -%If (QScintilla_1_3 -) +%If (TQScintilla_1_3 -) void setDocument(const QextScintillaDocument &); %End -%If (QScintilla_1_4 -) - void setEdgeColor(const QColor &); +%If (TQScintilla_1_4 -) + void setEdgeColor(const TQColor &); void setEdgeColumn(int); void setEdgeMode(EdgeMode); %End -%If (QScintilla_1_7 -) - virtual void setFont(const QFont &); +%If (TQScintilla_1_7 -) + virtual void setFont(const TQFont &); %End - void setMarkerBackgroundColor(const QColor &,int = -1); - void setMarkerForegroundColor(const QColor &,int = -1); + void setMarkerBackgroundColor(const TQColor &,int = -1); + void setMarkerForegroundColor(const TQColor &,int = -1); - void setMatchedBraceBackgroundColor(const QColor &); - void setMatchedBraceForegroundColor(const QColor &); - void setUnmatchedBraceBackgroundColor(const QColor &); - void setUnmatchedBraceForegroundColor(const QColor &); + void setMatchedBraceBackgroundColor(const TQColor &); + void setMatchedBraceForegroundColor(const TQColor &); + void setUnmatchedBraceBackgroundColor(const TQColor &); + void setUnmatchedBraceForegroundColor(const TQColor &); -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) void setWrapVisualFlags(WrapVisualFlag, WrapVisualFlag = QextScintilla::WrapFlagNone, int = 0); %End - QString selectedText(); -%If (QScintilla_1_7 -) - void showUserList(int, const QStringList &); + TQString selectedText(); +%If (TQScintilla_1_7 -) + void showUserList(int, const TQStringList &); %End QextScintillaCommandSet *standardCommands() const; bool tabIndents(); int tabWidth(); - QString text(); - QString text(int); -%If (QScintilla_1_7 -) + TQString text(); + TQString text(int); +%If (TQScintilla_1_7 -) int textHeight(int); %End WhitespaceVisibility whitespaceVisibility(); -%If (QScintilla_1_4 -) +%If (TQScintilla_1_4 -) WrapMode wrapMode(); %End public slots: - virtual void append(const QString &); -%If (QScintilla_1_7 -) + virtual void append(const TQString &); +%If (TQScintilla_1_7 -) virtual void autoCompleteFromAll(); %End virtual void autoCompleteFromAPIs(); @@ -301,23 +301,23 @@ public slots: virtual void ensureCursorVisible(); virtual void ensureLineVisible(int); -%If (QScintilla_1_7 -) +%If (TQScintilla_1_7 -) virtual void foldAll(bool = 0); %End -%If (- QScintilla_1_7) +%If (- TQScintilla_1_7) virtual void foldAll(); %End virtual void foldLine(int); virtual void indent(int); -%If (QScintilla_1_4 -) - virtual void insert(const QString &); +%If (TQScintilla_1_4 -) + virtual void insert(const TQString &); %End - virtual void insertAt(const QString &,int,int); + virtual void insertAt(const TQString &,int,int); virtual void moveToMatchingBrace(); virtual void paste(); virtual void redo(); virtual void removeSelectedText(); -%If (QScintilla_1_4 -) +%If (TQScintilla_1_4 -) virtual void resetSelectionBackgroundColor(); virtual void resetSelectionForegroundColor(); %End @@ -332,14 +332,14 @@ public slots: virtual void setAutoIndent(bool); virtual void setBraceMatching(BraceMatch); virtual void setBackspaceUnindents(bool); -%If (QScintilla_1_3 -) - virtual void setCaretForegroundColor(const QColor &); - virtual void setCaretLineBackgroundColor(const QColor &); +%If (TQScintilla_1_3 -) + virtual void setCaretForegroundColor(const TQColor &); + virtual void setCaretLineBackgroundColor(const TQColor &); virtual void setCaretLineVisible(bool); virtual void setCaretWidth(int); %End -%If (QScintilla_1_7 -) - virtual void setColor(const QColor &); +%If (TQScintilla_1_7 -) + virtual void setColor(const TQColor &); %End virtual void setCursorPosition(int,int); virtual void setEolMode(EolMode); @@ -348,39 +348,39 @@ public slots: virtual void setIndentation(int,int); virtual void setIndentationGuides(bool); - virtual void setIndentationGuidesBackgroundColor(const QColor &); - virtual void setIndentationGuidesForegroundColor(const QColor &); + virtual void setIndentationGuidesBackgroundColor(const TQColor &); + virtual void setIndentationGuidesForegroundColor(const TQColor &); virtual void setIndentationsUseTabs(bool); virtual void setIndentationWidth(int); virtual void setLexer(QextScintillaLexer * = 0); - virtual void setMarginsBackgroundColor(const QColor &); - virtual void setMarginsFont(const QFont &); - virtual void setMarginsForegroundColor(const QColor &); + virtual void setMarginsBackgroundColor(const TQColor &); + virtual void setMarginsFont(const TQFont &); + virtual void setMarginsForegroundColor(const TQColor &); virtual void setMarginLineNumbers(int,bool); virtual void setMarginMarkerMask(int,int); virtual void setMarginSensitivity(int,bool); virtual void setMarginWidth(int,int); - virtual void setMarginWidth(int,const QString &); + virtual void setMarginWidth(int,const TQString &); virtual void setModified(bool); -%If (QScintilla_1_7 -) - virtual void setPaper(const QColor &); +%If (TQScintilla_1_7 -) + virtual void setPaper(const TQColor &); %End virtual void setReadOnly(bool); virtual void setSelection(int,int,int,int); -%If (QScintilla_1_3 -) - virtual void setSelectionBackgroundColor(const QColor &); - virtual void setSelectionForegroundColor(const QColor &); +%If (TQScintilla_1_3 -) + virtual void setSelectionBackgroundColor(const TQColor &); + virtual void setSelectionForegroundColor(const TQColor &); %End virtual void setTabIndents(bool); virtual void setTabWidth(int); - virtual void setText(const QString &); + virtual void setText(const TQString &); virtual void setUtf8(bool); virtual void setWhitespaceVisibility(WhitespaceVisibility); -%If (QScintilla_1_4 -) +%If (TQScintilla_1_4 -) virtual void setWrapMode(WrapMode); %End @@ -396,13 +396,13 @@ public slots: signals: void cursorPositionChanged(int,int); void copyAvailable(bool); - void marginClicked(int,int,Qt::ButtonState); + void marginClicked(int,int,TQt::ButtonState); void modificationAttempted(); void modificationChanged(bool); void selectionChanged(); void textChanged(); -%If (QScintilla_1_7 -) - void userListActivated(int, const QString &); +%If (TQScintilla_1_7 -) + void userListActivated(int, const TQString &); %End private: |