diff --git a/ChangeLog b/ChangeLog index d09cbfd..faa8354 100644 --- a/ChangeLog +++ b/ChangeLog @@ -96,7 +96,7 @@ Possibly fixed a possible problem with double clicking under Windows. 2006/07/02 14:27:26 phil Added setWrapVisualFlags(), WrapMode::WrapCharacter, WrapVisualFlag to QextScintilla. -The layout cache is now set according to the wrap mode. +The tqlayout cache is now set according to the wrap mode. Setting a wrap mode now disables the horizontal scrollbar. @@ -840,7 +840,7 @@ Fixed the QextScintilla::marginClicked() signature and changed it to pass the line number rather than the pixel position. Added mouse wheel support from Detlev. Setting the lexer no longer resets all the styles. -The cursor shape now changes when moved across the text area and margins. +The cursor tqshape now changes when moved across the text area and margins. Added ensureLineVisible(), setMarginsBackgroundColor(), setMarginsForegroundColor(), setMarginsFont() and the overloaded setMarginWidth() to QextScintilla. diff --git a/designer/qscintillaplugin.cpp b/designer/qscintillaplugin.cpp index 1f1e595..b22c5ec 100644 --- a/designer/qscintillaplugin.cpp +++ b/designer/qscintillaplugin.cpp @@ -1,9 +1,9 @@ -// This implements the QScintilla plugin for Qt Designer. +// This implements the TQScintilla plugin for TQt Designer. -#include +#include -#include "../qt/qextscintilla.h" +#include "../tqt/qextscintilla.h" static const char *qscintilla_pixmap[]={ @@ -68,25 +68,25 @@ static const char *qscintilla_pixmap[]={ }; -class QScintillaPlugin : public QWidgetPlugin +class TQScintillaPlugin : public TQWidgetPlugin { public: - QScintillaPlugin() {}; - - QStringList keys() const; - QWidget *create(const QString &classname, QWidget *parent = 0, const char *name = 0); - QString group(const QString &) const; - QIconSet iconSet(const QString &) const; - QString includeFile(const QString &) const; - QString toolTip(const QString &) const; - QString whatsThis(const QString &) const; - bool isContainer(const QString &) const; + TQScintillaPlugin() {}; + + TQStringList keys() const; + TQWidget *create(const TQString &classname, TQWidget *parent = 0, const char *name = 0); + TQString group(const TQString &) const; + TQIconSet iconSet(const TQString &) const; + TQString includeFile(const TQString &) const; + TQString toolTip(const TQString &) const; + TQString whatsThis(const TQString &) const; + bool isContainer(const TQString &) const; }; -QStringList QScintillaPlugin::keys() const +TQStringList TQScintillaPlugin::keys() const { - QStringList list; + TQStringList list; list << "QextScintilla"; @@ -94,7 +94,7 @@ QStringList QScintillaPlugin::keys() const } -QWidget *QScintillaPlugin::create(const QString &key, QWidget *parent, const char *name) +TQWidget *TQScintillaPlugin::create(const TQString &key, TQWidget *parent, const char *name) { if (key == "QextScintilla") return new QextScintilla(parent, name); @@ -103,52 +103,52 @@ QWidget *QScintillaPlugin::create(const QString &key, QWidget *parent, const cha } -QString QScintillaPlugin::group(const QString &feature) const +TQString TQScintillaPlugin::group(const TQString &feature) const { if (feature == "QextScintilla") return "Input"; - return QString::null; + return TQString(); } -QIconSet QScintillaPlugin::iconSet(const QString &) const +TQIconSet TQScintillaPlugin::iconSet(const TQString &) const { - return QIconSet(QPixmap(qscintilla_pixmap)); + return TQIconSet(TQPixmap(qscintilla_pixmap)); } -QString QScintillaPlugin::includeFile(const QString &feature) const +TQString TQScintillaPlugin::includeFile(const TQString &feature) const { if (feature == "QextScintilla") - return "qextscintilla.h"; + return "tqextscintilla.h"; - return QString::null; + return TQString(); } -QString QScintillaPlugin::toolTip(const QString &feature) const +TQString TQScintillaPlugin::toolTip(const TQString &feature) const { if (feature == "QextScintilla") - return "QScintilla Programmer's Editor"; + return "TQScintilla Programmer's Editor"; - return QString::null; + return TQString(); } -QString QScintillaPlugin::whatsThis(const QString &feature) const +TQString TQScintillaPlugin::whatsThis(const TQString &feature) const { if (feature == "QextScintilla") - return "A port to Qt of the Scintilla programmer's editor"; + return "A port to TQt of the Scintilla programmer's editor"; - return QString::null; + return TQString(); } -bool QScintillaPlugin::isContainer(const QString &) const +bool TQScintillaPlugin::isContainer(const TQString &) const { return FALSE; } -Q_EXPORT_PLUGIN(QScintillaPlugin) +TQ_EXPORT_PLUGIN(TQScintillaPlugin) diff --git a/doc/Scintilla/SciTEIco.png b/doc/Scintilla/SciTEIco.png index d0cc869..6ff6a55 100755 Binary files a/doc/Scintilla/SciTEIco.png and b/doc/Scintilla/SciTEIco.png differ diff --git a/doc/Scintilla/ScintillaDoc.html b/doc/Scintilla/ScintillaDoc.html index 3767b3b..4d0b584 100755 --- a/doc/Scintilla/ScintillaDoc.html +++ b/doc/Scintilla/ScintillaDoc.html @@ -473,7 +473,7 @@ SCI_GETSTYLEBITSNEEDED.

TextRange and CharacterRange
- These structures are defined to be exactly the same shape as the Win32 TEXTRANGE + These structures are defined to be exactly the same tqshape as the Win32 TEXTRANGE and CHARRANGE, so that older code that treats Scintilla as a RichEdit will work.

@@ -677,7 +677,7 @@ struct TextRange {
     href="#SCI_SEARCHINTARGET">SCI_SEARCHINTARGET

TextToFind
- This structure is defined to have exactly the same shape as the Win32 structure + This structure is defined to have exactly the same tqshape as the Win32 structure FINDTEXTEX for old code that treated Scintilla as a RichEdit control.

 struct TextToFind {
@@ -2370,10 +2370,10 @@ struct TextToFind {
     20 Windows system colours.

To see an example of how to enable palette support in Scintilla, search the text of SciTE - for WM_PALETTECHANGED, WM_QUERYNEWPALETTE and + for WM_PALETTECHANGED, WM_TQUERYNEWPALETTE and SCI_SETUSEPALETTE. The Windows messages to forward are:
WM_SYSCOLORCHANGE, WM_PALETTECHANGED, - WM_QUERYNEWPALETTE (should return TRUE).

+ WM_TQUERYNEWPALETTE (should return TRUE).

To forward a message (WM_XXXX, WPARAM, LPARAM) to Scintilla, you can use SendMessage(hScintilla, WM_XXXX, WPARAM, LPARAM) where hScintilla is @@ -2449,7 +2449,7 @@ struct TextToFind { function. For example, if you don't allow '_' in your set of characters use:
- SCI_SETWORDCHARS(0, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");

+ SCI_SETWORDCHARS(0, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789");

SCI_SETWHITESPACECHARS(<unused>, const char *chars)
Similar to SCI_SETWORDCHARS, this message allows the user to define which chars Scintilla considers @@ -2873,7 +2873,7 @@ struct TextToFind { style information (for 32 styles) and 3 bits of indicator information for 3 independent indicators so that, for example, syntax errors, deprecated names and bad indentation could all be displayed at once. Indicators may be displayed as simple underlines, squiggly underlines, a - line of small 'T' shapes, a line of diagonal hatching, a strike-out or a rectangle around the text.

+ line of small 'T' tqshapes, a line of diagonal hatching, a strike-out or a rectangle around the text.

The indicators are set using SCI_STARTSTYLING with a INDICS_MASK mask @@ -2886,7 +2886,7 @@ struct TextToFind { Use SCI_GETENDSTYLED to retrieve the current "styled to" position and SCI_STARTSTYLING - to reset the styling position and mask (0x1f in the default layout of 5 style bits and 3 indicator bits) + to reset the styling position and mask (0x1f in the default tqlayout of 5 style bits and 3 indicator bits) when you are done.

The number of bits used for styles can be altered with - INDIC_SQUIGGLE + INDIC_STQUIGGLE 1 @@ -2947,7 +2947,7 @@ struct TextToFind { 2 - A line of small T shapes. + A line of small T tqshapes. @@ -2994,7 +2994,7 @@ struct TextToFind {

The default indicator styles are equivalent to:
- SCI_INDICSETSTYLE(0, INDIC_SQUIGGLE);
+ SCI_INDICSETSTYLE(0, INDIC_STQUIGGLE);
SCI_INDICSETSTYLE(1, INDIC_TT);
SCI_INDICSETSTYLE(2, INDIC_PLAIN);

@@ -4110,10 +4110,10 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ Independent from drawing a visual flag at the begin the subline can have an indention.

Much of the time used by Scintilla is spent on laying out and drawing text. The same text - layout calculations may be performed many times even when the data used in these calculations - does not change. To avoid these unnecessary calculations in some circumstances, the line layout + tqlayout calculations may be performed many times even when the data used in these calculations + does not change. To avoid these unnecessary calculations in some circumstances, the line tqlayout cache can store the results of the calculations. The cache is invalidated whenever the - underlying data, such as the contents or styling of the document changes. Caching the layout of + underlying data, such as the contents or styling of the document changes. Caching the tqlayout of the whole document has the most effect, making dynamic line wrap as much as 20 times faster but this requires 7 times the memory required by the document contents plus around 80 bytes per line.

diff --git a/doc/Scintilla/ScintillaHistory.html b/doc/Scintilla/ScintillaHistory.html index a230271..a4a74d6 100755 --- a/doc/Scintilla/ScintillaHistory.html +++ b/doc/Scintilla/ScintillaHistory.html @@ -578,7 +578,7 @@ Empty ranges can no longer be dragged.
  • - Crash fixed when calls made that use layout inside the painted notification. + Crash fixed when calls made that use tqlayout inside the painted notification.
  • Bug fixed where Scintilla created pixmap buffers that were too large leading @@ -595,8 +595,8 @@ SciTE HTML exporter no longer honours monospaced font setting.
  • - Line layout cache in page mode caches the line of the caret. An assertion is - now used to ensure that the layout reentrancy problem that caused this + Line tqlayout cache in page mode caches the line of the caret. An assertion is + now used to ensure that the tqlayout reentrancy problem that caused this is easier to find.
  • @@ -1285,7 +1285,7 @@ Bug fixed where SCI_LINEENDWRAP would move too far when line ends are visible.
  • - Bugs fixed where calltips with unicode or other non-ASCII text would display + Bugs fixed where calltips with tqunicode or other non-ASCII text would display incorrectly.
  • @@ -1533,7 +1533,7 @@ Bug in SciTE on Windows fixed where clipboard commands stopped working.
  • - Crashing bugs in display fixed in line layout cache. + Crashing bugs in display fixed in line tqlayout cache.
  • Crashing bug may be fixed on AMD64 processor on GTK+. @@ -2954,7 +2954,7 @@ Released on 15 March 2002.
  • - Line layout cache implemented to improve performance by maintaining + Line tqlayout cache implemented to improve performance by maintaining the positioning of characters on lines. Can be set to cache nothing, the line with the caret, the visible page or the whole document.
  • @@ -3534,7 +3534,7 @@ with GTK_ as keywords.
  • - Horizontal scrolling can be jumpy rather than gradual. + Qt::Horizontal scrolling can be jumpy rather than gradual.
  • GetSelText places a '\0' in the buffer if the selection is empty.. @@ -4592,7 +4592,7 @@ Tool bar.
  • - Status bar now on Windows as well as GTK+. + tqStatus bar now on Windows as well as GTK+.
  • Input fields in Find and Replace dialogs now have history on both Windows and @@ -4603,7 +4603,7 @@ in items. The selected item may be changed through the API.
  • - Horizontal scrollbar can be turned off. + Qt::Horizontal scrollbar can be turned off.
  • Property to remove trailing spaces when saving file. @@ -4795,7 +4795,7 @@ Caret policy determines how closely caret is tracked by visible area.
  • - New marker shapes: arrow pointing down, plus and minus. + New marker tqshapes: arrow pointing down, plus and minus.
  • Optionally display full path in title rather than just file name. @@ -4879,7 +4879,7 @@ Borland compatible makefile.
  • - Status bar showing caret position in GTK+ version of SciTE. + tqStatus bar showing caret position in GTK+ version of SciTE.
  • Bug fixes to selection drawing when part of selection outside window, mouse release over diff --git a/doc/Scintilla/ScintillaRelated.html b/doc/Scintilla/ScintillaRelated.html index bc2edc8..410ddb7 100755 --- a/doc/Scintilla/ScintillaRelated.html +++ b/doc/Scintilla/ScintillaRelated.html @@ -55,8 +55,8 @@ is an encapsulation of Scintilla for use within the .NET framework.

    - QScintilla - is a port of Scintilla to the Qt platform. It has a similar license to Qt: GPL for use in + TQScintilla + is a port of Scintilla to the TQt platform. It has a similar license to TQt: GPL for use in free software and commercial for use in close-source applications.

    @@ -221,7 +221,7 @@

    Eric3 - is a Python IDE written using PyQt and QScintilla. + is a Python IDE written using PyTQt and TQScintilla.

    TemplateTamer @@ -323,7 +323,7 @@

    Black Adder is a - Qt based development environment for Python and Ruby. + TQt based development environment for Python and Ruby.

    Komodo diff --git a/doc/html/annotated.html b/doc/html/annotated.html index f07b536..0813b1e 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -1,6 +1,6 @@ -QScintilla: Class List +TQScintilla: Class List @@ -17,8 +17,8 @@

  • Class Hierarchy
  • Class Members
  • -

    QScintilla Class List

    Here are the classes, structs, unions and interfaces with brief descriptions: - +

    TQScintilla Class List

    Here are the classes, structs, unions and interfaces with brief descriptions:
    QextScintillaImplements a higher level, more Qt-like, API to the Scintilla editor widget
    + @@ -45,9 +45,9 @@ - +
    QextScintillaImplements a higher level, more TQt-like, API to the Scintilla editor widget
    QextScintillaAPIsTextual API information used in call tips and for auto-completion
    QextScintillaBaseImplements the Scintilla editor widget and its low-level API
    QextScintillaCommandInternal editor command that may have one or two keys bound to it
    QextScintillaLexerSQLEncapsulates the Scintilla SQL lexer
    QextScintillaLexerTeXEncapsulates the Scintilla TeX lexer
    QextScintillaMacroSequence of recordable editor commands
    QextScintillaPrinterSub-class of the Qt QPrinter class that is able to print the text of a Scintilla document
    QextScintillaPrinterSub-class of the TQt TQPrinter class that is able to print the text of a Scintilla document
    -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintilla-members.html b/doc/html/classQextScintilla-members.html index 5f05801..50240f1 100644 --- a/doc/html/classQextScintilla-members.html +++ b/doc/html/classQextScintilla-members.html @@ -1,6 +1,6 @@ -QScintilla: Member List +TQScintilla: Member List @@ -24,7 +24,7 @@ AiClosing enum valueQextScintilla AiMaintain enum valueQextScintilla AiOpening enum valueQextScintilla - append(const QString &text)QextScintilla [virtual, slot] + append(const TQString &text)QextScintilla [virtual, slot] autoCompleteFromAll()QextScintilla [virtual, slot] autoCompleteFromAPIs()QextScintilla [virtual, slot] autoCompleteFromDocument()QextScintilla [virtual, slot] @@ -91,14 +91,14 @@ EolUnix enum valueQextScintilla eolVisibility()QextScintilla EolWindows enum valueQextScintilla - eventFilter(QObject *o, QEvent *e)QextScintillaBase [protected] - findFirst(const QString &expr, bool re, bool cs, bool wo, bool wrap, bool forward=TRUE, int line=-1, int index=-1, bool show=TRUE)QextScintilla [virtual] + eventFilter(TQObject *o, TQEvent *e)QextScintillaBase [protected] + findFirst(const TQString &expr, bool re, bool cs, bool wo, bool wrap, bool forward=TRUE, int line=-1, int index=-1, bool show=TRUE)QextScintilla [virtual] findNext()QextScintilla [virtual] firstVisibleLine()QextScintilla - focusInEvent(QFocusEvent *)QextScintillaBase [protected, virtual] + focusInEvent(TQFocusEvent *)QextScintillaBase [protected, virtual] focusNextPrevChild(bool)QextScintillaBase [protected, virtual] - focusOutEvent(QFocusEvent *)QextScintillaBase [protected, virtual] - foldAll(bool children=FALSE)QextScintilla [virtual, slot] + focusOutEvent(TQFocusEvent *)QextScintillaBase [protected, virtual] + foldAll(bool tqchildren=FALSE)QextScintilla [virtual, slot] folding() const QextScintilla [inline] foldLine(int line)QextScintilla [virtual, slot] FoldStyle enum nameQextScintilla @@ -119,12 +119,12 @@ INDIC_MAX enum value (defined in QextScintillaBase)QextScintillaBase INDIC_PLAIN enum value (defined in QextScintillaBase)QextScintillaBase INDIC_ROUNDBOX enum value (defined in QextScintillaBase)QextScintillaBase - INDIC_SQUIGGLE enum value (defined in QextScintillaBase)QextScintillaBase + INDIC_STQUIGGLE enum value (defined in QextScintillaBase)QextScintillaBase INDIC_STRIKE enum value (defined in QextScintillaBase)QextScintillaBase INDIC_TT enum value (defined in QextScintillaBase)QextScintillaBase INDICS_MASK enum value (defined in QextScintillaBase)QextScintillaBase - insert(const QString &text)QextScintilla [virtual, slot] - insertAt(const QString &text, int line, int index)QextScintilla [virtual, slot] + insert(const TQString &text)QextScintilla [virtual, slot] + insertAt(const TQString &text, int line, int index)QextScintilla [virtual, slot] Invisible enum valueQextScintilla isCallTipActive()QextScintilla isListActive()QextScintilla @@ -133,15 +133,15 @@ isRedoAvailable()QextScintilla isUndoAvailable()QextScintilla isUtf8()QextScintilla - keyPressEvent(QKeyEvent *ke)QextScintillaBase [protected, virtual] + keyPressEvent(TQKeyEvent *ke)QextScintillaBase [protected, virtual] LeftSideRoundedSplitter enum valueQextScintilla LeftSideSplitter enum valueQextScintilla length()QextScintilla lexer() const QextScintilla - lineAt(const QPoint &pos)QextScintilla + lineAt(const TQPoint &pos)QextScintilla lineLength(int line)QextScintilla lines()QextScintilla - marginClicked(int margin, int line, Qt::ButtonState state)QextScintilla [signal] + marginClicked(int margin, int line, TQt::ButtonState state)QextScintilla [signal] marginLineNumbers(int margin)QextScintilla marginMarkerMask(int margin)QextScintilla marginSensitivity(int margin)QextScintilla @@ -149,7 +149,7 @@ markerAdd(int linenr, int mnr)QextScintilla markerDefine(MarkerSymbol sym, int mnr=-1)QextScintilla markerDefine(char ch, int mnr=-1)QextScintilla - markerDefine(const QPixmap *pm, int mnr=-1)QextScintilla + markerDefine(const TQPixmap *pm, int mnr=-1)QextScintilla markerDelete(int linenr, int mnr=-1)QextScintilla markerDeleteAll(int mnr=-1)QextScintilla markerDeleteHandle(int mhandle)QextScintilla @@ -169,15 +169,15 @@ PlainFoldStyle enum valueQextScintilla Plus enum valueQextScintilla pool()QextScintillaBase [static] - QextScintilla(QWidget *parent=0, const char *name=0, WFlags f=0)QextScintilla - QextScintillaBase(QWidget *parent=0, const char *name=0, WFlags f=0)QextScintillaBase - QSCN_SELCHANGED(bool yes)QextScintillaBase [signal] + QextScintilla(TQWidget *parent=0, const char *name=0, WFlags f=0)QextScintilla + QextScintillaBase(TQWidget *parent=0, const char *name=0, WFlags f=0)QextScintillaBase + TQSCN_SELCHANGED(bool yes)QextScintillaBase [signal] recolor(int start=0, int end=-1)QextScintilla [virtual] Rectangle enum valueQextScintilla redo()QextScintilla [virtual, slot] - registerImage(int id, const QPixmap *pm)QextScintilla + registerImage(int id, const TQPixmap *pm)QextScintilla removeSelectedText()QextScintilla [virtual, slot] - replace(const QString &replaceStr)QextScintilla [virtual] + replace(const TQString &replaceStr)QextScintilla [virtual] resetFoldMarginColors()QextScintilla resetSelectionBackgroundColor()QextScintilla [virtual, slot] resetSelectionForegroundColor()QextScintilla [virtual, slot] @@ -885,10 +885,10 @@ SendScintilla(unsigned int msg, long wParam) (defined in QextScintillaBase)QextScintillaBase [inline] SendScintilla(unsigned int msg, int wParam) (defined in QextScintillaBase)QextScintillaBase [inline] SendScintilla(unsigned int msg, long cpMin, long cpMax, char *lpstrText) (defined in QextScintillaBase)QextScintillaBase - SendScintilla(unsigned int msg, unsigned long wParam, const QColor &col) (defined in QextScintillaBase)QextScintillaBase - SendScintilla(unsigned int msg, const QColor &col) (defined in QextScintillaBase)QextScintillaBase - SendScintilla(unsigned int msg, unsigned long wParam, QPainter *hdc, const QRect &rc, long cpMin, long cpMax) (defined in QextScintillaBase)QextScintillaBase - SendScintilla(unsigned int msg, unsigned long wParam, const QPixmap *lParam) (defined in QextScintillaBase)QextScintillaBase [inline] + SendScintilla(unsigned int msg, unsigned long wParam, const TQColor &col) (defined in QextScintillaBase)QextScintillaBase + SendScintilla(unsigned int msg, const TQColor &col) (defined in QextScintillaBase)QextScintillaBase + SendScintilla(unsigned int msg, unsigned long wParam, TQPainter *hdc, const TQRect &rc, long cpMin, long cpMax) (defined in QextScintillaBase)QextScintillaBase + SendScintilla(unsigned int msg, unsigned long wParam, const TQPixmap *lParam) (defined in QextScintillaBase)QextScintillaBase [inline] setAutoCompletionAPIs(QextScintillaAPIs *apis=0)QextScintilla setAutoCompletionCaseSensitivity(bool cs)QextScintilla [virtual, slot] setAutoCompletionFillups(const char *fillups)QextScintilla @@ -902,61 +902,61 @@ setBackspaceUnindents(bool unindent)QextScintilla [virtual, slot] setBraceMatching(BraceMatch bm)QextScintilla [virtual, slot] setCallTipsAPIs(QextScintillaAPIs *apis=0)QextScintilla - setCallTipsBackgroundColor(const QColor &col)QextScintilla - setCallTipsForegroundColor(const QColor &col)QextScintilla - setCallTipsHighlightColor(const QColor &col)QextScintilla + setCallTipsBackgroundColor(const TQColor &col)QextScintilla + setCallTipsForegroundColor(const TQColor &col)QextScintilla + setCallTipsHighlightColor(const TQColor &col)QextScintilla setCallTipsVisible(int nr)QextScintilla - setCaretForegroundColor(const QColor &col)QextScintilla [virtual, slot] - setCaretLineBackgroundColor(const QColor &col)QextScintilla [virtual, slot] + setCaretForegroundColor(const TQColor &col)QextScintilla [virtual, slot] + setCaretLineBackgroundColor(const TQColor &col)QextScintilla [virtual, slot] setCaretLineVisible(bool enable)QextScintilla [virtual, slot] setCaretWidth(int width)QextScintilla [virtual, slot] - setColor(const QColor &c)QextScintilla [virtual, slot] + setColor(const TQColor &c)QextScintilla [virtual, slot] setCursorPosition(int line, int index)QextScintilla [virtual, slot] setDocument(const QextScintillaDocument &document)QextScintilla - setEdgeColor(const QColor &col)QextScintilla + setEdgeColor(const TQColor &col)QextScintilla setEdgeColumn(int colnr)QextScintilla setEdgeMode(EdgeMode mode)QextScintilla setEolMode(EolMode mode)QextScintilla [virtual, slot] setEolVisibility(bool visible)QextScintilla [virtual, slot] setFolding(FoldStyle fold)QextScintilla [virtual, slot] - setFoldMarginColors(const QColor &fore, const QColor &back)QextScintilla - setFont(const QFont &f)QextScintilla [virtual] + setFoldMarginColors(const TQColor &fore, const TQColor &back)QextScintilla + setFont(const TQFont &f)QextScintilla [virtual] setIndentation(int line, int indentation)QextScintilla [virtual, slot] setIndentationGuides(bool enable)QextScintilla [virtual, slot] - setIndentationGuidesBackgroundColor(const QColor &col)QextScintilla [virtual, slot] - setIndentationGuidesForegroundColor(const QColor &col)QextScintilla [virtual, slot] + setIndentationGuidesBackgroundColor(const TQColor &col)QextScintilla [virtual, slot] + setIndentationGuidesForegroundColor(const TQColor &col)QextScintilla [virtual, slot] setIndentationsUseTabs(bool tabs)QextScintilla [virtual, slot] setIndentationWidth(int width)QextScintilla [virtual, slot] setLexer(QextScintillaLexer *lexer=0)QextScintilla [virtual, slot] setMarginLineNumbers(int margin, bool lnrs)QextScintilla [virtual, slot] setMarginMarkerMask(int margin, int mask)QextScintilla [virtual, slot] - setMarginsBackgroundColor(const QColor &col)QextScintilla [virtual, slot] + setMarginsBackgroundColor(const TQColor &col)QextScintilla [virtual, slot] setMarginSensitivity(int margin, bool sens)QextScintilla [virtual, slot] - setMarginsFont(const QFont &f)QextScintilla [virtual, slot] - setMarginsForegroundColor(const QColor &col)QextScintilla [virtual, slot] + setMarginsFont(const TQFont &f)QextScintilla [virtual, slot] + setMarginsForegroundColor(const TQColor &col)QextScintilla [virtual, slot] setMarginWidth(int margin, int width)QextScintilla [virtual, slot] - setMarginWidth(int margin, const QString &s)QextScintilla [virtual, slot] - setMarkerBackgroundColor(const QColor &col, int mnr=-1)QextScintilla - setMarkerForegroundColor(const QColor &col, int mnr=-1)QextScintilla - setMatchedBraceBackgroundColor(const QColor &col)QextScintilla - setMatchedBraceForegroundColor(const QColor &col)QextScintilla + setMarginWidth(int margin, const TQString &s)QextScintilla [virtual, slot] + setMarkerBackgroundColor(const TQColor &col, int mnr=-1)QextScintilla + setMarkerForegroundColor(const TQColor &col, int mnr=-1)QextScintilla + setMatchedBraceBackgroundColor(const TQColor &col)QextScintilla + setMatchedBraceForegroundColor(const TQColor &col)QextScintilla setModified(bool m)QextScintilla [virtual, slot] - setPaper(const QColor &c)QextScintilla [virtual, slot] + setPaper(const TQColor &c)QextScintilla [virtual, slot] setReadOnly(bool ro)QextScintilla [virtual, slot] setSelection(int lineFrom, int indexFrom, int lineTo, int indexTo)QextScintilla [virtual, slot] - setSelectionBackgroundColor(const QColor &col)QextScintilla [virtual, slot] - setSelectionForegroundColor(const QColor &col)QextScintilla [virtual, slot] + setSelectionBackgroundColor(const TQColor &col)QextScintilla [virtual, slot] + setSelectionForegroundColor(const TQColor &col)QextScintilla [virtual, slot] setTabIndents(bool indent)QextScintilla [virtual, slot] setTabWidth(int width)QextScintilla [virtual, slot] - setText(const QString &text)QextScintilla [virtual, slot] - setUnmatchedBraceBackgroundColor(const QColor &col)QextScintilla - setUnmatchedBraceForegroundColor(const QColor &col)QextScintilla + setText(const TQString &text)QextScintilla [virtual, slot] + setUnmatchedBraceBackgroundColor(const TQColor &col)QextScintilla + setUnmatchedBraceForegroundColor(const TQColor &col)QextScintilla setUtf8(bool cp)QextScintilla [virtual, slot] setWhitespaceVisibility(WhitespaceVisibility mode)QextScintilla [virtual, slot] setWrapMode(WrapMode mode)QextScintilla [virtual, slot] setWrapVisualFlags(WrapVisualFlag eflag, WrapVisualFlag sflag=WrapFlagNone, int sindent=0)QextScintilla - showUserList(int id, const QStringList &list)QextScintilla - sizeHint() const QextScintillaBase [virtual] + showUserList(int id, const TQStringList &list)QextScintilla + tqsizeHint() const QextScintillaBase [virtual] SloppyBraceMatch enum valueQextScintilla SmallRectangle enum valueQextScintilla standardCommands() const QextScintilla [inline] @@ -981,7 +981,7 @@ ThreeRightArrows enum valueQextScintilla undo()QextScintilla [virtual, slot] unindent(int line)QextScintilla [virtual, slot] - userListActivated(int id, const QString &string)QextScintilla [signal] + userListActivated(int id, const TQString &string)QextScintilla [signal] VerticalLine enum valueQextScintilla viewport() const QextScintillaBase VISIBLE_SLOP enum value (defined in QextScintillaBase)QextScintillaBase @@ -1007,7 +1007,7 @@ zoomTo(int size)QextScintilla [virtual, slot] ~QextScintilla()QextScintilla [virtual] ~QextScintillaBase()QextScintillaBase [virtual] -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintilla.html b/doc/html/classQextScintilla.html index 47a99f0..04c98c8 100644 --- a/doc/html/classQextScintilla.html +++ b/doc/html/classQextScintilla.html @@ -1,6 +1,6 @@ -QScintilla: QextScintilla Class Reference +TQScintilla: QextScintilla Class Reference @@ -17,7 +17,7 @@
  • Class Hierarchy
  • Class Members
  • -

    QextScintilla Class Reference

    The QextScintilla class implements a higher level, more Qt-like, API to the Scintilla editor widget. +

    QextScintilla Class Reference

    The QextScintilla class implements a higher level, more TQt-like, API to the Scintilla editor widget. More...

    #include <qextscintilla.h> @@ -162,7 +162,7 @@ Inherits QextScintillaBase.

    Public Slots

      -
    • virtual void append (const QString &text) +
    • virtual void append (const TQString &text)
    • virtual void autoCompleteFromAll ()
    • virtual void autoCompleteFromAPIs ()
    • virtual void autoCompleteFromDocument () @@ -172,11 +172,11 @@ Inherits QextScintillaBase.
    • virtual void cut ()
    • virtual void ensureCursorVisible ()
    • virtual void ensureLineVisible (int line) -
    • virtual void foldAll (bool children=FALSE) +
    • virtual void foldAll (bool tqchildren=FALSE)
    • virtual void foldLine (int line)
    • virtual void indent (int line) -
    • virtual void insert (const QString &text) -
    • virtual void insertAt (const QString &text, int line, int index) +
    • virtual void insert (const TQString &text) +
    • virtual void insertAt (const TQString &text, int line, int index)
    • virtual void moveToMatchingBrace ()
    • virtual void paste ()
    • virtual void redo () @@ -193,39 +193,39 @@ Inherits QextScintillaBase.
    • virtual void setAutoIndent (bool autoindent)
    • virtual void setBraceMatching (BraceMatch bm)
    • virtual void setBackspaceUnindents (bool unindent) -
    • virtual void setCaretForegroundColor (const QColor &col) -
    • virtual void setCaretLineBackgroundColor (const QColor &col) +
    • virtual void setCaretForegroundColor (const TQColor &col) +
    • virtual void setCaretLineBackgroundColor (const TQColor &col)
    • virtual void setCaretLineVisible (bool enable)
    • virtual void setCaretWidth (int width) -
    • virtual void setColor (const QColor &c) +
    • virtual void setColor (const TQColor &c)
    • virtual void setCursorPosition (int line, int index)
    • virtual void setEolMode (EolMode mode)
    • virtual void setEolVisibility (bool visible)
    • virtual void setFolding (FoldStyle fold)
    • virtual void setIndentation (int line, int indentation)
    • virtual void setIndentationGuides (bool enable) -
    • virtual void setIndentationGuidesBackgroundColor (const QColor &col) -
    • virtual void setIndentationGuidesForegroundColor (const QColor &col) +
    • virtual void setIndentationGuidesBackgroundColor (const TQColor &col) +
    • virtual void setIndentationGuidesForegroundColor (const TQColor &col)
    • virtual void setIndentationsUseTabs (bool tabs)
    • virtual void setIndentationWidth (int width)
    • virtual void setLexer (QextScintillaLexer *lexer=0) -
    • virtual void setMarginsBackgroundColor (const QColor &col) -
    • virtual void setMarginsFont (const QFont &f) -
    • virtual void setMarginsForegroundColor (const QColor &col) +
    • virtual void setMarginsBackgroundColor (const TQColor &col) +
    • virtual void setMarginsFont (const TQFont &f) +
    • virtual void setMarginsForegroundColor (const TQColor &col)
    • virtual void setMarginLineNumbers (int margin, bool lnrs)
    • virtual void setMarginMarkerMask (int margin, int mask)
    • virtual void setMarginSensitivity (int margin, bool sens)
    • virtual void setMarginWidth (int margin, int width) -
    • virtual void setMarginWidth (int margin, const QString &s) +
    • virtual void setMarginWidth (int margin, const TQString &s)
    • virtual void setModified (bool m) -
    • virtual void setPaper (const QColor &c) +
    • virtual void setPaper (const TQColor &c)
    • virtual void setReadOnly (bool ro)
    • virtual void setSelection (int lineFrom, int indexFrom, int lineTo, int indexTo) -
    • virtual void setSelectionBackgroundColor (const QColor &col) -
    • virtual void setSelectionForegroundColor (const QColor &col) +
    • virtual void setSelectionBackgroundColor (const TQColor &col) +
    • virtual void setSelectionForegroundColor (const TQColor &col)
    • virtual void setTabIndents (bool indent)
    • virtual void setTabWidth (int width) -
    • virtual void setText (const QString &text) +
    • virtual void setText (const TQString &text)
    • virtual void setUtf8 (bool cp)
    • virtual void setWhitespaceVisibility (WhitespaceVisibility mode)
    • virtual void setWrapMode (WrapMode mode) @@ -241,16 +241,16 @@ Inherits QextScintillaBase.

      Public Member Functions


      Detailed Description

      -The QextScintilla class implements a higher level, more Qt-like, API to the Scintilla editor widget. +The QextScintilla class implements a higher level, more TQt-like, API to the Scintilla editor widget.

      -QextScintilla implements methods, signals and slots similar to those found in other Qt editor classes. It also provides a higher level interface to features specific to Scintilla such as syntax styling, call tips, auto-indenting and auto-completion than that provided by QextScintillaBase.

      -The API is modelled on QTextEdit - a method of the same name should behave in the same way. +QextScintilla implements methods, signals and slots similar to those found in other TQt editor classes. It also provides a higher level interface to features specific to Scintilla such as syntax styling, call tips, auto-indenting and auto-completion than that provided by QextScintillaBase.

      +The API is modelled on TQTextEdit - a method of the same name should behave in the same way.


      Member Enumeration Documentation

      @@ -678,14 +678,14 @@ A wrap flag is displayed by the border.


      Constructor & Destructor Documentation

      - +
      - + @@ -1035,7 +1035,7 @@ All the lines of the text have their end-of-lines converted to mode mode
      QextScintilla::QextScintilla (QWidget * TQWidget *  parent = 0,
      - + @@ -1098,7 +1098,7 @@ Mark the end of a sequence of actions that can be undone by a single call to
      QColor QextScintilla::color TQColor QextScintilla::color (  ) 
      - + @@ -1199,14 +1199,14 @@ Returns the visibility of end-of-lines.

      - +

      QColor QextScintilla::edgeColor TQColor QextScintilla::edgeColor (  ) 
      - + @@ -1667,14 +1667,14 @@ Returns TRUE if text is interpreted as being UTF8 encoded. The default is to int

      - +

      virtual bool QextScintilla::findFirst (const QString & const TQString &  expr,
      - + @@ -1921,14 +1921,14 @@ Each marker is identified by a marker number. Each instance of a marker is ident Define a marker using the character ch with the marker number mnr. If mnr is -1 then the marker number is automatically allocated. The marker number is returned or -1 if the marker number was already allocated or too many markers have been defined.

      - +

      int QextScintilla::lineAt (const QPoint & const TQPoint &  pos  ) 
      - + @@ -2165,7 +2165,7 @@ Return the number of the previous line to contain at least one marker from a 32
      int QextScintilla::markerDefine (const QPixmap * const TQPixmap *  pm,
      - + @@ -2210,7 +2210,7 @@ Returns the widget's paper (ie. background) colour.

      Recolours the document between the start and end positions. start defaults to the start of the document and end defaults to the end of the document.

      - +

      QColor QextScintilla::paper TQColor QextScintilla::paper (  ) 
      @@ -2223,7 +2223,7 @@ Recolours the document between the start and end positions. - + @@ -2241,14 +2241,14 @@ Register an image pm with ID id. Registered images can be disp

      - +

      const QPixmap * const TQPixmap *  pm 
      - + @@ -2284,20 +2284,20 @@ Reset the fold margin colours to their defaults.

      - +

      virtual void QextScintilla::replace (const QString & const TQString &  replaceStr  )  [virtual]
      - + - + @@ -2425,14 +2425,14 @@ Sets the APIs used for call tips to apis. If apis is 0 then th

      - +

      void QextScintilla::setFoldMarginColors (const QColor & const TQColor &  fore,
      const QColor & const TQColor &  back 
      - + @@ -2445,14 +2445,14 @@ Sets the APIs used for call tips to apis. If apis is 0 then th Set the background colour of call tips to col. The default is white.

      - +

      void QextScintilla::setCallTipsBackgroundColor (const QColor & const TQColor &  col  ) 
      - + @@ -2465,14 +2465,14 @@ Set the background colour of call tips to col. The default is white. Set the foreground colour of call tips to col. The default is mid-gray.

      - +

      void QextScintilla::setCallTipsForegroundColor (const QColor & const TQColor &  col  ) 
      - + @@ -2529,14 +2529,14 @@ Attach the document document, replacing the currently attached document

      - +

      void QextScintilla::setCallTipsHighlightColor (const QColor & const TQColor &  col  ) 
      - + @@ -2596,14 +2596,14 @@ Set the edge mode which determines how long lines are marked.

      - +

      void QextScintilla::setEdgeColor (const QColor & const TQColor &  col  ) 
      - + @@ -2616,14 +2616,14 @@ Set the edge mode which determines how long lines are marked.

      Set the default font. This has no effect if a language lexer has been set.

      - +

      virtual void QextScintilla::setFont (const QFont & const TQFont &  f  )  [virtual]
      - + @@ -2647,14 +2647,14 @@ Set the background colour, including the alpha component, of marker mnr

      - +

      void QextScintilla::setMarkerBackgroundColor (const QColor & const TQColor &  col,
      - + @@ -2678,14 +2678,14 @@ Set the foreground colour of marker mnr to col. If mnr

      - +

      void QextScintilla::setMarkerForegroundColor (const QColor & const TQColor &  col,
      - + @@ -2700,14 +2700,14 @@ Set the background colour used to display matched braces to col. The de

      - +

      void QextScintilla::setMatchedBraceBackgroundColor (const QColor & const TQColor &  col  ) 
      - + @@ -2722,14 +2722,14 @@ Set the foreground colour used to display matched braces to col. The de

      - +

      void QextScintilla::setMatchedBraceForegroundColor (const QColor & const TQColor &  col  ) 
      - + @@ -2744,14 +2744,14 @@ Set the background colour used to display unmatched braces to col. The

      - +

      void QextScintilla::setUnmatchedBraceBackgroundColor (const QColor & const TQColor &  col  ) 
      - + @@ -2806,7 +2806,7 @@ Set the visual flags displayed when a line is wrapped. eflag determines
      void QextScintilla::setUnmatchedBraceForegroundColor (const QColor & const TQColor &  col  ) 
      - + @@ -2822,7 +2822,7 @@ Returns the selected text or an empty string if there is no currently selected t

      - +

      QString QextScintilla::selectedText TQString QextScintilla::selectedText (  ) 
      @@ -2835,7 +2835,7 @@ Returns the selected text or an empty string if there is no currently selected t - + @@ -2921,7 +2921,7 @@ Returns the tab width in characters. The default is 8.

      const QStringList & const TQStringList &  list 
      - + @@ -2942,7 +2942,7 @@ Returns the text edit's text.

      QString QextScintilla::text TQString QextScintilla::text (  ) 
      - + @@ -3023,14 +3023,14 @@ Returns the line wrap mode.

      - +

      QString QextScintilla::text TQString QextScintilla::text ( int  line
      - + @@ -3231,7 +3231,7 @@ Ensures that the line number line is visible.

      - +

      virtual void QextScintilla::append (const QString & const TQString &  text  )  [virtual, slot]
      @@ -3239,7 +3239,7 @@ Ensures that the line number line is visible. - + @@ -3248,7 +3248,7 @@ Ensures that the line number line is visible.

      -If any lines are currently folded then they are all unfolded. Otherwise all lines are folded. This has the same effect as clicking in the fold margin with the shift and control keys pressed. If children is not set (the default) then only the top level fold points are affected, otherwise the state of all fold points are changed. +If any lines are currently folded then they are all unfolded. Otherwise all lines are folded. This has the same effect as clicking in the fold margin with the shift and control keys pressed. If tqchildren is not set (the default) then only the top level fold points are affected, otherwise the state of all fold points are changed.

      @@ -3293,14 +3293,14 @@ Increases the indentation of line line by an indentation width.

      - +

      virtual void QextScintilla::foldAll ( bool  children = FALSE tqchildren = FALSE  )  [virtual, slot]
      - + @@ -3315,14 +3315,14 @@ Insert the text text at the current position.

      - +

      virtual void QextScintilla::insert (const QString & const TQString &  text  )  [virtual, slot]
      - + @@ -3689,14 +3689,14 @@ If deindent is TRUE then the backspace key will unindent a line rather

      - +

      virtual void QextScintilla::insertAt (const QString & const TQString &  text,
      - + @@ -3711,14 +3711,14 @@ Sets the foreground colour of the caret to col.

      - +

      virtual void QextScintilla::setCaretForegroundColor (const QColor & const TQColor &  col  )  [virtual, slot]
      - + @@ -3775,14 +3775,14 @@ Enables or disables, according to enable, the background color of the l Sets the width of the caret to width pixels. A width of 0 makes the caret invisible.

      - +

      virtual void QextScintilla::setCaretLineBackgroundColor (const QColor & const TQColor &  col  )  [virtual, slot]
      - + @@ -3946,14 +3946,14 @@ Enables or disables, according to enable, this display of indentation g

      - +

      virtual void QextScintilla::setColor (const QColor & const TQColor &  c  )  [virtual, slot]
      - + @@ -3968,14 +3968,14 @@ Set the background colour of indentation guides to col.

      - +

      virtual void QextScintilla::setIndentationGuidesBackgroundColor (const QColor & const TQColor &  col  )  [virtual, slot]
      - + @@ -4056,14 +4056,14 @@ Sets the specific language lexer used to style text to lexer. If le

      - +

      virtual void QextScintilla::setIndentationGuidesForegroundColor (const QColor & const TQColor &  col  )  [virtual, slot]
      - + @@ -4078,14 +4078,14 @@ Set the background colour of all margins to col. The default is a gray.

      - +

      virtual void QextScintilla::setMarginsBackgroundColor (const QColor & const TQColor &  col  )  [virtual, slot]
      - + @@ -4100,14 +4100,14 @@ Set the font used in all margins to f.

      - +

      virtual void QextScintilla::setMarginsFont (const QFont & const TQFont &  f  )  [virtual, slot]
      - + @@ -4246,7 +4246,7 @@ Sets the width of margin margin to width pixels. If the width

      - +

      virtual void QextScintilla::setMarginsForegroundColor (const QColor & const TQColor &  col  )  [virtual, slot]
      @@ -4259,7 +4259,7 @@ Sets the width of margin margin to width pixels. If the width - + @@ -4299,14 +4299,14 @@ Sets the modified state of the text edit to m. Note that it is only pos

      - +

      const QString & const TQString &  s 
      - + @@ -4385,14 +4385,14 @@ Sets the selection which starts at position indexFrom in line lineF

      - +

      virtual void QextScintilla::setPaper (const QColor & const TQColor &  c  )  [virtual, slot]
      - + @@ -4407,14 +4407,14 @@ Sets the background colour, including the alpha component, of selected text to <

      - +

      virtual void QextScintilla::setSelectionBackgroundColor (const QColor & const TQColor &  col  )  [virtual, slot]
      - + @@ -4473,14 +4473,14 @@ Sets the tab width to width characters.

      - +

      virtual void QextScintilla::setSelectionForegroundColor (const QColor & const TQColor &  col  )  [virtual, slot]
      - + @@ -4760,7 +4760,7 @@ This signal is emitted whenever text is selected or de-selected. yes is

      - +

      virtual void QextScintilla::setText (const QString & const TQString &  text  )  [virtual, slot]
      @@ -4779,7 +4779,7 @@ This signal is emitted whenever text is selected or de-selected. yes is - + @@ -4882,7 +4882,7 @@ This signal is emitted whenever the text in the text edit changes.

      - +

      Qt::ButtonState TQt::ButtonState  state 
      @@ -4895,7 +4895,7 @@ This signal is emitted whenever the text in the text edit changes. - + @@ -4913,7 +4913,7 @@ This signal is emitted when an item in a user defined list is activated (selecte

      -


      Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
      Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
      diff --git a/doc/html/classQextScintillaAPIs-members.html b/doc/html/classQextScintillaAPIs-members.html index 3bf9904..61bc533 100644 --- a/doc/html/classQextScintillaAPIs-members.html +++ b/doc/html/classQextScintillaAPIs-members.html @@ -1,6 +1,6 @@ -QScintilla: Member List +TQScintilla: Member List @@ -18,12 +18,12 @@
    • Class Members
    • QextScintillaAPIs Member List

      This is the complete list of members for QextScintillaAPIs, including all inherited members.

      const QString & const TQString &  string 
      - + - + -
      add(const QString &entry)QextScintillaAPIs
      add(const TQString &entry)QextScintillaAPIs
      clear()QextScintillaAPIs
      load(const QString &fname)QextScintillaAPIs
      load(const TQString &fname)QextScintillaAPIs
      QextScintillaAPIs()QextScintillaAPIs
      ~QextScintillaAPIs()QextScintillaAPIs

      Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
      Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
      diff --git a/doc/html/classQextScintillaAPIs.html b/doc/html/classQextScintillaAPIs.html index 9efdffc..fd2a012 100644 --- a/doc/html/classQextScintillaAPIs.html +++ b/doc/html/classQextScintillaAPIs.html @@ -1,6 +1,6 @@ -QScintilla: QextScintillaAPIs Class Reference +TQScintilla: QextScintillaAPIs Class Reference @@ -26,15 +26,15 @@

      Detailed Description

      The QextScintillaAPIs class represents the textual API information used in call tips and for auto-completion.

      API information is read from one or more files. Each API function is described by a single line of text comprising the function's name, followed by the function's optional comma separated parameters enclosed in parenthesis, and finally followed by optional explanatory text.

      -A function name may be followed by a `?' and a number. The number is used by auto-completion to display a registered QPixmap with the function name.

      +A function name may be followed by a `?' and a number. The number is used by auto-completion to display a registered TQPixmap with the function name.

      All function names are used by auto-completion, but only those that include function parameters are used in call tips.


      Constructor & Destructor Documentation

      @@ -81,14 +81,14 @@ Destroys the QextScintillaAPIs<


      Member Function Documentation

      - +
      - + @@ -103,14 +103,14 @@ Add the single API entry entry to the current set.

      - +

      void QextScintillaAPIs::add (const QString & const TQString &  entry  ) 
      - + @@ -144,7 +144,7 @@ Deletes all API information.

      -


      Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
      Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
      diff --git a/doc/html/classQextScintillaBase-members.html b/doc/html/classQextScintillaBase-members.html index 183b5ac..2a37d2f 100644 --- a/doc/html/classQextScintillaBase-members.html +++ b/doc/html/classQextScintillaBase-members.html @@ -1,6 +1,6 @@ -QScintilla: Member List +TQScintilla: Member List @@ -25,10 +25,10 @@
      - - + + - + @@ -38,14 +38,14 @@ - + - + - - + + @@ -743,11 +743,11 @@ - - - - - + + + + + @@ -762,7 +762,7 @@ -
      bool QextScintillaAPIs::load (const QString & const TQString &  fname  ) 
      EDGE_BACKGROUND enum value (defined in QextScintillaBase)QextScintillaBase
      EDGE_LINE enum value (defined in QextScintillaBase)QextScintillaBase
      EDGE_NONE enum value (defined in QextScintillaBase)QextScintillaBase
      eventFilter(QObject *o, QEvent *e)QextScintillaBase [protected]
      focusInEvent(QFocusEvent *)QextScintillaBase [protected, virtual]
      eventFilter(TQObject *o, TQEvent *e)QextScintillaBase [protected]
      focusInEvent(TQFocusEvent *)QextScintillaBase [protected, virtual]
      focusNextPrevChild(bool)QextScintillaBase [protected, virtual]
      focusOutEvent(QFocusEvent *)QextScintillaBase [protected, virtual]
      focusOutEvent(TQFocusEvent *)QextScintillaBase [protected, virtual]
      INDIC0_MASK enum value (defined in QextScintillaBase)QextScintillaBase
      INDIC1_MASK enum value (defined in QextScintillaBase)QextScintillaBase
      INDIC2_MASK enum value (defined in QextScintillaBase)QextScintillaBase
      INDIC_MAX enum value (defined in QextScintillaBase)QextScintillaBase
      INDIC_PLAIN enum value (defined in QextScintillaBase)QextScintillaBase
      INDIC_ROUNDBOX enum value (defined in QextScintillaBase)QextScintillaBase
      INDIC_SQUIGGLE enum value (defined in QextScintillaBase)QextScintillaBase
      INDIC_STQUIGGLE enum value (defined in QextScintillaBase)QextScintillaBase
      INDIC_STRIKE enum value (defined in QextScintillaBase)QextScintillaBase
      INDIC_TT enum value (defined in QextScintillaBase)QextScintillaBase
      INDICS_MASK enum value (defined in QextScintillaBase)QextScintillaBase
      keyPressEvent(QKeyEvent *ke)QextScintillaBase [protected, virtual]
      keyPressEvent(TQKeyEvent *ke)QextScintillaBase [protected, virtual]
      pool()QextScintillaBase [static]
      QextScintillaBase(QWidget *parent=0, const char *name=0, WFlags f=0)QextScintillaBase
      QSCN_SELCHANGED(bool yes)QextScintillaBase [signal]
      QextScintillaBase(TQWidget *parent=0, const char *name=0, WFlags f=0)QextScintillaBase
      TQSCN_SELCHANGED(bool yes)QextScintillaBase [signal]
      SC_ALPHA_NOALPHA enum value (defined in QextScintillaBase)QextScintillaBase
      SC_ALPHA_OPAQUE enum value (defined in QextScintillaBase)QextScintillaBase
      SC_ALPHA_TRANSPARENT enum value (defined in QextScintillaBase)QextScintillaBase
      SendScintilla(unsigned int msg, long wParam) (defined in QextScintillaBase)QextScintillaBase [inline]
      SendScintilla(unsigned int msg, int wParam) (defined in QextScintillaBase)QextScintillaBase [inline]
      SendScintilla(unsigned int msg, long cpMin, long cpMax, char *lpstrText) (defined in QextScintillaBase)QextScintillaBase
      SendScintilla(unsigned int msg, unsigned long wParam, const QColor &col) (defined in QextScintillaBase)QextScintillaBase
      SendScintilla(unsigned int msg, const QColor &col) (defined in QextScintillaBase)QextScintillaBase
      SendScintilla(unsigned int msg, unsigned long wParam, QPainter *hdc, const QRect &rc, long cpMin, long cpMax) (defined in QextScintillaBase)QextScintillaBase
      SendScintilla(unsigned int msg, unsigned long wParam, const QPixmap *lParam) (defined in QextScintillaBase)QextScintillaBase [inline]
      sizeHint() const QextScintillaBase [virtual]
      SendScintilla(unsigned int msg, unsigned long wParam, const TQColor &col) (defined in QextScintillaBase)QextScintillaBase
      SendScintilla(unsigned int msg, const TQColor &col) (defined in QextScintillaBase)QextScintillaBase
      SendScintilla(unsigned int msg, unsigned long wParam, TQPainter *hdc, const TQRect &rc, long cpMin, long cpMax) (defined in QextScintillaBase)QextScintillaBase
      SendScintilla(unsigned int msg, unsigned long wParam, const TQPixmap *lParam) (defined in QextScintillaBase)QextScintillaBase [inline]
      tqsizeHint() const QextScintillaBase [virtual]
      startDrag()QextScintillaBase [protected, virtual]
      STYLE_BRACEBAD enum value (defined in QextScintillaBase)QextScintillaBase
      STYLE_BRACELIGHT enum value (defined in QextScintillaBase)QextScintillaBase
      VISIBLE_SLOP enum value (defined in QextScintillaBase)QextScintillaBase
      VISIBLE_STRICT enum value (defined in QextScintillaBase)QextScintillaBase
      ~QextScintillaBase()QextScintillaBase [virtual]

      Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
      Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
      diff --git a/doc/html/classQextScintillaBase.html b/doc/html/classQextScintillaBase.html index bbecf39..0efb8d3 100644 --- a/doc/html/classQextScintillaBase.html +++ b/doc/html/classQextScintillaBase.html @@ -1,6 +1,6 @@ -QScintilla: QextScintillaBase Class Reference +TQScintilla: QextScintillaBase Class Reference @@ -1019,8 +1019,8 @@ Inherited by QextScintilla. INDIC_MAX = 7
    • INDIC_PLAIN = 0 -
    • -INDIC_SQUIGGLE = 1 +
    • +INDIC_STQUIGGLE = 1
    • INDIC_TT = 2
    • @@ -1997,7 +1997,7 @@ Inherited by QextScintilla.
    • enum {
        INDIC_MAX = 7, INDIC_PLAIN = 0, -INDIC_SQUIGGLE = 1, +INDIC_STQUIGGLE = 1,
        INDIC_TT = 2, INDIC_DIAGONAL = 3, @@ -2250,7 +2250,7 @@ Inherited by QextScintilla.

    Signals

    Public Member Functions

      -
    • QextScintillaBase (QWidget *parent=0, const char *name=0, WFlags f=0) +
    • QextScintillaBase (TQWidget *parent=0, const char *name=0, WFlags f=0)
    • virtual ~QextScintillaBase ()
    • long SendScintilla (unsigned int msg, unsigned long wParam=0, long lParam=0)
    • @@ -2298,16 +2298,16 @@ long SendScintilla (unsigned int msg, long wParam) long SendScintilla (unsigned int msg, int wParam)
    • long SendScintilla (unsigned int msg, long cpMin, long cpMax, char *lpstrText) -
    • -long SendScintilla (unsigned int msg, unsigned long wParam, const QColor &col) -
    • -long SendScintilla (unsigned int msg, const QColor &col) -
    • -long SendScintilla (unsigned int msg, unsigned long wParam, QPainter *hdc, const QRect &rc, long cpMin, long cpMax) -
    • -long SendScintilla (unsigned int msg, unsigned long wParam, const QPixmap *lParam) -
    • virtual QSize sizeHint () const -
    • QWidget * viewport () const +
    • +long SendScintilla (unsigned int msg, unsigned long wParam, const TQColor &col) +
    • +long SendScintilla (unsigned int msg, const TQColor &col) +
    • +long SendScintilla (unsigned int msg, unsigned long wParam, TQPainter *hdc, const TQRect &rc, long cpMin, long cpMax) +
    • +long SendScintilla (unsigned int msg, unsigned long wParam, const TQPixmap *lParam) +
    • virtual TQSize tqsizeHint () const +
    • TQWidget * viewport () const

    Static Public Member Functions

      @@ -2315,10 +2315,10 @@ long SendScintilla (unsigned int msg, unsigned long wParam, const QPixmap

    Protected Member Functions

    @@ -2326,8 +2326,8 @@ long SendScintilla (unsigned int msg, unsigned long wParam, const QPixmap The QextScintillaBase class implements the Scintilla editor widget and its low-level API.

    Scintilla (http://www.scintilla.org) is a powerful C++ editor class that supports many features including syntax styling, error indicators, code completion and call tips. It is particularly useful as a programmer's editor.

    -QextScintillaBase is a port to Qt of Scintilla. It implements the standard Scintilla API which consists of a number of messages each taking up to two arguments.

    -See QextScintilla for the implementation of a higher level API that is more consistent with the rest of the Qt toolkit. +QextScintillaBase is a port to TQt of Scintilla. It implements the standard Scintilla API which consists of a number of messages each taking up to two arguments.

    +See QextScintilla for the implementation of a higher level API that is more consistent with the rest of the TQt toolkit.


    Member Enumeration Documentation

    @@ -2415,7 +2415,7 @@ This message looks for the previous line to contain at least one marker containe
    See also:
    SCI_MARKERNEXT
    SCI_MARKERDEFINEPIXMAP  -This message sets the symbol used to draw one of the 32 markers to a pixmap. Pixmaps use the SC_MARK_PIXMAP marker symbol. wParam is the number of the marker. lParam is a pointer to a QPixmap instance. Note that in other ports of Scintilla this is a pointer to either raw or textual XPM image data.

    +This message sets the symbol used to draw one of the 32 markers to a pixmap. Pixmaps use the SC_MARK_PIXMAP marker symbol. wParam is the number of the marker. lParam is a pointer to a TQPixmap instance. Note that in other ports of Scintilla this is a pointer to either raw or textual XPM image data.

    See also:
    SCI_MARKERDEFINE
    SCI_SETMARGINTYPEN  @@ -2479,7 +2479,7 @@ This message returns the length of the document. SCI_TEXTWIDTH  This message returns the width of some text when rendered in a particular style. wParam is the style number and is one of the STYLE_* values or one of the styles defined by a lexer. lParam is a pointer to the text. SCI_REGISTERIMAGE  -This message takes a copy of an image and registers it so that it can be refered to by a unique integer identifier. wParam is the image's identifier. lParam is a pointer to a QPixmap instance. Note that in other ports of Scintilla this is a pointer to either raw or textual XPM image data.

    +This message takes a copy of an image and registers it so that it can be refered to by a unique integer identifier. wParam is the image's identifier. lParam is a pointer to a TQPixmap instance. Note that in other ports of Scintilla this is a pointer to either raw or textual XPM image data.

    See also:
    SCI_CLEARREGISTEREDIMAGES
    SCI_CLEARREGISTEREDIMAGES  @@ -2827,14 +2827,14 @@ Select the Spice lexer.


    Constructor & Destructor Documentation

    - +
    - + @@ -2938,12 +2938,12 @@ Returns a pointer to a QextScin Send the Scintilla message msg with the optional parameters wParam and lParam.

    - +

    QextScintillaBase::QextScintillaBase (QWidget * TQWidget *  parent = 0,
    - + @@ -2964,7 +2964,7 @@ Returns the recommended size of the widget.
    virtual QSize QextScintillaBase::sizeHint virtual TQSize QextScintillaBase::tqsizeHint (  ) 
    - + @@ -2978,12 +2978,12 @@ Returns the recommended size of the widget. Returns the viewport widget. This is the widget that actually contains the text.

    - +

    QWidget* QextScintillaBase::viewport TQWidget* QextScintillaBase::viewport (  ) 
    - + @@ -3318,20 +3318,20 @@ This signal is emitted when a range of text needs to be syntax styled. The range

    - +

    void QextScintillaBase::QSCN_SELCHANGED void QextScintillaBase::TQSCN_SELCHANGED ( bool  yes
    - + - + @@ -3349,14 +3349,14 @@ Re-implemented to filter certain events.

    - +

    bool QextScintillaBase::eventFilter (QObject * TQObject *  o,
    QEvent * TQEvent *  e 
    - + @@ -3371,14 +3371,14 @@ Re-implemented to handle the key presses for the widget.

    - +

    virtual void QextScintillaBase::keyPressEvent (QKeyEvent * TQKeyEvent *  ke  )  [protected, virtual]
    - + @@ -3393,14 +3393,14 @@ Re-implemented to tell Scintilla it has the focus.

    - +

    virtual void QextScintillaBase::focusInEvent (QFocusEvent * TQFocusEvent *   )  [protected, virtual]
    - + @@ -3458,7 +3458,7 @@ Start a drag operation.

    -


    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaCommand-members.html b/doc/html/classQextScintillaCommand-members.html index 700ddcd..6035608 100644 --- a/doc/html/classQextScintillaCommand-members.html +++ b/doc/html/classQextScintillaCommand-members.html @@ -1,6 +1,6 @@ -QScintilla: Member List +TQScintilla: Member List @@ -24,7 +24,7 @@
    -
    virtual void QextScintillaBase::focusOutEvent (QFocusEvent * TQFocusEvent *   )  [protected, virtual]
    setAlternateKey(int altkey)QextScintillaCommand
    setKey(int key)QextScintillaCommand
    validKey(int key)QextScintillaCommand [static]

    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaCommand.html b/doc/html/classQextScintillaCommand.html index dd80426..233682a 100644 --- a/doc/html/classQextScintillaCommand.html +++ b/doc/html/classQextScintillaCommand.html @@ -1,6 +1,6 @@ -QScintilla: QextScintillaCommand Class Reference +TQScintilla: QextScintillaCommand Class Reference @@ -28,7 +28,7 @@
  • void setAlternateKey (int altkey)
  • int key () const
  • int alternateKey () const -
  • QString description () const +
  • TQString description () const

    Static Public Member Functions

    Public Member Functions

    Protected Member Functions


    Detailed Description

    The QextScintillaLexerCPP class encapsulates the Scintilla C++ lexer. @@ -189,14 +189,14 @@ A global class or typedef defined in keyword set number 4. The class must be sub

  • Constructor & Destructor Documentation

    - +
    - + @@ -297,7 +297,7 @@ Implements
    QextScintillaLexerCPP::QextScintillaLexerCPP (QObject * TQObject *  parent = 0,
    - + @@ -349,7 +349,7 @@ Reimplemented in
    QColor QextScintillaLexerCPP::color TQColor QextScintillaLexerCPP::color ( int  style
    - + @@ -399,7 +399,7 @@ Reimplemented in
    QFont QextScintillaLexerCPP::font TQFont QextScintillaLexerCPP::font ( int  style
    - + @@ -411,7 +411,7 @@ Reimplemented in

    -Returns the descriptive name for style number style. If the style is invalid for this language then QString::null is returned. This is intended to be used in user preference dialogs. +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs.

    Implements QextScintillaLexer.

    @@ -423,7 +423,7 @@ Reimplemented in

    QString QextScintillaLexerCPP::description TQString QextScintillaLexerCPP::description ( int  style
    - + @@ -680,20 +680,20 @@ If style is TRUE then preprocessor lines (after the preprocessor direct

    - +

    QColor QextScintillaLexerCPP::paper TQColor QextScintillaLexerCPP::paper ( int  style
    - + - + @@ -713,20 +713,20 @@ The lexer's properties are read from the settings qs. prefix ( Reimplemented from QextScintillaLexer.

    - +

    bool QextScintillaLexerCPP::readProperties (QSettings & TQSettings &  qs,
    const QString & const TQString &  prefix 
    - + - + @@ -746,7 +746,7 @@ The lexer's properties are written to the settings qs. prefix Reimplemented from QextScintillaLexer.

    -


    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerCSS-members.html b/doc/html/classQextScintillaLexerCSS-members.html index c9f16a3..db8ba96 100644 --- a/doc/html/classQextScintillaLexerCSS-members.html +++ b/doc/html/classQextScintillaLexerCSS-members.html @@ -1,6 +1,6 @@ -QScintilla: Member List +TQScintilla: Member List @@ -30,7 +30,7 @@
    - + @@ -46,7 +46,7 @@ - + @@ -54,35 +54,35 @@ - + - - - - + + + + - - - - + + + + - - + + - - + + -
    bool QextScintillaLexerCPP::writeProperties (QSettings & TQSettings &  qs,
    const QString & const TQString &  prefix 
    braceStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    ClassSelector enum valueQextScintillaLexerCSS
    color(int style) const QextScintillaLexerCSS [virtual]
    colorChanged(const QColor &c, int style)QextScintillaLexer [signal]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerCSS
    CSS1Property enum valueQextScintillaLexerCSS
    CSS2Property enum valueQextScintillaLexerCSS
    foldComments() const QextScintillaLexerCSS
    foldCompact() const QextScintillaLexerCSS
    font(int style) const QextScintillaLexerCSS [virtual]
    fontChanged(const QFont &f, int style)QextScintillaLexer [signal]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    IDSelector enum valueQextScintillaLexerCSS
    Important enum valueQextScintillaLexerCSS
    keywords(int set) const QextScintillaLexerCSS [virtual]
    lexer() const QextScintillaLexerCSS [virtual]
    Operator enum valueQextScintillaLexerCSS
    paper(int style) const QextScintillaLexer [virtual]
    paperChanged(const QColor &c, int style)QextScintillaLexer [signal]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    PseudoClass enum valueQextScintillaLexerCSS
    QextScintillaLexer(QObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCSS(QObject *parent=0, const char *name=0)QextScintillaLexerCSS
    readProperties(QSettings &qs, const QString &prefix)QextScintillaLexerCSS [protected, virtual]
    readSettings(QSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCSS(TQObject *parent=0, const char *name=0)QextScintillaLexerCSS
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerCSS [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerCSS [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const QColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const QFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const QColor &c)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerCSS [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerCSS [virtual, slot]
    setFont(const QFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerCSS
    Tag enum valueQextScintillaLexerCSS
    UnknownProperty enum valueQextScintillaLexerCSS
    UnknownPseudoClass enum valueQextScintillaLexerCSS
    Value enum valueQextScintillaLexerCSS
    wordCharacters() const (defined in QextScintillaLexerCSS)QextScintillaLexerCSS [virtual]
    writeProperties(QSettings &qs, const QString &prefix) const QextScintillaLexerCSS [protected, virtual]
    writeSettings(QSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerCSS [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerCSS()QextScintillaLexerCSS [virtual]

    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerCSS.html b/doc/html/classQextScintillaLexerCSS.html index cfc076d..f1b666f 100644 --- a/doc/html/classQextScintillaLexerCSS.html +++ b/doc/html/classQextScintillaLexerCSS.html @@ -1,6 +1,6 @@ -QScintilla: QextScintillaLexerCSS Class Reference +TQScintilla: QextScintillaLexerCSS Class Reference @@ -76,7 +76,7 @@ Inherits QextScintillaLexer

    Public Member Functions

    Protected Member Functions


    Detailed Description

    The QextScintillaLexerCSS class encapsulates the Scintilla CSS lexer. @@ -157,14 +157,14 @@ An attribute.


    Constructor & Destructor Documentation

    - +
    - + @@ -257,7 +257,7 @@ Implements
    QextScintillaLexerCSS::QextScintillaLexerCSS (QObject * TQObject *  parent = 0,
    - + @@ -281,7 +281,7 @@ Reimplemented from
    QColor QextScintillaLexerCSS::color TQColor QextScintillaLexerCSS::color ( int  style
    - + @@ -327,7 +327,7 @@ Reimplemented from
    QFont QextScintillaLexerCSS::font TQFont QextScintillaLexerCSS::font ( int  style
    - + @@ -339,7 +339,7 @@ Reimplemented from

    -Returns the descriptive name for style number style. If the style is invalid for this language then QString::null is returned. This is intended to be used in user preference dialogs. +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs.

    Implements QextScintillaLexer. @@ -451,20 +451,20 @@ If fold is TRUE then trailing blank lines are included in a fold block.

    - +

    QString QextScintillaLexerCSS::description TQString QextScintillaLexerCSS::description ( int  style
    - + - + @@ -482,20 +482,20 @@ The lexer's properties are read from the settings qs. prefix ( Reimplemented from QextScintillaLexer.

    - +

    bool QextScintillaLexerCSS::readProperties (QSettings & TQSettings &  qs,
    const QString & const TQString &  prefix 
    - + - + @@ -513,7 +513,7 @@ The lexer's properties are written to the settings qs. prefix Reimplemented from QextScintillaLexer.

    -


    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerCSharp-members.html b/doc/html/classQextScintillaLexerCSharp-members.html index ac3a2d3..29defd4 100644 --- a/doc/html/classQextScintillaLexerCSharp-members.html +++ b/doc/html/classQextScintillaLexerCSharp-members.html @@ -1,6 +1,6 @@ -QScintilla: Member List +TQScintilla: Member List @@ -27,7 +27,7 @@
    - + @@ -48,7 +48,7 @@ - + @@ -59,28 +59,28 @@ - + - - - - - + + + + + - - - - + + + + - - + + @@ -89,12 +89,12 @@ - - + + -
    bool QextScintillaLexerCSS::writeProperties (QSettings & TQSettings &  qs,
    const QString & const TQString &  prefix 
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    braceStyle() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    color(int style) const QextScintillaLexerCSharp [virtual]
    colorChanged(const QColor &c, int style)QextScintillaLexer [signal]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerCPP
    CommentDoc enum valueQextScintillaLexerCPP
    CommentDocKeyword enum valueQextScintillaLexerCPP
    foldCompact() const QextScintillaLexerCPP
    foldPreprocessor() const QextScintillaLexerCPP
    font(int style) const QextScintillaLexerCSharp [virtual]
    fontChanged(const QFont &f, int style)QextScintillaLexer [signal]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    GlobalClass enum valueQextScintillaLexerCPP
    Identifier enum valueQextScintillaLexerCPP
    Keyword enum valueQextScintillaLexerCPP
    Number enum valueQextScintillaLexerCPP
    Operator enum valueQextScintillaLexerCPP
    paper(int style) const QextScintillaLexerCSharp [virtual]
    paperChanged(const QColor &c, int style)QextScintillaLexer [signal]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PreProcessor enum valueQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(QObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCPP(QObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)QextScintillaLexerCPP
    QextScintillaLexerCSharp(QObject *parent=0, const char *name=0)QextScintillaLexerCSharp
    readProperties(QSettings &qs, const QString &prefix)QextScintillaLexerCPP [protected, virtual]
    readSettings(QSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)QextScintillaLexerCPP
    QextScintillaLexerCSharp(TQObject *parent=0, const char *name=0)QextScintillaLexerCSharp
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerCPP [virtual]
    Regex enum valueQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const QColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const QFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const QColor &c)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFont(const QFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)QextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerCPP
    stylePreprocessor() const QextScintillaLexerCPP
    VerbatimString enum valueQextScintillaLexerCPP
    WhiteSpace enum valueQextScintillaLexerCPP
    wordCharacters() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    writeProperties(QSettings &qs, const QString &prefix) const QextScintillaLexerCPP [protected, virtual]
    writeSettings(QSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerCPP()QextScintillaLexerCPP [virtual]
    ~QextScintillaLexerCSharp()QextScintillaLexerCSharp [virtual]

    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerCSharp.html b/doc/html/classQextScintillaLexerCSharp.html index bdb8fc3..ea5e8a3 100644 --- a/doc/html/classQextScintillaLexerCSharp.html +++ b/doc/html/classQextScintillaLexerCSharp.html @@ -1,6 +1,6 @@ -QScintilla: QextScintillaLexerCSharp Class Reference +TQScintilla: QextScintillaLexerCSharp Class Reference @@ -26,28 +26,28 @@ Inherits QextScintillaLexer

    List of all members.

    Public Member Functions


    Detailed Description

    The QextScintillaLexerCSharp class encapsulates the Scintilla C# lexer.


    Constructor & Destructor Documentation

    - +
    - + @@ -119,7 +119,7 @@ Reimplemented from
    QextScintillaLexerCSharp::QextScintillaLexerCSharp (QObject * TQObject *  parent = 0,
    - + @@ -167,7 +167,7 @@ Reimplemented from
    QColor QextScintillaLexerCSharp::color TQColor QextScintillaLexerCSharp::color ( int  style
    - + @@ -213,7 +213,7 @@ Reimplemented from
    QFont QextScintillaLexerCSharp::font TQFont QextScintillaLexerCSharp::font ( int  style
    - + @@ -225,7 +225,7 @@ Reimplemented from

    -Returns the descriptive name for style number style. If the style is invalid for this language then QString::null is returned. This is intended to be used in user preference dialogs. +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs.

    Reimplemented from QextScintillaLexerCPP. @@ -235,7 +235,7 @@ Reimplemented from

    QString QextScintillaLexerCSharp::description TQString QextScintillaLexerCSharp::description ( int  style
    - + @@ -254,7 +254,7 @@ Returns the background colour of the text for style number style.

    Reimplemented from QextScintillaLexerCPP.

    -


    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerDiff-members.html b/doc/html/classQextScintillaLexerDiff-members.html index 04d5ad5..d1a0b65 100644 --- a/doc/html/classQextScintillaLexerDiff-members.html +++ b/doc/html/classQextScintillaLexerDiff-members.html @@ -1,6 +1,6 @@ -QScintilla: Member List +TQScintilla: Member List @@ -27,7 +27,7 @@
    - + @@ -39,7 +39,7 @@ - + @@ -47,28 +47,28 @@ - + - - - - + + + + - - - - + + + + - - + + - - + + -
    QColor QextScintillaLexerCSharp::paper TQColor QextScintillaLexerCSharp::paper ( int  style
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    color(int style) const QextScintillaLexerDiff [virtual]
    colorChanged(const QColor &c, int style)QextScintillaLexer [signal]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Command enum valueQextScintillaLexerDiff
    Comment enum valueQextScintillaLexerDiff
    Default enum valueQextScintillaLexerDiff
    eolFill(int style) const QextScintillaLexer [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    font(int style) const QextScintillaLexer [virtual]
    fontChanged(const QFont &f, int style)QextScintillaLexer [signal]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    Header enum valueQextScintillaLexerDiff
    keywords(int set) const QextScintillaLexer [virtual]
    language() const QextScintillaLexerDiff [virtual]
    LineAdded enum valueQextScintillaLexerDiff
    LineRemoved enum valueQextScintillaLexerDiff
    paper(int style) const QextScintillaLexer [virtual]
    paperChanged(const QColor &c, int style)QextScintillaLexer [signal]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Position enum valueQextScintillaLexerDiff
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(QObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerDiff(QObject *parent=0, const char *name=0)QextScintillaLexerDiff
    readProperties(QSettings &qs, const QString &prefix)QextScintillaLexer [protected, virtual]
    readSettings(QSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerDiff(TQObject *parent=0, const char *name=0)QextScintillaLexerDiff
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexer [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const QColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const QFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const QColor &c)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const QFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    wordCharacters() const (defined in QextScintillaLexerDiff)QextScintillaLexerDiff [virtual]
    writeProperties(QSettings &qs, const QString &prefix) const QextScintillaLexer [protected, virtual]
    writeSettings(QSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerDiff()QextScintillaLexerDiff [virtual]

    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerDiff.html b/doc/html/classQextScintillaLexerDiff.html index 78fa800..c2c2207 100644 --- a/doc/html/classQextScintillaLexerDiff.html +++ b/doc/html/classQextScintillaLexerDiff.html @@ -1,6 +1,6 @@ -QScintilla: QextScintillaLexerDiff Class Reference +TQScintilla: QextScintillaLexerDiff Class Reference @@ -48,14 +48,14 @@ Inherits QextScintillaLexer

    Public Member Functions


    Detailed Description

    The QextScintillaLexerDiff class encapsulates the Scintilla Diff lexer. @@ -95,14 +95,14 @@ An added line.


    Constructor & Destructor Documentation

    - +
    - + @@ -195,7 +195,7 @@ Implements
    QextScintillaLexerDiff::QextScintillaLexerDiff (QObject * TQObject *  parent = 0,
    - + @@ -219,7 +219,7 @@ Reimplemented from
    QColor QextScintillaLexerDiff::color TQColor QextScintillaLexerDiff::color ( int  style
    - + @@ -231,12 +231,12 @@ Reimplemented from

    -Returns the descriptive name for style number style. If the style is invalid for this language then QString::null is returned. This is intended to be used in user preference dialogs. +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs.

    Implements QextScintillaLexer.

    -


    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerHTML-members.html b/doc/html/classQextScintillaLexerHTML-members.html index 7a411f5..de1b57c 100644 --- a/doc/html/classQextScintillaLexerHTML-members.html +++ b/doc/html/classQextScintillaLexerHTML-members.html @@ -1,6 +1,6 @@ -QScintilla: Member List +TQScintilla: Member List @@ -67,7 +67,7 @@
    - + @@ -80,7 +80,7 @@ - + @@ -104,7 +104,7 @@ - + @@ -130,23 +130,23 @@ - - - - + + + + - - - - + + + + - - + + @@ -170,14 +170,14 @@ - - + + -
    QString QextScintillaLexerDiff::description TQString QextScintillaLexerDiff::description ( int  style
    caseSensitiveTags() const QextScintillaLexerHTML
    CDATA enum valueQextScintillaLexerHTML
    color(int style) const QextScintillaLexerHTML [virtual]
    colorChanged(const QColor &c, int style)QextScintillaLexer [signal]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Default enum valueQextScintillaLexerHTML
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    foldCompact() const QextScintillaLexerHTML
    foldPreprocessor() const QextScintillaLexerHTML
    font(int style) const QextScintillaLexerHTML [virtual]
    fontChanged(const QFont &f, int style)QextScintillaLexer [signal]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    HTMLComment enum valueQextScintillaLexerHTML
    HTMLDoubleQuotedString enum valueQextScintillaLexerHTML
    HTMLNumber enum valueQextScintillaLexerHTML
    lexer() const QextScintillaLexerHTML [virtual]
    OtherInTag enum valueQextScintillaLexerHTML
    paper(int style) const QextScintillaLexerHTML [virtual]
    paperChanged(const QColor &c, int style)QextScintillaLexer [signal]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PHPComment enum valueQextScintillaLexerHTML
    PHPCommentLine enum valueQextScintillaLexerHTML
    PHPDefault enum valueQextScintillaLexerHTML
    PythonStart enum valueQextScintillaLexerHTML
    PythonTripleDoubleQuotedString enum valueQextScintillaLexerHTML
    PythonTripleSingleQuotedString enum valueQextScintillaLexerHTML
    QextScintillaLexer(QObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerHTML(QObject *parent=0, const char *name=0)QextScintillaLexerHTML
    readProperties(QSettings &qs, const QString &prefix)QextScintillaLexerHTML [protected, virtual]
    readSettings(QSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerHTML(TQObject *parent=0, const char *name=0)QextScintillaLexerHTML
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerHTML [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerHTML [virtual]
    Script enum valueQextScintillaLexerHTML
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setCaseSensitiveTags(bool sens)QextScintillaLexerHTML [virtual, slot]
    setColor(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const QColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const QFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const QColor &c)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerHTML [virtual, slot]
    setFoldPreprocessor(bool fold)QextScintillaLexerHTML [virtual, slot]
    setFont(const QFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    SGMLBlockDefault enum valueQextScintillaLexerHTML
    SGMLCommand enum valueQextScintillaLexerHTML
    SGMLComment enum valueQextScintillaLexerHTML
    VBScriptString enum valueQextScintillaLexerHTML
    VBScriptUnclosedString enum valueQextScintillaLexerHTML
    wordCharacters() const (defined in QextScintillaLexerHTML)QextScintillaLexerHTML [virtual]
    writeProperties(QSettings &qs, const QString &prefix) const QextScintillaLexerHTML [protected, virtual]
    writeSettings(QSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerHTML [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    XMLEnd enum valueQextScintillaLexerHTML
    XMLStart enum valueQextScintillaLexerHTML
    XMLTagEnd enum valueQextScintillaLexerHTML
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerHTML()QextScintillaLexerHTML [virtual]

    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerHTML.html b/doc/html/classQextScintillaLexerHTML.html index 46f52b3..ea613ba 100644 --- a/doc/html/classQextScintillaLexerHTML.html +++ b/doc/html/classQextScintillaLexerHTML.html @@ -1,6 +1,6 @@ -QScintilla: QextScintillaLexerHTML Class Reference +TQScintilla: QextScintillaLexerHTML Class Reference @@ -294,18 +294,18 @@ Inherits QextScintillaLexer

    Public Member Functions

    Protected Member Functions


    Detailed Description

    The QextScintillaLexerHTML class encapsulates the Scintilla HTML lexer. @@ -560,14 +560,14 @@ A PHP operator.


    Constructor & Destructor Documentation

    - +
    - + @@ -660,7 +660,7 @@ Implements
    QextScintillaLexerHTML::QextScintillaLexerHTML (QObject * TQObject *  parent = 0,
    - + @@ -708,7 +708,7 @@ Reimplemented from
    QColor QextScintillaLexerHTML::color TQColor QextScintillaLexerHTML::color ( int  style
    - + @@ -754,7 +754,7 @@ Reimplemented from
    QFont QextScintillaLexerHTML::font TQFont QextScintillaLexerHTML::font ( int  style
    - + @@ -766,7 +766,7 @@ Reimplemented from

    -Returns the descriptive name for style number style. If the style is invalid for this language then QString::null is returned. This is intended to be used in user preference dialogs. +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs.

    Implements QextScintillaLexer. @@ -776,7 +776,7 @@ Implements

    QString QextScintillaLexerHTML::description TQString QextScintillaLexerHTML::description ( int  style
    - + @@ -945,20 +945,20 @@ If sens is TRUE then tags are case sensitive. The default is FALSE.

    - +

    QColor QextScintillaLexerHTML::paper TQColor QextScintillaLexerHTML::paper ( int  style
    - + - + @@ -976,20 +976,20 @@ The lexer's properties are read from the settings qs. prefix ( Reimplemented from QextScintillaLexer.

    - +

    bool QextScintillaLexerHTML::readProperties (QSettings & TQSettings &  qs,
    const QString & const TQString &  prefix 
    - + - + @@ -1007,7 +1007,7 @@ The lexer's properties are written to the settings qs. prefix Reimplemented from QextScintillaLexer.

    -


    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerIDL-members.html b/doc/html/classQextScintillaLexerIDL-members.html index fb5ed10..26a7d39 100644 --- a/doc/html/classQextScintillaLexerIDL-members.html +++ b/doc/html/classQextScintillaLexerIDL-members.html @@ -1,6 +1,6 @@ -QScintilla: Member List +TQScintilla: Member List @@ -27,7 +27,7 @@
    - + @@ -48,7 +48,7 @@ - + @@ -59,28 +59,28 @@ - + - - - - - + + + + + - - - - + + + + - - + + @@ -89,12 +89,12 @@ - - + + -
    bool QextScintillaLexerHTML::writeProperties (QSettings & TQSettings &  qs,
    const QString & const TQString &  prefix 
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    braceStyle() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    color(int style) const QextScintillaLexerIDL [virtual]
    colorChanged(const QColor &c, int style)QextScintillaLexer [signal]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerCPP
    CommentDoc enum valueQextScintillaLexerCPP
    CommentDocKeyword enum valueQextScintillaLexerCPP
    foldCompact() const QextScintillaLexerCPP
    foldPreprocessor() const QextScintillaLexerCPP
    font(int style) const QextScintillaLexerCPP [virtual]
    fontChanged(const QFont &f, int style)QextScintillaLexer [signal]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    GlobalClass enum valueQextScintillaLexerCPP
    Identifier enum valueQextScintillaLexerCPP
    Keyword enum valueQextScintillaLexerCPP
    Number enum valueQextScintillaLexerCPP
    Operator enum valueQextScintillaLexerCPP
    paper(int style) const QextScintillaLexerCPP [virtual]
    paperChanged(const QColor &c, int style)QextScintillaLexer [signal]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PreProcessor enum valueQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(QObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCPP(QObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)QextScintillaLexerCPP
    QextScintillaLexerIDL(QObject *parent=0, const char *name=0)QextScintillaLexerIDL
    readProperties(QSettings &qs, const QString &prefix)QextScintillaLexerCPP [protected, virtual]
    readSettings(QSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)QextScintillaLexerCPP
    QextScintillaLexerIDL(TQObject *parent=0, const char *name=0)QextScintillaLexerIDL
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerCPP [virtual]
    Regex enum valueQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const QColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const QFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const QColor &c)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFont(const QFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)QextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerCPP
    stylePreprocessor() const QextScintillaLexerCPP
    VerbatimString enum valueQextScintillaLexerCPP
    WhiteSpace enum valueQextScintillaLexerCPP
    wordCharacters() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    writeProperties(QSettings &qs, const QString &prefix) const QextScintillaLexerCPP [protected, virtual]
    writeSettings(QSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerCPP()QextScintillaLexerCPP [virtual]
    ~QextScintillaLexerIDL()QextScintillaLexerIDL [virtual]

    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerIDL.html b/doc/html/classQextScintillaLexerIDL.html index 82aad2f..9bd3766 100644 --- a/doc/html/classQextScintillaLexerIDL.html +++ b/doc/html/classQextScintillaLexerIDL.html @@ -1,6 +1,6 @@ -QScintilla: QextScintillaLexerIDL Class Reference +TQScintilla: QextScintillaLexerIDL Class Reference @@ -26,25 +26,25 @@ Inherits QextScintillaLexer

    List of all members.

    Public Member Functions


    Detailed Description

    The QextScintillaLexerIDL class encapsulates the Scintilla IDL lexer.


    Constructor & Destructor Documentation

    - +
    - + @@ -116,7 +116,7 @@ Reimplemented from
    QextScintillaLexerIDL::QextScintillaLexerIDL (QObject * TQObject *  parent = 0,
    - + @@ -162,7 +162,7 @@ Reimplemented from
    QColor QextScintillaLexerIDL::color TQColor QextScintillaLexerIDL::color ( int  style
    - + @@ -174,12 +174,12 @@ Reimplemented from

    -Returns the descriptive name for style number style. If the style is invalid for this language then QString::null is returned. This is intended to be used in user preference dialogs. +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs.

    Reimplemented from QextScintillaLexerCPP.

    -


    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerJava-members.html b/doc/html/classQextScintillaLexerJava-members.html index e5eb10a..462f12f 100644 --- a/doc/html/classQextScintillaLexerJava-members.html +++ b/doc/html/classQextScintillaLexerJava-members.html @@ -1,6 +1,6 @@ -QScintilla: Member List +TQScintilla: Member List @@ -27,7 +27,7 @@
    - + @@ -48,7 +48,7 @@ - + @@ -59,28 +59,28 @@ - + - - - - - + + + + + - - - - + + + + - - + + @@ -89,12 +89,12 @@ - - + + -
    QString QextScintillaLexerIDL::description TQString QextScintillaLexerIDL::description ( int  style
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    braceStyle() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    color(int style) const QextScintillaLexerCPP [virtual]
    colorChanged(const QColor &c, int style)QextScintillaLexer [signal]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerCPP
    CommentDoc enum valueQextScintillaLexerCPP
    CommentDocKeyword enum valueQextScintillaLexerCPP
    foldCompact() const QextScintillaLexerCPP
    foldPreprocessor() const QextScintillaLexerCPP
    font(int style) const QextScintillaLexerCPP [virtual]
    fontChanged(const QFont &f, int style)QextScintillaLexer [signal]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    GlobalClass enum valueQextScintillaLexerCPP
    Identifier enum valueQextScintillaLexerCPP
    Keyword enum valueQextScintillaLexerCPP
    Number enum valueQextScintillaLexerCPP
    Operator enum valueQextScintillaLexerCPP
    paper(int style) const QextScintillaLexerCPP [virtual]
    paperChanged(const QColor &c, int style)QextScintillaLexer [signal]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PreProcessor enum valueQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(QObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCPP(QObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)QextScintillaLexerCPP
    QextScintillaLexerJava(QObject *parent=0, const char *name=0)QextScintillaLexerJava
    readProperties(QSettings &qs, const QString &prefix)QextScintillaLexerCPP [protected, virtual]
    readSettings(QSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)QextScintillaLexerCPP
    QextScintillaLexerJava(TQObject *parent=0, const char *name=0)QextScintillaLexerJava
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerCPP [virtual]
    Regex enum valueQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const QColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const QFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const QColor &c)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFont(const QFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const QColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)QextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerCPP
    stylePreprocessor() const QextScintillaLexerCPP
    VerbatimString enum valueQextScintillaLexerCPP
    WhiteSpace enum valueQextScintillaLexerCPP
    wordCharacters() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    writeProperties(QSettings &qs, const QString &prefix) const QextScintillaLexerCPP [protected, virtual]
    writeSettings(QSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerCPP()QextScintillaLexerCPP [virtual]
    ~QextScintillaLexerJava()QextScintillaLexerJava [virtual]

    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/classQextScintillaLexerJava.html b/doc/html/classQextScintillaLexerJava.html index 5d5dab2..7be015d 100644 --- a/doc/html/classQextScintillaLexerJava.html +++ b/doc/html/classQextScintillaLexerJava.html @@ -1,6 +1,6 @@ -QScintilla: QextScintillaLexerJava Class Reference +TQScintilla: QextScintillaLexerJava Class Reference @@ -26,7 +26,7 @@ Inherits QextScintillaLexer

    List of all members.

    Public Member Functions

    -

    QextScintillaPrinter Class Reference

    The QextScintillaPrinter class is a sub-class of the Qt QPrinter class that is able to print the text of a Scintilla document. +

    QextScintillaPrinter Class Reference

    The QextScintillaPrinter class is a sub-class of the TQt TQPrinter class that is able to print the text of a Scintilla document. More...

    #include <qextscintillaprinter.h> @@ -26,7 +26,7 @@


    Detailed Description

    -The QextScintillaPrinter class is a sub-class of the Qt QPrinter class that is able to print the text of a Scintilla document. +The QextScintillaPrinter class is a sub-class of the TQt TQPrinter class that is able to print the text of a Scintilla document.

    -The class can be further sub-classed to alter to layout of the text, adding headers and footers for example. +The class can be further sub-classed to alter to tqlayout of the text, adding headers and footers for example.


    Constructor & Destructor Documentation

    @@ -83,14 +83,14 @@ Destroys the QextScintillaPr


    Member Function Documentation

    - +
    - + @@ -102,7 +102,7 @@ Destroys the QextScintillaPr - + @@ -121,7 +121,7 @@ Destroys the QextScintillaPr

    -Format a page, by adding headers and footers for example, before the document text is drawn on it. painter is the painter to be used to add customised text and graphics. drawing is TRUE if the page is actually being drawn rather than being sized. painter drawing methods must only be called when drawing is TRUE. area is the area of the page that will be used to draw the text. This should be modified if it is necessary to reserve space for any customised text or graphics. By default the area is relative to the printable area of the page. Use QPrinter::setFullPage() because calling printRange() if you want to try and print over the whole page. pagenr is the number of the page. The first page is numbered 1. +Format a page, by adding headers and footers for example, before the document text is drawn on it. painter is the painter to be used to add customised text and graphics. drawing is TRUE if the page is actually being drawn rather than being sized. painter drawing methods must only be called when drawing is TRUE. area is the area of the page that will be used to draw the text. This should be modified if it is necessary to reserve space for any customised text or graphics. By default the area is relative to the printable area of the page. Use TQPrinter::setFullPage() because calling printRange() if you want to try and print over the whole page. pagenr is the number of the page. The first page is numbered 1.

    @@ -245,7 +245,7 @@ Sets the line wrap mode used when printing to wmode.

    -


    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/deprecated.html b/doc/html/deprecated.html index 7a37e8e..f646ddd 100644 --- a/doc/html/deprecated.html +++ b/doc/html/deprecated.html @@ -1,6 +1,6 @@ -QScintilla: Deprecated List +TQScintilla: Deprecated List @@ -35,7 +35,7 @@
    Member QextScintillaLexerSQL::LineComment
    A line comment.
    -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions.html b/doc/html/functions.html index ee811c5..ae4a0a8 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -123,7 +123,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintilla
  • autoIndent() : QextScintilla
  • autoIndentStyle() : QextScintillaLexer -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x62.html b/doc/html/functions_0x62.html index 039cd58..fc7cbd2 100644 --- a/doc/html/functions_0x62.html +++ b/doc/html/functions_0x62.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -78,7 +78,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintilla
  • BraceMatch : QextScintilla
  • braceMatching() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x63.html b/doc/html/functions_0x63.html index 19b6193..50a3b7b 100644 --- a/doc/html/functions_0x63.html +++ b/doc/html/functions_0x63.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -101,7 +101,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerCSS
  • cursorPositionChanged() : QextScintilla
  • cut() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x64.html b/doc/html/functions_0x64.html index e84403b..90bfda5 100644 --- a/doc/html/functions_0x64.html +++ b/doc/html/functions_0x64.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -75,7 +75,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerPerl
  • DoubleQuotedString : QextScintillaLexerSQL, QextScintillaLexerRuby, QextScintillaLexerPython, QextScintillaLexerPerl, QextScintillaLexerCSS, QextScintillaLexerCPP, QextScintillaLexerBash
  • DownTriangle : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x65.html b/doc/html/functions_0x65.html index dc2d1ca..4baa96f 100644 --- a/doc/html/functions_0x65.html +++ b/doc/html/functions_0x65.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -84,7 +84,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerRuby, QextScintillaLexerPerl, QextScintillaLexerMakefile, QextScintillaLexerBash
  • eventFilter() : QextScintillaBase
  • ExternalCommand : QextScintillaLexerBatch -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x66.html b/doc/html/functions_0x66.html index 39551a6..8ff1cfe 100644 --- a/doc/html/functions_0x66.html +++ b/doc/html/functions_0x66.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -81,7 +81,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexer
  • formatPage() : QextScintillaPrinter
  • FunctionMethodName : QextScintillaLexerRuby, QextScintillaLexerPython -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x67.html b/doc/html/functions_0x67.html index f04e8e0..cfc7a80 100644 --- a/doc/html/functions_0x67.html +++ b/doc/html/functions_0x67.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -66,7 +66,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerRuby
  • GlobalClass : QextScintillaLexerCPP
  • Group : QextScintillaLexerTeX -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x68.html b/doc/html/functions_0x68.html index 7d0385a..4af5ac2 100644 --- a/doc/html/functions_0x68.html +++ b/doc/html/functions_0x68.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -73,7 +73,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerHTML
  • HTMLSingleQuotedString : QextScintillaLexerHTML
  • HTMLValue : QextScintillaLexerHTML -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x69.html b/doc/html/functions_0x69.html index af4a83c..66cf401 100644 --- a/doc/html/functions_0x69.html +++ b/doc/html/functions_0x69.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -83,7 +83,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintilla
  • isUndoAvailable() : QextScintilla
  • isUtf8() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x6a.html b/doc/html/functions_0x6a.html index f61c58d..4f09a7c 100644 --- a/doc/html/functions_0x6a.html +++ b/doc/html/functions_0x6a.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -74,7 +74,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerHTML
  • JavaScriptUnclosedString : QextScintillaLexerHTML
  • JavaScriptWord : QextScintillaLexerHTML -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x6b.html b/doc/html/functions_0x6b.html index 9400d87..1f73243 100644 --- a/doc/html/functions_0x6b.html +++ b/doc/html/functions_0x6b.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -70,7 +70,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerSQL, QextScintillaLexerPOV
  • KeywordSet7 : QextScintillaLexerSQL, QextScintillaLexerPOV
  • KeywordSet8 : QextScintillaLexerSQL, QextScintillaLexerPOV -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x6c.html b/doc/html/functions_0x6c.html index 0a2379f..9d83d7b 100644 --- a/doc/html/functions_0x6c.html +++ b/doc/html/functions_0x6c.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -75,7 +75,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintilla
  • LiteralString : QextScintillaLexerLua
  • load() : QextScintillaMacro, QextScintillaAPIs -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x6d.html b/doc/html/functions_0x6d.html index 3f20854..3d0d9b0 100644 --- a/doc/html/functions_0x6d.html +++ b/doc/html/functions_0x6d.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -82,7 +82,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintilla
  • ModuleName : QextScintillaLexerRuby
  • moveToMatchingBrace() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x6e.html b/doc/html/functions_0x6e.html index 7d3ce9e..6c66587 100644 --- a/doc/html/functions_0x6e.html +++ b/doc/html/functions_0x6e.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -65,7 +65,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintilla
  • NoWarning : QextScintillaLexerPython
  • Number : QextScintillaLexerSQL, QextScintillaLexerRuby, QextScintillaLexerPython, QextScintillaLexerPOV, QextScintillaLexerPerl, QextScintillaLexerLua, QextScintillaLexerCPP, QextScintillaLexerBash -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x6f.html b/doc/html/functions_0x6f.html index ccb61e4..44720a9 100644 --- a/doc/html/functions_0x6f.html +++ b/doc/html/functions_0x6f.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -64,7 +64,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerPOV
  • Operator : QextScintillaLexerSQL, QextScintillaLexerRuby, QextScintillaLexerPython, QextScintillaLexerPOV, QextScintillaLexerPerl, QextScintillaLexerMakefile, QextScintillaLexerLua, QextScintillaLexerCSS, QextScintillaLexerCPP, QextScintillaLexerBatch, QextScintillaLexerBash
  • OtherInTag : QextScintillaLexerHTML -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x70.html b/doc/html/functions_0x70.html index f1c8807..3c382b7 100644 --- a/doc/html/functions_0x70.html +++ b/doc/html/functions_0x70.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -111,7 +111,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerHTML
  • PythonTripleDoubleQuotedString : QextScintillaLexerHTML
  • PythonTripleSingleQuotedString : QextScintillaLexerHTML -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x71.html b/doc/html/functions_0x71.html index dc84b2e..e5226a3 100644 --- a/doc/html/functions_0x71.html +++ b/doc/html/functions_0x71.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -86,14 +86,14 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerSQL
  • QextScintillaLexerTeX() : QextScintillaLexerTeX
  • QextScintillaMacro() : QextScintillaMacro
  • QextScintillaPrinter() -: QextScintillaPrinter
  • QSCN_SELCHANGED() +: QextScintillaPrinter
  • TQSCN_SELCHANGED() : QextScintillaBase
  • QuotedStringQ : QextScintillaLexerPerl
  • QuotedStringQQ : QextScintillaLexerPerl
  • QuotedStringQR : QextScintillaLexerPerl
  • QuotedStringQW : QextScintillaLexerPerl
  • QuotedStringQX : QextScintillaLexerPerl -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x72.html b/doc/html/functions_0x72.html index e1d3a5f..b0093e9 100644 --- a/doc/html/functions_0x72.html +++ b/doc/html/functions_0x72.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -77,7 +77,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintilla
  • RightTriangle : QextScintilla
  • RoundedBottomLeftCorner : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x73.html b/doc/html/functions_0x73.html index 4c0e473..9e1937a 100644 --- a/doc/html/functions_0x73.html +++ b/doc/html/functions_0x73.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -334,7 +334,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerHTML
  • showUserList() : QextScintilla
  • SingleQuotedHereDocument : QextScintillaLexerPerl, QextScintillaLexerBash
  • SingleQuotedString -: QextScintillaLexerSQL, QextScintillaLexerRuby, QextScintillaLexerPython, QextScintillaLexerPerl, QextScintillaLexerCSS, QextScintillaLexerCPP, QextScintillaLexerBash
  • sizeHint() +: QextScintillaLexerSQL, QextScintillaLexerRuby, QextScintillaLexerPython, QextScintillaLexerPerl, QextScintillaLexerCSS, QextScintillaLexerCPP, QextScintillaLexerBash
  • tqsizeHint() : QextScintillaBase
  • SloppyBraceMatch : QextScintilla
  • SmallRectangle : QextScintilla
  • Spaces @@ -353,7 +353,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerPerl
  • Symbol : QextScintillaLexerTeX, QextScintillaLexerRuby
  • SymbolTable : QextScintillaLexerPerl -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x74.html b/doc/html/functions_0x74.html index a489bf4..7602360 100644 --- a/doc/html/functions_0x74.html +++ b/doc/html/functions_0x74.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -76,7 +76,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerPython
  • TripleSingleQuotedString : QextScintillaLexerPython
  • TypesModifiersItems : QextScintillaLexerPOV -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x75.html b/doc/html/functions_0x75.html index bc94eaa..efb1864 100644 --- a/doc/html/functions_0x75.html +++ b/doc/html/functions_0x75.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -70,7 +70,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerHTML
  • userListActivated() : QextScintilla
  • UUID : QextScintillaLexerCPP -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x76.html b/doc/html/functions_0x76.html index 7654546..8dd7317 100644 --- a/doc/html/functions_0x76.html +++ b/doc/html/functions_0x76.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -75,7 +75,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerCPP
  • VerticalLine : QextScintilla
  • viewport() : QextScintillaBase -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x77.html b/doc/html/functions_0x77.html index 7ec4d6a..864fa31 100644 --- a/doc/html/functions_0x77.html +++ b/doc/html/functions_0x77.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -78,7 +78,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintilla
  • WsVisible : QextScintilla
  • WsVisibleAfterIndent : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x78.html b/doc/html/functions_0x78.html index f21ec8d..fb1826b 100644 --- a/doc/html/functions_0x78.html +++ b/doc/html/functions_0x78.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -64,7 +64,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerHTML
  • XMLStart : QextScintillaLexerHTML
  • XMLTagEnd : QextScintillaLexerHTML -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x7a.html b/doc/html/functions_0x7a.html index 2a99df9..166ca1e 100644 --- a/doc/html/functions_0x7a.html +++ b/doc/html/functions_0x7a.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -64,7 +64,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintilla
  • zoomOut() : QextScintilla
  • zoomTo() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_0x7e.html b/doc/html/functions_0x7e.html index b1a6c22..9da6174 100644 --- a/doc/html/functions_0x7e.html +++ b/doc/html/functions_0x7e.html @@ -1,6 +1,6 @@ -QScintilla: Class Members +TQScintilla: Class Members @@ -86,7 +86,7 @@ Here is a list of all documented class members with links to the class documenta : QextScintillaLexerTeX
  • ~QextScintillaMacro() : QextScintillaMacro
  • ~QextScintillaPrinter() : QextScintillaPrinter -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_enum.html b/doc/html/functions_enum.html index 7fcaf4b..aec3578 100644 --- a/doc/html/functions_enum.html +++ b/doc/html/functions_enum.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerations +TQScintilla: Class Members - Enumerations @@ -39,7 +39,7 @@ : QextScintilla
  • WrapMode : QextScintilla
  • WrapVisualFlag : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval.html b/doc/html/functions_eval.html index 0c1f1bd..ae9707b 100644 --- a/doc/html/functions_eval.html +++ b/doc/html/functions_eval.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -106,7 +106,7 @@ : QextScintillaLexerProperties
  • AtRule : QextScintillaLexerCSS
  • Attribute : QextScintillaLexerHTML, QextScintillaLexerCSS -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x62.html b/doc/html/functions_eval_0x62.html index e3df794..d0ca99e 100644 --- a/doc/html/functions_eval_0x62.html +++ b/doc/html/functions_eval_0x62.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -71,7 +71,7 @@ : QextScintilla
  • BoxedPlusConnected : QextScintilla
  • BoxedTreeFoldStyle : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x63.html b/doc/html/functions_eval_0x63.html index 9e0638f..bcb0127 100644 --- a/doc/html/functions_eval_0x63.html +++ b/doc/html/functions_eval_0x63.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -83,7 +83,7 @@ : QextScintillaLexerLua
  • CSS1Property : QextScintillaLexerCSS
  • CSS2Property : QextScintillaLexerCSS -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x64.html b/doc/html/functions_eval_0x64.html index 8f7856f..4f38c3c 100644 --- a/doc/html/functions_eval_0x64.html +++ b/doc/html/functions_eval_0x64.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -68,7 +68,7 @@ : QextScintillaLexerPerl
  • DoubleQuotedString : QextScintillaLexerSQL, QextScintillaLexerRuby, QextScintillaLexerPython, QextScintillaLexerPerl, QextScintillaLexerCSS, QextScintillaLexerCPP, QextScintillaLexerBash
  • DownTriangle : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x65.html b/doc/html/functions_eval_0x65.html index 5fe6872..02f754d 100644 --- a/doc/html/functions_eval_0x65.html +++ b/doc/html/functions_eval_0x65.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -68,7 +68,7 @@ : QextScintilla
  • Error : QextScintillaLexerRuby, QextScintillaLexerPerl, QextScintillaLexerMakefile, QextScintillaLexerBash
  • ExternalCommand : QextScintillaLexerBatch -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x66.html b/doc/html/functions_eval_0x66.html index 13b36ba..c8dafd8 100644 --- a/doc/html/functions_eval_0x66.html +++ b/doc/html/functions_eval_0x66.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -60,7 +60,7 @@

    - f -

    -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x67.html b/doc/html/functions_eval_0x67.html index 00bfbb6..9835aa3 100644 --- a/doc/html/functions_eval_0x67.html +++ b/doc/html/functions_eval_0x67.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -62,7 +62,7 @@ : QextScintillaLexerRuby
  • GlobalClass : QextScintillaLexerCPP
  • Group : QextScintillaLexerTeX -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x68.html b/doc/html/functions_eval_0x68.html index e7b589a..b252d7f 100644 --- a/doc/html/functions_eval_0x68.html +++ b/doc/html/functions_eval_0x68.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -70,7 +70,7 @@ : QextScintillaLexerHTML
  • HTMLSingleQuotedString : QextScintillaLexerHTML
  • HTMLValue : QextScintillaLexerHTML -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x69.html b/doc/html/functions_eval_0x69.html index 44344aa..728d8e8 100644 --- a/doc/html/functions_eval_0x69.html +++ b/doc/html/functions_eval_0x69.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -65,7 +65,7 @@ : QextScintillaLexerPython
  • InstanceVariable : QextScintillaLexerRuby
  • Invisible : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x6a.html b/doc/html/functions_eval_0x6a.html index 9b3fd9b..f851681 100644 --- a/doc/html/functions_eval_0x6a.html +++ b/doc/html/functions_eval_0x6a.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -72,7 +72,7 @@ : QextScintillaLexerHTML
  • JavaScriptUnclosedString : QextScintillaLexerHTML
  • JavaScriptWord : QextScintillaLexerHTML -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x6b.html b/doc/html/functions_eval_0x6b.html index fe892fe..46f592a 100644 --- a/doc/html/functions_eval_0x6b.html +++ b/doc/html/functions_eval_0x6b.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -65,7 +65,7 @@ : QextScintillaLexerSQL, QextScintillaLexerPOV
  • KeywordSet7 : QextScintillaLexerSQL, QextScintillaLexerPOV
  • KeywordSet8 : QextScintillaLexerSQL, QextScintillaLexerPOV -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x6c.html b/doc/html/functions_eval_0x6c.html index 507e916..3a7432c 100644 --- a/doc/html/functions_eval_0x6c.html +++ b/doc/html/functions_eval_0x6c.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -66,7 +66,7 @@ : QextScintillaLexerSQL, QextScintillaLexerLua
  • LineRemoved : QextScintillaLexerDiff
  • LiteralString : QextScintillaLexerLua -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x6d.html b/doc/html/functions_eval_0x6d.html index d5e122d..f943a5f 100644 --- a/doc/html/functions_eval_0x6d.html +++ b/doc/html/functions_eval_0x6d.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -61,7 +61,7 @@
  • Minus : QextScintilla
  • ModuleName : QextScintillaLexerRuby -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x6e.html b/doc/html/functions_eval_0x6e.html index b5de1d7..abe512f 100644 --- a/doc/html/functions_eval_0x6e.html +++ b/doc/html/functions_eval_0x6e.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -63,7 +63,7 @@ : QextScintilla
  • NoWarning : QextScintillaLexerPython
  • Number : QextScintillaLexerSQL, QextScintillaLexerRuby, QextScintillaLexerPython, QextScintillaLexerPOV, QextScintillaLexerPerl, QextScintillaLexerLua, QextScintillaLexerCPP, QextScintillaLexerBash -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x6f.html b/doc/html/functions_eval_0x6f.html index 498fc39..b1d9efe 100644 --- a/doc/html/functions_eval_0x6f.html +++ b/doc/html/functions_eval_0x6f.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -62,7 +62,7 @@ : QextScintillaLexerPOV
  • Operator : QextScintillaLexerSQL, QextScintillaLexerRuby, QextScintillaLexerPython, QextScintillaLexerPOV, QextScintillaLexerPerl, QextScintillaLexerMakefile, QextScintillaLexerLua, QextScintillaLexerCSS, QextScintillaLexerCPP, QextScintillaLexerBatch, QextScintillaLexerBash
  • OtherInTag : QextScintillaLexerHTML -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x70.html b/doc/html/functions_eval_0x70.html index 3fb3fd8..1366305 100644 --- a/doc/html/functions_eval_0x70.html +++ b/doc/html/functions_eval_0x70.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -102,7 +102,7 @@ : QextScintillaLexerHTML
  • PythonTripleDoubleQuotedString : QextScintillaLexerHTML
  • PythonTripleSingleQuotedString : QextScintillaLexerHTML -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x71.html b/doc/html/functions_eval_0x71.html index 26be482..9598783 100644 --- a/doc/html/functions_eval_0x71.html +++ b/doc/html/functions_eval_0x71.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -64,7 +64,7 @@ : QextScintillaLexerPerl
  • QuotedStringQW : QextScintillaLexerPerl
  • QuotedStringQX : QextScintillaLexerPerl -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x72.html b/doc/html/functions_eval_0x72.html index 608d141..9fb8d3f 100644 --- a/doc/html/functions_eval_0x72.html +++ b/doc/html/functions_eval_0x72.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -64,7 +64,7 @@ : QextScintilla
  • RightTriangle : QextScintilla
  • RoundedBottomLeftCorner : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x73.html b/doc/html/functions_eval_0x73.html index 80213bf..bfa797d 100644 --- a/doc/html/functions_eval_0x73.html +++ b/doc/html/functions_eval_0x73.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -243,7 +243,7 @@ : QextScintillaLexerPerl
  • Symbol : QextScintillaLexerTeX, QextScintillaLexerRuby
  • SymbolTable : QextScintillaLexerPerl -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x74.html b/doc/html/functions_eval_0x74.html index e6fe416..986a21d 100644 --- a/doc/html/functions_eval_0x74.html +++ b/doc/html/functions_eval_0x74.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -69,7 +69,7 @@ : QextScintillaLexerPython
  • TripleSingleQuotedString : QextScintillaLexerPython
  • TypesModifiersItems : QextScintillaLexerPOV -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x75.html b/doc/html/functions_eval_0x75.html index de9de0d..190ccc5 100644 --- a/doc/html/functions_eval_0x75.html +++ b/doc/html/functions_eval_0x75.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -65,7 +65,7 @@ : QextScintillaLexerCSS
  • UnknownTag : QextScintillaLexerHTML
  • UUID : QextScintillaLexerCPP -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x76.html b/doc/html/functions_eval_0x76.html index b74be2b..6514096 100644 --- a/doc/html/functions_eval_0x76.html +++ b/doc/html/functions_eval_0x76.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -71,7 +71,7 @@ : QextScintillaLexerHTML
  • VerbatimString : QextScintillaLexerCPP
  • VerticalLine : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x77.html b/doc/html/functions_eval_0x77.html index f88d529..e811900 100644 --- a/doc/html/functions_eval_0x77.html +++ b/doc/html/functions_eval_0x77.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -69,7 +69,7 @@ : QextScintilla
  • WsVisible : QextScintilla
  • WsVisibleAfterIndent : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_eval_0x78.html b/doc/html/functions_eval_0x78.html index dd6827d..83891a8 100644 --- a/doc/html/functions_eval_0x78.html +++ b/doc/html/functions_eval_0x78.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Enumerator +TQScintilla: Class Members - Enumerator @@ -62,7 +62,7 @@ : QextScintillaLexerHTML
  • XMLStart : QextScintillaLexerHTML
  • XMLTagEnd : QextScintillaLexerHTML -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func.html b/doc/html/functions_func.html index 165faef..2c07bec 100644 --- a/doc/html/functions_func.html +++ b/doc/html/functions_func.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -71,7 +71,7 @@ : QextScintilla
  • autoIndent() : QextScintilla
  • autoIndentStyle() : QextScintillaLexer -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x62.html b/doc/html/functions_func_0x62.html index 253883d..ee0781f 100644 --- a/doc/html/functions_func_0x62.html +++ b/doc/html/functions_func_0x62.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -61,7 +61,7 @@ : QextScintilla
  • beginUndoAction() : QextScintilla
  • braceMatching() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x63.html b/doc/html/functions_func_0x63.html index fbc6d1c..3bb480d 100644 --- a/doc/html/functions_func_0x63.html +++ b/doc/html/functions_func_0x63.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -73,7 +73,7 @@ : QextScintilla
  • cursorPositionChanged() : QextScintilla
  • cut() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x64.html b/doc/html/functions_func_0x64.html index f4c096e..5b8481c 100644 --- a/doc/html/functions_func_0x64.html +++ b/doc/html/functions_func_0x64.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -62,7 +62,7 @@ : QextScintillaLexer
  • description() : QextScintillaLexerTeX, QextScintillaLexerSQL, QextScintillaLexerRuby, QextScintillaLexerPython, QextScintillaLexerProperties, QextScintillaLexerPOV, QextScintillaLexerPerl, QextScintillaLexerMakefile, QextScintillaLexerLua, QextScintillaLexerJavaScript, QextScintillaLexerIDL, QextScintillaLexerHTML, QextScintillaLexerDiff, QextScintillaLexerCSS, QextScintillaLexerCSharp, QextScintillaLexerCPP, QextScintillaLexerBatch, QextScintillaLexerBash, QextScintillaLexer, QextScintillaCommand
  • document() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x65.html b/doc/html/functions_func_0x65.html index 4f79e39..0eae97d 100644 --- a/doc/html/functions_func_0x65.html +++ b/doc/html/functions_func_0x65.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -69,7 +69,7 @@ : QextScintilla
  • eolVisibility() : QextScintilla
  • eventFilter() : QextScintillaBase -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x66.html b/doc/html/functions_func_0x66.html index 68adb56..c9a21c4 100644 --- a/doc/html/functions_func_0x66.html +++ b/doc/html/functions_func_0x66.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -75,7 +75,7 @@ : QextScintillaLexerSQL, QextScintillaLexerRuby, QextScintillaLexerPython, QextScintillaLexerProperties, QextScintillaLexerPOV, QextScintillaLexerPerl, QextScintillaLexerMakefile, QextScintillaLexerLua, QextScintillaLexerJavaScript, QextScintillaLexerHTML, QextScintillaLexerCSS, QextScintillaLexerCSharp, QextScintillaLexerCPP, QextScintillaLexerBatch, QextScintillaLexerBash, QextScintillaLexer
  • fontChanged() : QextScintillaLexer
  • formatPage() : QextScintillaPrinter -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x67.html b/doc/html/functions_func_0x67.html index 77c7451..5008dad 100644 --- a/doc/html/functions_func_0x67.html +++ b/doc/html/functions_func_0x67.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -59,7 +59,7 @@
  • getCursorPosition() : QextScintilla
  • getSelection() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x68.html b/doc/html/functions_func_0x68.html index 83449f8..9442ec5 100644 --- a/doc/html/functions_func_0x68.html +++ b/doc/html/functions_func_0x68.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -58,7 +58,7 @@

    - h -

    -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x69.html b/doc/html/functions_func_0x69.html index f45b88e..c4de87e 100644 --- a/doc/html/functions_func_0x69.html +++ b/doc/html/functions_func_0x69.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -72,7 +72,7 @@ : QextScintilla
  • isUndoAvailable() : QextScintilla
  • isUtf8() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x6b.html b/doc/html/functions_func_0x6b.html index 268b943..da7bc95 100644 --- a/doc/html/functions_func_0x6b.html +++ b/doc/html/functions_func_0x6b.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -60,7 +60,7 @@ : QextScintillaCommand
  • keyPressEvent() : QextScintillaBase
  • keywords() : QextScintillaLexerTeX, QextScintillaLexerSQL, QextScintillaLexerRuby, QextScintillaLexerPython, QextScintillaLexerPOV, QextScintillaLexerPerl, QextScintillaLexerLua, QextScintillaLexerJavaScript, QextScintillaLexerJava, QextScintillaLexerIDL, QextScintillaLexerHTML, QextScintillaLexerCSS, QextScintillaLexerCSharp, QextScintillaLexerCPP, QextScintillaLexerBatch, QextScintillaLexerBash, QextScintillaLexer -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x6c.html b/doc/html/functions_func_0x6c.html index 5a4d519..17e026c 100644 --- a/doc/html/functions_func_0x6c.html +++ b/doc/html/functions_func_0x6c.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -64,7 +64,7 @@ : QextScintilla
  • lines() : QextScintilla
  • load() : QextScintillaMacro, QextScintillaAPIs -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x6d.html b/doc/html/functions_func_0x6d.html index 71ed9ed..580defc 100644 --- a/doc/html/functions_func_0x6d.html +++ b/doc/html/functions_func_0x6d.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -75,7 +75,7 @@ : QextScintilla
  • modificationChanged() : QextScintilla
  • moveToMatchingBrace() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x70.html b/doc/html/functions_func_0x70.html index 1c05313..5ed6c72 100644 --- a/doc/html/functions_func_0x70.html +++ b/doc/html/functions_func_0x70.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -64,7 +64,7 @@ : QextScintillaBase
  • printRange() : QextScintillaPrinter
  • propertyChanged() : QextScintillaLexer -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x71.html b/doc/html/functions_func_0x71.html index c63f5bb..22872dc 100644 --- a/doc/html/functions_func_0x71.html +++ b/doc/html/functions_func_0x71.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -82,9 +82,9 @@ : QextScintillaLexerSQL
  • QextScintillaLexerTeX() : QextScintillaLexerTeX
  • QextScintillaMacro() : QextScintillaMacro
  • QextScintillaPrinter() -: QextScintillaPrinter
  • QSCN_SELCHANGED() +: QextScintillaPrinter
  • TQSCN_SELCHANGED() : QextScintillaBase -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x72.html b/doc/html/functions_func_0x72.html index ac17933..8993fcd 100644 --- a/doc/html/functions_func_0x72.html +++ b/doc/html/functions_func_0x72.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -68,7 +68,7 @@ : QextScintilla
  • resetSelectionBackgroundColor() : QextScintilla
  • resetSelectionForegroundColor() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x73.html b/doc/html/functions_func_0x73.html index 94123cc..77b5034 100644 --- a/doc/html/functions_func_0x73.html +++ b/doc/html/functions_func_0x73.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -159,13 +159,13 @@ : QextScintilla
  • setWrapMode() : QextScintillaPrinter, QextScintilla
  • setWrapVisualFlags() : QextScintilla
  • showUserList() -: QextScintilla
  • sizeHint() +: QextScintilla
  • tqsizeHint() : QextScintillaBase
  • standardCommands() : QextScintilla
  • startDrag() : QextScintillaBase
  • startRecording() : QextScintillaMacro
  • stylePreprocessor() : QextScintillaLexerCPP -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x74.html b/doc/html/functions_func_0x74.html index 37c831c..b4b8024 100644 --- a/doc/html/functions_func_0x74.html +++ b/doc/html/functions_func_0x74.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -62,7 +62,7 @@ : QextScintilla
  • textChanged() : QextScintilla
  • textHeight() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x75.html b/doc/html/functions_func_0x75.html index 9c573e9..aac41d8 100644 --- a/doc/html/functions_func_0x75.html +++ b/doc/html/functions_func_0x75.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -60,7 +60,7 @@ : QextScintilla
  • unindent() : QextScintilla
  • userListActivated() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x76.html b/doc/html/functions_func_0x76.html index 89b4102..3e21357 100644 --- a/doc/html/functions_func_0x76.html +++ b/doc/html/functions_func_0x76.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -59,7 +59,7 @@
  • validKey() : QextScintillaCommand
  • viewport() : QextScintillaBase -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x77.html b/doc/html/functions_func_0x77.html index 6135770..e6702e6 100644 --- a/doc/html/functions_func_0x77.html +++ b/doc/html/functions_func_0x77.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -61,7 +61,7 @@ : QextScintillaPrinter, QextScintilla
  • writeProperties() : QextScintillaLexerSQL, QextScintillaLexerPython, QextScintillaLexerProperties, QextScintillaLexerPOV, QextScintillaLexerPerl, QextScintillaLexerLua, QextScintillaLexerHTML, QextScintillaLexerCSS, QextScintillaLexerCPP, QextScintillaLexerBash, QextScintillaLexer
  • writeSettings() : QextScintillaLexer, QextScintillaCommandSet -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x7a.html b/doc/html/functions_func_0x7a.html index ae042b6..30f9080 100644 --- a/doc/html/functions_func_0x7a.html +++ b/doc/html/functions_func_0x7a.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -60,7 +60,7 @@ : QextScintilla
  • zoomOut() : QextScintilla
  • zoomTo() : QextScintilla -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/functions_func_0x7e.html b/doc/html/functions_func_0x7e.html index cdf8597..085ebe9 100644 --- a/doc/html/functions_func_0x7e.html +++ b/doc/html/functions_func_0x7e.html @@ -1,6 +1,6 @@ -QScintilla: Class Members - Functions +TQScintilla: Class Members - Functions @@ -82,7 +82,7 @@ : QextScintillaLexerTeX
  • ~QextScintillaMacro() : QextScintillaMacro
  • ~QextScintillaPrinter() : QextScintillaPrinter -
    Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index 84995f7..976e539 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -1,6 +1,6 @@ -QScintilla: Hierarchical Index +TQScintilla: Hierarchical Index @@ -17,7 +17,7 @@
  • Class Hierarchy
  • Class Members
  • -

    QScintilla Class Hierarchy

    This inheritance list is sorted roughly, but not completely, alphabetically:
      +

      TQScintilla Class Hierarchy

      This inheritance list is sorted roughly, but not completely, alphabetically: -

      QScintilla Documentation

      +

      TQScintilla Documentation

      -

      1.7.1 (based on Scintilla 1.71)


      Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +

      1.7.1 (based on Scintilla 1.71)


      Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
      diff --git a/doc/html/pages.html b/doc/html/pages.html index e479ad2..5cc0acf 100644 --- a/doc/html/pages.html +++ b/doc/html/pages.html @@ -1,6 +1,6 @@ -QScintilla: Page Index +TQScintilla: Page Index @@ -11,11 +11,11 @@
    • Classes
    • Related Pages
    -

    QScintilla Related Pages

    Here is a list of all related documentation pages:
      +

      TQScintilla Related Pages

      Here is a list of all related documentation pages: -
      Generated on Thu Nov 30 09:32:31 2006 for QScintilla by  +
      Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
      diff --git a/example/application.cpp b/example/application.cpp index a4cca36..6a2b548 100644 --- a/example/application.cpp +++ b/example/application.cpp @@ -3,129 +3,129 @@ ** ** Copyright (C) 1992-2002 Trolltech AS. All rights reserved. ** -** This file is part of an example program for Qt. This example +** This file is part of an example program for TQt. This example ** program may be used, distributed and modified without limitation. ** *****************************************************************************/ #include "application.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include #include "filesave.xpm" #include "fileopen.xpm" #include "fileprint.xpm" ApplicationWindow::ApplicationWindow() - : QMainWindow( 0, "example application main window", WDestructiveClose | WGroupLeader ) + : TQMainWindow( 0, "example application main window", WDestructiveClose | WGroupLeader ) { - printer = new QextScintillaPrinter( QPrinter::HighResolution ); - QPixmap openIcon, saveIcon, printIcon; + printer = new QextScintillaPrinter( TQPrinter::HighResolution ); + TQPixmap openIcon, saveIcon, printIcon; - QToolBar * fileTools = new QToolBar( this, "file operations" ); + TQToolBar * fileTools = new TQToolBar( this, "file operations" ); fileTools->setLabel( "File Operations" ); - openIcon = QPixmap( fileopen ); - QToolButton * fileOpen - = new QToolButton( openIcon, "Open File", QString::null, - this, SLOT(choose()), fileTools, "open file" ); + openIcon = TQPixmap( fileopen ); + TQToolButton * fileOpen + = new TQToolButton( openIcon, "Open File", TQString(), + this, TQT_SLOT(choose()), fileTools, "open file" ); - saveIcon = QPixmap( filesave ); - QToolButton * fileSave - = new QToolButton( saveIcon, "Save File", QString::null, - this, SLOT(save()), fileTools, "save file" ); + saveIcon = TQPixmap( filesave ); + TQToolButton * fileSave + = new TQToolButton( saveIcon, "Save File", TQString(), + this, TQT_SLOT(save()), fileTools, "save file" ); - printIcon = QPixmap( fileprint ); - QToolButton * filePrint - = new QToolButton( printIcon, "Print File", QString::null, - this, SLOT(print()), fileTools, "print file" ); + printIcon = TQPixmap( fileprint ); + TQToolButton * filePrint + = new TQToolButton( printIcon, "Print File", TQString(), + this, TQT_SLOT(print()), fileTools, "print file" ); - (void)QWhatsThis::whatsThisButton( fileTools ); + (void)TQWhatsThis::whatsThisButton( fileTools ); const char * fileOpenText = "

      " "Click this button to open a new file.
      " "You can also select the Open command " "from the File menu.

      "; - QWhatsThis::add( fileOpen, fileOpenText ); + TQWhatsThis::add( fileOpen, fileOpenText ); - QMimeSourceFactory::defaultFactory()->setPixmap( "fileopen", openIcon ); + TQMimeSourceFactory::defaultFactory()->setPixmap( "fileopen", openIcon ); const char * fileSaveText = "

      Click this button to save the file you " "are editing. You will be prompted for a file name.\n" "You can also select the Save command " "from the File menu.

      "; - QWhatsThis::add( fileSave, fileSaveText ); + TQWhatsThis::add( fileSave, fileSaveText ); const char * filePrintText = "Click this button to print the file you " "are editing.\n" "You can also select the Print command " "from the File menu."; - QWhatsThis::add( filePrint, filePrintText ); + TQWhatsThis::add( filePrint, filePrintText ); - QPopupMenu * file = new QPopupMenu( this ); + TQPopupMenu * file = new TQPopupMenu( this ); menuBar()->insertItem( "&File", file ); - file->insertItem( "&New", this, SLOT(newDoc()), CTRL+Key_N ); + file->insertItem( "&New", this, TQT_SLOT(newDoc()), CTRL+Key_N ); int id; id = file->insertItem( openIcon, "&Open...", - this, SLOT(choose()), CTRL+Key_O ); + this, TQT_SLOT(choose()), CTRL+Key_O ); file->setWhatsThis( id, fileOpenText ); id = file->insertItem( saveIcon, "&Save", - this, SLOT(save()), CTRL+Key_S ); + this, TQT_SLOT(save()), CTRL+Key_S ); file->setWhatsThis( id, fileSaveText ); - id = file->insertItem( "Save &As...", this, SLOT(saveAs()) ); + id = file->insertItem( "Save &As...", this, TQT_SLOT(saveAs()) ); file->setWhatsThis( id, fileSaveText ); file->insertSeparator(); id = file->insertItem( printIcon, "&Print...", - this, SLOT(print()), CTRL+Key_P ); + this, TQT_SLOT(print()), CTRL+Key_P ); file->setWhatsThis( id, filePrintText ); file->insertSeparator(); - file->insertItem( "&Close", this, SLOT(close()), CTRL+Key_W ); + file->insertItem( "&Close", this, TQT_SLOT(close()), CTRL+Key_W ); - file->insertItem( "&Quit", qApp, SLOT( closeAllWindows() ), CTRL+Key_Q ); + file->insertItem( "&Quit", tqApp, TQT_SLOT( closeAllWindows() ), CTRL+Key_Q ); menuBar()->insertSeparator(); - QPopupMenu * help = new QPopupMenu( this ); + TQPopupMenu * help = new TQPopupMenu( this ); menuBar()->insertItem( "&Help", help ); - help->insertItem( "&About", this, SLOT(about()), Key_F1 ); - help->insertItem( "About &Qt", this, SLOT(aboutQt()) ); + help->insertItem( "&About", this, TQT_SLOT(about()), Key_F1 ); + help->insertItem( "About &TQt", this, TQT_SLOT(aboutTQt()) ); help->insertSeparator(); - help->insertItem( "What's &This", this, SLOT(whatsThis()), SHIFT+Key_F1 ); + help->insertItem( "What's &This", this, TQT_SLOT(whatsThis()), SHIFT+Key_F1 ); e = new QextScintilla( this, "editor" ); e->setFocus(); @@ -146,13 +146,13 @@ ApplicationWindow::~ApplicationWindow() void ApplicationWindow::newDoc() { ApplicationWindow *ed = new ApplicationWindow; - ed->setCaption("QScintilla Example - Application"); + ed->setCaption("TQScintilla Example - Application"); ed->show(); } void ApplicationWindow::choose() { - QString fn = QFileDialog::getOpenFileName( QString::null, QString::null, + TQString fn = TQFileDialog::getOpenFileName( TQString(), TQString(), this); if ( !fn.isEmpty() ) load( fn ); @@ -161,13 +161,13 @@ void ApplicationWindow::choose() } -void ApplicationWindow::load( const QString &fileName ) +void ApplicationWindow::load( const TQString &fileName ) { - QFile f( fileName ); + TQFile f( fileName ); if ( !f.open( IO_ReadOnly ) ) return; - QTextStream ts( &f ); + TQTextStream ts( &f ); e->setText( ts.read() ); e->setModified( FALSE ); setCaption( fileName ); @@ -182,15 +182,15 @@ void ApplicationWindow::save() return; } - QString text = e->text(); - QFile f( filename ); + TQString text = e->text(); + TQFile f( filename ); if ( !f.open( IO_WriteOnly ) ) { - statusBar()->message( QString("Could not write to %1").arg(filename), + statusBar()->message( TQString("Could not write to %1").tqarg(filename), 2000 ); return; } - QTextStream t( &f ); + TQTextStream t( &f ); t << text; f.close(); @@ -198,13 +198,13 @@ void ApplicationWindow::save() setCaption( filename ); - statusBar()->message( QString( "File %1 saved" ).arg( filename ), 2000 ); + statusBar()->message( TQString( "File %1 saved" ).tqarg( filename ), 2000 ); } void ApplicationWindow::saveAs() { - QString fn = QFileDialog::getSaveFileName( QString::null, QString::null, + TQString fn = TQFileDialog::getSaveFileName( TQString(), TQString(), this ); if ( !fn.isEmpty() ) { filename = fn; @@ -230,14 +230,14 @@ void ApplicationWindow::print() } } -void ApplicationWindow::closeEvent( QCloseEvent* ce ) +void ApplicationWindow::closeEvent( TQCloseEvent* ce ) { if ( !e->isModified() ) { ce->accept(); return; } - switch( QMessageBox::information( this, "QScintilla Application Example", + switch( TQMessageBox::information( this, "TQScintilla Application Example", "Do you want to save the changes" " to the document?", "Yes", "No", "Cancel", @@ -259,13 +259,13 @@ void ApplicationWindow::closeEvent( QCloseEvent* ce ) void ApplicationWindow::about() { - QMessageBox::about( this, "QScintilla Application Example", + TQMessageBox::about( this, "TQScintilla Application Example", "This example demonstrates a simple use of " "QextScintilla and QextScintillaPrinter."); } -void ApplicationWindow::aboutQt() +void ApplicationWindow::aboutTQt() { - QMessageBox::aboutQt( this, "QScintilla Application Example" ); + TQMessageBox::aboutTQt( this, "TQScintilla Application Example" ); } diff --git a/example/application.h b/example/application.h index 6f48d41..a04ed15 100644 --- a/example/application.h +++ b/example/application.h @@ -3,7 +3,7 @@ ** ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. ** -** This file is part of an example program for Qt. This example +** This file is part of an example program for TQt. This example ** program may be used, distributed and modified without limitation. ** *****************************************************************************/ @@ -11,37 +11,38 @@ #ifndef APPLICATION_H #define APPLICATION_H -#include +#include class QextScintilla; class QextScintillaPrinter; -class ApplicationWindow: public QMainWindow +class ApplicationWindow: public TQMainWindow { Q_OBJECT + TQ_OBJECT public: ApplicationWindow(); ~ApplicationWindow(); protected: - void closeEvent( QCloseEvent* ); + void closeEvent( TQCloseEvent* ); private slots: void newDoc(); void choose(); - void load( const QString &fileName ); + void load( const TQString &fileName ); void save(); void saveAs(); void print(); void about(); - void aboutQt(); + void aboutTQt(); private: QextScintillaPrinter *printer; QextScintilla *e; - QString filename; + TQString filename; }; diff --git a/example/main.cpp b/example/main.cpp index 3c2722c..a24a49f 100644 --- a/example/main.cpp +++ b/example/main.cpp @@ -3,19 +3,19 @@ ** ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. ** -** This file is part of an example program for Qt. This example +** This file is part of an example program for TQt. This example ** program may be used, distributed and modified without limitation. ** *****************************************************************************/ -#include +#include #include "application.h" int main( int argc, char ** argv ) { - QApplication a( argc, argv ); + TQApplication a( argc, argv ); ApplicationWindow *mw = new ApplicationWindow(); - mw->setCaption( "QScintilla Example - Application" ); + mw->setCaption( "TQScintilla Example - Application" ); mw->show(); - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); + a.connect( &a, TQT_SIGNAL(lastWindowClosed()), &a, TQT_SLOT(quit()) ); return a.exec(); } diff --git a/include/Platform.h b/include/Platform.h index 93ffc00..3cc849b 100755 --- a/include/Platform.h +++ b/include/Platform.h @@ -9,7 +9,7 @@ #ifndef PLATFORM_H #define PLATFORM_H -// PLAT_QT is Qt on any supported platform +// PLAT_QT is TQt on any supported platform // PLAT_GTK = GTK+ on Linux or Win32 // PLAT_GTK_WIN32 is defined additionally when running PLAT_GTK under Win32 // PLAT_WIN = Win32 API on Win32 OS @@ -354,7 +354,7 @@ public: virtual void SetClip(PRectangle rc)=0; virtual void FlushCachedState()=0; - virtual void SetUnicodeMode(bool unicodeMode_)=0; + virtual void SetUnicodeMode(bool tqunicodeMode_)=0; virtual void SetDBCSMode(int codePage)=0; #if defined(PLAT_QT) @@ -412,7 +412,7 @@ public: static ListBox *Allocate(); virtual void SetFont(Font &font)=0; - virtual void Create(Window &parent, int ctrlID, Point location, int lineHeight_, bool unicodeMode_)=0; + virtual void Create(Window &parent, int ctrlID, Point location, int lineHeight_, bool tqunicodeMode_)=0; virtual void SetAverageCharWidth(int width)=0; virtual void SetVisibleRows(int rows)=0; virtual int GetVisibleRows() const=0; diff --git a/include/SciLexer.h b/include/SciLexer.h index 22d016d..4c9d912 100755 --- a/include/SciLexer.h +++ b/include/SciLexer.h @@ -132,8 +132,8 @@ #define SCE_TCL_COMMENT 1 #define SCE_TCL_COMMENTLINE 2 #define SCE_TCL_NUMBER 3 -#define SCE_TCL_WORD_IN_QUOTE 4 -#define SCE_TCL_IN_QUOTE 5 +#define SCE_TCL_WORD_IN_TQUOTE 4 +#define SCE_TCL_IN_TQUOTE 5 #define SCE_TCL_OPERATOR 6 #define SCE_TCL_IDENTIFIER 7 #define SCE_TCL_SUBSTITUTION 8 @@ -280,7 +280,7 @@ #define SCE_PL_VARIABLE_INDEXER 16 #define SCE_PL_REGEX 17 #define SCE_PL_REGSUBST 18 -#define SCE_PL_LONGQUOTE 19 +#define SCE_PL_LONGTQUOTE 19 #define SCE_PL_BACKTICKS 20 #define SCE_PL_DATASECTION 21 #define SCE_PL_HERE_DELIM 22 @@ -520,7 +520,7 @@ #define SCE_MATLAB_STRING 5 #define SCE_MATLAB_OPERATOR 6 #define SCE_MATLAB_IDENTIFIER 7 -#define SCE_MATLAB_DOUBLEQUOTESTRING 8 +#define SCE_MATLAB_DOUBLETQUOTESTRING 8 #define SCE_SCRIPTOL_DEFAULT 0 #define SCE_SCRIPTOL_WHITE 1 #define SCE_SCRIPTOL_COMMENTLINE 2 @@ -691,7 +691,7 @@ #define SCE_CLW_BUILTIN_PROCEDURES_FUNCTION 11 #define SCE_CLW_STRUCTURE_DATA_TYPE 12 #define SCE_CLW_ATTRIBUTE 13 -#define SCE_CLW_STANDARD_EQUATE 14 +#define SCE_CLW_STANDARD_ETQUATE 14 #define SCE_CLW_ERROR 15 #define SCE_CLW_DEPRECATED 16 #define SCE_LOT_DEFAULT 0 @@ -933,7 +933,7 @@ #define SCE_REBOL_PREFACE 3 #define SCE_REBOL_OPERATOR 4 #define SCE_REBOL_CHARACTER 5 -#define SCE_REBOL_QUOTEDSTRING 6 +#define SCE_REBOL_TQUOTEDSTRING 6 #define SCE_REBOL_BRACEDSTRING 7 #define SCE_REBOL_NUMBER 8 #define SCE_REBOL_PAIR 9 @@ -977,7 +977,7 @@ #define SCE_SQL_USER2 20 #define SCE_SQL_USER3 21 #define SCE_SQL_USER4 22 -#define SCE_SQL_QUOTEDIDENTIFIER 23 +#define SCE_SQL_TQUOTEDIDENTIFIER 23 #define SCE_ST_DEFAULT 0 #define SCE_ST_STRING 1 #define SCE_ST_NUMBER 2 diff --git a/include/Scintilla.h b/include/Scintilla.h index 426c8d4..326831d 100755 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -214,7 +214,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_ENDUNDOACTION 2079 #define INDIC_MAX 7 #define INDIC_PLAIN 0 -#define INDIC_SQUIGGLE 1 +#define INDIC_STQUIGGLE 1 #define INDIC_TT 2 #define INDIC_DIAGONAL 3 #define INDIC_STRIKE 4 @@ -696,7 +696,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCN_AUTOCSELECTION 2022 //--Autogenerated -- end of section automatically generated from Scintilla.iface -// These structures are defined to be exactly the same shape as the Win32 +// These structures are defined to be exactly the same tqshape as the Win32 // CHARRANGE, TEXTRANGE, FINDTEXTEX, FORMATRANGE, and NMHDR structs. // So older code that treats Scintilla as a RichEdit will work. diff --git a/include/Scintilla.iface b/include/Scintilla.iface index c3e5b56..6154ca5 100755 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -977,7 +977,7 @@ fun void HideLines=2227(int lineStart, int lineEnd) # Is a line visible? get bool GetLineVisible=2228(int line,) -# Show the children of a header line. +# Show the tqchildren of a header line. set void SetFoldExpanded=2229(int line, bool expanded) # Is a header line expanded? @@ -1075,10 +1075,10 @@ val SC_CACHE_CARET=1 val SC_CACHE_PAGE=2 val SC_CACHE_DOCUMENT=3 -# Sets the degree of caching of layout information. +# Sets the degree of caching of tqlayout information. set void SetLayoutCache=2272(int mode,) -# Retrieve the degree of caching of layout information. +# Retrieve the degree of caching of tqlayout information. get int GetLayoutCache=2273(,) # Sets the document width assumed for scrolling. @@ -1407,16 +1407,16 @@ set void SetFocus=2380(bool focus,) get bool GetFocus=2381(,) # Change error status - 0 = OK. -set void SetStatus=2382(int statusCode,) +set void SettqStatus=2382(int statusCode,) # Get error status. -get int GetStatus=2383(,) +get int GettqStatus=2383(,) # Set whether the mouse is captured when its button is pressed. set void SetMouseDownCaptures=2384(bool captures,) # Get whether mouse gets captured. get bool GetMouseDownCaptures=2385(,) -enu CursorShape=SC_CURSOR +enu tqCursorShape=SC_CURSOR val SC_CURSORNORMAL=-1 val SC_CURSORWAIT=4 # Sets the cursor to one of the SC_CURSOR* values. diff --git a/qt/PlatQt.cpp b/qt/PlatQt.cpp index 160ef70..4f63082 100644 --- a/qt/PlatQt.cpp +++ b/qt/PlatQt.cpp @@ -1,22 +1,22 @@ -// This module implements the portability layer for the Qt port of Scintilla. +// This module implements the portability layer for the TQt port of Scintilla. // // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -24,44 +24,44 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include "Platform.h" #include "XPM.h" -#include "qextscintillabase.h" +#include "tqextscintillabase.h" // Type convertors. -static QFont *PFont(FontID id) +static TQFont *PFont(FontID id) { - return reinterpret_cast(id); + return reinterpret_cast(id); } -static QPainter *PSurface(SurfaceID id) +static TQPainter *PSurface(SurfaceID id) { - return reinterpret_cast(id); + return reinterpret_cast(id); } -static QWidget *PWindow(WindowID id) +static TQWidget *PWindow(WindowID id) { - return reinterpret_cast(id); + return reinterpret_cast(id); } -static QPopupMenu *PMenu(MenuID id) +static TQPopupMenu *PMenu(MenuID id) { - return reinterpret_cast(id); + return reinterpret_cast(id); } @@ -73,7 +73,7 @@ Point Point::FromLong(long lpoint) } -// Colour palette management. The Qt interface to colours means this class +// Colour palette management. The TQt interface to colours means this class // doesn't have to do anything. Palette::Palette() { @@ -115,7 +115,7 @@ void Font::Create(const char *faceName,int,int size,bool bold,bool italic,bool) { Release(); - QFont *f = new QFont(); + TQFont *f = new TQFont(); // If name of the font begins with a '-', assume, that it is an XLFD. if (faceName[0] == '-') @@ -194,22 +194,22 @@ public: void SetClip(PRectangle rc); void FlushCachedState() {painter -> flush();} - void SetUnicodeMode(bool unicodeMode_) {unicodeMode = unicodeMode_;} + void SetUnicodeMode(bool tqunicodeMode_) {tqunicodeMode = tqunicodeMode_;} void SetDBCSMode(int codePage) {} void DrawXPM(PRectangle rc,const XPM *xpm); private: - void commonInit(QPainter *painter_,bool mypainter_); + void commonInit(TQPainter *painter_,bool mypainter_); bool setFont(Font &font_); - QString convertText(const char *s,int len); - static QRgb convertQRgb(const ColourAllocated &col, unsigned alpha); - static QColor convertQColor(const ColourAllocated &col, + TQString convertText(const char *s,int len); + static TQRgb convertTQRgb(const ColourAllocated &col, unsigned alpha); + static TQColor convertTQColor(const ColourAllocated &col, unsigned alpha = 0xff); - bool unicodeMode; + bool tqunicodeMode; bool mypainter; - QPainter *painter; + TQPainter *painter; }; Surface *Surface::Allocate() @@ -217,7 +217,7 @@ Surface *Surface::Allocate() return new SurfaceImpl; } -SurfaceImpl::SurfaceImpl() : unicodeMode(false), mypainter(false), painter(0) +SurfaceImpl::SurfaceImpl() : tqunicodeMode(false), mypainter(false), painter(0) { } @@ -226,7 +226,7 @@ SurfaceImpl::~SurfaceImpl() Release(); } -void SurfaceImpl::commonInit(QPainter *painter_,bool mypainter_) +void SurfaceImpl::commonInit(TQPainter *painter_,bool mypainter_) { Release(); @@ -236,7 +236,7 @@ void SurfaceImpl::commonInit(QPainter *painter_,bool mypainter_) void SurfaceImpl::Init(WindowID) { - commonInit(new QPainter(new QWidget()),true); + commonInit(new TQPainter(new TQWidget()),true); } void SurfaceImpl::Init(SurfaceID sid,WindowID) @@ -246,14 +246,14 @@ void SurfaceImpl::Init(SurfaceID sid,WindowID) void SurfaceImpl::InitPixMap(int width,int height,Surface *,WindowID) { - commonInit(new QPainter(new QPixmap(width,height)),true); + commonInit(new TQPainter(new TQPixmap(width,height)),true); } void SurfaceImpl::Release() { if (painter && mypainter) { - QPaintDevice *pd = painter -> device(); + TQPaintDevice *pd = painter -> device(); delete painter; @@ -265,35 +265,35 @@ void SurfaceImpl::Release() void SurfaceImpl::PenColour(ColourAllocated fore) { - painter -> setPen(convertQColor(fore)); + painter -> setPen(convertTQColor(fore)); } void SurfaceImpl::Polygon(Point *pts,int npts,ColourAllocated fore, ColourAllocated back) { - QPointArray qpts(npts); + TQPointArray qpts(npts); for (int i = 0; i < npts; ++i) qpts.setPoint(i,pts[i].x,pts[i].y); - painter -> setPen(convertQColor(fore)); - painter -> setBrush(convertQColor(back)); + painter -> setPen(convertTQColor(fore)); + painter -> setBrush(convertTQColor(back)); painter -> drawPolygon(qpts); } void SurfaceImpl::RectangleDraw(PRectangle rc,ColourAllocated fore, ColourAllocated back) { - painter -> setPen(convertQColor(fore)); - painter -> setBrush(convertQColor(back)); + painter -> setPen(convertTQColor(fore)); + painter -> setBrush(convertTQColor(back)); painter -> drawRect(rc.left,rc.top, rc.right - rc.left,rc.bottom - rc.top); } void SurfaceImpl::FillRectangle(PRectangle rc,ColourAllocated back) { - painter -> setPen(Qt::NoPen); - painter -> setBrush(convertQColor(back)); + painter -> setPen(TQt::NoPen); + painter -> setBrush(convertTQColor(back)); painter -> drawRect(rc.left,rc.top, rc.right - rc.left,rc.bottom - rc.top); } @@ -301,13 +301,13 @@ void SurfaceImpl::FillRectangle(PRectangle rc,ColourAllocated back) void SurfaceImpl::FillRectangle(PRectangle rc,Surface &surfacePattern) { SurfaceImpl &si = static_cast(surfacePattern); - QPixmap *pm = static_cast(si.painter -> device()); + TQPixmap *pm = static_cast(si.painter -> device()); if (pm) { - QBrush brsh(Qt::black,*pm); + TQBrush brsh(TQt::black,*pm); - painter -> setPen(Qt::NoPen); + painter -> setPen(TQt::NoPen); painter -> setBrush(brsh); painter -> drawRect(rc.left,rc.top, rc.right - rc.left,rc.bottom - rc.top); @@ -319,8 +319,8 @@ void SurfaceImpl::FillRectangle(PRectangle rc,Surface &surfacePattern) void SurfaceImpl::RoundedRectangle(PRectangle rc,ColourAllocated fore, ColourAllocated back) { - painter -> setPen(convertQColor(fore)); - painter -> setBrush(convertQColor(back)); + painter -> setPen(convertTQColor(fore)); + painter -> setBrush(convertTQColor(back)); painter -> drawRoundRect(rc.left,rc.top, rc.right - rc.left,rc.bottom - rc.top); } @@ -332,15 +332,15 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, int w = rc.right - rc.left; int h = rc.bottom - rc.top; - QImage img(w, h, 32); + TQImage img(w, h, 32); - img.fill(convertQRgb(fill, alphaFill)); + img.fill(convertTQRgb(fill, alphaFill)); img.setAlphaBuffer(TRUE); // Assume that "cornerSize" means outline width. if (cornerSize > 0) { - QRgb oline = convertQRgb(outline, alphaOutline); + TQRgb oline = convertTQRgb(outline, alphaOutline); int linew = cornerSize; @@ -371,8 +371,8 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, void SurfaceImpl::Ellipse(PRectangle rc,ColourAllocated fore, ColourAllocated back) { - painter -> setPen(convertQColor(fore)); - painter -> setBrush(convertQColor(back)); + painter -> setPen(convertTQColor(fore)); + painter -> setBrush(convertTQColor(back)); painter -> drawEllipse(rc.left,rc.top, rc.right - rc.left,rc.bottom - rc.top); } @@ -380,8 +380,8 @@ void SurfaceImpl::Ellipse(PRectangle rc,ColourAllocated fore, void SurfaceImpl::Copy(PRectangle rc,Point from,Surface &surfaceSource) { SurfaceImpl &si = static_cast(surfaceSource); - QPaintDevice *spd = si.painter -> device(); - QPaintDevice *dpd = painter -> device(); + TQPaintDevice *spd = si.painter -> device(); + TQPaintDevice *dpd = painter -> device(); if (spd && dpd) { @@ -417,17 +417,17 @@ void SurfaceImpl::DrawTextTransparent(PRectangle rc,Font &font_,int ybase, const char *s,int len, ColourAllocated fore) { - QString qs = convertText(s,len); + TQString qs = convertText(s,len); setFont(font_); - painter -> setPen(convertQColor(fore)); + painter -> setPen(convertTQColor(fore)); painter -> drawText(rc.left,ybase,qs); } void SurfaceImpl::DrawXPM(PRectangle rc,const XPM *xpm) { int x, y; - const QPixmap &qpm = xpm -> Pixmap(); + const TQPixmap &qpm = xpm -> Pixmap(); x = rc.left + (rc.Width() - qpm.width()) / 2; y = rc.top + (rc.Height() - qpm.height()) / 2; @@ -441,14 +441,14 @@ void SurfaceImpl::MeasureWidths(Font &font_,const char *s,int len, if (setFont(font_)) { int totalWidth = 0, ui = 0; - QString qs = convertText(s,len); - QFontMetrics fm = painter -> fontMetrics(); + TQString qs = convertText(s,len); + TQFontMetrics fm = painter -> fontMetrics(); for (int i = 0; i < qs.length(); ++i) { totalWidth += fm.width(qs[i]); - int l = (unicodeMode ? QString(qs[i]).utf8().length() : 1); + int l = (tqunicodeMode ? TQString(qs[i]).utf8().length() : 1); while (l--) positions[ui++] = totalWidth; @@ -463,7 +463,7 @@ int SurfaceImpl::WidthText(Font &font_,const char *s,int len) { if (setFont(font_)) { - QString qs = convertText(s,len); + TQString qs = convertText(s,len); return painter -> fontMetrics().width(qs,qs.length()); } @@ -489,7 +489,7 @@ int SurfaceImpl::Ascent(Font &font_) int SurfaceImpl::Descent(Font &font_) { - // Qt doesn't include the baseline in the descent, so add it. + // TQt doesn't include the baseline in the descent, so add it. if (setFont(font_)) return painter -> fontMetrics().descent() + 1; @@ -522,7 +522,7 @@ void SurfaceImpl::SetClip(PRectangle rc) // Set the painter font if there is one. Return true if it was set. bool SurfaceImpl::setFont(Font &font_) { - QFont *f = PFont(font_.GetID()); + TQFont *f = PFont(font_.GetID()); if (f) painter -> setFont(*f); @@ -530,21 +530,21 @@ bool SurfaceImpl::setFont(Font &font_) return f; } -// Convert a Scintilla string to a Qt Unicode string. -QString SurfaceImpl::convertText(const char *s,int len) +// Convert a Scintilla string to a TQt Unicode string. +TQString SurfaceImpl::convertText(const char *s,int len) { - if (unicodeMode) - return QString::fromUtf8(s,len); + if (tqunicodeMode) + return TQString::fromUtf8(s,len); - QString qs; + TQString qs; qs.setLatin1(s,len); return qs; } -// Convert a Scintilla colour and alpha component to a Qt QRgb. -QRgb SurfaceImpl::convertQRgb(const ColourAllocated &col, unsigned alpha) +// Convert a Scintilla colour and alpha component to a TQt TQRgb. +TQRgb SurfaceImpl::convertTQRgb(const ColourAllocated &col, unsigned alpha) { long c = col.AsLong(); @@ -552,15 +552,15 @@ QRgb SurfaceImpl::convertQRgb(const ColourAllocated &col, unsigned alpha) unsigned g = (c >> 8) & 0xff; unsigned b = (c >> 16) & 0xff; - QRgb rgba = (alpha << 24) | (r << 16) | (g << 8) | b; + TQRgb rgba = (alpha << 24) | (r << 16) | (g << 8) | b; return rgba; } -// Convert a Scintilla colour, and optional alpha component, to a Qt QColor. -QColor SurfaceImpl::convertQColor(const ColourAllocated &col, unsigned alpha) +// Convert a Scintilla colour, and optional alpha component, to a TQt TQColor. +TQColor SurfaceImpl::convertTQColor(const ColourAllocated &col, unsigned alpha) { - return QColor(convertQRgb(col, alpha)); + return TQColor(convertTQRgb(col, alpha)); } @@ -571,7 +571,7 @@ Window::~Window() void Window::Destroy() { - QWidget *w = PWindow(id); + TQWidget *w = PWindow(id); if (w) { @@ -587,14 +587,14 @@ bool Window::HasFocus() PRectangle Window::GetPosition() { - QWidget *w = PWindow(id); + TQWidget *w = PWindow(id); // Before any size allocated pretend its big enough not to be scrolled. PRectangle rc(0,0,5000,5000); if (w) { - const QRect &r = w -> geometry(); + const TQRect &r = w -> tqgeometry(); rc.left = r.left(); rc.top = r.top(); @@ -613,8 +613,8 @@ void Window::SetPosition(PRectangle rc) void Window::SetPositionRelative(PRectangle rc,Window relativeTo) { - QWidget *rel = PWindow(relativeTo.id); - QPoint pos = rel -> mapToGlobal(rel -> pos()); + TQWidget *rel = PWindow(relativeTo.id); + TQPoint pos = rel -> mapToGlobal(rel -> pos()); int x = pos.x() + rc.left; int y = pos.y() + rc.top; @@ -629,7 +629,7 @@ PRectangle Window::GetClientPosition() void Window::Show(bool show) { - QWidget *w = PWindow(id); + TQWidget *w = PWindow(id); if (show) w -> show(); @@ -639,7 +639,7 @@ void Window::Show(bool show) void Window::InvalidateAll() { - QWidget *w = PWindow(id); + TQWidget *w = PWindow(id); if (w) w -> update(); @@ -647,7 +647,7 @@ void Window::InvalidateAll() void Window::InvalidateRectangle(PRectangle rc) { - QWidget *w = PWindow(id); + TQWidget *w = PWindow(id); if (w) w -> update(rc.left,rc.top, @@ -661,36 +661,36 @@ void Window::SetFont(Font &font) void Window::SetCursor(Cursor curs) { - Qt::CursorShape qc; + TQt::tqCursorShape qc; switch (curs) { case cursorText: - qc = Qt::IbeamCursor; + qc = TQt::IbeamCursor; break; case cursorUp: - qc = Qt::UpArrowCursor; + qc = TQt::UpArrowCursor; break; case cursorWait: - qc = Qt::WaitCursor; + qc = TQt::WaitCursor; break; case cursorHoriz: - qc = Qt::SizeHorCursor; + qc = TQt::SizeHorCursor; break; case cursorVert: - qc = Qt::SizeVerCursor; + qc = TQt::SizeVerCursor; break; case cursorHand: - qc = Qt::PointingHandCursor; + qc = TQt::PointingHandCursor; break; default: - qc = Qt::ArrowCursor; + qc = TQt::ArrowCursor; } PWindow(id) -> setCursor(qc); @@ -710,12 +710,12 @@ Menu::Menu() : id(0) void Menu::CreatePopUp() { Destroy(); - id = new QPopupMenu(); + id = new TQPopupMenu(); } void Menu::Destroy() { - QPopupMenu *m = PMenu(id); + TQPopupMenu *m = PMenu(id); if (m) { @@ -726,7 +726,7 @@ void Menu::Destroy() void Menu::Show(Point pt,Window &) { - PMenu(id) -> popup(QPoint(pt.x,pt.y)); + PMenu(id) -> popup(TQPoint(pt.x,pt.y)); } @@ -735,7 +735,7 @@ class DynamicLibraryImpl : public DynamicLibrary public: DynamicLibraryImpl(const char *modulePath) { - m = new QLibrary(modulePath); + m = new TQLibrary(modulePath); m -> load(); } @@ -759,7 +759,7 @@ public: } private: - QLibrary* m; + TQLibrary* m; }; DynamicLibrary *DynamicLibrary::Load(const char *modulePath) @@ -772,7 +772,7 @@ DynamicLibrary *DynamicLibrary::Load(const char *modulePath) // less than 48 hours. ElapsedTime::ElapsedTime() { - QTime now = QTime::currentTime(); + TQTime now = TQTime::currentTime(); bigBit = now.hour() * 60 * 60 + now.minute() * 60 + now.second(); littleBit = now.msec(); @@ -781,7 +781,7 @@ ElapsedTime::ElapsedTime() double ElapsedTime::Duration(bool reset) { long endBigBit, endLittleBit; - QTime now = QTime::currentTime(); + TQTime now = TQTime::currentTime(); endBigBit = now.hour() * 60 * 60 + now.minute() * 60 + now.second(); endLittleBit = now.msec(); @@ -816,17 +816,17 @@ ColourDesired Platform::ChromeHighlight() const char *Platform::DefaultFont() { - return QApplication::font().family(); + return TQApplication::font().family(); } int Platform::DefaultFontSize() { - return QApplication::font().pointSize(); + return TQApplication::font().pointSize(); } unsigned int Platform::DoubleClickTime() { - return QApplication::doubleClickInterval(); + return TQApplication::doubleClickInterval(); } bool Platform::MouseButtonBounce() diff --git a/qt/SciListBox.cpp b/qt/SciListBox.cpp index 4808ffa..ef2475b 100644 --- a/qt/SciListBox.cpp +++ b/qt/SciListBox.cpp @@ -1,32 +1,32 @@ -// This module implements the specialisation of QListBox that handles the +// This module implements the specialisation of TQListBox that handles the // Scintilla double-click callback. // // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include -#include -#include -#include +#include +#include +#include #include "SciListBox.h" @@ -65,7 +65,7 @@ public: private: SciListBox *slb; - typedef QMap xpmMap; + typedef TQMap xpmMap; xpmMap xset; }; @@ -82,7 +82,7 @@ ListBoxX::~ListBoxX() void ListBoxX::SetFont(Font &font) { - QFont *f = reinterpret_cast(font.GetID()); + TQFont *f = reinterpret_cast(font.GetID()); if (f) slb -> setFont(*f); @@ -92,13 +92,13 @@ void ListBoxX::SetFont(Font &font) void ListBoxX::Create(Window &parent,int,Point,int,bool) { // The parent we want is the QextScintillaBase, not the text area. - id = slb = new SciListBox(reinterpret_cast(parent.GetID()) -> parentWidget(),this); + id = slb = new SciListBox(reinterpret_cast(parent.GetID()) -> parentWidget(),this); } void ListBoxX::SetAverageCharWidth(int) { - // We rely on QListBox::sizeHint() for the size of the list box rather + // We rely on TQListBox::tqsizeHint() for the size of the list box rather // than make calculations based on the average character width and the // number of visible rows. } @@ -121,7 +121,7 @@ PRectangle ListBoxX::GetDesiredRect() if (slb) { - QSize sh = slb -> sizeHint(); + TQSize sh = slb -> tqsizeHint(); rc.right = sh.width(); rc.bottom = sh.height(); @@ -191,13 +191,13 @@ int ListBoxX::GetSelection() int ListBoxX::Find(const char *prefix) { - return slb -> index(slb -> findItem(prefix,Qt::CaseSensitive|Qt::BeginsWith)); + return slb -> index(slb -> findItem(prefix,TQt::CaseSensitive|TQt::BeginsWith)); } void ListBoxX::GetValue(int n,char *value,int len) { - QString s = slb -> text(n); + TQString s = slb -> text(n); if (s.isNull() || len <= 0) value[0] = '\0'; @@ -217,7 +217,7 @@ void ListBoxX::Sort() void ListBoxX::RegisterImage(int type,const char *xpm_data) { - xset.insert(type,*reinterpret_cast(xpm_data)); + xset.insert(type,*reinterpret_cast(xpm_data)); } @@ -296,8 +296,8 @@ ListBox *ListBox::Allocate() } -SciListBox::SciListBox(QWidget *parent,ListBoxX *lbx_) - : QListBox(parent,0,WType_Popup|WStyle_Customize|WStyle_NoBorder|WStaticContents), lbx(lbx_) +SciListBox::SciListBox(TQWidget *parent,ListBoxX *lbx_) + : TQListBox(parent,0,WType_Popup|WStyle_Customize|WStyle_NoBorder|WStaticContents), lbx(lbx_) { setFocusProxy(parent); @@ -305,11 +305,11 @@ SciListBox::SciListBox(QWidget *parent,ListBoxX *lbx_) setFrameShadow(Plain); setHScrollBarMode(AlwaysOff); - connect(this,SIGNAL(doubleClicked(QListBoxItem *)), - SLOT(handleDoubleClick(QListBoxItem *))); + connect(this,TQT_SIGNAL(doubleClicked(TQListBoxItem *)), + TQT_SLOT(handleDoubleClick(TQListBoxItem *))); - connect(this,SIGNAL(highlighted(QListBoxItem *)), - SLOT(ensureCurrentVisible())); + connect(this,TQT_SIGNAL(highlighted(TQListBoxItem *)), + TQT_SLOT(ensureCurrentVisible())); } @@ -321,7 +321,7 @@ SciListBox::~SciListBox() } -void SciListBox::handleDoubleClick(QListBoxItem *) +void SciListBox::handleDoubleClick(TQListBoxItem *) { if (lbx && lbx -> cb_action) lbx -> cb_action(lbx -> cb_data); diff --git a/qt/SciListBox.h b/qt/SciListBox.h index 2bbcf7d..5541dea 100644 --- a/qt/SciListBox.h +++ b/qt/SciListBox.h @@ -1,23 +1,23 @@ -// This sub-class of QListBox is needed to provide slots from which we can call +// This sub-class of TQListBox is needed to provide slots from which we can call // ListBox's double-click callback. (And you thought this was a C++ program.) // // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -25,7 +25,7 @@ #define SCILISTBOX_H -#include +#include #include "Platform.h" @@ -33,16 +33,17 @@ class ListBoxX; -class SciListBox : public QListBox +class SciListBox : public TQListBox { Q_OBJECT + TQ_OBJECT public: - SciListBox(QWidget *parent,ListBoxX *lbx_); + SciListBox(TQWidget *parent,ListBoxX *lbx_); ~SciListBox(); private slots: - void handleDoubleClick(QListBoxItem *); + void handleDoubleClick(TQListBoxItem *); private: ListBoxX *lbx; diff --git a/qt/ScintillaQt.cpp b/qt/ScintillaQt.cpp index 4753785..2fde58f 100644 --- a/qt/ScintillaQt.cpp +++ b/qt/ScintillaQt.cpp @@ -1,39 +1,39 @@ -// The implementation of the Qt specific subclass of ScintillaBase. +// The implementation of the TQt specific subclass of ScintillaBase. // // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include -#include "qextscintillabase.h" -#include "ScintillaQt.h" +#include "tqextscintillabase.h" +#include "ScintillaTQt.h" -// We want to use the Scintilla notification names as Qt signal names. +// We want to use the Scintilla notification names as TQt signal names. #undef SCEN_CHANGE #undef SCN_AUTOCSELECTION #undef SCN_CALLTIPCLICK @@ -83,35 +83,35 @@ enum // The ctor. -ScintillaQt::ScintillaQt(QextScintillaBase *qsb_) : +ScintillaTQt::ScintillaTQt(QextScintillaBase *qsb_) : capturedMouse(false), qsb(qsb_) { wMain = qsb -> txtarea; - // We aren't a QObject so we use the API class to do QObject related + // We aren't a TQObject so we use the API class to do TQObject related // things for us. - qsb -> connect(&qtimer,SIGNAL(timeout()),SLOT(handleTimer())); + qsb -> connect(&qtimer,TQT_SIGNAL(timeout()),TQT_SLOT(handleTimer())); Initialise(); } // The dtor. -ScintillaQt::~ScintillaQt() +ScintillaTQt::~ScintillaTQt() { Finalise(); } // Initialise the instance. -void ScintillaQt::Initialise() +void ScintillaTQt::Initialise() { SetTicking(true); } // Tidy up the instance. -void ScintillaQt::Finalise() +void ScintillaTQt::Finalise() { SetTicking(false); ScintillaBase::Finalise(); @@ -119,7 +119,7 @@ void ScintillaQt::Finalise() // Start a drag. -void ScintillaQt::StartDrag() +void ScintillaTQt::StartDrag() { // Allow applications to re-implement the drag start. qsb -> startDrag(); @@ -127,9 +127,9 @@ void ScintillaQt::StartDrag() // Do the real drag start. -void ScintillaQt::StartDragImpl() +void ScintillaTQt::StartDragImpl() { - QDragObject *dobj = new QTextDrag(textRange(&drag),qsb -> txtarea); + TQDragObject *dobj = new TQTextDrag(textRange(&drag),qsb -> txtarea); // Remove the dragged text if it was a move to another widget or // application. @@ -142,40 +142,40 @@ void ScintillaQt::StartDragImpl() // Handle a drag enter event. -void ScintillaQt::dragEnterEvent(QDragEnterEvent *dee) +void ScintillaTQt::dragEnterEvent(TQDragEnterEvent *dee) { dragMoveEvent(dee); } // Handle a drag move event. -void ScintillaQt::dragMoveEvent(QDragMoveEvent *dme) +void ScintillaTQt::dragMoveEvent(TQDragMoveEvent *dme) { - dme -> acceptAction(QTextDrag::canDecode(dme)); + dme -> acceptAction(TQTextDrag::canDecode(dme)); SetDragPosition(PositionFromLocation(Point(dme -> pos().x(),dme -> pos().y()))); } // Handle a drag leave event. -void ScintillaQt::dragLeaveEvent(QDragLeaveEvent *dle) +void ScintillaTQt::dragLeaveEvent(TQDragLeaveEvent *dle) { SetDragPosition(invalidPosition); } // Handle a drop event. -void ScintillaQt::dropEvent(QDropEvent *de) +void ScintillaTQt::dropEvent(TQDropEvent *de) { - QString text; + TQString text; - if (QTextDrag::decode(de,text)) + if (TQTextDrag::decode(de,text)) { - bool moving = (de -> source() == qsb -> txtarea && de -> action() == QDropEvent::Move); + bool moving = (de -> source() == qsb -> txtarea && de -> action() == TQDropEvent::Move); de -> acceptAction(); const char *s; - QCString us; + TQCString us; if (IsUnicodeMode()) { @@ -193,7 +193,7 @@ void ScintillaQt::dropEvent(QDropEvent *de) // Re-implement to trap certain messages. -sptr_t ScintillaQt::WndProc(unsigned int iMessage,uptr_t wParam,sptr_t lParam) +sptr_t ScintillaTQt::WndProc(unsigned int iMessage,uptr_t wParam,sptr_t lParam) { switch (iMessage) { @@ -213,14 +213,14 @@ sptr_t ScintillaQt::WndProc(unsigned int iMessage,uptr_t wParam,sptr_t lParam) // Windows nonsense. -sptr_t ScintillaQt::DefWndProc(unsigned int,uptr_t,sptr_t) +sptr_t ScintillaTQt::DefWndProc(unsigned int,uptr_t,sptr_t) { return 0; } // Manage the timer. -void ScintillaQt::SetTicking(bool on) +void ScintillaTQt::SetTicking(bool on) { if (timer.ticking != on) { @@ -237,7 +237,7 @@ void ScintillaQt::SetTicking(bool on) // Grab or release the mouse (and keyboard). -void ScintillaQt::SetMouseCapture(bool on) +void ScintillaTQt::SetMouseCapture(bool on) { if (mouseDownCaptures) if (on) @@ -250,21 +250,21 @@ void ScintillaQt::SetMouseCapture(bool on) // Return true if the mouse/keyboard are currently grabbed. -bool ScintillaQt::HaveMouseCapture() +bool ScintillaTQt::HaveMouseCapture() { return capturedMouse; } // Set the position of the vertical scrollbar. -void ScintillaQt::SetVerticalScrollPos() +void ScintillaTQt::SetVerticalScrollPos() { qsb -> vsb -> setValue(topLine); } // Set the position of the horizontal scrollbar. -void ScintillaQt::SetHorizontalScrollPos() +void ScintillaTQt::SetHorizontalScrollPos() { qsb -> hsb -> setValue(xOffset); } @@ -272,7 +272,7 @@ void ScintillaQt::SetHorizontalScrollPos() // Set the extent of the vertical and horizontal scrollbars and return true if // the view needs re-drawing. -bool ScintillaQt::ModifyScrollBars(int nMax,int nPage) +bool ScintillaTQt::ModifyScrollBars(int nMax,int nPage) { qsb -> vsb -> setMinValue(0); qsb -> vsb -> setMaxValue(nMax - nPage + 1); @@ -288,7 +288,7 @@ bool ScintillaQt::ModifyScrollBars(int nMax,int nPage) // Called after SCI_SETWRAPMODE and SCI_SETHSCROLLBAR. -void ScintillaQt::ReconfigureScrollBars() +void ScintillaTQt::ReconfigureScrollBars() { // Hide or show the scrollbars if needed. if (horizontalScrollBarVisible && wrapState == eWrapNone) @@ -304,15 +304,15 @@ void ScintillaQt::ReconfigureScrollBars() // Notify interested parties of any change in the document. -void ScintillaQt::NotifyChange() +void ScintillaTQt::NotifyChange() { emit qsb -> SCEN_CHANGE(); } // Notify interested parties of various events. This is the main mapping -// between Scintilla notifications and Qt signals. -void ScintillaQt::NotifyParent(SCNotification scn) +// between Scintilla notifications and TQt signals. +void ScintillaTQt::NotifyParent(SCNotification scn) { switch (scn.nmhdr.code) { @@ -408,7 +408,7 @@ void ScintillaQt::NotifyParent(SCNotification scn) // Handle a key that hasn't been filtered out as a command key. Return 0 if we // haven't handled it. -int ScintillaQt::KeyDefault(int key,int modifiers) +int ScintillaTQt::KeyDefault(int key,int modifiers) { // On Windows Alt Gr is returned as Ctrl-Alt (on X11 it seems to be the // Meta key). We therefore ignore that combination. @@ -428,14 +428,14 @@ int ScintillaQt::KeyDefault(int key,int modifiers) } -// Convert a text range to a QString. -QString ScintillaQt::textRange(const SelectionText *text) +// Convert a text range to a TQString. +TQString ScintillaTQt::textRange(const SelectionText *text) { - QString qs; + TQString qs; if (text -> s) if (IsUnicodeMode()) - qs = QString::fromUtf8(text -> s); + qs = TQString::fromUtf8(text -> s); else qs.setLatin1(text -> s); @@ -444,14 +444,14 @@ QString ScintillaQt::textRange(const SelectionText *text) // Copy the selected text to the clipboard. -void ScintillaQt::CopyToClipboard(const SelectionText &selectedText) +void ScintillaTQt::CopyToClipboard(const SelectionText &selectedText) { - QApplication::clipboard() -> setText(textRange(&selectedText)); + TQApplication::tqclipboard() -> setText(textRange(&selectedText)); } // Implement copy. -void ScintillaQt::Copy() +void ScintillaTQt::Copy() { if (currentPos != anchor) { @@ -464,9 +464,9 @@ void ScintillaQt::Copy() // Implement paste. -void ScintillaQt::Paste() +void ScintillaTQt::Paste() { - QString str = QApplication::clipboard() -> text(); + TQString str = TQApplication::tqclipboard() -> text(); if (str.isEmpty()) return; @@ -479,7 +479,7 @@ void ScintillaQt::Paste() if (IsUnicodeMode()) { - QCString s = str.utf8(); + TQCString s = str.utf8(); len = s.length(); @@ -505,26 +505,26 @@ void ScintillaQt::Paste() } -// A simple QWidget sub-class to implement a call tip. No need to bother with -// all the moc stuff. -class QtCallTip : public QWidget +// A simple TQWidget sub-class to implement a call tip. No need to bother with +// all the tqmoc stuff. +class TQtCallTip : public TQWidget { public: - QtCallTip(QWidget *parent,ScintillaQt *sci_); - ~QtCallTip(); + TQtCallTip(TQWidget *parent,ScintillaTQt *sci_); + ~TQtCallTip(); protected: - void paintEvent(QPaintEvent *); - void mousePressEvent(QMouseEvent *me); + void paintEvent(TQPaintEvent *); + void mousePressEvent(TQMouseEvent *me); private: - ScintillaQt *sci; + ScintillaTQt *sci; }; // Create a call tip. -QtCallTip::QtCallTip(QWidget *parent,ScintillaQt *sci_) : - QWidget(parent,0,WType_Popup|WStyle_Customize|WStyle_NoBorder), sci(sci_) +TQtCallTip::TQtCallTip(TQWidget *parent,ScintillaTQt *sci_) : + TQWidget(parent,0,WType_Popup|WStyle_Customize|WStyle_NoBorder), sci(sci_) { // Ensure that the main window keeps the focus (and the caret flashing) // when this is displayed. @@ -533,7 +533,7 @@ QtCallTip::QtCallTip(QWidget *parent,ScintillaQt *sci_) : // Destroy a call tip. -QtCallTip::~QtCallTip() +TQtCallTip::~TQtCallTip() { // Ensure that the main window doesn't receive a focus out event when // this is destroyed. @@ -542,13 +542,13 @@ QtCallTip::~QtCallTip() // Paint a call tip. -void QtCallTip::paintEvent(QPaintEvent *) +void TQtCallTip::paintEvent(TQPaintEvent *) { Surface *surfaceWindow = Surface::Allocate(); if (surfaceWindow) { - QPainter p(this); + TQPainter p(this); surfaceWindow -> Init(&p,0); sci -> ct.PaintCT(surfaceWindow); @@ -560,7 +560,7 @@ void QtCallTip::paintEvent(QPaintEvent *) // Handle a mouse press in a call tip. -void QtCallTip::mousePressEvent(QMouseEvent *me) +void TQtCallTip::mousePressEvent(TQMouseEvent *me) { Point pt; @@ -573,10 +573,10 @@ void QtCallTip::mousePressEvent(QMouseEvent *me) // Create a call tip window. -void ScintillaQt::CreateCallTipWindow(PRectangle rc) +void ScintillaTQt::CreateCallTipWindow(PRectangle rc) { if (!ct.wCallTip.Created()) - ct.wCallTip = ct.wDraw = new QtCallTip(qsb,this); + ct.wCallTip = ct.wDraw = new TQtCallTip(qsb,this); PWindow(ct.wCallTip) -> resize(rc.right - rc.left,rc.bottom - rc.top); ct.wCallTip.Show(); @@ -584,15 +584,15 @@ void ScintillaQt::CreateCallTipWindow(PRectangle rc) // Add an item to the right button menu. -void ScintillaQt::AddToPopUp(const char *label,int cmd,bool enabled) +void ScintillaTQt::AddToPopUp(const char *label,int cmd,bool enabled) { - QPopupMenu *pm = static_cast(popup.GetID()); + TQPopupMenu *pm = static_cast(popup.GetID()); if (label[0] != '\0') { - QString tr_label = qApp -> translate("ContextMenu",label); + TQString tr_label = tqApp -> translate("ContextMenu",label); - pm -> insertItem(tr_label,qsb,SLOT(handlePopUp(int)),0,cmd); + pm -> insertItem(tr_label,qsb,TQT_SLOT(handlePopUp(int)),0,cmd); pm -> setItemEnabled(cmd,enabled); } else @@ -601,13 +601,13 @@ void ScintillaQt::AddToPopUp(const char *label,int cmd,bool enabled) // Claim the selection. -void ScintillaQt::ClaimSelection() +void ScintillaTQt::ClaimSelection() { bool isSel = (currentPos != anchor); if (isSel) { - QClipboard *cb = QApplication::clipboard(); + TQClipboard *cb = TQApplication::tqclipboard(); // If we support X11 style selection then make it available // now. @@ -630,12 +630,12 @@ void ScintillaQt::ClaimSelection() else primarySelection = false; - emit qsb -> QSCN_SELCHANGED(isSel); + emit qsb -> TQSCN_SELCHANGED(isSel); } // Unclaim the selection. -void ScintillaQt::UnclaimSelection() +void ScintillaTQt::UnclaimSelection() { if (primarySelection) { @@ -646,7 +646,7 @@ void ScintillaQt::UnclaimSelection() // Implemented to provide compatibility with the Windows version. -sptr_t ScintillaQt::DirectFunction(ScintillaQt *sciThis,unsigned int iMessage, +sptr_t ScintillaTQt::DirectFunction(ScintillaTQt *sciThis,unsigned int iMessage, uptr_t wParam,sptr_t lParam) { return sciThis -> WndProc(iMessage,wParam,lParam); @@ -654,13 +654,13 @@ sptr_t ScintillaQt::DirectFunction(ScintillaQt *sciThis,unsigned int iMessage, // Draw the contents of the widget. -void ScintillaQt::paintEvent(QPaintEvent *pe) +void ScintillaTQt::paintEvent(TQPaintEvent *pe) { bool isUnicodeMode = (pdoc && pdoc -> dbcsCodePage == SC_CP_UTF8); paintState = painting; - const QRect &qr = pe -> rect(); + const TQRect &qr = pe -> rect(); rcPaint.left = qr.left(); rcPaint.top = qr.top(); @@ -674,7 +674,7 @@ void ScintillaQt::paintEvent(QPaintEvent *pe) if (sw) { - QPainter painter(PWindow(wMain)); + TQPainter painter(PWindow(wMain)); sw -> Init(&painter,0); sw -> SetUnicodeMode(isUnicodeMode); @@ -683,7 +683,7 @@ void ScintillaQt::paintEvent(QPaintEvent *pe) delete sw; // If the painting area was insufficient to cover the new style - // or brace highlight positions then repaint the whole thing. + // or brace highlight positions then tqrepaint the whole thing. if (paintState == paintAbandoned) PWindow(wMain) -> update(); } diff --git a/qt/ScintillaQt.h b/qt/ScintillaQt.h index 3190b71..08074b3 100644 --- a/qt/ScintillaQt.h +++ b/qt/ScintillaQt.h @@ -1,30 +1,30 @@ -// The definition of the Qt specific subclass of ScintillaBase. +// The definition of the TQt specific subclass of ScintillaBase. // // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef SCINTILLAQT_H -#define SCINTILLAQT_H +#ifndef SCINTILLATQT_H +#define SCINTILLATQT_H -#include +#include // These are needed because scintilla class header files don't seem to manage // their own dependencies properly. @@ -54,27 +54,27 @@ #include "ScintillaBase.h" -class QPaintEvent; +class TQPaintEvent; class QextScintillaBase; -class QtCallTip; +class TQtCallTip; -class ScintillaQt : public ScintillaBase +class ScintillaTQt : public ScintillaBase { friend class QextScintillaBase; - friend class QtCallTip; + friend class TQtCallTip; public: - ScintillaQt(QextScintillaBase *qsb_); - virtual ~ScintillaQt(); + ScintillaTQt(QextScintillaBase *qsb_); + virtual ~ScintillaTQt(); virtual sptr_t WndProc(unsigned int iMessage,uptr_t wParam, sptr_t lParam); private: - QWidget *PWindow(Window &w) + TQWidget *PWindow(Window &w) { - return reinterpret_cast(w.GetID()); + return reinterpret_cast(w.GetID()); } void Initialise(); @@ -99,19 +99,19 @@ private: void AddToPopUp(const char *label,int cmd = 0,bool enabled = true); void ClaimSelection(); void UnclaimSelection(); - static sptr_t DirectFunction(ScintillaQt *sci,unsigned int iMessage, + static sptr_t DirectFunction(ScintillaTQt *sci,unsigned int iMessage, uptr_t wParam,sptr_t lParam); - QString textRange(const SelectionText *text); - void paintEvent(QPaintEvent *pe); - void dragEnterEvent(QDragEnterEvent *dee); - void dragMoveEvent(QDragMoveEvent *dme); - void dragLeaveEvent(QDragLeaveEvent *dle); - void dropEvent(QDropEvent *de); + TQString textRange(const SelectionText *text); + void paintEvent(TQPaintEvent *pe); + void dragEnterEvent(TQDragEnterEvent *dee); + void dragMoveEvent(TQDragMoveEvent *dme); + void dragLeaveEvent(TQDragLeaveEvent *dle); + void dropEvent(TQDropEvent *de); bool capturedMouse; QextScintillaBase *qsb; - QTimer qtimer; + TQTimer qtimer; }; #endif diff --git a/qt/qextscintilla.cpp b/qt/qextscintilla.cpp index 7d3290c..e784750 100644 --- a/qt/qextscintilla.cpp +++ b/qt/qextscintilla.cpp @@ -1,35 +1,35 @@ -// This module implements the "official" high-level API of the Qt port of -// Scintilla. It is modelled on QTextEdit - a method of the same name should +// This module implements the "official" high-level API of the TQt port of +// Scintilla. It is modelled on TQTextEdit - a method of the same name should // behave in the same way. // // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include -#include -#include +#include +#include -#include "qextscintilla.h" -#include "qextscintillalexer.h" -#include "qextscintillaapis.h" -#include "qextscintillacommandset.h" +#include "tqextscintilla.h" +#include "tqextscintillalexer.h" +#include "tqextscintillaapis.h" +#include "tqextscintillacommandset.h" // Make sure these match the values in Scintilla.h. We don't #include that @@ -42,11 +42,11 @@ static const int defaultFoldMarginWidth = 14; // The default set of characters that make up a word. -static const char *defaultWordChars = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; +static const char *defaultWordChars = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789"; // The ctor. -QextScintilla::QextScintilla(QWidget *parent,const char *name,WFlags f) +QextScintilla::QextScintilla(TQWidget *parent,const char *name,WFlags f) : QextScintillaBase(parent,name,f), allocatedMarkers(0), oldPos(-1), selText(FALSE), fold(NoFoldStyle), autoInd(FALSE), braceMode(NoBraceMatch), acSource(AcsDocument), acThresh(-1), @@ -54,33 +54,33 @@ QextScintilla::QextScintilla(QWidget *parent,const char *name,WFlags f) showSingle(FALSE), modified(FALSE), explicit_fillups(FALSE), fillups_enabled(FALSE), saved_fillups("") { - connect(this,SIGNAL(SCN_MODIFYATTEMPTRO()), - SIGNAL(modificationAttempted())); - - connect(this,SIGNAL(SCN_MODIFIED(int,int,const char *,int,int,int,int,int)), - SLOT(handleModified(int,int,const char *,int,int,int,int,int))); - connect(this,SIGNAL(SCN_CALLTIPCLICK(int)), - SLOT(handleCallTipClick(int))); - connect(this,SIGNAL(SCN_CHARADDED(int)), - SLOT(handleCharAdded(int))); - connect(this,SIGNAL(SCN_MARGINCLICK(int,int,int)), - SLOT(handleMarginClick(int,int,int))); - connect(this,SIGNAL(SCN_SAVEPOINTREACHED()), - SLOT(handleSavePointReached())); - connect(this,SIGNAL(SCN_SAVEPOINTLEFT()), - SLOT(handleSavePointLeft())); - connect(this,SIGNAL(SCN_UPDATEUI()), - SLOT(handleUpdateUI())); - connect(this,SIGNAL(QSCN_SELCHANGED(bool)), - SLOT(handleSelectionChanged(bool))); - connect(this,SIGNAL(SCN_USERLISTSELECTION(const char *,int)), - SLOT(handleUserListSelection(const char *,int))); + connect(this,TQT_SIGNAL(SCN_MODIFYATTEMPTRO()), + TQT_SIGNAL(modificationAttempted())); + + connect(this,TQT_SIGNAL(SCN_MODIFIED(int,int,const char *,int,int,int,int,int)), + TQT_SLOT(handleModified(int,int,const char *,int,int,int,int,int))); + connect(this,TQT_SIGNAL(SCN_CALLTIPCLICK(int)), + TQT_SLOT(handleCallTipClick(int))); + connect(this,TQT_SIGNAL(SCN_CHARADDED(int)), + TQT_SLOT(handleCharAdded(int))); + connect(this,TQT_SIGNAL(SCN_MARGINCLICK(int,int,int)), + TQT_SLOT(handleMarginClick(int,int,int))); + connect(this,TQT_SIGNAL(SCN_SAVEPOINTREACHED()), + TQT_SLOT(handleSavePointReached())); + connect(this,TQT_SIGNAL(SCN_SAVEPOINTLEFT()), + TQT_SLOT(handleSavePointLeft())); + connect(this,TQT_SIGNAL(SCN_UPDATEUI()), + TQT_SLOT(handleUpdateUI())); + connect(this,TQT_SIGNAL(TQSCN_SELCHANGED(bool)), + TQT_SLOT(handleSelectionChanged(bool))); + connect(this,TQT_SIGNAL(SCN_USERLISTSELECTION(const char *,int)), + TQT_SLOT(handleUserListSelection(const char *,int))); // Set the default font. - setFont(QApplication::font()); + setFont(TQApplication::font()); // Set the default fore and background colours. - QColorGroup cg = QApplication::palette().active(); + TQColorGroup cg = TQApplication::palette().active(); setColor(cg.text()); setPaper(cg.base()); @@ -93,7 +93,7 @@ QextScintilla::QextScintilla(QWidget *parent,const char *name,WFlags f) #endif // Capturing the mouse seems to cause problems on multi-head systems. - // Qt should do the right thing anyway. + // TQt should do the right thing anyway. SendScintilla(SCI_SETMOUSEDOWNCAPTURES,0UL); SendScintilla(SCI_SETPROPERTY,"fold","1"); @@ -123,14 +123,14 @@ QextScintilla::~QextScintilla() // Return the current text colour. -QColor QextScintilla::color() const +TQColor QextScintilla::color() const { return nl_text_colour; } // Set the text colour. -void QextScintilla::setColor(const QColor &c) +void QextScintilla::setColor(const TQColor &c) { if (lex.isNull()) { @@ -143,14 +143,14 @@ void QextScintilla::setColor(const QColor &c) // Return the current paper colour. -QColor QextScintilla::paper() const +TQColor QextScintilla::paper() const { return nl_paper_colour; } // Set the paper colour. -void QextScintilla::setPaper(const QColor &c) +void QextScintilla::setPaper(const TQColor &c) { if (lex.isNull()) { @@ -165,7 +165,7 @@ void QextScintilla::setPaper(const QColor &c) // Set the default font. -void QextScintilla::setFont(const QFont &f) +void QextScintilla::setFont(const TQFont &f) { if (lex.isNull()) { @@ -318,7 +318,7 @@ void QextScintilla::callTip() return; } - QString ct = ctAPIs -> callTips(&lbuf[start],maxCallTips,commas); + TQString ct = ctAPIs -> callTips(&lbuf[start],maxCallTips,commas); delete []lbuf; @@ -358,7 +358,7 @@ void QextScintilla::callTip() for (aend = astart; aend < len; ++aend) { - QChar ch = ct.at(aend); + TQChar ch = ct.at(aend); if (ch == ',' && depth == 0) break; @@ -384,7 +384,7 @@ void QextScintilla::handleCallTipClick(int dir) if (!ctAPIs) return; - QString ct = ctAPIs -> callTipsNextPrev(dir); + TQString ct = ctAPIs -> callTipsNextPrev(dir); if (ct.isNull()) return; @@ -432,7 +432,7 @@ void QextScintilla::startAutoCompletion(AutoCompletionSource acs, line[wend] = '\0'; // Generate the string representing the valid words to select from. - QStringList wlist; + TQStringList wlist; bool cs = !SendScintilla(SCI_AUTOCGETIGNORECASE); if (acs == AcsAll || acs == AcsDocument) @@ -442,7 +442,7 @@ void QextScintilla::startAutoCompletion(AutoCompletionSource acs, long pos = 0; long dlen = SendScintilla(SCI_GETLENGTH); long caret = SendScintilla(SCI_GETCURRENTPOS); - QString root(word); + TQString root(word); for (;;) { @@ -462,7 +462,7 @@ void QextScintilla::startAutoCompletion(AutoCompletionSource acs, continue; // Get the rest of this word. - QString w(root); + TQString w(root); while (pos < dlen) { @@ -496,7 +496,7 @@ void QextScintilla::startAutoCompletion(AutoCompletionSource acs, SendScintilla(SCI_AUTOCSETCHOOSESINGLE,single); SendScintilla(SCI_AUTOCSETSEPARATOR, sep); - SendScintilla(SCI_AUTOCSHOW, wlen, wlist.join(QChar(sep)).latin1()); + SendScintilla(SCI_AUTOCSHOW, wlen, wlist.join(TQChar(sep)).latin1()); } @@ -689,7 +689,7 @@ QextScintilla::IndentState QextScintilla::getIndentState(int line) // ie. assume Python-like blocking. if (bstart_off >= 0 && !bend_words) for (int i = bstart_off * 2; text[i] != '\0'; i += 2) - if (!QChar(text[i]).isSpace()) + if (!TQChar(text[i]).isSpace()) return isNone; if (bstart_off > bend_off) @@ -810,16 +810,16 @@ void QextScintilla::convertEols(EolMode mode) // Return the edge colour. -QColor QextScintilla::edgeColor() +TQColor QextScintilla::edgeColor() { long res = SendScintilla(SCI_GETEDGECOLOUR); - return QColor((int)res, ((int)(res >> 8)) & 0x00ff, ((int)(res >> 16)) & 0x00ff); + return TQColor((int)res, ((int)(res >> 8)) & 0x00ff, ((int)(res >> 16)) & 0x00ff); } // Set the edge colour. -void QextScintilla::setEdgeColor(const QColor &col) +void QextScintilla::setEdgeColor(const TQColor &col) { SendScintilla(SCI_SETEDGECOLOUR,col); } @@ -1036,7 +1036,7 @@ void QextScintilla::foldClick(int lineClick,int bstate) { if (bstate & ShiftButton) { - // Ensure all children are visible. + // Ensure all tqchildren are visible. SendScintilla(SCI_SETFOLDEXPANDED,lineClick,1); foldExpand(lineClick,TRUE,TRUE,100,levelClick); } @@ -1044,13 +1044,13 @@ void QextScintilla::foldClick(int lineClick,int bstate) { if (SendScintilla(SCI_GETFOLDEXPANDED,lineClick)) { - // Contract this line and all its children. + // Contract this line and all its tqchildren. SendScintilla(SCI_SETFOLDEXPANDED,lineClick,0L); foldExpand(lineClick,FALSE,TRUE,0,levelClick); } else { - // Expand this line and all its children. + // Expand this line and all its tqchildren. SendScintilla(SCI_SETFOLDEXPANDED,lineClick,1); foldExpand(lineClick,TRUE,TRUE,100,levelClick); } @@ -1119,7 +1119,7 @@ void QextScintilla::foldExpand(int &line,bool doExpand,bool force, // Fully expand (if there is any line currently folded) all text. Otherwise, // fold all text. This is mostly taken from SciTE. -void QextScintilla::foldAll(bool children) +void QextScintilla::foldAll(bool tqchildren) { recolor(); @@ -1142,7 +1142,7 @@ void QextScintilla::foldAll(bool children) if (!(level & SC_FOLDLEVELHEADERFLAG)) continue; - if (children || + if (tqchildren || (SC_FOLDLEVELBASE == (level & SC_FOLDLEVELNUMBERMASK))) { if (expanding) @@ -1248,7 +1248,7 @@ void QextScintilla::zoomTo(int size) // Find the first occurrence of a string. -bool QextScintilla::findFirst(const QString &expr,bool re,bool cs,bool wo, +bool QextScintilla::findFirst(const TQString &expr,bool re,bool cs,bool wo, bool wrap,bool forward,int line,int index, bool show) { @@ -1363,7 +1363,7 @@ long QextScintilla::simpleFind() if (isUtf8()) { - QCString s = findState.expr.utf8(); + TQCString s = findState.expr.utf8(); pos = SendScintilla(SCI_SEARCHINTARGET,s.length(),s.data()); } @@ -1379,7 +1379,7 @@ long QextScintilla::simpleFind() // Replace the text found with the previous findFirst() or findNext(). -void QextScintilla::replace(const QString &replaceStr) +void QextScintilla::replace(const TQString &replaceStr) { if (!findState.inProgress) return; @@ -1467,7 +1467,7 @@ void QextScintilla::handleSavePointLeft() } -// Handle the QSCN_SELCHANGED signal. +// Handle the TQSCN_SELCHANGED signal. void QextScintilla::handleSelectionChanged(bool yes) { selText = yes; @@ -1503,11 +1503,11 @@ void QextScintilla::setSelection(int lineFrom,int indexFrom, // Set the background colour of selected text. -void QextScintilla::setSelectionBackgroundColor(const QColor &col) +void QextScintilla::setSelectionBackgroundColor(const TQColor &col) { SendScintilla(SCI_SETSELBACK,1,col); - int alpha = qAlpha(col.rgb()); + int alpha = tqAlpha(col.rgb()); if (alpha < 255) SendScintilla(SCI_SETSELALPHA, alpha); @@ -1515,7 +1515,7 @@ void QextScintilla::setSelectionBackgroundColor(const QColor &col) // Set the foreground colour of selected text. -void QextScintilla::setSelectionForegroundColor(const QColor &col) +void QextScintilla::setSelectionForegroundColor(const TQColor &col) { SendScintilla(SCI_SETSELFORE,1,col); } @@ -1544,18 +1544,18 @@ void QextScintilla::setCaretWidth(int width) // Set the foreground colour of the caret. -void QextScintilla::setCaretForegroundColor(const QColor &col) +void QextScintilla::setCaretForegroundColor(const TQColor &col) { SendScintilla(SCI_SETCARETFORE,col); } // Set the background colour of the line containing the caret. -void QextScintilla::setCaretLineBackgroundColor(const QColor &col) +void QextScintilla::setCaretLineBackgroundColor(const TQColor &col) { SendScintilla(SCI_SETCARETLINEBACK,col); - int alpha = qAlpha(col.rgb()); + int alpha = tqAlpha(col.rgb()); if (alpha < 255) SendScintilla(SCI_SETCARETLINEBACKALPHA, alpha); @@ -1584,13 +1584,13 @@ void QextScintilla::setReadOnly(bool ro) // Append the given text. -void QextScintilla::append(const QString &text) +void QextScintilla::append(const TQString &text) { bool ro = ensureRW(); if (isUtf8()) { - QCString s = text.utf8(); + TQCString s = text.utf8(); SendScintilla(SCI_APPENDTEXT,s.length(),s.data()); } @@ -1608,7 +1608,7 @@ void QextScintilla::append(const QString &text) // Insert the given text at the current position. -void QextScintilla::insert(const QString &text) +void QextScintilla::insert(const TQString &text) { bool ro = ensureRW(); @@ -1626,7 +1626,7 @@ void QextScintilla::insert(const QString &text) // Insert the given text at the given position. -void QextScintilla::insertAt(const QString &text,int line,int index) +void QextScintilla::insertAt(const TQString &text,int line,int index) { bool ro = ensureRW(); long position = posFromLineIndex(line,index); @@ -1694,7 +1694,7 @@ int QextScintilla::lines() // Return the line at a position. -int QextScintilla::lineAt(const QPoint &pos) +int QextScintilla::lineAt(const TQPoint &pos) { long chpos = SendScintilla(SCI_POSITIONFROMPOINTCLOSE,pos.x(),pos.y()); @@ -1730,10 +1730,10 @@ void QextScintilla::removeSelectedText() // Return the current selected text. -QString QextScintilla::selectedText() +TQString QextScintilla::selectedText() { if (!selText) - return QString(); + return TQString(); // Scintilla doesn't tell us the length of the selected text so we use // the length of the whole document. @@ -1741,7 +1741,7 @@ QString QextScintilla::selectedText() SendScintilla(SCI_GETSELTEXT,buf); - QString qs = convertText(buf); + TQString qs = convertText(buf); delete[] buf; return qs; @@ -1749,14 +1749,14 @@ QString QextScintilla::selectedText() // Return the current text. -QString QextScintilla::text() +TQString QextScintilla::text() { int buflen = length() + 1; char *buf = new char[buflen]; SendScintilla(SCI_GETTEXT,buflen,buf); - QString qs = convertText(buf); + TQString qs = convertText(buf); delete[] buf; return qs; @@ -1764,19 +1764,19 @@ QString QextScintilla::text() // Return the text of a line. -QString QextScintilla::text(int line) +TQString QextScintilla::text(int line) { int line_len = lineLength(line); if (line_len < 1) - return QString(); + return TQString(); char *buf = new char[line_len + 1]; SendScintilla(SCI_GETLINE,line,buf); buf[line_len] = '\0'; - QString qs = convertText(buf); + TQString qs = convertText(buf); delete[] buf; return qs; @@ -1784,7 +1784,7 @@ QString QextScintilla::text(int line) // Set the given text. -void QextScintilla::setText(const QString &text) +void QextScintilla::setText(const TQString &text) { bool ro = ensureRW(); @@ -1945,14 +1945,14 @@ void QextScintilla::setIndentationGuides(bool enable) // Set the background colour of indentation guides. -void QextScintilla::setIndentationGuidesBackgroundColor(const QColor &col) +void QextScintilla::setIndentationGuidesBackgroundColor(const TQColor &col) { SendScintilla(SCI_STYLESETBACK,STYLE_INDENTGUIDE,col); } // Set the foreground colour of indentation guides. -void QextScintilla::setIndentationGuidesForegroundColor(const QColor &col) +void QextScintilla::setIndentationGuidesForegroundColor(const TQColor &col) { SendScintilla(SCI_STYLESETFORE,STYLE_INDENTGUIDE,col); } @@ -2085,7 +2085,7 @@ void QextScintilla::setMarginWidth(int margin,int width) // Set the width of a margin to the width of some text. -void QextScintilla::setMarginWidth(int margin,const QString &s) +void QextScintilla::setMarginWidth(int margin,const TQString &s) { int width; @@ -2099,21 +2099,21 @@ void QextScintilla::setMarginWidth(int margin,const QString &s) // Set the background colour of all margins. -void QextScintilla::setMarginsBackgroundColor(const QColor &col) +void QextScintilla::setMarginsBackgroundColor(const TQColor &col) { handleStylePaperChange(col,STYLE_LINENUMBER); } // Set the foreground colour of all margins. -void QextScintilla::setMarginsForegroundColor(const QColor &col) +void QextScintilla::setMarginsForegroundColor(const TQColor &col) { handleStyleColorChange(col,STYLE_LINENUMBER); } // Set the font of all margins. -void QextScintilla::setMarginsFont(const QFont &f) +void QextScintilla::setMarginsFont(const TQFont &f) { setStylesFont(f,STYLE_LINENUMBER); } @@ -2143,8 +2143,8 @@ int QextScintilla::markerDefine(char ch,int mnr) } -// Define a marker based on a QPixmap. -int QextScintilla::markerDefine(const QPixmap *pm,int mnr) +// Define a marker based on a TQPixmap. +int QextScintilla::markerDefine(const TQPixmap *pm,int mnr) { checkMarker(mnr); @@ -2237,11 +2237,11 @@ int QextScintilla::markerFindPrevious(int linenr,unsigned mask) // Set the marker background colour. -void QextScintilla::setMarkerBackgroundColor(const QColor &col,int mnr) +void QextScintilla::setMarkerBackgroundColor(const TQColor &col,int mnr) { if (mnr <= MARKER_MAX) { - int alpha = qAlpha(col.rgb()); + int alpha = tqAlpha(col.rgb()); if (mnr < 0) { @@ -2272,7 +2272,7 @@ void QextScintilla::setMarkerBackgroundColor(const QColor &col,int mnr) // Set the marker foreground colour. -void QextScintilla::setMarkerForegroundColor(const QColor &col,int mnr) +void QextScintilla::setMarkerForegroundColor(const TQColor &col,int mnr) { if (mnr <= MARKER_MAX) { @@ -2332,7 +2332,7 @@ void QextScintilla::resetFoldMarginColors() // Set the fold margin colours. -void QextScintilla::setFoldMarginColors(const QColor &fore,const QColor &back) +void QextScintilla::setFoldMarginColors(const TQColor &fore,const TQColor &back) { SendScintilla(SCI_SETFOLDMARGINHICOLOUR,1,fore); SendScintilla(SCI_SETFOLDMARGINCOLOUR,1,back); @@ -2340,49 +2340,49 @@ void QextScintilla::setFoldMarginColors(const QColor &fore,const QColor &back) // Set the call tips background colour. -void QextScintilla::setCallTipsBackgroundColor(const QColor &col) +void QextScintilla::setCallTipsBackgroundColor(const TQColor &col) { SendScintilla(SCI_CALLTIPSETBACK,col); } // Set the call tips foreground colour. -void QextScintilla::setCallTipsForegroundColor(const QColor &col) +void QextScintilla::setCallTipsForegroundColor(const TQColor &col) { SendScintilla(SCI_CALLTIPSETFORE,col); } // Set the call tips highlight colour. -void QextScintilla::setCallTipsHighlightColor(const QColor &col) +void QextScintilla::setCallTipsHighlightColor(const TQColor &col) { SendScintilla(SCI_CALLTIPSETFOREHLT,col); } // Set the matched brace background colour. -void QextScintilla::setMatchedBraceBackgroundColor(const QColor &col) +void QextScintilla::setMatchedBraceBackgroundColor(const TQColor &col) { SendScintilla(SCI_STYLESETBACK,STYLE_BRACELIGHT,col); } // Set the matched brace foreground colour. -void QextScintilla::setMatchedBraceForegroundColor(const QColor &col) +void QextScintilla::setMatchedBraceForegroundColor(const TQColor &col) { SendScintilla(SCI_STYLESETFORE,STYLE_BRACELIGHT,col); } // Set the unmatched brace background colour. -void QextScintilla::setUnmatchedBraceBackgroundColor(const QColor &col) +void QextScintilla::setUnmatchedBraceBackgroundColor(const TQColor &col) { SendScintilla(SCI_STYLESETBACK,STYLE_BRACEBAD,col); } // Set the unmatched brace foreground colour. -void QextScintilla::setUnmatchedBraceForegroundColor(const QColor &col) +void QextScintilla::setUnmatchedBraceForegroundColor(const TQColor &col) { SendScintilla(SCI_STYLESETFORE,STYLE_BRACEBAD,col); } @@ -2409,16 +2409,16 @@ void QextScintilla::setLexer(QextScintillaLexer *lexer) SendScintilla(SCI_SETSTYLEBITS,bits); - connect(lex,SIGNAL(colorChanged(const QColor &,int)), - SLOT(handleStyleColorChange(const QColor &,int))); - connect(lex,SIGNAL(eolFillChanged(bool,int)), - SLOT(handleStyleEolFillChange(bool,int))); - connect(lex,SIGNAL(fontChanged(const QFont &,int)), - SLOT(handleStyleFontChange(const QFont &,int))); - connect(lex,SIGNAL(paperChanged(const QColor &,int)), - SLOT(handleStylePaperChange(const QColor &,int))); - connect(lex,SIGNAL(propertyChanged(const char *,const char *)), - SLOT(handlePropertyChange(const char *,const char *))); + connect(lex,TQT_SIGNAL(colorChanged(const TQColor &,int)), + TQT_SLOT(handleStyleColorChange(const TQColor &,int))); + connect(lex,TQT_SIGNAL(eolFillChanged(bool,int)), + TQT_SLOT(handleStyleEolFillChange(bool,int))); + connect(lex,TQT_SIGNAL(fontChanged(const TQFont &,int)), + TQT_SLOT(handleStyleFontChange(const TQFont &,int))); + connect(lex,TQT_SIGNAL(paperChanged(const TQColor &,int)), + TQT_SLOT(handleStylePaperChange(const TQColor &,int))); + connect(lex,TQT_SIGNAL(propertyChanged(const char *,const char *)), + TQT_SLOT(handlePropertyChange(const char *,const char *))); SendScintilla(SCI_SETLEXERLANGUAGE,lex -> lexer()); @@ -2473,7 +2473,7 @@ QextScintillaLexer *QextScintilla::lexer() const // Handle a change in lexer style foreground colour. -void QextScintilla::handleStyleColorChange(const QColor &c,int style) +void QextScintilla::handleStyleColorChange(const TQColor &c,int style) { SendScintilla(SCI_STYLESETFORE,style,c); } @@ -2487,7 +2487,7 @@ void QextScintilla::handleStyleEolFillChange(bool eolfill,int style) // Handle a change in lexer style font. -void QextScintilla::handleStyleFontChange(const QFont &f,int style) +void QextScintilla::handleStyleFontChange(const TQFont &f,int style) { setStylesFont(f,style); @@ -2503,7 +2503,7 @@ void QextScintilla::handleStyleFontChange(const QFont &f,int style) // Set the font for a style. -void QextScintilla::setStylesFont(const QFont &f,int style) +void QextScintilla::setStylesFont(const TQFont &f,int style) { SendScintilla(SCI_STYLESETFONT,style,f.family().latin1()); SendScintilla(SCI_STYLESETSIZE,style,f.pointSize()); @@ -2514,7 +2514,7 @@ void QextScintilla::setStylesFont(const QFont &f,int style) // Handle a change in lexer style background colour. -void QextScintilla::handleStylePaperChange(const QColor &c,int style) +void QextScintilla::handleStylePaperChange(const TQColor &c,int style) { SendScintilla(SCI_STYLESETBACK,style,c); } @@ -2750,13 +2750,13 @@ void QextScintilla::lineIndexFromPos(long pos,int *line,int *index) } -// Convert a Scintilla string to a Qt Unicode string. -QString QextScintilla::convertText(const char *s) +// Convert a Scintilla string to a TQt Unicode string. +TQString QextScintilla::convertText(const char *s) { if (isUtf8()) - return QString::fromUtf8(s); + return TQString::fromUtf8(s); - QString qs; + TQString qs; qs.setLatin1(s); @@ -2851,7 +2851,7 @@ void QextScintilla::recolor(int start,int end) // Registered an image. -void QextScintilla::registerImage(int id,const QPixmap *pm) +void QextScintilla::registerImage(int id,const TQPixmap *pm) { SendScintilla(SCI_REGISTERIMAGE,id,pm); } @@ -3011,7 +3011,7 @@ void QextScintilla::cancelList() // Display a user list. -void QextScintilla::showUserList(int id, const QStringList &list) +void QextScintilla::showUserList(int id, const TQStringList &list) { // Sanity check to make sure auto-completion doesn't get confused. if (id <= 0) @@ -3020,12 +3020,12 @@ void QextScintilla::showUserList(int id, const QStringList &list) const char sep = '\x03'; SendScintilla(SCI_AUTOCSETSEPARATOR, sep); - SendScintilla(SCI_USERLISTSHOW, id, list.join(QChar(sep)).latin1()); + SendScintilla(SCI_USERLISTSHOW, id, list.join(TQChar(sep)).latin1()); } // Translate the SCN_USERLISTSELECTION notification into something more useful. void QextScintilla::handleUserListSelection(const char *text, int id) { - emit userListActivated(id, QString(text)); + emit userListActivated(id, TQString(text)); } diff --git a/qt/qextscintilla.h b/qt/qextscintilla.h index ec64f4f..471032f 100644 --- a/qt/qextscintilla.h +++ b/qt/qextscintilla.h @@ -1,36 +1,36 @@ -// This module defines the "official" high-level API of the Qt port of +// This module defines the "official" high-level API of the TQt port of // Scintilla. // // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLA_H -#define QEXTSCINTILLA_H +#ifndef TQEXTSCINTILLA_H +#define TQEXTSCINTILLA_H -#include -#include +#include +#include -#include -#include -#include +#include +#include +#include class QextScintillaLexer; @@ -38,19 +38,20 @@ class QextScintillaAPIs; class QextScintillaCommandSet; -//! \brief The QextScintilla class implements a higher level, more Qt-like, +//! \brief The QextScintilla class implements a higher level, more TQt-like, //! API to the Scintilla editor widget. //! //! QextScintilla implements methods, signals and slots similar to those found -//! in other Qt editor classes. It also provides a higher level interface to +//! in other TQt editor classes. It also provides a higher level interface to //! features specific to Scintilla such as syntax styling, call tips, //! auto-indenting and auto-completion than that provided by QextScintillaBase. //! -//! The API is modelled on QTextEdit - a method of the same name should behave +//! The API is modelled on TQTextEdit - a method of the same name should behave //! in the same way. -class QEXTSCINTILLA_EXPORT QextScintilla : public QextScintillaBase +class TQEXTSCINTILLA_EXPORT QextScintilla : public QextScintillaBase { Q_OBJECT + TQ_OBJECT public: //! This enum defines the different auto-indentation styles. @@ -277,7 +278,7 @@ public: //! Construct an empty QextScintilla with parent \a parent, name \a //! name, and widget flags \a f. - QextScintilla(QWidget *parent = 0,const char *name = 0,WFlags f = 0); + QextScintilla(TQWidget *parent = 0,const char *name = 0,WFlags f = 0); //! Destroys the QextScintilla instance. virtual ~QextScintilla(); @@ -361,7 +362,7 @@ public: //! Returns the widget's text (ie. foreground) colour. //! //! \sa setColor() - QColor color() const; + TQColor color() const; //! Returns the attached document. //! @@ -378,7 +379,7 @@ public: //! exceeded the length set by setEdgeColumn(). //! //! \sa setEdgeColor(), \sa setEdgeColumn - QColor edgeColor(); + TQColor edgeColor(); //! Returns the number of the column after which lines are considered //! to be long. @@ -428,7 +429,7 @@ public: //! visible (ie. it is unfolded). //! //! \sa findNext(), replace() - virtual bool findFirst(const QString &expr,bool re,bool cs,bool wo, + virtual bool findFirst(const TQString &expr,bool re,bool cs,bool wo, bool wrap,bool forward = TRUE,int line = -1, int index = -1,bool show = TRUE); @@ -525,7 +526,7 @@ public: //! Returns the line which is at position \a pos or -1 if there is no //! line at that position. - int lineAt(const QPoint &pos); + int lineAt(const TQPoint &pos); //! Returns the length of line \a line or -1 if there is no such line. int lineLength(int line); @@ -597,7 +598,7 @@ public: //! automatically allocated. The marker number is returned or -1 if //! the marker number was already allocated or too many markers have //! been defined. - int markerDefine(const QPixmap *pm,int mnr = -1); + int markerDefine(const TQPixmap *pm,int mnr = -1); //! Add a marker number \a mnr to line number \a linenr. A handle for //! the marker is returned which can be used to track the marker's @@ -652,7 +653,7 @@ public: //! Returns the widget's paper (ie. background) colour. //! //! \sa setPaper() - QColor paper() const; + TQColor paper() const; //! Recolours the document between the \a start and \a end positions. //! \a start defaults to the start of the document and \a end defaults @@ -663,13 +664,13 @@ public: //! displayed in auto-completion lists. //! //! \sa clearRegisteredImages(), QextScintillaAPIs - void registerImage(int id,const QPixmap *pm); + void registerImage(int id,const TQPixmap *pm); //! Replace the current selection, set by a previous call to //! findFirst() or findNext(), with \a replaceStr. //! //! \sa findFirst(), findNext() - virtual void replace(const QString &replaceStr); + virtual void replace(const TQString &replaceStr); //! Reset the fold margin colours to their defaults. //! @@ -680,7 +681,7 @@ public: //! pattern of two colours, \a fore and \a back. //! //! \sa resetFoldMarginColors() - void setFoldMarginColors(const QColor &fore,const QColor &back); + void setFoldMarginColors(const TQColor &fore,const TQColor &back); //! Sets the APIs used for auto-completion to \a apis. If \a apis is 0 //! then any existing APIs are removed. @@ -721,15 +722,15 @@ public: //! Set the background colour of call tips to \a col. The default is //! white. - void setCallTipsBackgroundColor(const QColor &col); + void setCallTipsBackgroundColor(const TQColor &col); //! Set the foreground colour of call tips to \a col. The default is //! mid-gray. - void setCallTipsForegroundColor(const QColor &col); + void setCallTipsForegroundColor(const TQColor &col); //! Set the highlighted colour of call tip text to \a col. The default //! is dark blue. - void setCallTipsHighlightColor(const QColor &col); + void setCallTipsHighlightColor(const TQColor &col); //! Set the maximum number of call tips that are displayed to \a nr. //! If the maximum number is 0 then all applicable call tips are @@ -750,7 +751,7 @@ public: //! the length set by setEdgeColumn(). //! //! \sa edgeColor(), \sa setEdgeColumn - void setEdgeColor(const QColor &col); + void setEdgeColor(const TQColor &col); //! Set the number of the column after which lines are considered to be //! long. @@ -765,44 +766,44 @@ public: //! Set the default font. This has no effect if a language lexer has been //! set. - virtual void setFont(const QFont &f); + virtual void setFont(const TQFont &f); //! Set the background colour, including the alpha component, of marker //! \a mnr to \a col. If \a mnr is -1 then the colour of all markers //! is set. The default is white. //! //! \sa setMarkerForegroundColor() - void setMarkerBackgroundColor(const QColor &col,int mnr = -1); + void setMarkerBackgroundColor(const TQColor &col,int mnr = -1); //! Set the foreground colour of marker \a mnr to \a col. If \a mnr is //! -1 then the colour of all markers is set. The default is black. //! //! \sa setMarkerBackgroundColor() - void setMarkerForegroundColor(const QColor &col,int mnr = -1); + void setMarkerForegroundColor(const TQColor &col,int mnr = -1); //! Set the background colour used to display matched braces to \a col. //! The default is white. //! //! \sa setMatchedBraceForegroundColor() - void setMatchedBraceBackgroundColor(const QColor &col); + void setMatchedBraceBackgroundColor(const TQColor &col); //! Set the foreground colour used to display matched braces to \a col. //! The default is red. //! //! \sa setMatchedBraceBackgroundColor() - void setMatchedBraceForegroundColor(const QColor &col); + void setMatchedBraceForegroundColor(const TQColor &col); //! Set the background colour used to display unmatched braces to //! \a col. The default is white. //! //! \sa setUnmatchedBraceForegroundColor() - void setUnmatchedBraceBackgroundColor(const QColor &col); + void setUnmatchedBraceBackgroundColor(const TQColor &col); //! Set the foreground colour used to display unmatched braces to //! \a col. The default is blue. //! //! \sa setUnmatchedBraceBackgroundColor() - void setUnmatchedBraceForegroundColor(const QColor &col); + void setUnmatchedBraceForegroundColor(const TQColor &col); //! Set the visual flags displayed when a line is wrapped. \a eflag //! determines if and where the flag at the end of a line is displayed. @@ -816,7 +817,7 @@ public: //! currently selected text. //! //! \sa hasSelectedText() - QString selectedText(); + TQString selectedText(); //! Displays a user defined list which can be interacted with like an //! auto-completion list. \a id is an identifier for the list which @@ -825,7 +826,7 @@ public: //! populated. //! //! \sa cancelList(), isListActive(), userListActivated() - void showUserList(int id, const QStringList &list); + void showUserList(int id, const TQStringList &list); //! The standard command set is returned. QextScintillaCommandSet *standardCommands() const {return stdCmds;} @@ -844,14 +845,14 @@ public: //! Returns the text edit's text. //! //! \sa setText() - QString text(); + TQString text(); //! \overload //! //! Returns the text of line \a line. //! //! \sa setText() - QString text(int line); + TQString text(int line); //! Returns the height in pixels of the text in line number \a linenr. int textHeight(int linenr); @@ -869,7 +870,7 @@ public: public slots: //! Appends the text \a text to the end of the text edit. Note that //! the undo/redo history is cleared by this function. - virtual void append(const QString &text); + virtual void append(const TQString &text); //! Display an auto-completion list based on any installed APIs, the //! current contents of the document and the characters immediately to @@ -919,10 +920,10 @@ public slots: //! If any lines are currently folded then they are all unfolded. //! Otherwise all lines are folded. This has the same effect as //! clicking in the fold margin with the shift and control keys - //! pressed. If \a children is not set (the default) then only the top + //! pressed. If \a tqchildren is not set (the default) then only the top //! level fold points are affected, otherwise the state of all fold //! points are changed. - virtual void foldAll(bool children = FALSE); + virtual void foldAll(bool tqchildren = FALSE); //! If the line \a line is folded then it is unfolded. Otherwise it is //! folded. This has the same effect as clicking in the fold margin. @@ -934,11 +935,11 @@ public slots: virtual void indent(int line); //! Insert the text \a text at the current position. - virtual void insert(const QString &text); + virtual void insert(const TQString &text); //! Insert the text \a text in the line \a line at the position //! \a index. - virtual void insertAt(const QString &text,int line,int index); + virtual void insertAt(const TQString &text,int line,int index); //! If the cursor is either side of a brace character then move it to //! the position of the corresponding brace. @@ -1036,13 +1037,13 @@ public slots: virtual void setBackspaceUnindents(bool unindent); //! Sets the foreground colour of the caret to \a col. - virtual void setCaretForegroundColor(const QColor &col); + virtual void setCaretForegroundColor(const TQColor &col); //! Sets the background colour, including the alpha component, of the //! line containing the caret to \a col. //! //! \sa setCaretLineVisible() - virtual void setCaretLineBackgroundColor(const QColor &col); + virtual void setCaretLineBackgroundColor(const TQColor &col); //! Enables or disables, according to \a enable, the background color //! of the line containing the caret. @@ -1058,7 +1059,7 @@ public slots: //! effect if a language lexer has been set. //! //! \sa color() - virtual void setColor(const QColor &c); + virtual void setColor(const TQColor &c); //! Sets the cursor to the line \a line at the position \a index. //! @@ -1097,12 +1098,12 @@ public slots: //! Set the background colour of indentation guides to \a col. //! //! \sa setIndentationGuidesForegroundColor() - virtual void setIndentationGuidesBackgroundColor(const QColor &col); + virtual void setIndentationGuidesBackgroundColor(const TQColor &col); //! Set the foreground colour of indentation guides to \a col. //! //! \sa setIndentationGuidesBackgroundColor() - virtual void setIndentationGuidesForegroundColor(const QColor &col); + virtual void setIndentationGuidesForegroundColor(const TQColor &col); //! If \a tabs is TRUE then indentations are created using tabs and //! spaces, rather than just spaces. @@ -1126,16 +1127,16 @@ public slots: //! a gray. //! //! \sa setMarginsForegroundColor() - virtual void setMarginsBackgroundColor(const QColor &col); + virtual void setMarginsBackgroundColor(const TQColor &col); //! Set the font used in all margins to \a f. - virtual void setMarginsFont(const QFont &f); + virtual void setMarginsFont(const TQFont &f); //! Set the foreground colour of all margins to \a col. The default is //! black. //! //! \sa setMarginsBackgroundColor() - virtual void setMarginsForegroundColor(const QColor &col); + virtual void setMarginsForegroundColor(const TQColor &col); //! Enables or disables, according to \a lnrs, the display of line //! numbers in margin \a margin. @@ -1168,7 +1169,7 @@ public slots: //! display \a s in the current margin font. //! //! \sa marginWidth(), QextScintillaBase::SCI_SETMARGINWIDTHN - virtual void setMarginWidth(int margin,const QString &s); + virtual void setMarginWidth(int margin,const TQString &s); //! Sets the modified state of the text edit to \a m. Note that it is //! only possible to clear the modified state (where \a m is FALSE). @@ -1182,7 +1183,7 @@ public slots: //! effect if a language lexer has been set. //! //! \sa paper() - virtual void setPaper(const QColor &c); + virtual void setPaper(const TQColor &c); //! Sets the read-only state of the text edit to \a ro. //! @@ -1201,12 +1202,12 @@ public slots: //! selected text to \a col. //! //! \sa resetSelectionBackgroundColor(), setSelectionForegroundColor() - virtual void setSelectionBackgroundColor(const QColor &col); + virtual void setSelectionBackgroundColor(const TQColor &col); //! Sets the foreground colour of selected text to \a col. //! //! \sa resetSelectionForegroundColor(), setSelectionBackgroundColor() - virtual void setSelectionForegroundColor(const QColor &col); + virtual void setSelectionForegroundColor(const TQColor &col); //! If \a indent is TRUE then the tab key will indent a line rather //! then insert a tab character. @@ -1223,7 +1224,7 @@ public slots: //! undo/redo history is cleared by this function. //! //! \sa text() - virtual void setText(const QString &text); + virtual void setText(const TQString &text); //! Sets the current text encoding. If \a cp is TRUE then UTF8 is //! used, otherwise Latin1 is used. @@ -1314,7 +1315,7 @@ signals: //! clicked. //! //! \sa marginSensitivity(), setMarginSensitivity() - void marginClicked(int margin,int line,Qt::ButtonState state); + void marginClicked(int margin,int line,TQt::ButtonState state); //! This signal is emitted whenever the user attempts to modify //! read-only text. @@ -1341,7 +1342,7 @@ signals: //! the text of the item. //! //! \sa showUserList() - void userListActivated(int id, const QString &string); + void userListActivated(int id, const TQString &string); private slots: void handleCallTipClick(int dir); @@ -1355,10 +1356,10 @@ private slots: void handleSelectionChanged(bool yes); void handleUserListSelection(const char *text, int id); - void handleStyleColorChange(const QColor &c,int style); + void handleStyleColorChange(const TQColor &c,int style); void handleStyleEolFillChange(bool eolfill,int style); - void handleStyleFontChange(const QFont &f,int style); - void handleStylePaperChange(const QColor &c,int style); + void handleStyleFontChange(const TQFont &f,int style); + void handleStylePaperChange(const TQColor &c,int style); void handleUpdateUI(); @@ -1390,8 +1391,8 @@ private: void foldExpand(int &line,bool doExpand,bool force = FALSE, int visLevels = 0,int level = -1); void setFoldMarker(int marknr,int mark = SC_MARK_EMPTY); - QString convertText(const char *s); - void setStylesFont(const QFont &f,int style); + TQString convertText(const char *s); + void setStylesFont(const TQFont &f,int style); void braceMatch(); bool findMatchingBrace(long &brace,long &other,BraceMatch mode); @@ -1412,7 +1413,7 @@ private: FindState() : inProgress(0) {} bool inProgress; - QString expr; + TQString expr; bool wrap; bool forward; int flags; @@ -1437,18 +1438,18 @@ private: int maxCallTips; bool showSingle; long ctpos; - QGuardedPtr lex; + TQGuardedPtr lex; QextScintillaCommandSet *stdCmds; QextScintillaDocument doc; bool modified; - QColor nl_text_colour; - QColor nl_paper_colour; - QFont nl_font; + TQColor nl_text_colour; + TQColor nl_paper_colour; + TQFont nl_font; bool explicit_fillups; bool fillups_enabled; - QCString saved_fillups; + TQCString saved_fillups; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintilla(const QextScintilla &); QextScintilla &operator=(const QextScintilla &); #endif diff --git a/qt/qextscintillaapis.cpp b/qt/qextscintillaapis.cpp index 2ab7397..d6b0dda 100644 --- a/qt/qextscintillaapis.cpp +++ b/qt/qextscintillaapis.cpp @@ -3,27 +3,27 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include +#include +#include -#include "qextscintillaapis.h" +#include "tqextscintillaapis.h" // The ctor. @@ -39,18 +39,18 @@ QextScintillaAPIs::~QextScintillaAPIs() // Clear out all API information. -bool QextScintillaAPIs::load(const QString &fname) +bool QextScintillaAPIs::load(const TQString &fname) { - QFile f(fname); + TQFile f(fname); if (!f.open(IO_ReadOnly)) return FALSE; - QTextStream ts(&f); + TQTextStream ts(&f); for (;;) { - QString line = ts.readLine(); + TQString line = ts.readLine(); if (line.isNull()) break; @@ -65,7 +65,7 @@ bool QextScintillaAPIs::load(const QString &fname) // Add a single API entry. -void QextScintillaAPIs::add(const QString &entry) +void QextScintillaAPIs::add(const TQString &entry) { apis.append(entry); sorted = FALSE; @@ -81,12 +81,12 @@ void QextScintillaAPIs::clear() // Add auto-completion words to an existing list. -void QextScintillaAPIs::autoCompletionList(const QString &starts, bool cs, - QStringList &wlist) +void QextScintillaAPIs::autoCompletionList(const TQString &starts, bool cs, + TQStringList &wlist) { ensureSorted(); - QStringList::ConstIterator it = apis.begin(); + TQStringList::ConstIterator it = apis.begin(); // Find the first match in the sorted list. while (it != apis.end()) @@ -97,14 +97,14 @@ void QextScintillaAPIs::autoCompletionList(const QString &starts, bool cs, ++it; } - QString prev; + TQString prev; while (it != apis.end()) { if ((*it).find(starts, 0, cs) != 0) break; - QString w = (*it).section('(', 0, 0); + TQString w = (*it).section('(', 0, 0); if (w != prev) { @@ -120,30 +120,30 @@ void QextScintillaAPIs::autoCompletionList(const QString &starts, bool cs, // Return the call tip for a function. -QString QextScintillaAPIs::callTips(const QString &function,int maxnr, +TQString QextScintillaAPIs::callTips(const TQString &function,int maxnr, int commas) { ensureSorted(); - QStringList::ConstIterator it; + TQStringList::ConstIterator it; // Find the first match in the sorted list. for (it = apis.begin(); it != apis.end(); ++it) if ((*it).startsWith(function)) break; - QStringList cts; - QString prev; + TQStringList cts; + TQString prev; while (it != apis.end() && (*it).startsWith(function)) { if (maxnr > 0 && maxnr == cts.count()) break; - QString w = *it; + TQString w = *it; // Remove any image ID used by auto-completion. - w.replace(QRegExp("\\?[^(]*"),""); + w.replace(TQRegExp("\\?[^(]*"),""); if (w.find('(') == function.length() && w.contains(',') >= commas && w != prev) { @@ -161,7 +161,7 @@ QString QextScintillaAPIs::callTips(const QString &function,int maxnr, ctlist = cts; ctcursor = 0; - QString ct = cts[0]; + TQString ct = cts[0]; ct.prepend('\002'); @@ -175,9 +175,9 @@ QString QextScintillaAPIs::callTips(const QString &function,int maxnr, // Return the next or previous call tip. -QString QextScintillaAPIs::callTipsNextPrev(int dir) +TQString QextScintillaAPIs::callTipsNextPrev(int dir) { - QString ct; + TQString ct; // Get the call tip. if (dir == 1 && ctcursor > 0) diff --git a/qt/qextscintillaapis.h b/qt/qextscintillaapis.h index e112e41..79d8e41 100644 --- a/qt/qextscintillaapis.h +++ b/qt/qextscintillaapis.h @@ -3,30 +3,30 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLAAPIS_H -#define QEXTSCINTILLAAPIS_H +#ifndef TQEXTSCINTILLAAPIS_H +#define TQEXTSCINTILLAAPIS_H -#include +#include -#include +#include //! \brief The QextScintillaAPIs class represents the textual API information @@ -38,11 +38,11 @@ //! parenthesis, and finally followed by optional explanatory text. //! //! A function name may be followed by a `?' and a number. The number is used -//! by auto-completion to display a registered QPixmap with the function name. +//! by auto-completion to display a registered TQPixmap with the function name. //! //! All function names are used by auto-completion, but only those that include //! function parameters are used in call tips. -class QEXTSCINTILLA_EXPORT QextScintillaAPIs +class TQEXTSCINTILLA_EXPORT QextScintillaAPIs { public: //! Constructs a QextScintillaAPIs instance. @@ -52,11 +52,11 @@ public: ~QextScintillaAPIs(); //! Add the single API entry \a entry to the current set. - void add(const QString &entry); + void add(const TQString &entry); //! Load the API information from the file named \a fname, adding it to //! the current set. Returns TRUE if successful, otherwise FALSE. - bool load(const QString &fname); + bool load(const TQString &fname); //! Deletes all API information. void clear(); @@ -64,18 +64,18 @@ public: private: friend class QextScintilla; - void autoCompletionList(const QString &starts, bool cs, - QStringList &wlist); - QString callTips(const QString &function,int maxnr,int commas); - QString callTipsNextPrev(int dir); + void autoCompletionList(const TQString &starts, bool cs, + TQStringList &wlist); + TQString callTips(const TQString &function,int maxnr,int commas); + TQString callTipsNextPrev(int dir); void ensureSorted(); bool sorted; int ctcursor; - QStringList apis; - QStringList ctlist; + TQStringList apis; + TQStringList ctlist; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaAPIs(const QextScintillaAPIs &); QextScintillaAPIs &operator=(const QextScintillaAPIs &); #endif diff --git a/qt/qextscintillabase.cpp b/qt/qextscintillabase.cpp index 63330d4..86c4857 100644 --- a/qt/qextscintillabase.cpp +++ b/qt/qextscintillabase.cpp @@ -3,35 +3,35 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include "qextscintillabase.h" -#include "ScintillaQt.h" +#include "tqextscintillabase.h" +#include "ScintillaTQt.h" // The #defines in Scintilla.h and the enums in qextscintillabase.h conflict @@ -61,40 +61,40 @@ static bool lexersLinked = FALSE; // The list of instances. -static QPtrList poolList; +static TQPtrList poolList; // The ctor. -QextScintillaBase::QextScintillaBase(QWidget *parent,const char *name,WFlags f) - : QWidget(parent,name,f) +QextScintillaBase::QextScintillaBase(TQWidget *parent,const char *name,WFlags f) + : TQWidget(parent,name,f) { sci = 0; - QGridLayout *layout = new QGridLayout(this,2,2); + TQGridLayout *tqlayout = new TQGridLayout(this,2,2); - txtarea = new QWidget(this,0,WRepaintNoErase|WResizeNoErase); - txtarea -> setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding)); + txtarea = new TQWidget(this,0,WRepaintNoErase|WResizeNoErase); + txtarea -> tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding)); txtarea -> setMouseTracking(TRUE); txtarea -> setAcceptDrops(TRUE); txtarea -> setFocusPolicy(WheelFocus); txtarea -> setFocusProxy(this); - layout -> addWidget(txtarea,0,0); + tqlayout -> addWidget(txtarea,0,0); - vsb = new QScrollBar(Vertical,this); - layout -> addWidget(vsb,0,1); - connect(vsb,SIGNAL(valueChanged(int)),SLOT(handleVSb(int))); + vsb = new TQScrollBarQt::Vertical,this); + tqlayout -> addWidget(vsb,0,1); + connect(vsb,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(handleVSb(int))); - hsb = new QScrollBar(Horizontal,this); - layout -> addWidget(hsb,1,0); - connect(hsb,SIGNAL(valueChanged(int)),SLOT(handleHSb(int))); + hsb = new TQScrollBarQt::Horizontal,this); + tqlayout -> addWidget(hsb,1,0); + connect(hsb,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(handleHSb(int))); txtarea -> installEventFilter(this); setFocusPolicy(WheelFocus); - sci = new ScintillaQt(this); + sci = new ScintillaTQt(this); - SendScintilla(SCI_SETCARETPERIOD,QApplication::cursorFlashTime() / 2); + SendScintilla(SCI_SETCARETPERIOD,TQApplication::cursorFlashTime() / 2); // Make sure the lexers are linked in. if (!lexersLinked) @@ -104,10 +104,10 @@ QextScintillaBase::QextScintillaBase(QWidget *parent,const char *name,WFlags f) lexersLinked = TRUE; } - QClipboard *cb = QApplication::clipboard(); + TQClipboard *cb = TQApplication::tqclipboard(); if (cb -> supportsSelection()) - connect(cb,SIGNAL(selectionChanged()),SLOT(handleSelection())); + connect(cb,TQT_SIGNAL(selectionChanged()),TQT_SLOT(handleSelection())); // Add it to the pool. poolList.append(this); @@ -125,7 +125,7 @@ QextScintillaBase::~QextScintillaBase() // Return the viewport widget. -QWidget *QextScintillaBase::viewport() const +TQWidget *QextScintillaBase::viewport() const { return txtarea; } @@ -165,7 +165,7 @@ long QextScintillaBase::SendScintilla(unsigned int msg,long cpMin,long cpMax, // Send a message to the real Scintilla widget that needs a RangeToFormat // structure. long QextScintillaBase::SendScintilla(unsigned int msg,unsigned long wParam, - QPainter *hdc,const QRect &rc, + TQPainter *hdc,const TQRect &rc, long cpMin,long cpMax) { RangeToFormat rf; @@ -186,7 +186,7 @@ long QextScintillaBase::SendScintilla(unsigned int msg,unsigned long wParam, // Send a message to the real Scintilla widget that needs a colour. long QextScintillaBase::SendScintilla(unsigned int msg,unsigned long wParam, - const QColor &col) + const TQColor &col) { long lParam = (col.blue() << 16) | (col.green() << 8) | col.red(); @@ -195,7 +195,7 @@ long QextScintillaBase::SendScintilla(unsigned int msg,unsigned long wParam, // Send a message to the real Scintilla widget that needs a colour. -long QextScintillaBase::SendScintilla(unsigned int msg,const QColor &col) +long QextScintillaBase::SendScintilla(unsigned int msg,const TQColor &col) { unsigned long wParam = (col.blue() << 16) | (col.green() << 8) | col.red(); @@ -204,61 +204,61 @@ long QextScintillaBase::SendScintilla(unsigned int msg,const QColor &col) // Handle events on behalf of the text area. -bool QextScintillaBase::eventFilter(QObject *o,QEvent *e) +bool QextScintillaBase::eventFilter(TQObject *o,TQEvent *e) { if (o != txtarea) - return QWidget::eventFilter(o,e); + return TQWidget::eventFilter(o,e); bool used = TRUE; switch (e -> type()) { - case QEvent::Paint: - sci -> paintEvent(static_cast(e)); + case TQEvent::Paint: + sci -> paintEvent(static_cast(e)); break; - case QEvent::Resize: + case TQEvent::Resize: sci -> ChangeSize(); break; - case QEvent::MouseButtonPress: - mousePress(static_cast(e)); + case TQEvent::MouseButtonPress: + mousePress(static_cast(e)); break; - case QEvent::MouseButtonRelease: - mouseRelease(static_cast(e)); + case TQEvent::MouseButtonRelease: + mouseRelease(static_cast(e)); break; - case QEvent::MouseButtonDblClick: - mouseDoubleClick(static_cast(e)); + case TQEvent::MouseButtonDblClick: + mouseDoubleClick(static_cast(e)); break; - case QEvent::MouseMove: - mouseMove(static_cast(e)); + case TQEvent::MouseMove: + mouseMove(static_cast(e)); break; - case QEvent::Wheel: - mouseWheel(static_cast(e)); + case TQEvent::Wheel: + mouseWheel(static_cast(e)); break; - case QEvent::ContextMenu: - contextMenu(static_cast(e)); + case TQEvent::ContextMenu: + contextMenu(static_cast(e)); break; - case QEvent::DragEnter: - sci -> dragEnterEvent(static_cast(e)); + case TQEvent::DragEnter: + sci -> dragEnterEvent(static_cast(e)); break; - case QEvent::DragMove: - sci -> dragMoveEvent(static_cast(e)); + case TQEvent::DragMove: + sci -> dragMoveEvent(static_cast(e)); break; - case QEvent::DragLeave: - sci -> dragLeaveEvent(static_cast(e)); + case TQEvent::DragLeave: + sci -> dragLeaveEvent(static_cast(e)); break; - case QEvent::Drop: - sci -> dropEvent(static_cast(e)); + case TQEvent::Drop: + sci -> dropEvent(static_cast(e)); break; default: @@ -269,14 +269,14 @@ bool QextScintillaBase::eventFilter(QObject *o,QEvent *e) } -// Handle the timer on behalf of the ScintillaQt instance. +// Handle the timer on behalf of the ScintillaTQt instance. void QextScintillaBase::handleTimer() { sci -> Tick(); } -// Handle the context menu on behalf of the ScintillaQt instance. +// Handle the context menu on behalf of the ScintillaTQt instance. void QextScintillaBase::handlePopUp(int cmd) { sci -> Command(cmd); @@ -284,21 +284,21 @@ void QextScintillaBase::handlePopUp(int cmd) // Re-implemented to tell the widget it has the focus. -void QextScintillaBase::focusInEvent(QFocusEvent *) +void QextScintillaBase::focusInEvent(TQFocusEvent *) { sci -> SetFocusState(true); } // Re-implemented to tell the widget it has lost the focus. -void QextScintillaBase::focusOutEvent(QFocusEvent *) +void QextScintillaBase::focusOutEvent(TQFocusEvent *) { sci -> SetFocusState(false); } // Handle a mouse button press. -void QextScintillaBase::mousePress(QMouseEvent *me) +void QextScintillaBase::mousePress(TQMouseEvent *me) { setFocus(); @@ -312,7 +312,7 @@ void QextScintillaBase::mousePress(QMouseEvent *me) // It is a triple click if the timer is running and the // mouse hasn't moved too much. - if (triple_click.isActive() && (me -> globalPos() - triple_click_at).manhattanLength() < QApplication::startDragDistance()) + if (triple_click.isActive() && (me -> globalPos() - triple_click_at).manhattanLength() < TQApplication::startDragDistance()) clickTime = sci -> lastClickTime + Platform::DoubleClickTime() - 1; else clickTime = sci -> lastClickTime + Platform::DoubleClickTime() + 1; @@ -329,7 +329,7 @@ void QextScintillaBase::mousePress(QMouseEvent *me) case MidButton: { - QClipboard *cb = QApplication::clipboard(); + TQClipboard *cb = TQApplication::tqclipboard(); if (cb -> supportsSelection()) { @@ -353,9 +353,9 @@ void QextScintillaBase::mousePress(QMouseEvent *me) // Handle a context menu event. -void QextScintillaBase::contextMenu(QContextMenuEvent *cme) +void QextScintillaBase::contextMenu(TQContextMenuEvent *cme) { - QApplication::sendEvent(this,cme); + TQApplication::sendEvent(this,cme); if (!cme -> isConsumed()) sci -> ContextMenu(Point(cme -> globalX(),cme -> globalY())); @@ -363,7 +363,7 @@ void QextScintillaBase::contextMenu(QContextMenuEvent *cme) // Handle a mouse button releases. -void QextScintillaBase::mouseRelease(QMouseEvent *me) +void QextScintillaBase::mouseRelease(TQMouseEvent *me) { if (sci -> HaveMouseCapture() && me -> button() == LeftButton) { @@ -375,26 +375,26 @@ void QextScintillaBase::mouseRelease(QMouseEvent *me) // Handle a mouse move. -void QextScintillaBase::mouseMove(QMouseEvent *me) +void QextScintillaBase::mouseMove(TQMouseEvent *me) { sci -> ButtonMove(Point(me -> x(),me -> y())); } // Handle a mouse wheel event. -void QextScintillaBase::mouseWheel(QWheelEvent *we) +void QextScintillaBase::mouseWheel(TQWheelEvent *we) { setFocus(); - if (we -> orientation() == Horizontal || we -> state() & ShiftButton) - QApplication::sendEvent(hsb,we); - else if (we -> orientation() == Vertical) - QApplication::sendEvent(vsb,we); + if (we -> orientation() ==Qt::Horizontal || we -> state() & ShiftButton) + TQApplication::sendEvent(hsb,we); + else if (we -> orientation() ==Qt::Vertical) + TQApplication::sendEvent(vsb,we); } // Handle a mouse button double click. -void QextScintillaBase::mouseDoubleClick(QMouseEvent *me) +void QextScintillaBase::mouseDoubleClick(TQMouseEvent *me) { setFocus(); @@ -412,13 +412,13 @@ void QextScintillaBase::mouseDoubleClick(QMouseEvent *me) // Remember the current position and time in case it turns into a // triple click. triple_click_at = me -> globalPos(); - triple_click.start(QApplication::doubleClickInterval()); + triple_click.start(TQApplication::doubleClickInterval()); } } // Re-implemented to handle key press events. -void QextScintillaBase::keyPressEvent(QKeyEvent *ke) +void QextScintillaBase::keyPressEvent(TQKeyEvent *ke) { unsigned key; @@ -488,7 +488,7 @@ void QextScintillaBase::keyPressEvent(QKeyEvent *ke) // key. if (ke -> text().length() == 1) { - if ((key = ke -> text()[0].unicode()) >= 0x80) + if ((key = ke -> text()[0].tqunicode()) >= 0x80) key = 0; } else @@ -521,7 +521,7 @@ void QextScintillaBase::keyPressEvent(QKeyEvent *ke) { if (ke -> text().length() > 0 && !ke -> text()[0].isNull()) { - QCString s = ke -> text().utf8(); + TQCString s = ke -> text().utf8(); sci -> AddCharUTF(s.data(),s.length()); @@ -558,25 +558,25 @@ void QextScintillaBase::handleVSb(int val) // Handle the horizontal scrollbar. void QextScintillaBase::handleHSb(int val) { - sci -> HorizontalScrollTo(val); + sci ->Qt::HorizontalScrollTo(val); } // Return the current prefered size. -QSize QextScintillaBase::sizeHint() const +TQSize QextScintillaBase::tqsizeHint() const { int height = sci -> vs.lineHeight * sci -> pdoc -> LinesTotal(); if (sci -> horizontalScrollBarVisible) - height += hsb -> sizeHint().height(); + height += hsb -> tqsizeHint().height(); - return QSize(sci -> scrollWidth,height); + return TQSize(sci -> scrollWidth,height); } // Handle the selection changing. void QextScintillaBase::handleSelection() { - if (!QApplication::clipboard() -> ownsSelection()) + if (!TQApplication::tqclipboard() -> ownsSelection()) sci -> UnclaimSelection(); } diff --git a/qt/qextscintillabase.h b/qt/qextscintillabase.h index 80222e5..2bf2092 100644 --- a/qt/qextscintillabase.h +++ b/qt/qextscintillabase.h @@ -3,40 +3,40 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLABASE_H -#define QEXTSCINTILLABASE_H +#ifndef TQEXTSCINTILLABASE_H +#define TQEXTSCINTILLABASE_H -#include -#include -#include -#include +#include +#include +#include +#include -#include +#include -class ScintillaQt; -class QScrollBar; -class QColor; -class QPainter; -class QPixmap; +class ScintillaTQt; +class TQScrollBar; +class TQColor; +class TQPainter; +class TQPixmap; //! \brief The QextScintillaBase class implements the Scintilla editor widget @@ -47,15 +47,16 @@ class QPixmap; //! completion and call tips. It is particularly useful as a programmer's //! editor. //! -//! QextScintillaBase is a port to Qt of Scintilla. It implements the standard +//! QextScintillaBase is a port to TQt of Scintilla. It implements the standard //! Scintilla API which consists of a number of messages each taking up to //! two arguments. //! //! See QextScintilla for the implementation of a higher level API that is more -//! consistent with the rest of the Qt toolkit. -class QEXTSCINTILLA_EXPORT QextScintillaBase : public QWidget +//! consistent with the rest of the TQt toolkit. +class TQEXTSCINTILLA_EXPORT QextScintillaBase : public TQWidget { Q_OBJECT + TQ_OBJECT public: //! The low-level Scintilla API is implemented as a set of messages @@ -301,7 +302,7 @@ public: //! markers to a pixmap. Pixmaps use the SC_MARK_PIXMAP marker //! symbol. //! \a wParam is the number of the marker. - //! \a lParam is a pointer to a QPixmap instance. Note that in + //! \a lParam is a pointer to a TQPixmap instance. Note that in //! other ports of Scintilla this is a pointer to either raw or //! textual XPM image data. //! @@ -1290,7 +1291,7 @@ public: //! This message takes a copy of an image and registers it so //! that it can be refered to by a unique integer identifier. //! \a wParam is the image's identifier. - //! \a lParam is a pointer to a QPixmap instance. Note that in + //! \a lParam is a pointer to a TQPixmap instance. Note that in //! other ports of Scintilla this is a pointer to either raw or //! textual XPM image data. //! @@ -1772,7 +1773,7 @@ public: { INDIC_MAX = 7, INDIC_PLAIN = 0, - INDIC_SQUIGGLE = 1, + INDIC_STQUIGGLE = 1, INDIC_TT = 2, INDIC_DIAGONAL = 3, INDIC_STRIKE = 4, @@ -2171,7 +2172,7 @@ public: //! Construct an empty QextScintillaBase with parent \a parent, name //! \a name, and widget flags \a f. - QextScintillaBase(QWidget *parent = 0,const char *name = 0, + QextScintillaBase(TQWidget *parent = 0,const char *name = 0, WFlags f = 0); //! Destroys the QextScintillaBase instance. @@ -2225,34 +2226,34 @@ public: //! \overload long SendScintilla(unsigned int msg,unsigned long wParam, - const QColor &col); + const TQColor &col); //! \overload - long SendScintilla(unsigned int msg,const QColor &col); + long SendScintilla(unsigned int msg,const TQColor &col); //! \overload - long SendScintilla(unsigned int msg,unsigned long wParam,QPainter *hdc, - const QRect &rc,long cpMin,long cpMax); + long SendScintilla(unsigned int msg,unsigned long wParam,TQPainter *hdc, + const TQRect &rc,long cpMin,long cpMax); //! \overload long SendScintilla(unsigned int msg,unsigned long wParam, - const QPixmap *lParam) + const TQPixmap *lParam) { return SendScintilla(msg,wParam,reinterpret_cast(lParam)); } //! Returns the recommended size of the widget. - virtual QSize sizeHint() const; + virtual TQSize tqsizeHint() const; //! Returns the viewport widget. This is the widget that actually //! contains the text. - QWidget *viewport() const; + TQWidget *viewport() const; signals: //! This signal is emitted when text is selected or de-selected. //! \a yes is TRUE if text has been selected and FALSE if text has been //! deselected. - void QSCN_SELCHANGED(bool yes); + void TQSCN_SELCHANGED(bool yes); //! This signal is emitted when the user selects an item in an //! auto-completion list. It is emitted before the selection is @@ -2363,16 +2364,16 @@ signals: protected: //! Re-implemented to filter certain events. - bool eventFilter(QObject *o,QEvent *e); + bool eventFilter(TQObject *o,TQEvent *e); //! Re-implemented to handle the key presses for the widget. - virtual void keyPressEvent(QKeyEvent *ke); + virtual void keyPressEvent(TQKeyEvent *ke); //! Re-implemented to tell Scintilla it has the focus. - virtual void focusInEvent(QFocusEvent *); + virtual void focusInEvent(TQFocusEvent *); //! Re-implemented to tell Scintilla it has lost the focus. - virtual void focusOutEvent(QFocusEvent *); + virtual void focusOutEvent(TQFocusEvent *); //! Re-implemented to allow tabs to be entered as text. virtual bool focusNextPrevChild(bool); @@ -2388,23 +2389,23 @@ private slots: void handleSelection(); private: - friend class ScintillaQt; - - void mousePress(QMouseEvent *me); - void mouseRelease(QMouseEvent *me); - void mouseDoubleClick(QMouseEvent *me); - void mouseMove(QMouseEvent *me); - void mouseWheel(QWheelEvent *we); - void contextMenu(QContextMenuEvent *cme); - - ScintillaQt *sci; - QPoint triple_click_at; - QTimer triple_click; - QScrollBar *vsb; - QScrollBar *hsb; - QWidget *txtarea; - -#if defined(Q_DISABLE_COPY) + friend class ScintillaTQt; + + void mousePress(TQMouseEvent *me); + void mouseRelease(TQMouseEvent *me); + void mouseDoubleClick(TQMouseEvent *me); + void mouseMove(TQMouseEvent *me); + void mouseWheel(TQWheelEvent *we); + void contextMenu(TQContextMenuEvent *cme); + + ScintillaTQt *sci; + TQPoint triple_click_at; + TQTimer triple_click; + TQScrollBar *vsb; + TQScrollBar *hsb; + TQWidget *txtarea; + +#if defined(TQ_DISABLE_COPY) QextScintillaBase(const QextScintillaBase &); QextScintillaBase &operator=(const QextScintillaBase &); #endif diff --git a/qt/qextscintillacommand.cpp b/qt/qextscintillacommand.cpp index 57f9ee1..ab37b92 100644 --- a/qt/qextscintillacommand.cpp +++ b/qt/qextscintillacommand.cpp @@ -3,29 +3,29 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include +#include +#include -#include "qextscintillacommand.h" -#include "qextscintilla.h" -#include "qextscintillabase.h" +#include "tqextscintillacommand.h" +#include "tqextscintilla.h" +#include "tqextscintillabase.h" static int convert(int key); @@ -99,23 +99,23 @@ bool QextScintillaCommand::validKey(int key) } -// Convert a Qt character to the Scintilla equivalent. Return zero if it is +// Convert a TQt character to the Scintilla equivalent. Return zero if it is // invalid. static int convert(int key) { // Convert the modifiers. int sci_mod = 0; - if (key & Qt::SHIFT) + if (key & TQt::SHIFT) sci_mod |= QextScintillaBase::SCMOD_SHIFT; - if (key & Qt::CTRL) + if (key & TQt::CTRL) sci_mod |= QextScintillaBase::SCMOD_CTRL; - if (key & Qt::ALT) + if (key & TQt::ALT) sci_mod |= QextScintillaBase::SCMOD_ALT; - key &= ~Qt::MODIFIER_MASK; + key &= ~TQt::MODIFIER_MASK; // Convert the key. int sci_key; @@ -123,59 +123,59 @@ static int convert(int key) if (key > 0x7f) switch (key) { - case Qt::Key_Down: + case TQt::Key_Down: sci_key = QextScintillaBase::SCK_DOWN; break; - case Qt::Key_Up: + case TQt::Key_Up: sci_key = QextScintillaBase::SCK_UP; break; - case Qt::Key_Left: + case TQt::Key_Left: sci_key = QextScintillaBase::SCK_LEFT; break; - case Qt::Key_Right: + case TQt::Key_Right: sci_key = QextScintillaBase::SCK_RIGHT; break; - case Qt::Key_Home: + case TQt::Key_Home: sci_key = QextScintillaBase::SCK_HOME; break; - case Qt::Key_End: + case TQt::Key_End: sci_key = QextScintillaBase::SCK_END; break; - case Qt::Key_Prior: + case TQt::Key_Prior: sci_key = QextScintillaBase::SCK_PRIOR; break; - case Qt::Key_Next: + case TQt::Key_Next: sci_key = QextScintillaBase::SCK_NEXT; break; - case Qt::Key_Delete: + case TQt::Key_Delete: sci_key = QextScintillaBase::SCK_DELETE; break; - case Qt::Key_Insert: + case TQt::Key_Insert: sci_key = QextScintillaBase::SCK_INSERT; break; - case Qt::Key_Escape: + case TQt::Key_Escape: sci_key = QextScintillaBase::SCK_ESCAPE; break; - case Qt::Key_Backspace: + case TQt::Key_Backspace: sci_key = QextScintillaBase::SCK_BACK; break; - case Qt::Key_Tab: + case TQt::Key_Tab: sci_key = QextScintillaBase::SCK_TAB; break; - case Qt::Key_Return: + case TQt::Key_Return: sci_key = QextScintillaBase::SCK_RETURN; break; @@ -193,7 +193,7 @@ static int convert(int key) // Return the translated user friendly description. -QString QextScintillaCommand::description() const +TQString QextScintillaCommand::description() const { - return qApp -> translate("QextScintillaCommand",descCmd); + return tqApp -> translate("QextScintillaCommand",descCmd); } diff --git a/qt/qextscintillacommand.h b/qt/qextscintillacommand.h index 0e4557c..0cd365e 100644 --- a/qt/qextscintillacommand.h +++ b/qt/qextscintillacommand.h @@ -3,30 +3,30 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLACOMMAND_H -#define QEXTSCINTILLACOMMAND_H +#ifndef TQEXTSCINTILLACOMMAND_H +#define TQEXTSCINTILLACOMMAND_H -#include +#include -#include +#include class QextScintilla; @@ -38,7 +38,7 @@ class QextScintilla; //! Methods are provided to change the keys bound to the command and to remove //! a key binding. Each command has a user friendly description of the command //! for use in key mapping dialogs. -class QEXTSCINTILLA_EXPORT QextScintillaCommand +class TQEXTSCINTILLA_EXPORT QextScintillaCommand { public: //! Binds the key \a key to the command. If \a key is 0 then the key @@ -74,7 +74,7 @@ public: static bool validKey(int key); //! The user friendly description of the command is returned. - QString description() const; + TQString description() const; private: friend class QextScintillaCommandSet; @@ -90,7 +90,7 @@ private: int qkey, scikey, qaltkey, scialtkey; const char *descCmd; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaCommand(const QextScintillaCommand &); QextScintillaCommand &operator=(const QextScintillaCommand &); #endif diff --git a/qt/qextscintillacommandset.cpp b/qt/qextscintillacommandset.cpp index 9c7fa59..b9c126c 100644 --- a/qt/qextscintillacommandset.cpp +++ b/qt/qextscintillacommandset.cpp @@ -3,28 +3,28 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include +#include -#include "qextscintillacommandset.h" -#include "qextscintillacommand.h" -#include "qextscintilla.h" +#include "tqextscintillacommandset.h" +#include "tqextscintillacommand.h" +#include "tqextscintilla.h" // The ctor. @@ -41,527 +41,527 @@ QextScintillaCommandSet::QextScintillaCommandSet(QextScintilla *qs) : qsci(qs) static struct sci_cmd cmd_table[] = { { QextScintillaBase::SCI_LINEDOWN, - Qt::Key_Down, + TQt::Key_Down, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move down one line") }, { QextScintillaBase::SCI_LINEDOWNEXTEND, - Qt::Key_Down | Qt::SHIFT, + TQt::Key_Down | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection down one line") }, { QextScintillaBase::SCI_LINESCROLLDOWN, - Qt::Key_Down | Qt::CTRL, + TQt::Key_Down | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Scroll view down one line") }, { QextScintillaBase::SCI_LINEDOWNRECTEXTEND, - Qt::Key_Down | Qt::ALT | Qt::SHIFT, + TQt::Key_Down | TQt::ALT | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend rectangular selection down one line") }, { QextScintillaBase::SCI_LINEUP, - Qt::Key_Up, + TQt::Key_Up, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move up one line") }, { QextScintillaBase::SCI_LINEUPEXTEND, - Qt::Key_Up | Qt::SHIFT, + TQt::Key_Up | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection up one line") }, { QextScintillaBase::SCI_LINESCROLLUP, - Qt::Key_Up | Qt::CTRL, + TQt::Key_Up | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Scroll view up one line") }, { QextScintillaBase::SCI_LINEUPRECTEXTEND, - Qt::Key_Up | Qt::ALT | Qt::SHIFT, + TQt::Key_Up | TQt::ALT | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend rectangular selection up one line") }, { QextScintillaBase::SCI_PARAUP, - Qt::Key_BracketLeft | Qt::CTRL, + TQt::Key_BracketLeft | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move up one paragraph") }, { QextScintillaBase::SCI_PARAUPEXTEND, - Qt::Key_BracketLeft | Qt::CTRL | Qt::SHIFT, + TQt::Key_BracketLeft | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection up one paragraph") }, { QextScintillaBase::SCI_PARADOWN, - Qt::Key_BracketRight | Qt::CTRL, + TQt::Key_BracketRight | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move down one paragraph") }, { QextScintillaBase::SCI_PARADOWNEXTEND, - Qt::Key_BracketRight | Qt::CTRL | Qt::SHIFT, + TQt::Key_BracketRight | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection down one paragraph") }, { QextScintillaBase::SCI_CHARLEFT, - Qt::Key_Left, + TQt::Key_Left, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move left one character") }, { QextScintillaBase::SCI_CHARLEFTEXTEND, - Qt::Key_Left | Qt::SHIFT, + TQt::Key_Left | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection left one character") }, { QextScintillaBase::SCI_WORDLEFT, - Qt::Key_Left | Qt::CTRL, + TQt::Key_Left | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move left one word") }, { QextScintillaBase::SCI_WORDLEFTEXTEND, - Qt::Key_Left | Qt::SHIFT | Qt::CTRL, + TQt::Key_Left | TQt::SHIFT | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection left one word") }, { QextScintillaBase::SCI_CHARLEFTRECTEXTEND, - Qt::Key_Left | Qt::ALT | Qt::SHIFT, + TQt::Key_Left | TQt::ALT | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend rectangular selection left one character") }, { QextScintillaBase::SCI_CHARRIGHT, - Qt::Key_Right, + TQt::Key_Right, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move right one character") }, { QextScintillaBase::SCI_CHARRIGHTEXTEND, - Qt::Key_Right | Qt::SHIFT, + TQt::Key_Right | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection right one character") }, { QextScintillaBase::SCI_WORDRIGHT, - Qt::Key_Right | Qt::CTRL, + TQt::Key_Right | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move right one word") }, { QextScintillaBase::SCI_WORDRIGHTEXTEND, - Qt::Key_Right | Qt::CTRL | Qt::SHIFT, + TQt::Key_Right | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection right one word") }, { QextScintillaBase::SCI_CHARRIGHTRECTEXTEND, - Qt::Key_Right | Qt::ALT | Qt::SHIFT, + TQt::Key_Right | TQt::ALT | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend rectangular selection right one character") }, { QextScintillaBase::SCI_WORDPARTLEFT, - Qt::Key_Slash | Qt::CTRL, + TQt::Key_Slash | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move left one word part") }, { QextScintillaBase::SCI_WORDPARTLEFTEXTEND, - Qt::Key_Slash | Qt::CTRL | Qt::SHIFT, + TQt::Key_Slash | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection left one word part") }, { QextScintillaBase::SCI_WORDPARTRIGHT, - Qt::Key_Backslash | Qt::CTRL, + TQt::Key_Backslash | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move right one word part") }, { QextScintillaBase::SCI_WORDPARTRIGHTEXTEND, - Qt::Key_Backslash | Qt::CTRL | Qt::SHIFT, + TQt::Key_Backslash | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection right one word part") }, { QextScintillaBase::SCI_VCHOME, - Qt::Key_Home, + TQt::Key_Home, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move to first visible character in line") }, { QextScintillaBase::SCI_VCHOMEEXTEND, - Qt::Key_Home | Qt::SHIFT, + TQt::Key_Home | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection to first visible character in line") }, { QextScintillaBase::SCI_DOCUMENTSTART, - Qt::Key_Home | Qt::CTRL, + TQt::Key_Home | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move to start of text") }, { QextScintillaBase::SCI_DOCUMENTSTARTEXTEND, - Qt::Key_Home | Qt::CTRL | Qt::SHIFT, + TQt::Key_Home | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection to start of text") }, { QextScintillaBase::SCI_HOMEDISPLAY, - Qt::Key_Home | Qt::ALT, + TQt::Key_Home | TQt::ALT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move to start of displayed line") }, { QextScintillaBase::SCI_HOMEDISPLAYEXTEND, 0, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection to start of line") }, { QextScintillaBase::SCI_VCHOMERECTEXTEND, - Qt::Key_Home | Qt::ALT | Qt::SHIFT, + TQt::Key_Home | TQt::ALT | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend rectangular selection to first visible character in line") }, { QextScintillaBase::SCI_LINEEND, - Qt::Key_End, + TQt::Key_End, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move to end of line") }, { QextScintillaBase::SCI_LINEENDEXTEND, - Qt::Key_End | Qt::SHIFT, + TQt::Key_End | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection to end of line") }, { QextScintillaBase::SCI_DOCUMENTEND, - Qt::Key_End | Qt::CTRL, + TQt::Key_End | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move to end of text") }, { QextScintillaBase::SCI_DOCUMENTENDEXTEND, - Qt::Key_End | Qt::CTRL | Qt::SHIFT, + TQt::Key_End | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection to end of text") }, { QextScintillaBase::SCI_LINEENDDISPLAY, - Qt::Key_End | Qt::ALT, + TQt::Key_End | TQt::ALT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move to end of displayed line") }, { QextScintillaBase::SCI_LINEENDDISPLAYEXTEND, 0, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection to end of displayed line") }, { QextScintillaBase::SCI_LINEENDRECTEXTEND, - Qt::Key_End | Qt::ALT | Qt::SHIFT, + TQt::Key_End | TQt::ALT | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend rectangular selection to end of line") }, { QextScintillaBase::SCI_PAGEUP, - Qt::Key_Prior, + TQt::Key_Prior, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move up one page") }, { QextScintillaBase::SCI_PAGEUPEXTEND, - Qt::Key_Prior | Qt::SHIFT, + TQt::Key_Prior | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection up one page") }, { QextScintillaBase::SCI_PAGEUPRECTEXTEND, - Qt::Key_Prior | Qt::ALT | Qt::SHIFT, + TQt::Key_Prior | TQt::ALT | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend rectangular selection up one page") }, { QextScintillaBase::SCI_PAGEDOWN, - Qt::Key_Next, + TQt::Key_Next, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move down one page") }, { QextScintillaBase::SCI_PAGEDOWNEXTEND, - Qt::Key_Next | Qt::SHIFT, + TQt::Key_Next | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend selection down one page") }, { QextScintillaBase::SCI_PAGEDOWNRECTEXTEND, - Qt::Key_Next | Qt::ALT | Qt::SHIFT, + TQt::Key_Next | TQt::ALT | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Extend rectangular selection down one page") }, { QextScintillaBase::SCI_CLEAR, - Qt::Key_Delete, + TQt::Key_Delete, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Delete current character") }, { QextScintillaBase::SCI_CUT, - Qt::Key_X | Qt::CTRL, - Qt::Key_Delete | Qt::SHIFT, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQt::Key_X | TQt::CTRL, + TQt::Key_Delete | TQt::SHIFT, + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Cut selection") }, { QextScintillaBase::SCI_DELWORDRIGHT, - Qt::Key_Delete | Qt::CTRL, + TQt::Key_Delete | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Delete word to right") }, { QextScintillaBase::SCI_DELLINERIGHT, - Qt::Key_Delete | Qt::CTRL | Qt::SHIFT, + TQt::Key_Delete | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Delete line to right") }, { QextScintillaBase::SCI_EDITTOGGLEOVERTYPE, - Qt::Key_Insert, + TQt::Key_Insert, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Toggle insert/overtype") }, { QextScintillaBase::SCI_PASTE, - Qt::Key_V | Qt::CTRL, - Qt::Key_Insert | Qt::SHIFT, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQt::Key_V | TQt::CTRL, + TQt::Key_Insert | TQt::SHIFT, + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Paste") }, { QextScintillaBase::SCI_COPY, - Qt::Key_C | Qt::CTRL, - Qt::Key_Insert | Qt::CTRL, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQt::Key_C | TQt::CTRL, + TQt::Key_Insert | TQt::CTRL, + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Copy selection") }, { QextScintillaBase::SCI_CANCEL, - Qt::Key_Escape, + TQt::Key_Escape, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Cancel") }, { QextScintillaBase::SCI_DELETEBACK, - Qt::Key_Backspace, - Qt::Key_Backspace | Qt::SHIFT, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQt::Key_Backspace, + TQt::Key_Backspace | TQt::SHIFT, + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Delete previous character") }, { QextScintillaBase::SCI_DELWORDLEFT, - Qt::Key_Backspace | Qt::CTRL, + TQt::Key_Backspace | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Delete word to left") }, { QextScintillaBase::SCI_UNDO, - Qt::Key_Z | Qt::CTRL, - Qt::Key_Backspace | Qt::ALT, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQt::Key_Z | TQt::CTRL, + TQt::Key_Backspace | TQt::ALT, + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Undo the last command") }, { QextScintillaBase::SCI_DELLINELEFT, - Qt::Key_Backspace | Qt::CTRL | Qt::SHIFT, + TQt::Key_Backspace | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Delete line to left") }, { QextScintillaBase::SCI_REDO, - Qt::Key_Y | Qt::CTRL, + TQt::Key_Y | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Redo last command") }, { QextScintillaBase::SCI_SELECTALL, - Qt::Key_A | Qt::CTRL, + TQt::Key_A | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Select all text") }, { QextScintillaBase::SCI_TAB, - Qt::Key_Tab, + TQt::Key_Tab, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Indent one level") }, { QextScintillaBase::SCI_BACKTAB, - Qt::Key_Tab | Qt::SHIFT, + TQt::Key_Tab | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Move back one indentation level") }, { QextScintillaBase::SCI_NEWLINE, - Qt::Key_Return, - Qt::Key_Return | Qt::SHIFT, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQt::Key_Return, + TQt::Key_Return | TQt::SHIFT, + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Insert new line") }, { QextScintillaBase::SCI_ZOOMIN, - Qt::Key_Plus | Qt::CTRL, + TQt::Key_Plus | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Zoom in") }, { QextScintillaBase::SCI_ZOOMOUT, - Qt::Key_Minus | Qt::CTRL, + TQt::Key_Minus | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Zoom out") }, { QextScintillaBase::SCI_SETZOOM, 0, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Set zoom") }, { QextScintillaBase::SCI_FORMFEED, 0, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Formfeed") }, { QextScintillaBase::SCI_LINECUT, - Qt::Key_L | Qt::CTRL, + TQt::Key_L | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Cut current line") }, { QextScintillaBase::SCI_LINEDELETE, - Qt::Key_L | Qt::CTRL | Qt::SHIFT, + TQt::Key_L | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Delete current line") }, { QextScintillaBase::SCI_LINECOPY, - Qt::Key_T | Qt::CTRL | Qt::SHIFT, + TQt::Key_T | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Copy current line") }, { QextScintillaBase::SCI_LINETRANSPOSE, - Qt::Key_T | Qt::CTRL, + TQt::Key_T | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Swap current and previous lines") }, { QextScintillaBase::SCI_SELECTIONDUPLICATE, - Qt::Key_D | Qt::CTRL, + TQt::Key_D | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Duplicate selection") }, { QextScintillaBase::SCI_LOWERCASE, - Qt::Key_U | Qt::CTRL, + TQt::Key_U | TQt::CTRL, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Convert selection to lower case") }, { QextScintillaBase::SCI_UPPERCASE, - Qt::Key_U | Qt::CTRL | Qt::SHIFT, + TQt::Key_U | TQt::CTRL | TQt::SHIFT, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Convert selection to upper case") }, { QextScintillaBase::SCI_DELETEBACKNOTLINE, 0, 0, - QT_TRANSLATE_NOOP("QextScintillaCommand", + TQT_TRANSLATE_NOOP("QextScintillaCommand", "Delete previous character if not at line start") }, }; @@ -577,10 +577,10 @@ QextScintillaCommandSet::QextScintillaCommandSet(QextScintilla *qs) : qsci(qs) // Read the command set from settings. -bool QextScintillaCommandSet::readSettings(QSettings &qs,const char *prefix) +bool QextScintillaCommandSet::readSettings(TQSettings &qs,const char *prefix) { bool rc = TRUE; - QString skey; + TQString skey; for (QextScintillaCommand *cmd = cmds.first(); cmd; cmd = cmds.next()) { @@ -611,10 +611,10 @@ bool QextScintillaCommandSet::readSettings(QSettings &qs,const char *prefix) // Write the command set to settings. -bool QextScintillaCommandSet::writeSettings(QSettings &qs,const char *prefix) +bool QextScintillaCommandSet::writeSettings(TQSettings &qs,const char *prefix) { bool rc = TRUE; - QString skey; + TQString skey; for (const QextScintillaCommand *cmd = cmds.first(); cmd; cmd = cmds.next()) { @@ -636,7 +636,7 @@ bool QextScintillaCommandSet::writeSettings(QSettings &qs,const char *prefix) // Clear the key bindings. void QextScintillaCommandSet::clearKeys() { - QPtrList &set = commands(); + TQPtrList &set = commands(); for (QextScintillaCommand *cmd = set.first(); cmd; cmd = set.next()) cmd -> setKey(0); @@ -646,7 +646,7 @@ void QextScintillaCommandSet::clearKeys() // Clear the alternate key bindings. void QextScintillaCommandSet::clearAlternateKeys() { - QPtrList &set = commands(); + TQPtrList &set = commands(); for (QextScintillaCommand *cmd = set.first(); cmd; cmd = set.next()) cmd -> setAlternateKey(0); diff --git a/qt/qextscintillacommandset.h b/qt/qextscintillacommandset.h index d242bfa..eb02e0d 100644 --- a/qt/qextscintillacommandset.h +++ b/qt/qextscintillacommandset.h @@ -3,34 +3,34 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLACOMMANDSET_H -#define QEXTSCINTILLACOMMANDSET_H +#ifndef TQEXTSCINTILLACOMMANDSET_H +#define TQEXTSCINTILLACOMMANDSET_H -#include +#include -#include -#include +#include +#include -class QSettings; +class TQSettings; class QextScintilla; @@ -39,7 +39,7 @@ class QextScintilla; //! //! Methods are provided to access the individual commands and to read and //! write the current bindings from and to settings files. -class QEXTSCINTILLA_EXPORT QextScintillaCommandSet +class TQEXTSCINTILLA_EXPORT QextScintillaCommandSet { public: //! The key bindings for each command in the set are read from the @@ -47,17 +47,17 @@ public: //! TRUE is returned if there was no error. //! //! \sa writeSettings() - bool readSettings(QSettings &qs,const char *prefix = "/Scintilla"); + bool readSettings(TQSettings &qs,const char *prefix = "/Scintilla"); //! The key bindings for each command in the set are written to the //! settings \a qs. \a prefix is prepended to the key of each entry. //! TRUE is returned if there was no error. //! //! \sa readSettings() - bool writeSettings(QSettings &qs,const char *prefix = "/Scintilla"); + bool writeSettings(TQSettings &qs,const char *prefix = "/Scintilla"); //! The commands in the set are returned as a list. - QPtrList &commands() {return cmds;} + TQPtrList &commands() {return cmds;} //! The primary keys bindings for all commands are removed. void clearKeys(); @@ -71,9 +71,9 @@ private: QextScintillaCommandSet(QextScintilla *qs); QextScintilla *qsci; - QPtrList cmds; + TQPtrList cmds; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaCommandSet(const QextScintillaCommandSet &); QextScintillaCommandSet &operator=(const QextScintillaCommandSet &); #endif diff --git a/qt/qextscintilladocument.cpp b/qt/qextscintilladocument.cpp index 9fc6887..a3e8540 100644 --- a/qt/qextscintilladocument.cpp +++ b/qt/qextscintilladocument.cpp @@ -3,25 +3,25 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include "qextscintilladocument.h" -#include "qextscintillabase.h" +#include "tqextscintilladocument.h" +#include "tqextscintillabase.h" // This internal class encapsulates the underlying document and is shared by diff --git a/qt/qextscintilladocument.h b/qt/qextscintilladocument.h index 4dd846c..fe0be6e 100644 --- a/qt/qextscintilladocument.h +++ b/qt/qextscintilladocument.h @@ -3,28 +3,28 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLADOCUMENT_H -#define QEXTSCINTILLADOCUMENT_H +#ifndef TQEXTSCINTILLADOCUMENT_H +#define TQEXTSCINTILLADOCUMENT_H -#include +#include class QextScintillaBase; @@ -37,7 +37,7 @@ class QextScintillaDocumentP; //! QextScintilla to create different simultaneous views of the same document. //! QextScintillaDocument uses implicit sharing so that copying class instances //! is a cheap operation. -class QEXTSCINTILLA_EXPORT QextScintillaDocument +class TQEXTSCINTILLA_EXPORT QextScintillaDocument { public: //! Create a new unattached document. diff --git a/qt/qextscintillaglobal.h b/qt/qextscintillaglobal.h index f16286a..38335f0 100644 --- a/qt/qextscintillaglobal.h +++ b/qt/qextscintillaglobal.h @@ -1,53 +1,53 @@ -// This module defines various things common to all of the Qt port to +// This module defines various things common to all of the TQt port to // Scintilla. // // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLAGLOBAL_H -#define QEXTSCINTILLAGLOBAL_H +#ifndef TQEXTSCINTILLAGLOBAL_H +#define TQEXTSCINTILLAGLOBAL_H -#include +#include -#define QSCINTILLA_VERSION 0x010701 -#define QSCINTILLA_VERSION_STR "1.7.1" -#define QSCINTILLA_BUILD "@RM_BUILD@" +#define TQSCINTILLA_VERSION 0x010701 +#define TQSCINTILLA_VERSION_STR "1.7.1" +#define TQSCINTILLA_BUILD "@RM_BUILD@" -// Under Windows, define QEXTSCINTILLA_MAKE_DLL to create a Scintilla DLL, or -// define QEXTSCINTILLA_DLL to link against a Scintilla DLL, or define neither +// Under Windows, define TQEXTSCINTILLA_MAKE_DLL to create a Scintilla DLL, or +// define TQEXTSCINTILLA_DLL to link against a Scintilla DLL, or define neither // to either build or link against a static Scintilla library. -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) -#if defined(QEXTSCINTILLA_DLL) -#define QEXTSCINTILLA_EXPORT __declspec(dllimport) -#elif defined(QEXTSCINTILLA_MAKE_DLL) -#define QEXTSCINTILLA_EXPORT __declspec(dllexport) +#if defined(TQEXTSCINTILLA_DLL) +#define TQEXTSCINTILLA_EXPORT __declspec(dllimport) +#elif defined(TQEXTSCINTILLA_MAKE_DLL) +#define TQEXTSCINTILLA_EXPORT __declspec(dllexport) #endif #endif -#if !defined(QEXTSCINTILLA_EXPORT) -#define QEXTSCINTILLA_EXPORT +#if !defined(TQEXTSCINTILLA_EXPORT) +#define TQEXTSCINTILLA_EXPORT #endif diff --git a/qt/qextscintillalexer.cpp b/qt/qextscintillalexer.cpp index 9302180..6ecfee5 100644 --- a/qt/qextscintillalexer.cpp +++ b/qt/qextscintillalexer.cpp @@ -3,45 +3,45 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include -#include +#include +#include +#include +#include -#include "qextscintillalexer.h" -#include "qextscintilla.h" -#include "qextscintillabase.h" +#include "tqextscintillalexer.h" +#include "tqextscintilla.h" +#include "tqextscintillabase.h" // The ctor. -QextScintillaLexer::QextScintillaLexer(QObject *parent,const char *name) - : QObject(parent,name), autoIndStyle(-1) +QextScintillaLexer::QextScintillaLexer(TQObject *parent,const char *name) + : TQObject(parent,name), autoIndStyle(-1) { #if defined(Q_OS_WIN) - defFont = QFont("Verdana",10); + defFont = TQFont("Verdana",10); #else - defFont = QFont("Bitstream Vera Sans",9); + defFont = TQFont("Bitstream Vera Sans",9); #endif // Set the default fore and background colours. - QColorGroup cg = QApplication::palette().active(); + TQColorGroup cg = TQApplication::palette().active(); defColor = cg.text(); defPaper = cg.base(); } @@ -123,7 +123,7 @@ int QextScintillaLexer::defaultStyle() const // Returns the foreground colour of the text for a style. -QColor QextScintillaLexer::color(int) const +TQColor QextScintillaLexer::color(int) const { return defaultColor(); } @@ -137,7 +137,7 @@ bool QextScintillaLexer::eolFill(int) const // Returns the font for a style. -QFont QextScintillaLexer::font(int) const +TQFont QextScintillaLexer::font(int) const { return defaultFont(); } @@ -151,56 +151,56 @@ const char *QextScintillaLexer::keywords(int) const // Returns the background colour of the text for a style. -QColor QextScintillaLexer::paper(int) const +TQColor QextScintillaLexer::paper(int) const { return defaultPaper(); } // Returns the default font for all styles. -QFont QextScintillaLexer::defaultFont() const +TQFont QextScintillaLexer::defaultFont() const { return defFont; } // Sets the default font for all styles. -void QextScintillaLexer::setDefaultFont(const QFont &f) +void QextScintillaLexer::setDefaultFont(const TQFont &f) { defFont = f; } // Returns the default text colour for all styles. -QColor QextScintillaLexer::defaultColor() const +TQColor QextScintillaLexer::defaultColor() const { return defColor; } // Sets the default text colour for all styles. -void QextScintillaLexer::setDefaultColor(const QColor &c) +void QextScintillaLexer::setDefaultColor(const TQColor &c) { defColor = c; } // Returns the default paper colour for all styles. -QColor QextScintillaLexer::defaultPaper() const +TQColor QextScintillaLexer::defaultPaper() const { return defPaper; } // Sets the default paper colour for all styles. -void QextScintillaLexer::setDefaultPaper(const QColor &c) +void QextScintillaLexer::setDefaultPaper(const TQColor &c) { defPaper = c; } // Read properties from the settings. -bool QextScintillaLexer::readProperties(QSettings &,const QString &) +bool QextScintillaLexer::readProperties(TQSettings &,const TQString &) { return TRUE; } @@ -213,18 +213,18 @@ void QextScintillaLexer::refreshProperties() // Write properties to the settings. -bool QextScintillaLexer::writeProperties(QSettings &,const QString &) const +bool QextScintillaLexer::writeProperties(TQSettings &,const TQString &) const { return TRUE; } // Restore the user settings. -bool QextScintillaLexer::readSettings(QSettings &qs,const char *prefix) +bool QextScintillaLexer::readSettings(TQSettings &qs,const char *prefix) { bool ok, flag, rc = TRUE; int num; - QString key; + TQString key; // Read the styles. for (int i = 0; i < 128; ++i) @@ -239,7 +239,7 @@ bool QextScintillaLexer::readSettings(QSettings &qs,const char *prefix) num = qs.readNumEntry(key + "color",0,&ok); if (ok) - emit colorChanged(QColor((num >> 16) & 0xff,(num >> 8) & 0xff,num & 0xff),i); + emit colorChanged(TQColor((num >> 16) & 0xff,(num >> 8) & 0xff,num & 0xff),i); else rc = FALSE; @@ -252,13 +252,13 @@ bool QextScintillaLexer::readSettings(QSettings &qs,const char *prefix) rc = FALSE; // Read the font - QStringList fdesc; + TQStringList fdesc; fdesc = qs.readListEntry(key + "font",',',&ok); if (ok && fdesc.count() == 5) { - QFont f; + TQFont f; f.setFamily(fdesc[0]); f.setPointSize(fdesc[1].toInt()); @@ -275,7 +275,7 @@ bool QextScintillaLexer::readSettings(QSettings &qs,const char *prefix) num = qs.readNumEntry(key + "paper",0,&ok); if (ok) - emit paperChanged(QColor((num >> 16) & 0xff,(num >> 8) & 0xff,num & 0xff),i); + emit paperChanged(TQColor((num >> 16) & 0xff,(num >> 8) & 0xff,num & 0xff),i); else rc = FALSE; } @@ -303,10 +303,10 @@ bool QextScintillaLexer::readSettings(QSettings &qs,const char *prefix) // Save the user settings. -bool QextScintillaLexer::writeSettings(QSettings &qs,const char *prefix) const +bool QextScintillaLexer::writeSettings(TQSettings &qs,const char *prefix) const { bool rc = TRUE; - QString key; + TQString key; // Write the styles. for (int i = 0; i < 128; ++i) @@ -316,7 +316,7 @@ bool QextScintillaLexer::writeSettings(QSettings &qs,const char *prefix) const continue; int num; - QColor c; + TQColor c; key.sprintf("%s/%s/style%d/",prefix,language(),i); @@ -332,19 +332,19 @@ bool QextScintillaLexer::writeSettings(QSettings &qs,const char *prefix) const rc = FALSE; // Write the font - QStringList fdesc; - QString fmt("%1"); - QFont f; + TQStringList fdesc; + TQString fmt("%1"); + TQFont f; f = font(i); fdesc += f.family(); - fdesc += fmt.arg(f.pointSize()); + fdesc += fmt.tqarg(f.pointSize()); // The casts are for Borland. - fdesc += fmt.arg((int)f.bold()); - fdesc += fmt.arg((int)f.italic()); - fdesc += fmt.arg((int)f.underline()); + fdesc += fmt.tqarg((int)f.bold()); + fdesc += fmt.tqarg((int)f.italic()); + fdesc += fmt.tqarg((int)f.underline()); if (!qs.writeEntry(key + "font",fdesc,',')) rc = FALSE; @@ -393,7 +393,7 @@ void QextScintillaLexer::setAutoIndentStyle(int autoindentstyle) // Set the foreground colour for a style. -void QextScintillaLexer::setColor(const QColor &c,int style) +void QextScintillaLexer::setColor(const TQColor &c,int style) { if (style >= 0) emit colorChanged(c,style); @@ -417,7 +417,7 @@ void QextScintillaLexer::setEolFill(bool eolfill,int style) // Set the font for a style. -void QextScintillaLexer::setFont(const QFont &f,int style) +void QextScintillaLexer::setFont(const TQFont &f,int style) { if (style >= 0) emit fontChanged(f,style); @@ -429,7 +429,7 @@ void QextScintillaLexer::setFont(const QFont &f,int style) // Set the background colour for a style. -void QextScintillaLexer::setPaper(const QColor &c,int style) +void QextScintillaLexer::setPaper(const TQColor &c,int style) { if (style >= 0) emit paperChanged(c,style); diff --git a/qt/qextscintillalexer.h b/qt/qextscintillalexer.h index 2c4aad6..9e46fdb 100644 --- a/qt/qextscintillalexer.h +++ b/qt/qextscintillalexer.h @@ -3,36 +3,36 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXER_H -#define QEXTSCINTILLALEXER_H +#ifndef TQEXTSCINTILLALEXER_H +#define TQEXTSCINTILLALEXER_H -#include -#include -#include -#include +#include +#include +#include +#include -#include +#include -class QSettings; +class TQSettings; //! \brief The QextScintillaLexer class is an abstract class used as a base for @@ -52,14 +52,15 @@ class QSettings; //! //! QextScintillaLexer provides convenience methods for saving and restoring //! user preferences for fonts and colours. -class QEXTSCINTILLA_EXPORT QextScintillaLexer : public QObject +class TQEXTSCINTILLA_EXPORT QextScintillaLexer : public TQObject { Q_OBJECT + TQ_OBJECT public: //! Construct a QextScintillaLexer with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexer(QObject *parent = 0,const char *name = 0); + QextScintillaLexer(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexer instance. virtual ~QextScintillaLexer(); @@ -118,7 +119,7 @@ public: //! \a style. The default colour is black. //! //! \sa paper() - virtual QColor color(int style) const; + virtual TQColor color(int style) const; //! Returns the end-of-line for style number \a style. The default is //! FALSE. @@ -128,7 +129,7 @@ public: //! that returned by defaultFont(). //! //! \sa defaultFont() - virtual QFont font(int style) const; + virtual TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. 0 is returned if there @@ -141,30 +142,30 @@ public: virtual int defaultStyle() const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - virtual QString description(int style) const = 0; + virtual TQString description(int style) const = 0; //! Returns the background colour of the text for style number //! \a style. //! //! \sa defaultPaper(), color() - virtual QColor paper(int style) const; + virtual TQColor paper(int style) const; //! Returns the default font for all styles. //! //! \sa setDefaultFont() - virtual QFont defaultFont() const; + virtual TQFont defaultFont() const; //! Returns the default text colour for all styles. //! //! \sa setDefaultColor() - virtual QColor defaultColor() const; + virtual TQColor defaultColor() const; //! Returns the default paper colour for all styles. //! //! \sa setDefaultPaper() - virtual QColor defaultPaper() const; + virtual TQColor defaultPaper() const; //! Causes all properties to be refreshed by emitting the //! propertyChanged() signal as required. @@ -176,7 +177,7 @@ public: //! if there was no error. //! //! \sa writeSettings(), QextScintilla::setLexer() - bool readSettings(QSettings &qs,const char *prefix = "/Scintilla"); + bool readSettings(TQSettings &qs,const char *prefix = "/Scintilla"); //! The colour, paper, font and end-of-line for each style number, and //! all lexer specific properties are written to the settings \a qs. @@ -184,7 +185,7 @@ public: //! if there was no error. //! //! \sa readSettings() - bool writeSettings(QSettings &qs, + bool writeSettings(TQSettings &qs, const char *prefix = "/Scintilla") const; public slots: @@ -196,22 +197,22 @@ public slots: //! The foreground colour for style number \a style is set to \a c. If //! \a style is -1 then the colour is set for all styles. - virtual void setColor(const QColor &c,int style = -1); + virtual void setColor(const TQColor &c,int style = -1); //! The default font for all styles is set to \a f. //! //! \sa defaultFont() - virtual void setDefaultFont(const QFont &f); + virtual void setDefaultFont(const TQFont &f); //! The default text colour for all styles is set to \a c. //! //! \sa defaultColor(), color() - virtual void setDefaultColor(const QColor &c); + virtual void setDefaultColor(const TQColor &c); //! The default paper colour for all styles is set to \a c. //! //! \sa defaultPaper(), paper() - virtual void setDefaultPaper(const QColor &c); + virtual void setDefaultPaper(const TQColor &c); //! The end-of-line fill for style number \a style is set to //! \a eoffill. If \a style is -1 then the fill is set for all styles. @@ -219,16 +220,16 @@ public slots: //! The font for style number \a style is set to \a f. If \a style is //! -1 then the font is set for all styles. - virtual void setFont(const QFont &f,int style = -1); + virtual void setFont(const TQFont &f,int style = -1); //! The background colour for style number \a style is set to \a c. If //! \a style is -1 then the colour is set for all styles. - virtual void setPaper(const QColor &c,int style = -1); + virtual void setPaper(const TQColor &c,int style = -1); signals: //! This signal is emitted when the foreground colour of style number //! \a style has changed. The new colour is \a c. - void colorChanged(const QColor &c,int style); + void colorChanged(const TQColor &c,int style); //! This signal is emitted when the end-of-file fill of style number //! \a style has changed. The new fill is \a eoffilled. @@ -236,11 +237,11 @@ signals: //! This signal is emitted when the font of style number \a style has //! changed. The new font is \a f. - void fontChanged(const QFont &f,int style); + void fontChanged(const TQFont &f,int style); //! This signal is emitted when the background colour of style number //! \a style has changed. The new colour is \a c. - void paperChanged(const QColor &c,int style); + void paperChanged(const TQColor &c,int style); //! This signal is emitted when the value of the lexer property \a prop //! needs to be changed. The new value is \a val. @@ -251,21 +252,21 @@ protected: //! (which has a trailing '/') should be used as a prefix to the key of //! each setting. TRUE is returned if there is no error. //! - virtual bool readProperties(QSettings &qs,const QString &prefix); + virtual bool readProperties(TQSettings &qs,const TQString &prefix); //! The lexer's properties are written to the settings \a qs. //! \a prefix (which has a trailing '/') should be used as a prefix to //! the key of each setting. TRUE is returned if there is no error. //! - virtual bool writeProperties(QSettings &qs,const QString &prefix) const; + virtual bool writeProperties(TQSettings &qs,const TQString &prefix) const; private: int autoIndStyle; - QFont defFont; - QColor defColor; - QColor defPaper; + TQFont defFont; + TQColor defColor; + TQColor defPaper; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexer(const QextScintillaLexer &); QextScintillaLexer &operator=(const QextScintillaLexer &); #endif diff --git a/qt/qextscintillalexerbash.cpp b/qt/qextscintillalexerbash.cpp index b5d172b..8edb55f 100644 --- a/qt/qextscintillalexerbash.cpp +++ b/qt/qextscintillalexerbash.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexerbash.h" +#include "tqextscintillalexerbash.h" // The ctor. -QextScintillaLexerBash::QextScintillaLexerBash(QObject *parent, +QextScintillaLexerBash::QextScintillaLexerBash(TQObject *parent, const char *name) : QextScintillaLexer(parent,name), fold_comments(FALSE), fold_compact(TRUE) @@ -66,42 +66,42 @@ int QextScintillaLexerBash::braceStyle() const // Return the string of characters that comprise a word. const char *QextScintillaLexerBash::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$@%&"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789_$@%&"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerBash::color(int style) const +TQColor QextScintillaLexerBash::color(int style) const { switch (style) { case Default: - return QColor(0x80,0x80,0x80); + return TQColor(0x80,0x80,0x80); case Error: case Backticks: - return QColor(0xff,0xff,0x00); + return TQColor(0xff,0xff,0x00); case Comment: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case Number: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Keyword: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); case DoubleQuotedString: case SingleQuotedString: case SingleQuotedHereDocument: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case Operator: case Identifier: case Scalar: case ParameterExpansion: case HereDocumentDelimiter: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); } return QextScintillaLexer::color(style); @@ -122,17 +122,17 @@ bool QextScintillaLexerBash::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerBash::font(int style) const +TQFont QextScintillaLexerBash::font(int style) const { - QFont f; + TQFont f; switch (style) { case Comment: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif break; @@ -145,9 +145,9 @@ QFont QextScintillaLexerBash::font(int style) const case DoubleQuotedString: case SingleQuotedString: #if defined(Q_OS_WIN) - f = QFont("Courier New",10); + f = TQFont("Courier New",10); #else - f = QFont("Bitstream Vera Sans Mono",9); + f = TQFont("Bitstream Vera Sans Mono",9); #endif break; @@ -195,7 +195,7 @@ const char *QextScintillaLexerBash::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerBash::description(int style) const +TQString QextScintillaLexerBash::description(int style) const { switch (style) { @@ -242,30 +242,30 @@ QString QextScintillaLexerBash::description(int style) const return tr("Single-quoted here document"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerBash::paper(int style) const +TQColor QextScintillaLexerBash::paper(int style) const { switch (style) { case Error: - return QColor(0xff,0x00,0x00); + return TQColor(0xff,0x00,0x00); case Scalar: - return QColor(0xff,0xe0,0xe0); + return TQColor(0xff,0xe0,0xe0); case ParameterExpansion: - return QColor(0xff,0xff,0xe0); + return TQColor(0xff,0xff,0xe0); case Backticks: - return QColor(0xa0,0x80,0x80); + return TQColor(0xa0,0x80,0x80); case HereDocumentDelimiter: case SingleQuotedHereDocument: - return QColor(0xdd,0xd0,0xdd); + return TQColor(0xdd,0xd0,0xdd); } return QextScintillaLexer::paper(style); @@ -281,7 +281,7 @@ void QextScintillaLexerBash::refreshProperties() // Read properties from the settings. -bool QextScintillaLexerBash::readProperties(QSettings &qs,const QString &prefix) +bool QextScintillaLexerBash::readProperties(TQSettings &qs,const TQString &prefix) { int rc = TRUE; bool ok, flag; @@ -307,7 +307,7 @@ bool QextScintillaLexerBash::readProperties(QSettings &qs,const QString &prefix) // Write properties to the settings. -bool QextScintillaLexerBash::writeProperties(QSettings &qs,const QString &prefix) const +bool QextScintillaLexerBash::writeProperties(TQSettings &qs,const TQString &prefix) const { int rc = TRUE; diff --git a/qt/qextscintillalexerbash.h b/qt/qextscintillalexerbash.h index 344aac7..a52cf0e 100644 --- a/qt/qextscintillalexerbash.h +++ b/qt/qextscintillalexerbash.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERBASH_H -#define QEXTSCINTILLALEXERBASH_H +#ifndef TQEXTSCINTILLALEXERBASH_H +#define TQEXTSCINTILLALEXERBASH_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerBash class encapsulates the Scintilla Bash //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerBash : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerBash : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -88,7 +89,7 @@ public: //! Construct a QextScintillaLexerBash with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerBash(QObject *parent = 0,const char *name = 0); + QextScintillaLexerBash(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerBash instance. virtual ~QextScintillaLexerBash(); @@ -110,28 +111,28 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; //! Causes all properties to be refreshed by emitting the //! propertyChanged() signal as required. @@ -165,13 +166,13 @@ protected: //! (which has a trailing '/') should be used as a prefix to the key of //! each setting. TRUE is returned if there is no error. //! - bool readProperties(QSettings &qs,const QString &prefix); + bool readProperties(TQSettings &qs,const TQString &prefix); //! The lexer's properties are written to the settings \a qs. //! \a prefix (which has a trailing '/') should be used as a prefix to //! the key of each setting. TRUE is returned if there is no error. //! - bool writeProperties(QSettings &qs,const QString &prefix) const; + bool writeProperties(TQSettings &qs,const TQString &prefix) const; private: void setCommentProp(); @@ -180,7 +181,7 @@ private: bool fold_comments; bool fold_compact; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerBash(const QextScintillaLexerBash &); QextScintillaLexerBash &operator=(const QextScintillaLexerBash &); #endif diff --git a/qt/qextscintillalexerbatch.cpp b/qt/qextscintillalexerbatch.cpp index 57a9418..076a378 100644 --- a/qt/qextscintillalexerbatch.cpp +++ b/qt/qextscintillalexerbatch.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexerbatch.h" +#include "tqextscintillalexerbatch.h" // The ctor. -QextScintillaLexerBatch::QextScintillaLexerBatch(QObject *parent, +QextScintillaLexerBatch::QextScintillaLexerBatch(TQObject *parent, const char *name) : QextScintillaLexer(parent,name) { @@ -58,34 +58,34 @@ const char *QextScintillaLexerBatch::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerBatch::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ-"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerBatch::color(int style) const +TQColor QextScintillaLexerBatch::color(int style) const { switch (style) { case Default: case Operator: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); case Comment: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case Keyword: case ExternalCommand: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); case Label: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case HideCommandChar: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); case Variable: - return QColor(0x80,0x00,0x80); + return TQColor(0x80,0x00,0x80); } return QextScintillaLexer::color(style); @@ -100,17 +100,17 @@ bool QextScintillaLexerBatch::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerBatch::font(int style) const +TQFont QextScintillaLexerBatch::font(int style) const { - QFont f; + TQFont f; switch (style) { case Comment: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif break; @@ -121,9 +121,9 @@ QFont QextScintillaLexerBatch::font(int style) const case ExternalCommand: #if defined(Q_OS_WIN) - f = QFont("Courier New",10); + f = TQFont("Courier New",10); #else - f = QFont("Bitstream Vera Sans Mono",9); + f = TQFont("Bitstream Vera Sans Mono",9); #endif f.setBold(TRUE); break; @@ -152,7 +152,7 @@ const char *QextScintillaLexerBatch::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerBatch::description(int style) const +TQString QextScintillaLexerBatch::description(int style) const { switch (style) { @@ -181,17 +181,17 @@ QString QextScintillaLexerBatch::description(int style) const return tr("Operator"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerBatch::paper(int style) const +TQColor QextScintillaLexerBatch::paper(int style) const { switch (style) { case Label: - return QColor(0x60,0x60,0x60); + return TQColor(0x60,0x60,0x60); } return QextScintillaLexer::paper(style); diff --git a/qt/qextscintillalexerbatch.h b/qt/qextscintillalexerbatch.h index 517edfb..e20e831 100644 --- a/qt/qextscintillalexerbatch.h +++ b/qt/qextscintillalexerbatch.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERBATCH_H -#define QEXTSCINTILLALEXERBATCH_H +#ifndef TQEXTSCINTILLALEXERBATCH_H +#define TQEXTSCINTILLALEXERBATCH_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerBatch class encapsulates the Scintilla batch //! file lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerBatch : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerBatch : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -67,7 +68,7 @@ public: //! Construct a QextScintillaLexerBatch with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerBatch(QObject *parent = 0,const char *name = 0); + QextScintillaLexerBatch(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerBatch instance. virtual ~QextScintillaLexerBatch(); @@ -86,31 +87,31 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerBatch(const QextScintillaLexerBatch &); QextScintillaLexerBatch &operator=(const QextScintillaLexerBatch &); #endif diff --git a/qt/qextscintillalexercpp.cpp b/qt/qextscintillalexercpp.cpp index 706d86b..2f94bc1 100644 --- a/qt/qextscintillalexercpp.cpp +++ b/qt/qextscintillalexercpp.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexercpp.h" +#include "tqextscintillalexercpp.h" // The ctor. -QextScintillaLexerCPP::QextScintillaLexerCPP(QObject *parent,const char *name, +QextScintillaLexerCPP::QextScintillaLexerCPP(TQObject *parent,const char *name, bool caseInsensitiveKeywords) : QextScintillaLexer(parent,name), fold_atelse(FALSE), fold_comments(FALSE), fold_compact(TRUE), fold_preproc(TRUE), @@ -98,54 +98,54 @@ int QextScintillaLexerCPP::braceStyle() const // Return the string of characters that comprise a word. const char *QextScintillaLexerCPP::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_#"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789_#"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerCPP::color(int style) const +TQColor QextScintillaLexerCPP::color(int style) const { switch (style) { case Default: - return QColor(0x80,0x80,0x80); + return TQColor(0x80,0x80,0x80); case Comment: case CommentLine: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case CommentDoc: case CommentLineDoc: - return QColor(0x3f,0x70,0x3f); + return TQColor(0x3f,0x70,0x3f); case Number: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Keyword: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); case DoubleQuotedString: case SingleQuotedString: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case PreProcessor: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); case Operator: case UnclosedString: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); case Identifier: break; case Regex: - return QColor(0x3f,0x7f,0x3f); + return TQColor(0x3f,0x7f,0x3f); case CommentDocKeyword: - return QColor(0x30,0x60,0xa0); + return TQColor(0x30,0x60,0xa0); case CommentDocKeywordError: - return QColor(0x80,0x40,0x20); + return TQColor(0x80,0x40,0x20); } return QextScintillaLexer::color(style); @@ -160,9 +160,9 @@ bool QextScintillaLexerCPP::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerCPP::font(int style) const +TQFont QextScintillaLexerCPP::font(int style) const { - QFont f; + TQFont f; switch (style) { @@ -173,9 +173,9 @@ QFont QextScintillaLexerCPP::font(int style) const case CommentDocKeyword: case CommentDocKeywordError: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif break; @@ -189,9 +189,9 @@ QFont QextScintillaLexerCPP::font(int style) const case SingleQuotedString: case UnclosedString: #if defined(Q_OS_WIN) - f = QFont("Courier New",10); + f = TQFont("Courier New",10); #else - f = QFont("Bitstream Vera Sans Mono",9); + f = TQFont("Bitstream Vera Sans Mono",9); #endif break; @@ -240,7 +240,7 @@ const char *QextScintillaLexerCPP::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerCPP::description(int style) const +TQString QextScintillaLexerCPP::description(int style) const { switch (style) { @@ -296,15 +296,15 @@ QString QextScintillaLexerCPP::description(int style) const return tr("Global classes and typedefs"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerCPP::paper(int style) const +TQColor QextScintillaLexerCPP::paper(int style) const { if (style == UnclosedString) - return QColor(0xe0,0xc0,0xe0); + return TQColor(0xe0,0xc0,0xe0); return QextScintillaLexer::paper(style); } @@ -322,7 +322,7 @@ void QextScintillaLexerCPP::refreshProperties() // Read properties from the settings. -bool QextScintillaLexerCPP::readProperties(QSettings &qs,const QString &prefix) +bool QextScintillaLexerCPP::readProperties(TQSettings &qs,const TQString &prefix) { int rc = TRUE; bool ok, flag; @@ -372,7 +372,7 @@ bool QextScintillaLexerCPP::readProperties(QSettings &qs,const QString &prefix) // Write properties to the settings. -bool QextScintillaLexerCPP::writeProperties(QSettings &qs,const QString &prefix) const +bool QextScintillaLexerCPP::writeProperties(TQSettings &qs,const TQString &prefix) const { int rc = TRUE; diff --git a/qt/qextscintillalexercpp.h b/qt/qextscintillalexercpp.h index 01c7157..420c473 100644 --- a/qt/qextscintillalexercpp.h +++ b/qt/qextscintillalexercpp.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERCPP_H -#define QEXTSCINTILLALEXERCPP_H +#ifndef TQEXTSCINTILLALEXERCPP_H +#define TQEXTSCINTILLALEXERCPP_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerCPP class encapsulates the Scintilla C++ //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerCPP : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerCPP : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -112,7 +113,7 @@ public: //! \a name. \a parent is typically the QextScintilla instance. //! \a caseInsensitiveKeywords is TRUE if the lexer ignores the case of //! keywords. - QextScintillaLexerCPP(QObject *parent = 0,const char *name = 0, + QextScintillaLexerCPP(TQObject *parent = 0,const char *name = 0, bool caseInsensitiveKeywords = FALSE); //! Destroys the QextScintillaLexerCPP instance. @@ -150,28 +151,28 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; //! Causes all properties to be refreshed by emitting the //! propertyChanged() signal as required. @@ -240,14 +241,14 @@ protected: //! each setting. TRUE is returned if there is no error. //! //! \sa writeProperties() - bool readProperties(QSettings &qs,const QString &prefix); + bool readProperties(TQSettings &qs,const TQString &prefix); //! The lexer's properties are written to the settings \a qs. //! \a prefix (which has a trailing '/') should be used as a prefix to //! the key of each setting. TRUE is returned if there is no error. //! //! \sa readProperties() - bool writeProperties(QSettings &qs,const QString &prefix) const; + bool writeProperties(TQSettings &qs,const TQString &prefix) const; private: void setAtElseProp(); @@ -264,7 +265,7 @@ private: bool nocase; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerCPP(const QextScintillaLexerCPP &); QextScintillaLexerCPP &operator=(const QextScintillaLexerCPP &); #endif diff --git a/qt/qextscintillalexercsharp.cpp b/qt/qextscintillalexercsharp.cpp index 7a8a21c..2497b46 100644 --- a/qt/qextscintillalexercsharp.cpp +++ b/qt/qextscintillalexercsharp.cpp @@ -3,31 +3,31 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include +#include +#include -#include "qextscintillalexercsharp.h" +#include "tqextscintillalexercsharp.h" // The ctor. -QextScintillaLexerCSharp::QextScintillaLexerCSharp(QObject *parent,const char *name) +QextScintillaLexerCSharp::QextScintillaLexerCSharp(TQObject *parent,const char *name) : QextScintillaLexerCPP(parent,name) { } @@ -47,10 +47,10 @@ const char *QextScintillaLexerCSharp::language() const // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerCSharp::color(int style) const +TQColor QextScintillaLexerCSharp::color(int style) const { if (style == VerbatimString) - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); return QextScintillaLexerCPP::color(style); } @@ -67,13 +67,13 @@ bool QextScintillaLexerCSharp::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerCSharp::font(int style) const +TQFont QextScintillaLexerCSharp::font(int style) const { if (style == VerbatimString) #if defined(Q_OS_WIN) - return QFont("Courier New",10); + return TQFont("Courier New",10); #else - return QFont("Bitstream Vera Sans Mono",9); + return TQFont("Bitstream Vera Sans Mono",9); #endif return QextScintillaLexerCPP::font(style); @@ -99,7 +99,7 @@ const char *QextScintillaLexerCSharp::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerCSharp::description(int style) const +TQString QextScintillaLexerCSharp::description(int style) const { if (style == VerbatimString) return tr("Verbatim string"); @@ -109,10 +109,10 @@ QString QextScintillaLexerCSharp::description(int style) const // Returns the background colour of the text for a style. -QColor QextScintillaLexerCSharp::paper(int style) const +TQColor QextScintillaLexerCSharp::paper(int style) const { if (style == VerbatimString) - return QColor(0xe0,0xff,0xe0); + return TQColor(0xe0,0xff,0xe0); return QextScintillaLexer::paper(style); } diff --git a/qt/qextscintillalexercsharp.h b/qt/qextscintillalexercsharp.h index 97224e1..77971d0 100644 --- a/qt/qextscintillalexercsharp.h +++ b/qt/qextscintillalexercsharp.h @@ -3,43 +3,44 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERCSHARP_H -#define QEXTSCINTILLALEXERCSHARP_H +#ifndef TQEXTSCINTILLALEXERCSHARP_H +#define TQEXTSCINTILLALEXERCSHARP_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerCSharp class encapsulates the Scintilla C# //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerCSharp : public QextScintillaLexerCPP +class TQEXTSCINTILLA_EXPORT QextScintillaLexerCSharp : public QextScintillaLexerCPP { Q_OBJECT + TQ_OBJECT public: //! Construct a QextScintillaLexerCSharp with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerCSharp(QObject *parent = 0,const char *name = 0); + QextScintillaLexerCSharp(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerCSharp instance. virtual ~QextScintillaLexerCSharp(); @@ -51,31 +52,31 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerCSharp(const QextScintillaLexerCSharp &); QextScintillaLexerCSharp &operator=(const QextScintillaLexerCSharp &); #endif diff --git a/qt/qextscintillalexercss.cpp b/qt/qextscintillalexercss.cpp index f2e57d9..c32371d 100644 --- a/qt/qextscintillalexercss.cpp +++ b/qt/qextscintillalexercss.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexercss.h" +#include "tqextscintillalexercss.h" // The ctor. -QextScintillaLexerCSS::QextScintillaLexerCSS(QObject *parent,const char *name) +QextScintillaLexerCSS::QextScintillaLexerCSS(TQObject *parent,const char *name) : QextScintillaLexer(parent,name), fold_comments(FALSE), fold_compact(TRUE) { @@ -78,54 +78,54 @@ const char *QextScintillaLexerCSS::blockEnd(int *style) const // Return the string of characters that comprise a word. const char *QextScintillaLexerCSS::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789-"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerCSS::color(int style) const +TQColor QextScintillaLexerCSS::color(int style) const { switch (style) { case Default: - return QColor(0xff,0x00,0x80); + return TQColor(0xff,0x00,0x80); case Tag: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); case PseudoClass: case Attribute: - return QColor(0x80,0x00,0x00); + return TQColor(0x80,0x00,0x00); case UnknownPseudoClass: case UnknownProperty: - return QColor(0xff,0x00,0x00); + return TQColor(0xff,0x00,0x00); case Operator: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); case CSS1Property: - return QColor(0x00,0x40,0xe0); + return TQColor(0x00,0x40,0xe0); case Value: case DoubleQuotedString: case SingleQuotedString: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case Comment: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case IDSelector: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Important: - return QColor(0xff,0x80,0x00); + return TQColor(0xff,0x80,0x00); case AtRule: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); case CSS2Property: - return QColor(0x00,0xa0,0xe0); + return TQColor(0x00,0xa0,0xe0); } return QextScintillaLexer::color(style); @@ -133,15 +133,15 @@ QColor QextScintillaLexerCSS::color(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerCSS::font(int style) const +TQFont QextScintillaLexerCSS::font(int style) const { - QFont f; + TQFont f; if (style == Comment) #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif else { @@ -199,16 +199,16 @@ const char *QextScintillaLexerCSS::keywords(int set) const "border-top-style border-right-style " "border-bottom-style border-left-style border-style " "top right bottom left position z-index direction " - "unicode-bidi min-width max-width min-height " + "tqunicode-bidi min-width max-width min-height " "max-height overflow clip visibility content quotes " "counter-reset counter-increment marker-offset size " "marks page-break-before page-break-after " "page-break-inside page orphans widows font-stretch " - "font-size-adjust unicode-range units-per-em src " + "font-size-adjust tqunicode-range units-per-em src " "panose-1 stemv stemh slope cap-height x-height " "ascent descent widths bbox definition-src baseline " "centerline mathline topline text-shadow " - "caption-side table-layout border-collapse " + "caption-side table-tqlayout border-collapse " "border-spacing empty-cells speak-header cursor " "outline outline-width outline-style outline-color " "volume speak pause-before pause-after pause " @@ -222,7 +222,7 @@ const char *QextScintillaLexerCSS::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerCSS::description(int style) const +TQString QextScintillaLexerCSS::description(int style) const { switch (style) { @@ -275,7 +275,7 @@ QString QextScintillaLexerCSS::description(int style) const return tr("Attribute"); } - return QString::null; + return TQString(); } @@ -288,7 +288,7 @@ void QextScintillaLexerCSS::refreshProperties() // Read properties from the settings. -bool QextScintillaLexerCSS::readProperties(QSettings &qs,const QString &prefix) +bool QextScintillaLexerCSS::readProperties(TQSettings &qs,const TQString &prefix) { int rc = TRUE; bool ok, flag; @@ -314,7 +314,7 @@ bool QextScintillaLexerCSS::readProperties(QSettings &qs,const QString &prefix) // Write properties to the settings. -bool QextScintillaLexerCSS::writeProperties(QSettings &qs,const QString &prefix) const +bool QextScintillaLexerCSS::writeProperties(TQSettings &qs,const TQString &prefix) const { int rc = TRUE; diff --git a/qt/qextscintillalexercss.h b/qt/qextscintillalexercss.h index ff91cce..d8344a2 100644 --- a/qt/qextscintillalexercss.h +++ b/qt/qextscintillalexercss.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERCSS_H -#define QEXTSCINTILLALEXERCSS_H +#ifndef TQEXTSCINTILLALEXERCSS_H +#define TQEXTSCINTILLALEXERCSS_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerCSS class encapsulates the Scintilla CSS //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerCSS : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerCSS : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -94,7 +95,7 @@ public: //! Construct a QextScintillaLexerCSS with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerCSS(QObject *parent = 0,const char *name = 0); + QextScintillaLexerCSS(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerCSS instance. virtual ~QextScintillaLexerCSS(); @@ -123,19 +124,19 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Causes all properties to be refreshed by emitting the //! propertyChanged() signal as required. @@ -169,13 +170,13 @@ protected: //! (which has a trailing '/') should be used as a prefix to the key of //! each setting. TRUE is returned if there is no error. //! - bool readProperties(QSettings &qs,const QString &prefix); + bool readProperties(TQSettings &qs,const TQString &prefix); //! The lexer's properties are written to the settings \a qs. //! \a prefix (which has a trailing '/') should be used as a prefix to //! the key of each setting. TRUE is returned if there is no error. //! - bool writeProperties(QSettings &qs,const QString &prefix) const; + bool writeProperties(TQSettings &qs,const TQString &prefix) const; private: void setCommentProp(); @@ -184,7 +185,7 @@ private: bool fold_comments; bool fold_compact; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerCSS(const QextScintillaLexerCSS &); QextScintillaLexerCSS &operator=(const QextScintillaLexerCSS &); #endif diff --git a/qt/qextscintillalexerdiff.cpp b/qt/qextscintillalexerdiff.cpp index ea0e457..8b8c4b4 100644 --- a/qt/qextscintillalexerdiff.cpp +++ b/qt/qextscintillalexerdiff.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexerdiff.h" +#include "tqextscintillalexerdiff.h" // The ctor. -QextScintillaLexerDiff::QextScintillaLexerDiff(QObject *parent,const char *name) +QextScintillaLexerDiff::QextScintillaLexerDiff(TQObject *parent,const char *name) : QextScintillaLexer(parent,name) { } @@ -57,35 +57,35 @@ const char *QextScintillaLexerDiff::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerDiff::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ-"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerDiff::color(int style) const +TQColor QextScintillaLexerDiff::color(int style) const { switch (style) { case Default: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); case Comment: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case Command: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); case Header: - return QColor(0x7f,0x00,0x00); + return TQColor(0x7f,0x00,0x00); case Position: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case LineRemoved: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case LineAdded: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); } return QextScintillaLexer::color(style); @@ -93,7 +93,7 @@ QColor QextScintillaLexerDiff::color(int style) const // Returns the user name of a style. -QString QextScintillaLexerDiff::description(int style) const +TQString QextScintillaLexerDiff::description(int style) const { switch (style) { @@ -119,5 +119,5 @@ QString QextScintillaLexerDiff::description(int style) const return tr("Added line"); } - return QString::null; + return TQString(); } diff --git a/qt/qextscintillalexerdiff.h b/qt/qextscintillalexerdiff.h index 9287a04..e80bd6e 100644 --- a/qt/qextscintillalexerdiff.h +++ b/qt/qextscintillalexerdiff.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERDIFF_H -#define QEXTSCINTILLALEXERDIFF_H +#ifndef TQEXTSCINTILLALEXERDIFF_H +#define TQEXTSCINTILLALEXERDIFF_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerDiff class encapsulates the Scintilla Diff //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerDiff : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerDiff : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -64,7 +65,7 @@ public: //! Construct a QextScintillaLexerDiff with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerDiff(QObject *parent = 0,const char *name = 0); + QextScintillaLexerDiff(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerDiff instance. virtual ~QextScintillaLexerDiff(); @@ -83,15 +84,15 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerDiff(const QextScintillaLexerDiff &); QextScintillaLexerDiff &operator=(const QextScintillaLexerDiff &); #endif diff --git a/qt/qextscintillalexerhtml.cpp b/qt/qextscintillalexerhtml.cpp index 100d47c..cc76a9f 100644 --- a/qt/qextscintillalexerhtml.cpp +++ b/qt/qextscintillalexerhtml.cpp @@ -3,34 +3,34 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexerhtml.h" -#include "qextscintillalexerjavascript.h" -#include "qextscintillalexerpython.h" +#include "tqextscintillalexerhtml.h" +#include "tqextscintillalexerjavascript.h" +#include "tqextscintillalexerpython.h" // The ctor. -QextScintillaLexerHTML::QextScintillaLexerHTML(QObject *parent, +QextScintillaLexerHTML::QextScintillaLexerHTML(TQObject *parent, const char *name) : QextScintillaLexer(parent,name), fold_compact(TRUE), fold_preproc(TRUE), case_sens_tags(FALSE) @@ -61,12 +61,12 @@ const char *QextScintillaLexerHTML::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerHTML::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789_-"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerHTML::color(int style) const +TQColor QextScintillaLexerHTML::color(int style) const { switch (style) { @@ -80,7 +80,7 @@ QColor QextScintillaLexerHTML::color(int style) const case VBScriptDefault: case ASPVBScriptDefault: case PHPOperator: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); case Tag: case XMLTagEnd: @@ -93,16 +93,16 @@ QColor QextScintillaLexerHTML::color(int style) const case ASPVBScriptKeyword: case ASPVBScriptIdentifier: case ASPVBScriptUnclosedString: - return QColor(0x00,0x00,0x80); + return TQColor(0x00,0x00,0x80); case UnknownTag: case UnknownAttribute: - return QColor(0xff,0x00,0x00); + return TQColor(0xff,0x00,0x00); case Attribute: case VBScriptNumber: case ASPVBScriptNumber: - return QColor(0x00,0x80,0x80); + return TQColor(0x00,0x80,0x80); case HTMLNumber: case JavaScriptNumber: @@ -111,7 +111,7 @@ QColor QextScintillaLexerHTML::color(int style) const case PythonFunctionMethodName: case ASPPythonNumber: case ASPPythonFunctionMethodName: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case HTMLDoubleQuotedString: case HTMLSingleQuotedString: @@ -124,50 +124,50 @@ QColor QextScintillaLexerHTML::color(int style) const case ASPPythonDoubleQuotedString: case ASPPythonSingleQuotedString: case PHPKeyword: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case OtherInTag: case Entity: case VBScriptString: case ASPVBScriptString: - return QColor(0x80,0x00,0x80); + return TQColor(0x80,0x00,0x80); case HTMLComment: case SGMLComment: - return QColor(0x80,0x80,0x00); + return TQColor(0x80,0x80,0x00); case XMLStart: case XMLEnd: case PHPStart: case PythonClassName: case ASPPythonClassName: - return QColor(0x00,0x00,0xff); + return TQColor(0x00,0x00,0xff); case HTMLValue: - return QColor(0xff,0x00,0xff); + return TQColor(0xff,0x00,0xff); case SGMLParameter: - return QColor(0x00,0x66,0x00); + return TQColor(0x00,0x66,0x00); case SGMLDoubleQuotedString: case SGMLError: - return QColor(0x80,0x00,0x00); + return TQColor(0x80,0x00,0x00); case SGMLSingleQuotedString: - return QColor(0x99,0x33,0x00); + return TQColor(0x99,0x33,0x00); case SGMLSpecial: - return QColor(0x33,0x66,0xff); + return TQColor(0x33,0x66,0xff); case SGMLEntity: - return QColor(0x33,0x33,0x33); + return TQColor(0x33,0x33,0x33); case SGMLBlockDefault: - return QColor(0x00,0x00,0x66); + return TQColor(0x00,0x00,0x66); case JavaScriptStart: case ASPJavaScriptStart: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); case JavaScriptComment: case JavaScriptCommentLine: @@ -176,10 +176,10 @@ QColor QextScintillaLexerHTML::color(int style) const case PythonComment: case ASPPythonComment: case PHPDoubleQuotedString: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case JavaScriptCommentDoc: - return QColor(0x3f,0x70,0x3f); + return TQColor(0x3f,0x70,0x3f); case JavaScriptKeyword: case ASPJavaScriptKeyword: @@ -187,41 +187,41 @@ QColor QextScintillaLexerHTML::color(int style) const case ASPPythonKeyword: case PHPVariable: case PHPDoubleQuotedVariable: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); case ASPJavaScriptCommentDoc: - return QColor(0x7f,0x7f,0x7f); + return TQColor(0x7f,0x7f,0x7f); case VBScriptComment: case ASPVBScriptComment: - return QColor(0x00,0x80,0x00); + return TQColor(0x00,0x80,0x00); case PythonStart: case PythonDefault: case ASPPythonStart: case ASPPythonDefault: - return QColor(0x80,0x80,0x80); + return TQColor(0x80,0x80,0x80); case PythonTripleSingleQuotedString: case PythonTripleDoubleQuotedString: case ASPPythonTripleSingleQuotedString: case ASPPythonTripleDoubleQuotedString: - return QColor(0x7f,0x00,0x00); + return TQColor(0x7f,0x00,0x00); case PHPDefault: - return QColor(0x00,0x00,0x33); + return TQColor(0x00,0x00,0x33); case PHPSingleQuotedString: - return QColor(0x00,0x9f,0x00); + return TQColor(0x00,0x9f,0x00); case PHPNumber: - return QColor(0xcc,0x99,0x00); + return TQColor(0xcc,0x99,0x00); case PHPComment: - return QColor(0x99,0x99,0x99); + return TQColor(0x99,0x99,0x99); case PHPCommentLine: - return QColor(0x66,0x66,0x66); + return TQColor(0x66,0x66,0x66); } return QextScintillaLexer::color(style); @@ -288,26 +288,26 @@ bool QextScintillaLexerHTML::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerHTML::font(int style) const +TQFont QextScintillaLexerHTML::font(int style) const { - QFont f; + TQFont f; switch (style) { case Default: case Entity: #if defined(Q_OS_WIN) - f = QFont("Times New Roman",11); + f = TQFont("Times New Roman",11); #else - f = QFont("Bitstream Charter",10); + f = TQFont("Bitstream Charter",10); #endif break; case HTMLComment: #if defined(Q_OS_WIN) - f = QFont("Verdana",9); + f = TQFont("Verdana",9); #else - f = QFont("Bitstream Vera Sans",8); + f = TQFont("Bitstream Vera Sans",8); #endif break; @@ -333,9 +333,9 @@ QFont QextScintillaLexerHTML::font(int style) const case ASPJavaScriptKeyword: case ASPJavaScriptSymbol: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif f.setBold(TRUE); break; @@ -358,9 +358,9 @@ QFont QextScintillaLexerHTML::font(int style) const case ASPPythonComment: case PHPComment: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif break; @@ -375,18 +375,18 @@ QFont QextScintillaLexerHTML::font(int style) const case ASPVBScriptIdentifier: case ASPVBScriptUnclosedString: #if defined(Q_OS_WIN) - f = QFont("Lucida Sans Unicode",9); + f = TQFont("Lucida Sans Unicode",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif break; case VBScriptKeyword: case ASPVBScriptKeyword: #if defined(Q_OS_WIN) - f = QFont("Lucida Sans Unicode",9); + f = TQFont("Lucida Sans Unicode",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif f.setBold(TRUE); break; @@ -396,9 +396,9 @@ QFont QextScintillaLexerHTML::font(int style) const case ASPPythonDoubleQuotedString: case ASPPythonSingleQuotedString: #if defined(Q_OS_WIN) - f = QFont("Courier New",10); + f = TQFont("Courier New",10); #else - f = QFont("Bitstream Vera Sans Mono",9); + f = TQFont("Bitstream Vera Sans Mono",9); #endif break; @@ -411,9 +411,9 @@ QFont QextScintillaLexerHTML::font(int style) const case PHPCommentLine: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif f.setItalic(TRUE); break; @@ -474,7 +474,7 @@ const char *QextScintillaLexerHTML::keywords(int set) const "onselect onsubmit onunload " "profile prompt " "readonly rel rev rows rowspan rules " - "scheme scope selected shape size span src standby " + "scheme scope selected tqshape size span src standby " "start style summary " "tabindex target text title topmargin type " "usemap " @@ -532,7 +532,7 @@ const char *QextScintillaLexerHTML::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerHTML::description(int style) const +TQString QextScintillaLexerHTML::description(int style) const { switch (style) { @@ -864,27 +864,27 @@ QString QextScintillaLexerHTML::description(int style) const return tr("PHP operator"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerHTML::paper(int style) const +TQColor QextScintillaLexerHTML::paper(int style) const { switch (style) { case ASPAtStart: - return QColor(0xff,0xff,0x00); + return TQColor(0xff,0xff,0x00); case ASPStart: case CDATA: - return QColor(0xff,0xdf,0x00); + return TQColor(0xff,0xdf,0x00); case PHPStart: - return QColor(0xff,0xef,0xbf); + return TQColor(0xff,0xef,0xbf); case HTMLValue: - return QColor(0xff,0xef,0xff); + return TQColor(0xff,0xef,0xff); case SGMLDefault: case SGMLCommand: @@ -894,13 +894,13 @@ QColor QextScintillaLexerHTML::paper(int style) const case SGMLSpecial: case SGMLEntity: case SGMLComment: - return QColor(0xef,0xef,0xff); + return TQColor(0xef,0xef,0xff); case SGMLError: - return QColor(0xff,0x66,0x66); + return TQColor(0xff,0x66,0x66); case SGMLBlockDefault: - return QColor(0xcc,0xcc,0xe0); + return TQColor(0xcc,0xcc,0xe0); case JavaScriptDefault: case JavaScriptComment: @@ -912,15 +912,15 @@ QColor QextScintillaLexerHTML::paper(int style) const case JavaScriptDoubleQuotedString: case JavaScriptSingleQuotedString: case JavaScriptSymbol: - return QColor(0xf0,0xf0,0xff); + return TQColor(0xf0,0xf0,0xff); case JavaScriptUnclosedString: case ASPJavaScriptUnclosedString: - return QColor(0xbf,0xbb,0xb0); + return TQColor(0xbf,0xbb,0xb0); case JavaScriptRegex: case ASPJavaScriptRegex: - return QColor(0xff,0xbb,0xb0); + return TQColor(0xff,0xbb,0xb0); case ASPJavaScriptDefault: case ASPJavaScriptComment: @@ -932,7 +932,7 @@ QColor QextScintillaLexerHTML::paper(int style) const case ASPJavaScriptDoubleQuotedString: case ASPJavaScriptSingleQuotedString: case ASPJavaScriptSymbol: - return QColor(0xdf,0xdf,0x7f); + return TQColor(0xdf,0xdf,0x7f); case VBScriptDefault: case VBScriptComment: @@ -940,11 +940,11 @@ QColor QextScintillaLexerHTML::paper(int style) const case VBScriptKeyword: case VBScriptString: case VBScriptIdentifier: - return QColor(0xef,0xef,0xff); + return TQColor(0xef,0xef,0xff); case VBScriptUnclosedString: case ASPVBScriptUnclosedString: - return QColor(0x7f,0x7f,0xff); + return TQColor(0x7f,0x7f,0xff); case ASPVBScriptDefault: case ASPVBScriptComment: @@ -952,7 +952,7 @@ QColor QextScintillaLexerHTML::paper(int style) const case ASPVBScriptKeyword: case ASPVBScriptString: case ASPVBScriptIdentifier: - return QColor(0xcf,0xcf,0xef); + return TQColor(0xcf,0xcf,0xef); case PythonDefault: case PythonComment: @@ -966,7 +966,7 @@ QColor QextScintillaLexerHTML::paper(int style) const case PythonFunctionMethodName: case PythonOperator: case PythonIdentifier: - return QColor(0xef,0xff,0xef); + return TQColor(0xef,0xff,0xef); case ASPPythonDefault: case ASPPythonComment: @@ -980,7 +980,7 @@ QColor QextScintillaLexerHTML::paper(int style) const case ASPPythonFunctionMethodName: case ASPPythonOperator: case ASPPythonIdentifier: - return QColor(0xcf,0xef,0xcf); + return TQColor(0xcf,0xef,0xcf); case PHPDefault: case PHPDoubleQuotedString: @@ -992,7 +992,7 @@ QColor QextScintillaLexerHTML::paper(int style) const case PHPCommentLine: case PHPDoubleQuotedVariable: case PHPOperator: - return QColor(0xff,0xf8,0xf8); + return TQColor(0xff,0xf8,0xf8); } return QextScintillaLexer::paper(style); @@ -1009,7 +1009,7 @@ void QextScintillaLexerHTML::refreshProperties() // Read properties from the settings. -bool QextScintillaLexerHTML::readProperties(QSettings &qs,const QString &prefix) +bool QextScintillaLexerHTML::readProperties(TQSettings &qs,const TQString &prefix) { int rc = TRUE; bool ok, flag; @@ -1043,7 +1043,7 @@ bool QextScintillaLexerHTML::readProperties(QSettings &qs,const QString &prefix) // Write properties to the settings. -bool QextScintillaLexerHTML::writeProperties(QSettings &qs,const QString &prefix) const +bool QextScintillaLexerHTML::writeProperties(TQSettings &qs,const TQString &prefix) const { int rc = TRUE; diff --git a/qt/qextscintillalexerhtml.h b/qt/qextscintillalexerhtml.h index 1a71fe9..a5fac6e 100644 --- a/qt/qextscintillalexerhtml.h +++ b/qt/qextscintillalexerhtml.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERHTML_H -#define QEXTSCINTILLALEXERHTML_H +#ifndef TQEXTSCINTILLALEXERHTML_H +#define TQEXTSCINTILLALEXERHTML_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerHTML class encapsulates the Scintilla HTML //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerHTML : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerHTML : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -375,7 +376,7 @@ public: //! Construct a QextScintillaLexerHTML with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerHTML(QObject *parent = 0,const char *name = 0); + QextScintillaLexerHTML(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerHTML instance. virtual ~QextScintillaLexerHTML(); @@ -394,28 +395,28 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; //! Causes all properties to be refreshed by emitting the //! propertyChanged() signal as required. @@ -460,13 +461,13 @@ protected: //! (which has a trailing '/') should be used as a prefix to the key of //! each setting. TRUE is returned if there is no error. //! - bool readProperties(QSettings &qs,const QString &prefix); + bool readProperties(TQSettings &qs,const TQString &prefix); //! The lexer's properties are written to the settings \a qs. //! \a prefix (which has a trailing '/') should be used as a prefix to //! the key of each setting. TRUE is returned if there is no error. //! - bool writeProperties(QSettings &qs,const QString &prefix) const; + bool writeProperties(TQSettings &qs,const TQString &prefix) const; private: void setCompactProp(); @@ -477,7 +478,7 @@ private: bool fold_preproc; bool case_sens_tags; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerHTML(const QextScintillaLexerHTML &); QextScintillaLexerHTML &operator=(const QextScintillaLexerHTML &); #endif diff --git a/qt/qextscintillalexeridl.cpp b/qt/qextscintillalexeridl.cpp index 96ea5eb..ecf7773 100644 --- a/qt/qextscintillalexeridl.cpp +++ b/qt/qextscintillalexeridl.cpp @@ -3,31 +3,31 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include +#include +#include -#include "qextscintillalexeridl.h" +#include "tqextscintillalexeridl.h" // The ctor. -QextScintillaLexerIDL::QextScintillaLexerIDL(QObject *parent,const char *name) +QextScintillaLexerIDL::QextScintillaLexerIDL(TQObject *parent,const char *name) : QextScintillaLexerCPP(parent,name) { } @@ -47,10 +47,10 @@ const char *QextScintillaLexerIDL::language() const // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerIDL::color(int style) const +TQColor QextScintillaLexerIDL::color(int style) const { if (style == UUID) - return QColor(0x80,0x40,0x80); + return TQColor(0x80,0x40,0x80); return QextScintillaLexerCPP::color(style); } @@ -84,7 +84,7 @@ const char *QextScintillaLexerIDL::keywords(int set) const "object odl oleautomation optimize optional out out_of_line " "pipe pointer_default pragma properties propget propput " "propputref ptr public range readonly ref represent_as " - "requestedit restricted retval shape short signed size_is " + "requestedit restricted retval tqshape short signed size_is " "small source strict_context_handle string struct switch " "switch_is switch_type transmit_as typedef uidefault union " "unique unsigned user_marshal usesgetlasterror uuid v1_enum " @@ -93,7 +93,7 @@ const char *QextScintillaLexerIDL::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerIDL::description(int style) const +TQString QextScintillaLexerIDL::description(int style) const { if (style == UUID) return tr("UUID"); diff --git a/qt/qextscintillalexeridl.h b/qt/qextscintillalexeridl.h index 1a5c2ee..e4e601c 100644 --- a/qt/qextscintillalexeridl.h +++ b/qt/qextscintillalexeridl.h @@ -3,43 +3,44 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERIDL_H -#define QEXTSCINTILLALEXERIDL_H +#ifndef TQEXTSCINTILLALEXERIDL_H +#define TQEXTSCINTILLALEXERIDL_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerIDL class encapsulates the Scintilla IDL //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerIDL : public QextScintillaLexerCPP +class TQEXTSCINTILLA_EXPORT QextScintillaLexerIDL : public QextScintillaLexerCPP { Q_OBJECT + TQ_OBJECT public: //! Construct a QextScintillaLexerIDL with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerIDL(QObject *parent = 0,const char *name = 0); + QextScintillaLexerIDL(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerIDL instance. virtual ~QextScintillaLexerIDL(); @@ -51,19 +52,19 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerIDL(const QextScintillaLexerIDL &); QextScintillaLexerIDL &operator=(const QextScintillaLexerIDL &); #endif diff --git a/qt/qextscintillalexerjava.cpp b/qt/qextscintillalexerjava.cpp index 71e2cd3..5026b9a 100644 --- a/qt/qextscintillalexerjava.cpp +++ b/qt/qextscintillalexerjava.cpp @@ -3,28 +3,28 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include "qextscintillalexerjava.h" +#include "tqextscintillalexerjava.h" // The ctor. -QextScintillaLexerJava::QextScintillaLexerJava(QObject *parent,const char *name) +QextScintillaLexerJava::QextScintillaLexerJava(TQObject *parent,const char *name) : QextScintillaLexerCPP(parent,name) { } diff --git a/qt/qextscintillalexerjava.h b/qt/qextscintillalexerjava.h index 1aa59d3..a0d5ad1 100644 --- a/qt/qextscintillalexerjava.h +++ b/qt/qextscintillalexerjava.h @@ -3,43 +3,44 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERJAVA_H -#define QEXTSCINTILLALEXERJAVA_H +#ifndef TQEXTSCINTILLALEXERJAVA_H +#define TQEXTSCINTILLALEXERJAVA_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerJava class encapsulates the Scintilla Java //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerJava : public QextScintillaLexerCPP +class TQEXTSCINTILLA_EXPORT QextScintillaLexerJava : public QextScintillaLexerCPP { Q_OBJECT + TQ_OBJECT public: //! Construct a QextScintillaLexerJava with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerJava(QObject *parent = 0,const char *name = 0); + QextScintillaLexerJava(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerJava instance. virtual ~QextScintillaLexerJava(); @@ -52,7 +53,7 @@ public: const char *keywords(int set) const; private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerJava(const QextScintillaLexerJava &); QextScintillaLexerJava &operator=(const QextScintillaLexerJava &); #endif diff --git a/qt/qextscintillalexerjavascript.cpp b/qt/qextscintillalexerjavascript.cpp index ee46092..2969d14 100644 --- a/qt/qextscintillalexerjavascript.cpp +++ b/qt/qextscintillalexerjavascript.cpp @@ -3,27 +3,27 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include +#include +#include -#include "qextscintillalexerjavascript.h" +#include "tqextscintillalexerjavascript.h" // The list of JavaScript keywords that can be used by other friendly lexers. @@ -37,7 +37,7 @@ const char *QextScintillaLexerJavaScript::keywordClass = // The ctor. -QextScintillaLexerJavaScript::QextScintillaLexerJavaScript(QObject *parent,const char *name) +QextScintillaLexerJavaScript::QextScintillaLexerJavaScript(TQObject *parent,const char *name) : QextScintillaLexerCPP(parent,name) { } @@ -57,10 +57,10 @@ const char *QextScintillaLexerJavaScript::language() const // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerJavaScript::color(int style) const +TQColor QextScintillaLexerJavaScript::color(int style) const { if (style == Regex) - return QColor(0x3f,0x7f,0x3f); + return TQColor(0x3f,0x7f,0x3f); return QextScintillaLexerCPP::color(style); } @@ -77,13 +77,13 @@ bool QextScintillaLexerJavaScript::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerJavaScript::font(int style) const +TQFont QextScintillaLexerJavaScript::font(int style) const { if (style == Regex) #if defined(Q_OS_WIN) - return QFont("Courier New",10); + return TQFont("Courier New",10); #else - return QFont("Bitstream Vera Sans Mono",9); + return TQFont("Bitstream Vera Sans Mono",9); #endif return QextScintillaLexerCPP::font(style); @@ -101,7 +101,7 @@ const char *QextScintillaLexerJavaScript::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerJavaScript::description(int style) const +TQString QextScintillaLexerJavaScript::description(int style) const { if (style == Regex) return tr("Regular expression"); @@ -111,10 +111,10 @@ QString QextScintillaLexerJavaScript::description(int style) const // Returns the background colour of the text for a style. -QColor QextScintillaLexerJavaScript::paper(int style) const +TQColor QextScintillaLexerJavaScript::paper(int style) const { if (style == Regex) - return QColor(0xe0,0xf0,0xff); + return TQColor(0xe0,0xf0,0xff); return QextScintillaLexer::paper(style); } diff --git a/qt/qextscintillalexerjavascript.h b/qt/qextscintillalexerjavascript.h index b166524..c94f772 100644 --- a/qt/qextscintillalexerjavascript.h +++ b/qt/qextscintillalexerjavascript.h @@ -3,43 +3,44 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERJSCRIPT_H -#define QEXTSCINTILLALEXERJSCRIPT_H +#ifndef TQEXTSCINTILLALEXERJSCRIPT_H +#define TQEXTSCINTILLALEXERJSCRIPT_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerJavaScript class encapsulates the Scintilla //! JavaScript lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerJavaScript : public QextScintillaLexerCPP +class TQEXTSCINTILLA_EXPORT QextScintillaLexerJavaScript : public QextScintillaLexerCPP { Q_OBJECT + TQ_OBJECT public: //! Construct a QextScintillaLexerJavaScript with parent \a parent and //! name \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerJavaScript(QObject *parent = 0,const char *name = 0); + QextScintillaLexerJavaScript(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerJavaScript instance. virtual ~QextScintillaLexerJavaScript(); @@ -51,35 +52,35 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; private: friend class QextScintillaLexerHTML; static const char *keywordClass; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerJavaScript(const QextScintillaLexerJavaScript &); QextScintillaLexerJavaScript &operator=(const QextScintillaLexerJavaScript &); #endif diff --git a/qt/qextscintillalexerlua.cpp b/qt/qextscintillalexerlua.cpp index 05090bf..2025068 100644 --- a/qt/qextscintillalexerlua.cpp +++ b/qt/qextscintillalexerlua.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexerlua.h" +#include "tqextscintillalexerlua.h" // The ctor. -QextScintillaLexerLua::QextScintillaLexerLua(QObject *parent, const char *name) +QextScintillaLexerLua::QextScintillaLexerLua(TQObject *parent, const char *name) : QextScintillaLexer(parent,name), fold_compact(TRUE) { } @@ -72,33 +72,33 @@ int QextScintillaLexerLua::braceStyle() const // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerLua::color(int style) const +TQColor QextScintillaLexerLua::color(int style) const { switch (style) { case Default: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); case Comment: case LineComment: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case Number: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Keyword: case BasicFunctions: case StringTableMathsFunctions: case CoroutinesIOSystemFacilities: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); case String: case Character: case LiteralString: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case Preprocessor: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); case Operator: case Identifier: @@ -117,9 +117,9 @@ bool QextScintillaLexerLua::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerLua::font(int style) const +TQFont QextScintillaLexerLua::font(int style) const { - QFont f; + TQFont f; switch (style) { @@ -127,9 +127,9 @@ QFont QextScintillaLexerLua::font(int style) const case LineComment: case LiteralString: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif break; @@ -203,7 +203,7 @@ const char *QextScintillaLexerLua::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerLua::description(int style) const +TQString QextScintillaLexerLua::description(int style) const { switch (style) { @@ -253,32 +253,32 @@ QString QextScintillaLexerLua::description(int style) const return tr("Coroutines, i/o and system facilities"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerLua::paper(int style) const +TQColor QextScintillaLexerLua::paper(int style) const { switch (style) { case Comment: - return QColor(0xd0,0xf0,0xf0); + return TQColor(0xd0,0xf0,0xf0); case LiteralString: - return QColor(0xe0,0xff,0xff); + return TQColor(0xe0,0xff,0xff); case UnclosedString: - return QColor(0xe0,0xc0,0xe0); + return TQColor(0xe0,0xc0,0xe0); case BasicFunctions: - return QColor(0xd0,0xff,0xd0); + return TQColor(0xd0,0xff,0xd0); case StringTableMathsFunctions: - return QColor(0xd0,0xd0,0xff); + return TQColor(0xd0,0xd0,0xff); case CoroutinesIOSystemFacilities: - return QColor(0xff,0xd0,0xd0); + return TQColor(0xff,0xd0,0xd0); } return QextScintillaLexer::paper(style); @@ -293,7 +293,7 @@ void QextScintillaLexerLua::refreshProperties() // Read properties from the settings. -bool QextScintillaLexerLua::readProperties(QSettings &qs,const QString &prefix) +bool QextScintillaLexerLua::readProperties(TQSettings &qs,const TQString &prefix) { int rc = TRUE; bool ok, flag; @@ -311,7 +311,7 @@ bool QextScintillaLexerLua::readProperties(QSettings &qs,const QString &prefix) // Write properties to the settings. -bool QextScintillaLexerLua::writeProperties(QSettings &qs,const QString &prefix) const +bool QextScintillaLexerLua::writeProperties(TQSettings &qs,const TQString &prefix) const { int rc = TRUE; diff --git a/qt/qextscintillalexerlua.h b/qt/qextscintillalexerlua.h index 73016e6..d82b0b2 100644 --- a/qt/qextscintillalexerlua.h +++ b/qt/qextscintillalexerlua.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERLUA_H -#define QEXTSCINTILLALEXERLUA_H +#ifndef TQEXTSCINTILLALEXERLUA_H +#define TQEXTSCINTILLALEXERLUA_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerLua class encapsulates the Scintilla Lua //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerLua : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerLua : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -88,7 +89,7 @@ public: //! Construct a QextScintillaLexerLua with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerLua(QObject *parent = 0,const char *name = 0); + QextScintillaLexerLua(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerLua instance. virtual ~QextScintillaLexerLua(); @@ -112,28 +113,28 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; //! Causes all properties to be refreshed by emitting the //! propertyChanged() signal as required. @@ -156,20 +157,20 @@ protected: //! (which has a trailing '/') should be used as a prefix to the key of //! each setting. TRUE is returned if there is no error. //! - bool readProperties(QSettings &qs,const QString &prefix); + bool readProperties(TQSettings &qs,const TQString &prefix); //! The lexer's properties are written to the settings \a qs. //! \a prefix (which has a trailing '/') should be used as a prefix to //! the key of each setting. TRUE is returned if there is no error. //! - bool writeProperties(QSettings &qs,const QString &prefix) const; + bool writeProperties(TQSettings &qs,const TQString &prefix) const; private: void setCompactProp(); bool fold_compact; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerLua(const QextScintillaLexerLua &); QextScintillaLexerLua &operator=(const QextScintillaLexerLua &); #endif diff --git a/qt/qextscintillalexermakefile.cpp b/qt/qextscintillalexermakefile.cpp index 10e219b..5cb68f3 100644 --- a/qt/qextscintillalexermakefile.cpp +++ b/qt/qextscintillalexermakefile.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexermakefile.h" +#include "tqextscintillalexermakefile.h" // The ctor. -QextScintillaLexerMakefile::QextScintillaLexerMakefile(QObject *parent,const char *name) +QextScintillaLexerMakefile::QextScintillaLexerMakefile(TQObject *parent,const char *name) : QextScintillaLexer(parent,name) { } @@ -57,33 +57,33 @@ const char *QextScintillaLexerMakefile::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerMakefile::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ-"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerMakefile::color(int style) const +TQColor QextScintillaLexerMakefile::color(int style) const { switch (style) { case Default: case Operator: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); case Comment: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case Preprocessor: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); case Variable: - return QColor(0x00,0x00,0x80); + return TQColor(0x00,0x00,0x80); case Target: - return QColor(0xa0,0x00,0x00); + return TQColor(0xa0,0x00,0x00); case Error: - return QColor(0xff,0xff,0x00); + return TQColor(0xff,0xff,0x00); } return QextScintillaLexer::color(style); @@ -98,15 +98,15 @@ bool QextScintillaLexerMakefile::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerMakefile::font(int style) const +TQFont QextScintillaLexerMakefile::font(int style) const { - QFont f; + TQFont f; if (style == Comment) #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif else f = QextScintillaLexer::font(style); @@ -116,7 +116,7 @@ QFont QextScintillaLexerMakefile::font(int style) const // Returns the user name of a style. -QString QextScintillaLexerMakefile::description(int style) const +TQString QextScintillaLexerMakefile::description(int style) const { switch (style) { @@ -142,15 +142,15 @@ QString QextScintillaLexerMakefile::description(int style) const return tr("Error"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerMakefile::paper(int style) const +TQColor QextScintillaLexerMakefile::paper(int style) const { if (style == Error) - return QColor(0xff,0x00,0x00); + return TQColor(0xff,0x00,0x00); return QextScintillaLexer::paper(style); } diff --git a/qt/qextscintillalexermakefile.h b/qt/qextscintillalexermakefile.h index 34b2e6a..8f4d14d 100644 --- a/qt/qextscintillalexermakefile.h +++ b/qt/qextscintillalexermakefile.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERMAKEFILE_H -#define QEXTSCINTILLALEXERMAKEFILE_H +#ifndef TQEXTSCINTILLALEXERMAKEFILE_H +#define TQEXTSCINTILLALEXERMAKEFILE_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerMakefile class encapsulates the Scintilla //! Makefile lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerMakefile : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerMakefile : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -64,7 +65,7 @@ public: //! Construct a QextScintillaLexerMakefile with parent \a parent and //! name \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerMakefile(QObject *parent = 0,const char *name = 0); + QextScintillaLexerMakefile(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerMakefile instance. virtual ~QextScintillaLexerMakefile(); @@ -83,27 +84,27 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerMakefile(const QextScintillaLexerMakefile &); QextScintillaLexerMakefile &operator=(const QextScintillaLexerMakefile &); #endif diff --git a/qt/qextscintillalexerperl.cpp b/qt/qextscintillalexerperl.cpp index 1d5c15b..380b9a9 100644 --- a/qt/qextscintillalexerperl.cpp +++ b/qt/qextscintillalexerperl.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexerperl.h" +#include "tqextscintillalexerperl.h" // The ctor. -QextScintillaLexerPerl::QextScintillaLexerPerl(QObject *parent, +QextScintillaLexerPerl::QextScintillaLexerPerl(TQObject *parent, const char *name) : QextScintillaLexer(parent,name), fold_comments(FALSE), fold_compact(TRUE) @@ -66,35 +66,35 @@ int QextScintillaLexerPerl::braceStyle() const // Return the string of characters that comprise a word. const char *QextScintillaLexerPerl::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$@%&"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789_$@%&"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerPerl::color(int style) const +TQColor QextScintillaLexerPerl::color(int style) const { switch (style) { case Default: - return QColor(0x80,0x80,0x80); + return TQColor(0x80,0x80,0x80); case Error: case Backticks: case QuotedStringQX: - return QColor(0xff,0xff,0x00); + return TQColor(0xff,0xff,0x00); case Comment: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case POD: case PODVerbatim: - return QColor(0x00,0x40,0x00); + return TQColor(0x00,0x40,0x00); case Number: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Keyword: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); case DoubleQuotedString: case SingleQuotedString: @@ -103,7 +103,7 @@ QColor QextScintillaLexerPerl::color(int style) const case BacktickHereDocument: case QuotedStringQ: case QuotedStringQQ: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case Operator: case Identifier: @@ -116,10 +116,10 @@ QColor QextScintillaLexerPerl::color(int style) const case HereDocumentDelimiter: case QuotedStringQR: case QuotedStringQW: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); case DataSection: - return QColor(0x60,0x00,0x00); + return TQColor(0x60,0x00,0x00); } return QextScintillaLexer::color(style); @@ -145,25 +145,25 @@ bool QextScintillaLexerPerl::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerPerl::font(int style) const +TQFont QextScintillaLexerPerl::font(int style) const { - QFont f; + TQFont f; switch (style) { case Comment: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif break; case POD: #if defined(Q_OS_WIN) - f = QFont("Times New Roman",11); + f = TQFont("Times New Roman",11); #else - f = QFont("Bitstream Charter",10); + f = TQFont("Bitstream Charter",10); #endif break; @@ -179,9 +179,9 @@ QFont QextScintillaLexerPerl::font(int style) const case QuotedStringQQ: case PODVerbatim: #if defined(Q_OS_WIN) - f = QFont("Courier New",10); + f = TQFont("Courier New",10); #else - f = QFont("Bitstream Vera Sans Mono",9); + f = TQFont("Bitstream Vera Sans Mono",9); #endif break; @@ -243,7 +243,7 @@ const char *QextScintillaLexerPerl::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerPerl::description(int style) const +TQString QextScintillaLexerPerl::description(int style) const { switch (style) { @@ -332,53 +332,53 @@ QString QextScintillaLexerPerl::description(int style) const return tr("POD verbatim"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerPerl::paper(int style) const +TQColor QextScintillaLexerPerl::paper(int style) const { switch (style) { case Error: - return QColor(0xff,0x00,0x00); + return TQColor(0xff,0x00,0x00); case POD: - return QColor(0xe0,0xff,0xe0); + return TQColor(0xe0,0xff,0xe0); case Scalar: - return QColor(0xff,0xe0,0xe0); + return TQColor(0xff,0xe0,0xe0); case Array: - return QColor(0xff,0xff,0xe0); + return TQColor(0xff,0xff,0xe0); case Hash: - return QColor(0xff,0xe0,0xff); + return TQColor(0xff,0xe0,0xff); case SymbolTable: - return QColor(0xe0,0xe0,0xe0); + return TQColor(0xe0,0xe0,0xe0); case Regex: - return QColor(0xa0,0xff,0xa0); + return TQColor(0xa0,0xff,0xa0); case Substitution: - return QColor(0xf0,0xe0,0x80); + return TQColor(0xf0,0xe0,0x80); case Backticks: - return QColor(0xa0,0x80,0x80); + return TQColor(0xa0,0x80,0x80); case DataSection: - return QColor(0xff,0xf0,0xd8); + return TQColor(0xff,0xf0,0xd8); case HereDocumentDelimiter: case SingleQuotedHereDocument: case DoubleQuotedHereDocument: case BacktickHereDocument: - return QColor(0xdd,0xd0,0xdd); + return TQColor(0xdd,0xd0,0xdd); case PODVerbatim: - return QColor(0xc0,0xff,0xc0); + return TQColor(0xc0,0xff,0xc0); } return QextScintillaLexer::paper(style); @@ -394,7 +394,7 @@ void QextScintillaLexerPerl::refreshProperties() // Read properties from the settings. -bool QextScintillaLexerPerl::readProperties(QSettings &qs,const QString &prefix) +bool QextScintillaLexerPerl::readProperties(TQSettings &qs,const TQString &prefix) { int rc = TRUE; bool ok, flag; @@ -420,7 +420,7 @@ bool QextScintillaLexerPerl::readProperties(QSettings &qs,const QString &prefix) // Write properties to the settings. -bool QextScintillaLexerPerl::writeProperties(QSettings &qs,const QString &prefix) const +bool QextScintillaLexerPerl::writeProperties(TQSettings &qs,const TQString &prefix) const { int rc = TRUE; diff --git a/qt/qextscintillalexerperl.h b/qt/qextscintillalexerperl.h index 0beb75a..f6e52e1 100644 --- a/qt/qextscintillalexerperl.h +++ b/qt/qextscintillalexerperl.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERPERL_H -#define QEXTSCINTILLALEXERPERL_H +#ifndef TQEXTSCINTILLALEXERPERL_H +#define TQEXTSCINTILLALEXERPERL_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerPerl class encapsulates the Scintilla Perl //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerPerl : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerPerl : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -130,7 +131,7 @@ public: //! Construct a QextScintillaLexerPerl with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerPerl(QObject *parent = 0,const char *name = 0); + QextScintillaLexerPerl(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerPerl instance. virtual ~QextScintillaLexerPerl(); @@ -152,28 +153,28 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; //! Causes all properties to be refreshed by emitting the //! propertyChanged() signal as required. @@ -207,13 +208,13 @@ protected: //! (which has a trailing '/') should be used as a prefix to the key of //! each setting. TRUE is returned if there is no error. //! - bool readProperties(QSettings &qs,const QString &prefix); + bool readProperties(TQSettings &qs,const TQString &prefix); //! The lexer's properties are written to the settings \a qs. //! \a prefix (which has a trailing '/') should be used as a prefix to //! the key of each setting. TRUE is returned if there is no error. //! - bool writeProperties(QSettings &qs,const QString &prefix) const; + bool writeProperties(TQSettings &qs,const TQString &prefix) const; private: void setCommentProp(); @@ -222,7 +223,7 @@ private: bool fold_comments; bool fold_compact; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerPerl(const QextScintillaLexerPerl &); QextScintillaLexerPerl &operator=(const QextScintillaLexerPerl &); #endif diff --git a/qt/qextscintillalexerpov.cpp b/qt/qextscintillalexerpov.cpp index 1fabd0f..a9fe9a2 100644 --- a/qt/qextscintillalexerpov.cpp +++ b/qt/qextscintillalexerpov.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexerpov.h" +#include "tqextscintillalexerpov.h" // The ctor. -QextScintillaLexerPOV::QextScintillaLexerPOV(QObject *parent,const char *name) +QextScintillaLexerPOV::QextScintillaLexerPOV(TQObject *parent,const char *name) : QextScintillaLexer(parent,name), fold_comments(FALSE), fold_compact(TRUE), fold_directives(FALSE) { @@ -65,36 +65,36 @@ int QextScintillaLexerPOV::braceStyle() const // Return the string of characters that comprise a word. const char *QextScintillaLexerPOV::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_#"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789_#"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerPOV::color(int style) const +TQColor QextScintillaLexerPOV::color(int style) const { switch (style) { case Default: - return QColor(0xff,0x00,0x80); + return TQColor(0xff,0x00,0x80); case Comment: case CommentLine: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case Number: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Operator: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); case String: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case Directive: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); case BadDirective: - return QColor(0x80,0x40,0x20); + return TQColor(0x80,0x40,0x20); case ObjectsCSGAppearance: case TypesModifiersItems: @@ -103,7 +103,7 @@ QColor QextScintillaLexerPOV::color(int style) const case KeywordSet6: case KeywordSet7: case KeywordSet8: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); } return QextScintillaLexer::color(style); @@ -118,18 +118,18 @@ bool QextScintillaLexerPOV::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerPOV::font(int style) const +TQFont QextScintillaLexerPOV::font(int style) const { - QFont f; + TQFont f; switch (style) { case Comment: case CommentLine: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif break; @@ -141,9 +141,9 @@ QFont QextScintillaLexerPOV::font(int style) const case BadDirective: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif f.setItalic(TRUE); break; @@ -264,7 +264,7 @@ const char *QextScintillaLexerPOV::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerPOV::description(int style) const +TQString QextScintillaLexerPOV::description(int style) const { switch (style) { @@ -320,35 +320,35 @@ QString QextScintillaLexerPOV::description(int style) const return tr("User defined 3"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerPOV::paper(int style) const +TQColor QextScintillaLexerPOV::paper(int style) const { switch (style) { case UnclosedString: - return QColor(0xe0,0xc0,0xe0); + return TQColor(0xe0,0xc0,0xe0); case ObjectsCSGAppearance: - return QColor(0xff,0xd0,0xd0); + return TQColor(0xff,0xd0,0xd0); case TypesModifiersItems: - return QColor(0xff,0xff,0xd0); + return TQColor(0xff,0xff,0xd0); case PredefinedFunctions: - return QColor(0xd0,0xd0,0xff); + return TQColor(0xd0,0xd0,0xff); case KeywordSet6: - return QColor(0xd0,0xff,0xd0); + return TQColor(0xd0,0xff,0xd0); case KeywordSet7: - return QColor(0xd0,0xd0,0xd0); + return TQColor(0xd0,0xd0,0xd0); case KeywordSet8: - return QColor(0xe0,0xe0,0xe0); + return TQColor(0xe0,0xe0,0xe0); } return QextScintillaLexer::paper(style); @@ -365,7 +365,7 @@ void QextScintillaLexerPOV::refreshProperties() // Read properties from the settings. -bool QextScintillaLexerPOV::readProperties(QSettings &qs,const QString &prefix) +bool QextScintillaLexerPOV::readProperties(TQSettings &qs,const TQString &prefix) { int rc = TRUE; bool ok, flag; @@ -399,7 +399,7 @@ bool QextScintillaLexerPOV::readProperties(QSettings &qs,const QString &prefix) // Write properties to the settings. -bool QextScintillaLexerPOV::writeProperties(QSettings &qs,const QString &prefix) const +bool QextScintillaLexerPOV::writeProperties(TQSettings &qs,const TQString &prefix) const { int rc = TRUE; diff --git a/qt/qextscintillalexerpov.h b/qt/qextscintillalexerpov.h index 6314fe0..24edd6d 100644 --- a/qt/qextscintillalexerpov.h +++ b/qt/qextscintillalexerpov.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERPOV_H -#define QEXTSCINTILLALEXERPOV_H +#ifndef TQEXTSCINTILLALEXERPOV_H +#define TQEXTSCINTILLALEXERPOV_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerPOV class encapsulates the Scintilla POV //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerPOV : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerPOV : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -100,7 +101,7 @@ public: //! Construct a QextScintillaLexerPOV with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerPOV(QObject *parent = 0,const char *name = 0); + QextScintillaLexerPOV(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerPOV instance. virtual ~QextScintillaLexerPOV(); @@ -122,28 +123,28 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; //! Causes all properties to be refreshed by emitting the //! propertyChanged() signal as required. @@ -188,13 +189,13 @@ protected: //! (which has a trailing '/') should be used as a prefix to the key of //! each setting. TRUE is returned if there is no error. //! - bool readProperties(QSettings &qs,const QString &prefix); + bool readProperties(TQSettings &qs,const TQString &prefix); //! The lexer's properties are written to the settings \a qs. //! \a prefix (which has a trailing '/') should be used as a prefix to //! the key of each setting. TRUE is returned if there is no error. //! - bool writeProperties(QSettings &qs,const QString &prefix) const; + bool writeProperties(TQSettings &qs,const TQString &prefix) const; private: void setCommentProp(); @@ -205,7 +206,7 @@ private: bool fold_compact; bool fold_directives; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerPOV(const QextScintillaLexerPOV &); QextScintillaLexerPOV &operator=(const QextScintillaLexerPOV &); #endif diff --git a/qt/qextscintillalexerproperties.cpp b/qt/qextscintillalexerproperties.cpp index fb35123..914b1ff 100644 --- a/qt/qextscintillalexerproperties.cpp +++ b/qt/qextscintillalexerproperties.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexerproperties.h" +#include "tqextscintillalexerproperties.h" // The ctor. -QextScintillaLexerProperties::QextScintillaLexerProperties(QObject *parent,const char *name) +QextScintillaLexerProperties::QextScintillaLexerProperties(TQObject *parent,const char *name) : QextScintillaLexer(parent,name), fold_compact(TRUE) { } @@ -57,26 +57,26 @@ const char *QextScintillaLexerProperties::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerProperties::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ-"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerProperties::color(int style) const +TQColor QextScintillaLexerProperties::color(int style) const { switch (style) { case Comment: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Section: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case Assignment: - return QColor(0xb0,0x60,0x00); + return TQColor(0xb0,0x60,0x00); case DefaultValue: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); } return QextScintillaLexer::color(style); @@ -91,15 +91,15 @@ bool QextScintillaLexerProperties::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerProperties::font(int style) const +TQFont QextScintillaLexerProperties::font(int style) const { - QFont f; + TQFont f; if (style == Comment) #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif else f = QextScintillaLexer::font(style); @@ -109,7 +109,7 @@ QFont QextScintillaLexerProperties::font(int style) const // Returns the user name of a style. -QString QextScintillaLexerProperties::description(int style) const +TQString QextScintillaLexerProperties::description(int style) const { switch (style) { @@ -129,15 +129,15 @@ QString QextScintillaLexerProperties::description(int style) const return tr("Default value"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerProperties::paper(int style) const +TQColor QextScintillaLexerProperties::paper(int style) const { if (style == Section) - return QColor(0xe0,0xf0,0xf0); + return TQColor(0xe0,0xf0,0xf0); return QextScintillaLexer::paper(style); } @@ -151,7 +151,7 @@ void QextScintillaLexerProperties::refreshProperties() // Read properties from the settings. -bool QextScintillaLexerProperties::readProperties(QSettings &qs,const QString &prefix) +bool QextScintillaLexerProperties::readProperties(TQSettings &qs,const TQString &prefix) { int rc = TRUE; bool ok, flag; @@ -169,7 +169,7 @@ bool QextScintillaLexerProperties::readProperties(QSettings &qs,const QString &p // Write properties to the settings. -bool QextScintillaLexerProperties::writeProperties(QSettings &qs,const QString &prefix) const +bool QextScintillaLexerProperties::writeProperties(TQSettings &qs,const TQString &prefix) const { int rc = TRUE; diff --git a/qt/qextscintillalexerproperties.h b/qt/qextscintillalexerproperties.h index 466fe57..90f85a0 100644 --- a/qt/qextscintillalexerproperties.h +++ b/qt/qextscintillalexerproperties.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERPROPERTIES_H -#define QEXTSCINTILLALEXERPROPERTIES_H +#ifndef TQEXTSCINTILLALEXERPROPERTIES_H +#define TQEXTSCINTILLALEXERPROPERTIES_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerProperties class encapsulates the Scintilla //! Properties lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerProperties : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerProperties : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -58,7 +59,7 @@ public: //! Construct a QextScintillaLexerProperties with parent \a parent and //! name \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerProperties(QObject *parent = 0,const char *name = 0); + QextScintillaLexerProperties(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerProperties instance. virtual ~QextScintillaLexerProperties(); @@ -77,24 +78,24 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; //! Causes all properties to be refreshed by emitting the //! propertyChanged() signal as required. @@ -118,21 +119,21 @@ protected: //! each setting. TRUE is returned if there is no error. //! //! \sa writeProperties() - bool readProperties(QSettings &qs,const QString &prefix); + bool readProperties(TQSettings &qs,const TQString &prefix); //! The lexer's properties are written to the settings \a qs. //! \a prefix (which has a trailing '/') should be used as a prefix to //! the key of each setting. TRUE is returned if there is no error. //! //! \sa readProperties() - bool writeProperties(QSettings &qs,const QString &prefix) const; + bool writeProperties(TQSettings &qs,const TQString &prefix) const; private: void setCompactProp(); bool fold_compact; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerProperties(const QextScintillaLexerProperties &); QextScintillaLexerProperties &operator=(const QextScintillaLexerProperties &); #endif diff --git a/qt/qextscintillalexerpython.cpp b/qt/qextscintillalexerpython.cpp index b6252ae..92b8d2e 100644 --- a/qt/qextscintillalexerpython.cpp +++ b/qt/qextscintillalexerpython.cpp @@ -3,28 +3,28 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexerpython.h" +#include "tqextscintillalexerpython.h" // The list of Python keywords that can be used by other friendly lexers. @@ -35,7 +35,7 @@ const char *QextScintillaLexerPython::keywordClass = // The ctor. -QextScintillaLexerPython::QextScintillaLexerPython(QObject *parent, +QextScintillaLexerPython::QextScintillaLexerPython(TQObject *parent, const char *name) : QextScintillaLexer(parent,name), fold_comments(FALSE), fold_quotes(FALSE), indent_warn(NoWarning) @@ -97,51 +97,51 @@ int QextScintillaLexerPython::braceStyle() const // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerPython::color(int style) const +TQColor QextScintillaLexerPython::color(int style) const { switch (style) { case Default: - return QColor(0x80,0x80,0x80); + return TQColor(0x80,0x80,0x80); case Comment: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case Number: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case DoubleQuotedString: case SingleQuotedString: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case Keyword: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); case TripleSingleQuotedString: case TripleDoubleQuotedString: - return QColor(0x7f,0x00,0x00); + return TQColor(0x7f,0x00,0x00); case ClassName: - return QColor(0x00,0x00,0xff); + return TQColor(0x00,0x00,0xff); case FunctionMethodName: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Operator: case Identifier: break; case CommentBlock: - return QColor(0x7f,0x7f,0x7f); + return TQColor(0x7f,0x7f,0x7f); case UnclosedString: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); case HighlightedIdentifier: - return QColor(0x40,0x70,0x90); + return TQColor(0x40,0x70,0x90); case Decorator: - return QColor(0x80,0x50,0x00); + return TQColor(0x80,0x50,0x00); } return QextScintillaLexer::color(style); @@ -156,17 +156,17 @@ bool QextScintillaLexerPython::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerPython::font(int style) const +TQFont QextScintillaLexerPython::font(int style) const { - QFont f; + TQFont f; switch (style) { case Comment: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif break; @@ -174,9 +174,9 @@ QFont QextScintillaLexerPython::font(int style) const case SingleQuotedString: case UnclosedString: #if defined(Q_OS_WIN) - f = QFont("Courier New",10); + f = TQFont("Courier New",10); #else - f = QFont("Bitstream Vera Sans Mono",9); + f = TQFont("Bitstream Vera Sans Mono",9); #endif break; @@ -207,7 +207,7 @@ const char *QextScintillaLexerPython::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerPython::description(int style) const +TQString QextScintillaLexerPython::description(int style) const { switch (style) { @@ -260,15 +260,15 @@ QString QextScintillaLexerPython::description(int style) const return tr("Decorator"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerPython::paper(int style) const +TQColor QextScintillaLexerPython::paper(int style) const { if (style == UnclosedString) - return QColor(0xe0,0xc0,0xe0); + return TQColor(0xe0,0xc0,0xe0); return QextScintillaLexer::paper(style); } @@ -284,7 +284,7 @@ void QextScintillaLexerPython::refreshProperties() // Read properties from the settings. -bool QextScintillaLexerPython::readProperties(QSettings &qs,const QString &prefix) +bool QextScintillaLexerPython::readProperties(TQSettings &qs,const TQString &prefix) { int rc = TRUE, num; bool ok, flag; @@ -318,7 +318,7 @@ bool QextScintillaLexerPython::readProperties(QSettings &qs,const QString &prefi // Write properties to the settings. -bool QextScintillaLexerPython::writeProperties(QSettings &qs,const QString &prefix) const +bool QextScintillaLexerPython::writeProperties(TQSettings &qs,const TQString &prefix) const { int rc = TRUE; @@ -403,5 +403,5 @@ void QextScintillaLexerPython::setIndentationWarning(IndentationWarning warn) // Set the "tab.timmy.whinge.level" property. void QextScintillaLexerPython::setTabWhingeProp() { - emit propertyChanged("tab.timmy.whinge.level",QString::number(indent_warn)); + emit propertyChanged("tab.timmy.whinge.level",TQString::number(indent_warn)); } diff --git a/qt/qextscintillalexerpython.h b/qt/qextscintillalexerpython.h index b5edb3e..3c13614 100644 --- a/qt/qextscintillalexerpython.h +++ b/qt/qextscintillalexerpython.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERPYTHON_H -#define QEXTSCINTILLALEXERPYTHON_H +#ifndef TQEXTSCINTILLALEXERPYTHON_H +#define TQEXTSCINTILLALEXERPYTHON_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerPython class encapsulates the Scintilla Python //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerPython : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerPython : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -116,7 +117,7 @@ public: //! Construct a QextScintillaLexerPython with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerPython(QObject *parent = 0,const char *name = 0); + QextScintillaLexerPython(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerPython instance. virtual ~QextScintillaLexerPython(); @@ -147,28 +148,28 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; //! Causes all properties to be refreshed by emitting the //! propertyChanged() signal as required. @@ -214,13 +215,13 @@ protected: //! (which has a trailing '/') should be used as a prefix to the key of //! each setting. TRUE is returned if there is no error. //! - bool readProperties(QSettings &qs,const QString &prefix); + bool readProperties(TQSettings &qs,const TQString &prefix); //! The lexer's properties are written to the settings \a qs. //! \a prefix (which has a trailing '/') should be used as a prefix to //! the key of each setting. TRUE is returned if there is no error. //! - bool writeProperties(QSettings &qs,const QString &prefix) const; + bool writeProperties(TQSettings &qs,const TQString &prefix) const; private: void setCommentProp(); @@ -235,7 +236,7 @@ private: static const char *keywordClass; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerPython(const QextScintillaLexerPython &); QextScintillaLexerPython &operator=(const QextScintillaLexerPython &); #endif diff --git a/qt/qextscintillalexerruby.cpp b/qt/qextscintillalexerruby.cpp index 6ecce01..ef0ac2f 100644 --- a/qt/qextscintillalexerruby.cpp +++ b/qt/qextscintillalexerruby.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexerruby.h" +#include "tqextscintillalexerruby.h" // The ctor. -QextScintillaLexerRuby::QextScintillaLexerRuby(QObject *parent, +QextScintillaLexerRuby::QextScintillaLexerRuby(TQObject *parent, const char *name) : QextScintillaLexer(parent, name) { @@ -93,64 +93,64 @@ int QextScintillaLexerRuby::braceStyle() const // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerRuby::color(int style) const +TQColor QextScintillaLexerRuby::color(int style) const { switch (style) { case Default: - return QColor(0x80,0x80,0x80); + return TQColor(0x80,0x80,0x80); case Comment: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case POD: - return QColor(0x00,0x40,0x00); + return TQColor(0x00,0x40,0x00); case Number: case FunctionMethodName: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Keyword: case DemotedKeyword: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); case DoubleQuotedString: case SingleQuotedString: case HereDocument: case PercentStringq: case PercentStringQ: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case ClassName: - return QColor(0x00,0x00,0xff); + return TQColor(0x00,0x00,0xff); case Regex: case HereDocumentDelimiter: case PercentStringr: case PercentStringw: - return QColor(0x00,0x00,0x00); + return TQColor(0x00,0x00,0x00); case Global: - return QColor(0x80,0x00,0x80); + return TQColor(0x80,0x00,0x80); case Symbol: - return QColor(0xc0,0xa0,0x30); + return TQColor(0xc0,0xa0,0x30); case ModuleName: - return QColor(0xa0,0x00,0xa0); + return TQColor(0xa0,0x00,0xa0); case InstanceVariable: - return QColor(0xb0,0x00,0x80); + return TQColor(0xb0,0x00,0x80); case ClassVariable: - return QColor(0x80,0x00,0xb0); + return TQColor(0x80,0x00,0xb0); case Backticks: case PercentStringx: - return QColor(0xff,0xff,0x00); + return TQColor(0xff,0xff,0x00); case DataSection: - return QColor(0x60,0x00,0x00); + return TQColor(0x60,0x00,0x00); } return QextScintillaLexer::color(style); @@ -179,17 +179,17 @@ bool QextScintillaLexerRuby::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerRuby::font(int style) const +TQFont QextScintillaLexerRuby::font(int style) const { - QFont f; + TQFont f; switch (style) { case Comment: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif break; @@ -199,9 +199,9 @@ QFont QextScintillaLexerRuby::font(int style) const case PercentStringq: case PercentStringQ: #if defined(Q_OS_WIN) - f = QFont("Courier New",10); + f = TQFont("Courier New",10); #else - f = QFont("Bitstream Vera Sans Mono",9); + f = TQFont("Bitstream Vera Sans Mono",9); #endif break; @@ -239,7 +239,7 @@ const char *QextScintillaLexerRuby::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerRuby::description(int style) const +TQString QextScintillaLexerRuby::description(int style) const { switch (style) { @@ -337,43 +337,43 @@ QString QextScintillaLexerRuby::description(int style) const return tr("stderr"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerRuby::paper(int style) const +TQColor QextScintillaLexerRuby::paper(int style) const { switch (style) { case Error: - return QColor(0xff,0x00,0x00); + return TQColor(0xff,0x00,0x00); case POD: - return QColor(0xc0,0xff,0xc0); + return TQColor(0xc0,0xff,0xc0); case Regex: case PercentStringr: - return QColor(0xa0,0xff,0xa0); + return TQColor(0xa0,0xff,0xa0); case Backticks: case PercentStringx: - return QColor(0xa0,0x80,0x80); + return TQColor(0xa0,0x80,0x80); case DataSection: - return QColor(0xff,0xf0,0xd8); + return TQColor(0xff,0xf0,0xd8); case HereDocumentDelimiter: case HereDocument: - return QColor(0xdd,0xd0,0xdd); + return TQColor(0xdd,0xd0,0xdd); case PercentStringw: - return QColor(0xff,0xff,0xe0); + return TQColor(0xff,0xff,0xe0); case Stdin: case Stdout: case Stderr: - return QColor(0xff,0x80,0x80); + return TQColor(0xff,0x80,0x80); } return QextScintillaLexer::paper(style); diff --git a/qt/qextscintillalexerruby.h b/qt/qextscintillalexerruby.h index 96918eb..9ad23f6 100644 --- a/qt/qextscintillalexerruby.h +++ b/qt/qextscintillalexerruby.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERRUBY_H -#define QEXTSCINTILLALEXERRUBY_H +#ifndef TQEXTSCINTILLALEXERRUBY_H +#define TQEXTSCINTILLALEXERRUBY_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerRuby class encapsulates the Scintilla Ruby //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerRuby : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerRuby : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -136,7 +137,7 @@ public: //! Construct a QextScintillaLexerRuby with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerRuby(QObject *parent = 0,const char *name = 0); + QextScintillaLexerRuby(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerRuby instance. virtual ~QextScintillaLexerRuby(); @@ -170,31 +171,31 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerRuby(const QextScintillaLexerRuby &); QextScintillaLexerRuby &operator=(const QextScintillaLexerRuby &); #endif diff --git a/qt/qextscintillalexersql.cpp b/qt/qextscintillalexersql.cpp index 8b7092e..4ee26ab 100644 --- a/qt/qextscintillalexersql.cpp +++ b/qt/qextscintillalexersql.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexersql.h" +#include "tqextscintillalexersql.h" // The ctor. -QextScintillaLexerSQL::QextScintillaLexerSQL(QObject *parent,const char *name) +QextScintillaLexerSQL::QextScintillaLexerSQL(TQObject *parent,const char *name) : QextScintillaLexer(parent,name), fold_comments(FALSE), fold_compact(TRUE), backslash_escapes(FALSE) { @@ -63,57 +63,57 @@ int QextScintillaLexerSQL::braceStyle() const // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerSQL::color(int style) const +TQColor QextScintillaLexerSQL::color(int style) const { switch (style) { case Default: - return QColor(0x80,0x80,0x80); + return TQColor(0x80,0x80,0x80); case Comment: case CommentLine: case PlusPrompt: case PlusComment: case CommentLineHash: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); case CommentDoc: - return QColor(0x7f,0x7f,0x7f); + return TQColor(0x7f,0x7f,0x7f); case Number: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Keyword: - return QColor(0x00,0x00,0x7f); + return TQColor(0x00,0x00,0x7f); case DoubleQuotedString: case SingleQuotedString: - return QColor(0x7f,0x00,0x7f); + return TQColor(0x7f,0x00,0x7f); case PlusKeyword: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); case Operator: case Identifier: break; case CommentDocKeyword: - return QColor(0x30,0x60,0xa0); + return TQColor(0x30,0x60,0xa0); case CommentDocKeywordError: - return QColor(0x80,0x40,0x20); + return TQColor(0x80,0x40,0x20); case KeywordSet5: - return QColor(0x4b,0x00,0x82); + return TQColor(0x4b,0x00,0x82); case KeywordSet6: - return QColor(0xb0,0x00,0x40); + return TQColor(0xb0,0x00,0x40); case KeywordSet7: - return QColor(0x8b,0x00,0x00); + return TQColor(0x8b,0x00,0x00); case KeywordSet8: - return QColor(0x80,0x00,0x80); + return TQColor(0x80,0x00,0x80); } return QextScintillaLexer::color(style); @@ -128,9 +128,9 @@ bool QextScintillaLexerSQL::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerSQL::font(int style) const +TQFont QextScintillaLexerSQL::font(int style) const { - QFont f; + TQFont f; switch (style) { @@ -141,9 +141,9 @@ QFont QextScintillaLexerSQL::font(int style) const case CommentDocKeyword: case CommentDocKeywordError: #if defined(Q_OS_WIN) - f = QFont("Comic Sans MS",9); + f = TQFont("Comic Sans MS",9); #else - f = QFont("Bitstream Vera Serif",9); + f = TQFont("Bitstream Vera Serif",9); #endif break; @@ -157,9 +157,9 @@ QFont QextScintillaLexerSQL::font(int style) const case SingleQuotedString: case PlusPrompt: #if defined(Q_OS_WIN) - f = QFont("Courier New",10); + f = TQFont("Courier New",10); #else - f = QFont("Bitstream Vera Sans Mono",9); + f = TQFont("Bitstream Vera Sans Mono",9); #endif break; @@ -240,7 +240,7 @@ const char *QextScintillaLexerSQL::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerSQL::description(int style) const +TQString QextScintillaLexerSQL::description(int style) const { switch (style) { @@ -305,15 +305,15 @@ QString QextScintillaLexerSQL::description(int style) const return tr("User defined 4"); } - return QString::null; + return TQString(); } // Returns the background colour of the text for a style. -QColor QextScintillaLexerSQL::paper(int style) const +TQColor QextScintillaLexerSQL::paper(int style) const { if (style == PlusPrompt) - return QColor(0xe0,0xff,0xe0); + return TQColor(0xe0,0xff,0xe0); return QextScintillaLexer::paper(style); } @@ -329,7 +329,7 @@ void QextScintillaLexerSQL::refreshProperties() // Read properties from the settings. -bool QextScintillaLexerSQL::readProperties(QSettings &qs,const QString &prefix) +bool QextScintillaLexerSQL::readProperties(TQSettings &qs,const TQString &prefix) { int rc = TRUE; bool ok, flag; @@ -363,7 +363,7 @@ bool QextScintillaLexerSQL::readProperties(QSettings &qs,const QString &prefix) // Write properties to the settings. -bool QextScintillaLexerSQL::writeProperties(QSettings &qs,const QString &prefix) const +bool QextScintillaLexerSQL::writeProperties(TQSettings &qs,const TQString &prefix) const { int rc = TRUE; diff --git a/qt/qextscintillalexersql.h b/qt/qextscintillalexersql.h index ca94825..8d9902d 100644 --- a/qt/qextscintillalexersql.h +++ b/qt/qextscintillalexersql.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERSQL_H -#define QEXTSCINTILLALEXERSQL_H +#ifndef TQEXTSCINTILLALEXERSQL_H +#define TQEXTSCINTILLALEXERSQL_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerSQL class encapsulates the Scintilla SQL //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerSQL : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerSQL : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -114,7 +115,7 @@ public: //! Construct a QextScintillaLexerSQL with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerSQL(QObject *parent = 0,const char *name = 0); + QextScintillaLexerSQL(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerSQL instance. virtual ~QextScintillaLexerSQL(); @@ -133,28 +134,28 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the end-of-line fill for style number \a style. bool eolFill(int style) const; //! Returns the font for style number \a style. - QFont font(int style) const; + TQFont font(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; //! Returns the background colour of the text for style number //! \a style. //! //! \sa color() - QColor paper(int style) const; + TQColor paper(int style) const; //! Causes all properties to be refreshed by emitting the //! propertyChanged() signal as required. @@ -199,13 +200,13 @@ protected: //! (which has a trailing '/') should be used as a prefix to the key of //! each setting. TRUE is returned if there is no error. //! - bool readProperties(QSettings &qs,const QString &prefix); + bool readProperties(TQSettings &qs,const TQString &prefix); //! The lexer's properties are written to the settings \a qs. //! \a prefix (which has a trailing '/') should be used as a prefix to //! the key of each setting. TRUE is returned if there is no error. //! - bool writeProperties(QSettings &qs,const QString &prefix) const; + bool writeProperties(TQSettings &qs,const TQString &prefix) const; private: void setCommentProp(); @@ -217,7 +218,7 @@ private: bool backslash_escapes; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerSQL(const QextScintillaLexerSQL &); QextScintillaLexerSQL &operator=(const QextScintillaLexerSQL &); #endif diff --git a/qt/qextscintillalexertex.cpp b/qt/qextscintillalexertex.cpp index 4cf2848..1e8a1c5 100644 --- a/qt/qextscintillalexertex.cpp +++ b/qt/qextscintillalexertex.cpp @@ -3,32 +3,32 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include +#include +#include +#include -#include "qextscintillalexertex.h" +#include "tqextscintillalexertex.h" // The ctor. -QextScintillaLexerTeX::QextScintillaLexerTeX(QObject *parent,const char *name) +QextScintillaLexerTeX::QextScintillaLexerTeX(TQObject *parent,const char *name) : QextScintillaLexer(parent,name) { } @@ -57,29 +57,29 @@ const char *QextScintillaLexerTeX::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerTeX::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\\@"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ\\@"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerTeX::color(int style) const +TQColor QextScintillaLexerTeX::color(int style) const { switch (style) { case Default: - return QColor(0x3f,0x3f,0x3f); + return TQColor(0x3f,0x3f,0x3f); case Special: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Group: - return QColor(0x7f,0x00,0x00); + return TQColor(0x7f,0x00,0x00); case Symbol: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); case Command: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); } return QextScintillaLexer::color(style); @@ -137,7 +137,7 @@ const char *QextScintillaLexerTeX::keywords(int set) const "overwithdelims pagedepth pagefilllstretch " "pagefillstretch pagefilstretch pagegoal pageshrink " "pagestretch pagetotal par parfillskip parindent " - "parshape parskip patterns pausing penalty " + "partqshape parskip patterns pausing penalty " "postdisplaypenalty predisplaypenalty predisplaysize " "pretolerance prevdepth prevgraf radical raise read " "relax relpenalty right righthyphenmin rightskip " @@ -179,7 +179,7 @@ const char *QextScintillaLexerTeX::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerTeX::description(int style) const +TQString QextScintillaLexerTeX::description(int style) const { switch (style) { @@ -202,5 +202,5 @@ QString QextScintillaLexerTeX::description(int style) const return tr("Text"); } - return QString::null; + return TQString(); } diff --git a/qt/qextscintillalexertex.h b/qt/qextscintillalexertex.h index f46960c..250f92d 100644 --- a/qt/qextscintillalexertex.h +++ b/qt/qextscintillalexertex.h @@ -3,38 +3,39 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLALEXERTEX_H -#define QEXTSCINTILLALEXERTEX_H +#ifndef TQEXTSCINTILLALEXERTEX_H +#define TQEXTSCINTILLALEXERTEX_H -#include +#include -#include -#include +#include +#include //! \brief The QextScintillaLexerTeX class encapsulates the Scintilla TeX //! lexer. -class QEXTSCINTILLA_EXPORT QextScintillaLexerTeX : public QextScintillaLexer +class TQEXTSCINTILLA_EXPORT QextScintillaLexerTeX : public QextScintillaLexer { Q_OBJECT + TQ_OBJECT public: //! This enum defines the meanings of the different styles used by the @@ -61,7 +62,7 @@ public: //! Construct a QextScintillaLexerTeX with parent \a parent and name //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerTeX(QObject *parent = 0,const char *name = 0); + QextScintillaLexerTeX(TQObject *parent = 0,const char *name = 0); //! Destroys the QextScintillaLexerTeX instance. virtual ~QextScintillaLexerTeX(); @@ -80,19 +81,19 @@ public: //! \a style. //! //! \sa paper() - QColor color(int style) const; + TQColor color(int style) const; //! Returns the set of keywords for the keyword set \a set recognised //! by the lexer as a space separated string. const char *keywords(int set) const; //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then QString::null is returned. + //! style is invalid for this language then TQString() is returned. //! This is intended to be used in user preference dialogs. - QString description(int style) const; + TQString description(int style) const; private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaLexerTeX(const QextScintillaLexerTeX &); QextScintillaLexerTeX &operator=(const QextScintillaLexerTeX &); #endif diff --git a/qt/qextscintillamacro.cpp b/qt/qextscintillamacro.cpp index 7d2d358..25555f7 100644 --- a/qt/qextscintillamacro.cpp +++ b/qt/qextscintillamacro.cpp @@ -3,46 +3,46 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include -#include +#include -#include "qextscintillamacro.h" -#include "qextscintilla.h" +#include "tqextscintillamacro.h" +#include "tqextscintilla.h" -static QCString extract(const QCString &asc,int &start); +static TQCString extract(const TQCString &asc,int &start); static int fromHex(unsigned char ch); // The ctor. QextScintillaMacro::QextScintillaMacro(QextScintilla *parent,const char *name) - : QObject(parent,name), qsci(parent) + : TQObject(parent,name), qsci(parent) { } // The ctor that initialises the macro. -QextScintillaMacro::QextScintillaMacro(const QCString &asc, +QextScintillaMacro::QextScintillaMacro(const TQCString &asc, QextScintilla *parent,const char *name) - : QObject(parent,name), qsci(parent) + : TQObject(parent,name), qsci(parent) { load(asc); } @@ -62,7 +62,7 @@ void QextScintillaMacro::clear() // Read a macro from a string. -bool QextScintillaMacro::load(const QCString &asc) +bool QextScintillaMacro::load(const TQCString &asc) { bool rc = TRUE; @@ -72,7 +72,7 @@ bool QextScintillaMacro::load(const QCString &asc) while (pos < asc.length()) { - QCString fld; + TQCString fld; Macro cmd; unsigned len; @@ -154,17 +154,17 @@ bool QextScintillaMacro::load(const QCString &asc) // Write a macro to a string. -QCString QextScintillaMacro::save() const +TQCString QextScintillaMacro::save() const { - QCString ms; + TQCString ms; - for (QValueList::const_iterator it = macro.begin(); it != macro.end(); ++it) + for (TQValueList::const_iterator it = macro.begin(); it != macro.end(); ++it) { if (!ms.isEmpty()) ms += ' '; unsigned len = (*it).text.size(); - QCString m; + TQCString m; m.sprintf("%u %lu %u",(*it).msg,(*it).wParam,len); @@ -203,7 +203,7 @@ void QextScintillaMacro::play() if (!qsci) return; - for (QValueList::const_iterator it = macro.begin(); it != macro.end(); ++it) + for (TQValueList::const_iterator it = macro.begin(); it != macro.end(); ++it) qsci -> SendScintilla((*it).msg,(*it).wParam,(*it).text.data()); } @@ -217,8 +217,8 @@ void QextScintillaMacro::startRecording() macro.clear(); connect(qsci, - SIGNAL(SCN_MACRORECORD(unsigned int,unsigned long,long)), - SLOT(record(unsigned int,unsigned long,long))); + TQT_SIGNAL(SCN_MACRORECORD(unsigned int,unsigned long,long)), + TQT_SLOT(record(unsigned int,unsigned long,long))); qsci -> SendScintilla(QextScintillaBase::SCI_STARTRECORD); } @@ -260,7 +260,7 @@ void QextScintillaMacro::record(unsigned int msg,unsigned long wParam, // it's a signifacant space reduction to append it to // the previous command. - QByteArray &ba = macro.last().text; + TQByteArray &ba = macro.last().text; unsigned pos = ba.size() - 1; @@ -292,9 +292,9 @@ void QextScintillaMacro::record(unsigned int msg,unsigned long wParam, // Extract a macro field starting at the given position. -static QCString extract(const QCString &asc,int &fstart) +static TQCString extract(const TQCString &asc,int &fstart) { - QCString f; + TQCString f; if (fstart < asc.length()) { diff --git a/qt/qextscintillamacro.h b/qt/qextscintillamacro.h index 0c33968..b7dac63 100644 --- a/qt/qextscintillamacro.h +++ b/qt/qextscintillamacro.h @@ -3,35 +3,35 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLAMACRO_H -#define QEXTSCINTILLAMACRO_H +#ifndef TQEXTSCINTILLAMACRO_H +#define TQEXTSCINTILLAMACRO_H -#include -#include -#include +#include +#include +#include -#include +#include -class QString; +class TQString; class QextScintilla; @@ -41,9 +41,10 @@ class QextScintilla; //! Methods are provided to convert convert a macro to and from a textual //! representation so that they can be easily written to and read from //! permanent storage. -class QEXTSCINTILLA_EXPORT QextScintillaMacro : public QObject +class TQEXTSCINTILLA_EXPORT QextScintillaMacro : public TQObject { Q_OBJECT + TQ_OBJECT public: //! Construct a QextScintillaMacro with parent \a parent and name @@ -52,7 +53,7 @@ public: //! Construct a QextScintillaMacro from the printable ASCII //! representation \a asc, with parent \a parent and name \a name. - QextScintillaMacro(const QCString &asc,QextScintilla *parent, + QextScintillaMacro(const TQCString &asc,QextScintilla *parent, const char *name = 0); //! Destroy the QextScintillaMacro instance. @@ -65,14 +66,14 @@ public: //! Returns TRUE if there was no error. //! //! \sa save() - bool load(const QCString &asc); + bool load(const TQCString &asc); //! Return a printable ASCII representation of the macro. It is //! guaranteed that only printable ASCII characters are used and that //! double quote characters will not be used. //! //! \sa load() - QCString save() const; + TQCString save() const; public slots: //! Play the macro. @@ -91,13 +92,13 @@ private: struct Macro { unsigned int msg; unsigned long wParam; - QByteArray text; + TQByteArray text; }; QextScintilla *qsci; - QValueList macro; + TQValueList macro; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaMacro(const QextScintillaMacro &); QextScintillaMacro &operator=(const QextScintillaMacro &); #endif diff --git a/qt/qextscintillaprinter.cpp b/qt/qextscintillaprinter.cpp index 1aadb2d..ec97032 100644 --- a/qt/qextscintillaprinter.cpp +++ b/qt/qextscintillaprinter.cpp @@ -3,35 +3,35 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include -#include -#include -#include +#include +#include +#include +#include -#include "qextscintillaprinter.h" -#include "qextscintillabase.h" +#include "tqextscintillaprinter.h" +#include "tqextscintillabase.h" // The ctor. -QextScintillaPrinter::QextScintillaPrinter(QPrinter::PrinterMode mode) : - QPrinter(mode), mag(0), +QextScintillaPrinter::QextScintillaPrinter(TQPrinter::PrinterMode mode) : + TQPrinter(mode), mag(0), wrap(QextScintilla::WrapWord) { } @@ -44,7 +44,7 @@ QextScintillaPrinter::~QextScintillaPrinter() // Format the page before the document text is drawn. -void QextScintillaPrinter::formatPage(QPainter &,bool,QRect &,int) +void QextScintillaPrinter::formatPage(TQPainter &,bool,TQRect &,int) { } @@ -57,8 +57,8 @@ int QextScintillaPrinter::printRange(QextScintillaBase *qsb,int from,int to) return FALSE; // Setup the printing area. - QPaintDeviceMetrics metrics(this); - QRect def_area; + TQPaintDeviceMetrics metrics(this); + TQRect def_area; def_area.setX(0); def_area.setY(0); @@ -89,7 +89,7 @@ int QextScintillaPrinter::printRange(QextScintillaBase *qsb,int from,int to) if (startPos >= endPos) return FALSE; - QPainter painter(this); + TQPainter painter(this); bool reverse = (pageOrder() == LastPageFirst); bool needNewPage = FALSE; @@ -100,7 +100,7 @@ int QextScintillaPrinter::printRange(QextScintillaBase *qsb,int from,int to) { // If we are printing in reverse page order then remember the // start position of each page. - QValueStack pageStarts; + TQValueStack pageStarts; int currPage = 1; long pos = startPos; @@ -133,7 +133,7 @@ int QextScintillaPrinter::printRange(QextScintillaBase *qsb,int from,int to) } } - QRect area = def_area; + TQRect area = def_area; formatPage(painter,render,area,currPage); pos = qsb -> SendScintilla(QextScintillaBase::SCI_FORMATRANGE,render,&painter,area,pos,endPos); @@ -161,7 +161,7 @@ int QextScintillaPrinter::printRange(QextScintillaBase *qsb,int from,int to) else needNewPage = TRUE; - QRect area = def_area; + TQRect area = def_area; formatPage(painter,TRUE,area,currPage); qsb -> SendScintilla(QextScintillaBase::SCI_FORMATRANGE,TRUE,&painter,area,pos,ePos); diff --git a/qt/qextscintillaprinter.h b/qt/qextscintillaprinter.h index 3eae387..8c0ab57 100644 --- a/qt/qextscintillaprinter.h +++ b/qt/qextscintillaprinter.h @@ -3,44 +3,44 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla 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. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla 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 -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLAPRINTER_H -#define QEXTSCINTILLAPRINTER_H +#ifndef TQEXTSCINTILLAPRINTER_H +#define TQEXTSCINTILLAPRINTER_H -#include +#include -#include -#include +#include +#include -class QRect; -class QPainter; +class TQRect; +class TQPainter; class QextScintillaBase; -//! \brief The QextScintillaPrinter class is a sub-class of the Qt QPrinter +//! \brief The QextScintillaPrinter class is a sub-class of the TQt TQPrinter //! class that is able to print the text of a Scintilla document. //! -//! The class can be further sub-classed to alter to layout of the text, adding +//! The class can be further sub-classed to alter to tqlayout of the text, adding //! headers and footers for example. -class QEXTSCINTILLA_EXPORT QextScintillaPrinter : public QPrinter +class TQEXTSCINTILLA_EXPORT QextScintillaPrinter : public TQPrinter { public: //! Constructs a printer paint device with mode \a mode. @@ -58,10 +58,10 @@ public: //! the text. This should be modified if it is necessary to reserve //! space for any customised text or graphics. By default the area is //! relative to the printable area of the page. Use - //! QPrinter::setFullPage() because calling printRange() if you want to + //! TQPrinter::setFullPage() because calling printRange() if you want to //! try and print over the whole page. \a pagenr is the number of the //! page. The first page is numbered 1. - virtual void formatPage(QPainter &painter,bool drawing,QRect &area, + virtual void formatPage(TQPainter &painter,bool drawing,TQRect &area, int pagenr); //! Return the number of points to add to each font when printing. @@ -98,7 +98,7 @@ private: int mag; QextScintilla::WrapMode wrap; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaPrinter(const QextScintillaPrinter &); QextScintillaPrinter &operator=(const QextScintillaPrinter &); #endif diff --git a/src/AutoComplete.cpp b/src/AutoComplete.cpp index 753adca..daa5fbb 100755 --- a/src/AutoComplete.cpp +++ b/src/AutoComplete.cpp @@ -45,11 +45,11 @@ bool AutoComplete::Active() { void AutoComplete::Start(Window &parent, int ctrlID, int position, Point location, int startLen_, - int lineHeight, bool unicodeMode) { + int lineHeight, bool tqunicodeMode) { if (active) { Cancel(); } - lb->Create(parent, ctrlID, location, lineHeight, unicodeMode); + lb->Create(parent, ctrlID, location, lineHeight, tqunicodeMode); lb->Clear(); active = true; startLen = startLen_; diff --git a/src/AutoComplete.h b/src/AutoComplete.h index 10577ca..8fd84c8 100755 --- a/src/AutoComplete.h +++ b/src/AutoComplete.h @@ -36,7 +36,7 @@ public: /// Display the auto completion list positioned to be near a character position void Start(Window &parent, int ctrlID, int position, Point location, - int startLen_, int lineHeight, bool unicodeMode); + int startLen_, int lineHeight, bool tqunicodeMode); /// The stop chars are characters which, when typed, cause the auto completion list to disappear void SetStopChars(const char *stopChars_); diff --git a/src/CallTip.cpp b/src/CallTip.cpp index f4bc5f8..2de8eae 100755 --- a/src/CallTip.cpp +++ b/src/CallTip.cpp @@ -214,7 +214,7 @@ void CallTip::PaintCT(Surface *surfaceWindow) { surfaceWindow->FillRectangle(rcClient, colourBG.allocated); - offsetMain = insetX; // initial alignment assuming no arrows + offsetMain = insetX; // initial tqalignment assuming no arrows PaintContents(surfaceWindow, true); // Draw a raised border around the edges of the window diff --git a/src/CallTip.h b/src/CallTip.h index 9848a10..1fd38c3 100755 --- a/src/CallTip.h +++ b/src/CallTip.h @@ -18,7 +18,7 @@ class CallTip { PRectangle rectUp; // rectangle of last up angle in the tip PRectangle rectDown; // rectangle of last down arrow in the tip int lineHeight; // vertical line spacing - int offsetMain; // The alignment point of the call tip + int offsetMain; // The tqalignment point of the call tip int tabSize; // Tab size in pixels, <=0 no TAB expand bool useStyleCallTip; // if true, STYLE_CALLTIP should be used diff --git a/src/Editor.cpp b/src/Editor.cpp index 67440f1..1abb78a 100755 --- a/src/Editor.cpp +++ b/src/Editor.cpp @@ -346,7 +346,7 @@ Editor::Editor() { hasFocus = false; hideSelection = false; inOverstrike = false; - errorStatus = 0; + errortqStatus = 0; mouseDownCaptures = true; bufferedDraw = true; @@ -1246,7 +1246,7 @@ void Editor::EnsureCaretVisible(bool useMargin, bool vert, bool horiz) { int lineCaret = DisplayFromPosition(posCaret); bool bSlop, bStrict, bJump, bEven; - // Vertical positioning + //Qt::Vertical positioning if (vert && (pt.y < rcClient.top || ptBottomCaret.y > rcClient.bottom || (caretYPolicy & CARET_STRICT) != 0)) { int linesOnScreen = LinesOnScreen(); int halfScreen = Platform::Maximum(linesOnScreen - 1, 2) / 2; @@ -1340,7 +1340,7 @@ void Editor::EnsureCaretVisible(bool useMargin, bool vert, bool horiz) { } } - // Horizontal positioning + //Qt::Horizontal positioning if (horiz && (wrapState == eWrapNone)) { int halfScreen = Platform::Maximum(rcClient.Width() - 4, 4) / 2; int xOffsetNew = xOffset; @@ -1949,7 +1949,7 @@ void Editor::LayoutLine(int line, Surface *surface, ViewStyle &vstyle, LineLayou // See if chars, styles, indicators, are all the same bool allSame = true; const int styleMask = pdoc->stylingBitsMask; - // Check base line layout + // Check base line tqlayout char styleByte = 0; int numCharsInLine = 0; while (numCharsInLine < lineLength) { @@ -1997,7 +1997,7 @@ void Editor::LayoutLine(int line, Surface *surface, ViewStyle &vstyle, LineLayou char styleByte = 0; int styleMask = pdoc->stylingBitsMask; ll->styleBitsSet = 0; - // Fill base line layout + // Fill base line tqlayout for (int charInDoc = posLineStart; charInDoc < posLineEnd; charInDoc++) { char chDoc = pdoc->CharAt(charInDoc); styleByte = pdoc->StyleAt(charInDoc); @@ -2815,7 +2815,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { startLineToWrap = -1; if (WrapLines(false, startLineToWrap)) { // The wrapping process has changed the height of some lines so - // abandon this paint for a complete repaint. + // abandon this paint for a complete tqrepaint. if (AbandonPaint()) { return; } @@ -2892,7 +2892,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { //ElapsedTime et; if (lineDoc != lineDocPrevious) { ll.Set(0); - // For rectangular selection this accesses the layout cache so should be after layout returned. + // For rectangular selection this accesses the tqlayout cache so should be after tqlayout returned. lineIterator.SetAt(lineDoc); ll.Set(RetrieveLineLayout(lineDoc)); LayoutLine(lineDoc, surface, vs, ll, wrapWidth); @@ -2930,7 +2930,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { DrawLine(surface, vs, lineDoc, visibleLine, xStart, rcLine, ll, subLine); //durPaint += et.Duration(true); - // Restore the previous styles for the brace highlights in case layout is in cache. + // Restore the previous styles for the brace highlights in case tqlayout is in cache. ll->RestoreBracesHighlight(rangeLine, braces); bool expanded = cs.GetExpanded(lineDoc); @@ -3372,7 +3372,7 @@ void Editor::AddCharUTF(char *s, unsigned int len, bool treatAsDBCS) { // characters representing themselves. } else { // Unroll 1 to 3 byte UTF-8 sequences. See reference data at: - // http://www.cl.cam.ac.uk/~mgk25/unicode.html + // http://www.cl.cam.ac.uk/~mgk25/tqunicode.html // http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt if (byte < 0xE0) { int byte2 = static_cast(s[1]); @@ -3809,7 +3809,7 @@ void Editor::NotifyModified(Document*, DocModification mh, void *) { } //Platform::DebugPrintf("** %x Doc Changed\n", this); - // TODO: could invalidate from mh.startModification to end of screen + // TODO: could tqinvalidate from mh.startModification to end of screen //InvalidateRange(mh.position, mh.position + mh.length); if (paintState == notPainting && !CanDeferToLastStep(mh)) { Redraw(); @@ -5217,7 +5217,7 @@ void Editor::SetHotSpotRange(Point *pt) { int hsStart_ = pdoc->ExtendStyleRange(pos, -1, vs.hotspotSingleLine); int hsEnd_ = pdoc->ExtendStyleRange(pos, 1, vs.hotspotSingleLine); - // Only invalidate the range if the hotspot range has changed... + // Only tqinvalidate the range if the hotspot range has changed... if (hsStart_ != hsStart || hsEnd_ != hsEnd) { if (hsStart != -1) { InvalidateRange(hsStart, hsEnd); @@ -7210,11 +7210,11 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { return hasFocus; case SCI_SETSTATUS: - errorStatus = wParam; + errortqStatus = wParam; break; case SCI_GETSTATUS: - return errorStatus; + return errortqStatus; case SCI_SETMOUSEDOWNCAPTURES: mouseDownCaptures = wParam != 0; diff --git a/src/Editor.h b/src/Editor.h index fe7be26..d5abdbd 100755 --- a/src/Editor.h +++ b/src/Editor.h @@ -204,7 +204,7 @@ protected: // ScintillaBase subclass needs access to much of Editor bool hasFocus; bool hideSelection; bool inOverstrike; - int errorStatus; + int errortqStatus; bool mouseDownCaptures; /** In bufferedDraw mode, graphics operations are drawn to a pixmap and then copied to @@ -214,7 +214,7 @@ protected: // ScintillaBase subclass needs access to much of Editor * and then the foreground. This avoids chopping off characters that overlap the next run. */ bool twoPhaseDraw; - int xOffset; ///< Horizontal scrolled amount in pixels + int xOffset; /// +#include #if defined(Q_OS_WIN32) || defined(Q_OS_WIN64) #define EXT_LEXER_DECL __stdcall #else diff --git a/src/Indicator.cpp b/src/Indicator.cpp index 7624a4a..de321a0 100755 --- a/src/Indicator.cpp +++ b/src/Indicator.cpp @@ -13,7 +13,7 @@ void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &rcLine) { surface->PenColour(fore.allocated); int ymid = (rc.bottom + rc.top) / 2; - if (style == INDIC_SQUIGGLE) { + if (style == INDIC_STQUIGGLE) { surface->MoveTo(rc.left, rc.top); int x = rc.left + 2; int y = 2; diff --git a/src/LexBasic.cpp b/src/LexBasic.cpp index 79ba2b8..79ca185 100644 --- a/src/LexBasic.cpp +++ b/src/LexBasic.cpp @@ -163,7 +163,7 @@ static void ColouriseBasicDoc(unsigned int startPos, int length, int initStyle, wasfirst = isfirst; sc.SetState(SCE_B_IDENTIFIER); } else if (sc.Match(comment_char)) { - // Hack to make deprecated QBASIC '$Include show + // Hack to make deprecated TQBASIC '$Include show // up in freebasic with SCE_B_PREPROCESSOR. if (comment_char == '\'' && sc.Match(comment_char, '$')) sc.SetState(SCE_B_PREPROCESSOR); diff --git a/src/LexCLW.cpp b/src/LexCLW.cpp index e28e4b1..5bacdb6 100755 --- a/src/LexCLW.cpp +++ b/src/LexCLW.cpp @@ -277,7 +277,7 @@ static void ColouriseClarionDoc(unsigned int uiStartPos, int iLength, int iInitS // If statement string is in the equate list if (wlStandardEquates.InList(cEquate)) { // Change to equate state - scDoc.ChangeState(SCE_CLW_STANDARD_EQUATE); + scDoc.ChangeState(SCE_CLW_STANDARD_ETQUATE); } } // If the character is not a valid label character @@ -322,7 +322,7 @@ static void ColouriseClarionDoc(unsigned int uiStartPos, int iLength, int iInitS // Else if statement string is in the standard equate keyword list else if (wlStandardEquates.InList(cStatement)) { // Change the statement string to the standard equate state - scDoc.ChangeState(SCE_CLW_STANDARD_EQUATE); + scDoc.ChangeState(SCE_CLW_STANDARD_ETQUATE); } // Else if statement string is in the deprecated or legacy keyword list else if (wlLegacyStatements.InList(cStatement)) { @@ -380,7 +380,7 @@ static void ColouriseClarionDoc(unsigned int uiStartPos, int iLength, int iInitS } } // Standard Equate State Handling - else if (scDoc.state == SCE_CLW_STANDARD_EQUATE) { + else if (scDoc.state == SCE_CLW_STANDARD_ETQUATE) { if (!isalnum(scDoc.ch)) { scDoc.SetState(SCE_CLW_DEFAULT); } diff --git a/src/LexCPP.cpp b/src/LexCPP.cpp index 1db0c7c..29dc6b9 100755 --- a/src/LexCPP.cpp +++ b/src/LexCPP.cpp @@ -21,7 +21,7 @@ #include "SciLexer.h" #define SET_LOWER "abcdefghijklmnopqrstuvwxyz" -#define SET_UPPER "ABCDEFGHIJKLMNOPQRSTUVWXYZ" +#define SET_UPPER "ABCDEFGHIJKLMNOPTQRSTUVWXYZ" #define SET_DIGITS "0123456789" class SetOfCharacters { @@ -319,7 +319,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo sc.SetState(SCE_C_IDENTIFIER); } } else if (sc.Match('/', '*')) { - if (sc.Match("/**") || sc.Match("/*!")) { // Support of Qt/Doxygen doc. style + if (sc.Match("/**") || sc.Match("/*!")) { // Support of TQt/Doxygen doc. style sc.SetState(SCE_C_COMMENTDOC); } else { sc.SetState(SCE_C_COMMENT); @@ -327,7 +327,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo sc.Forward(); // Eat the * so it isn't used for the end of the comment } else if (sc.Match('/', '/')) { if ((sc.Match("///") && !sc.Match("////")) || sc.Match("//!")) - // Support of Qt/Doxygen doc. style + // Support of TQt/Doxygen doc. style sc.SetState(SCE_C_COMMENTLINEDOC); else sc.SetState(SCE_C_COMMENTLINE); diff --git a/src/LexCaml.cpp b/src/LexCaml.cpp index 5f4fad5..4c5ac4a 100644 --- a/src/LexCaml.cpp +++ b/src/LexCaml.cpp @@ -355,7 +355,7 @@ void ColouriseCamlDoc( else state2 = SCE_CAML_DEFAULT; chColor++; - // enable "magic" (read-only) comment AS REQUIRED + // enable "magic" (read-only) comment AS RETQUIRED } else if (useMagic && sc.currentPos - chToken == 4 && sc.Match('c') && sc.chPrev == 'r' && sc.GetRelative(-2) == '@') sc.state |= 0x10; // (switch to read-only comment style) diff --git a/src/LexErlang.cpp b/src/LexErlang.cpp index 9444eb9..633ea96 100755 --- a/src/LexErlang.cpp +++ b/src/LexErlang.cpp @@ -47,17 +47,17 @@ static int is_radix(int radix, int ch) { typedef enum { STATE_NULL, - ATOM_UNQUOTED, - ATOM_QUOTED, + ATOM_UNTQUOTED, + ATOM_TQUOTED, ATOM_FUN_NAME, - NODE_NAME_UNQUOTED, - NODE_NAME_QUOTED, + NODE_NAME_UNTQUOTED, + NODE_NAME_TQUOTED, MACRO_START, - MACRO_UNQUOTED, - MACRO_QUOTED, + MACRO_UNTQUOTED, + MACRO_TQUOTED, RECORD_START, - RECORD_UNQUOTED, - RECORD_QUOTED, + RECORD_UNTQUOTED, + RECORD_TQUOTED, NUMERAL_START, NUMERAL_SIGNED, NUMERAL_RADIX_LITERAL, @@ -85,9 +85,9 @@ static void ColouriseErlangDoc(unsigned int startPos, int length, int initStyle, case STATE_NULL: sc.SetState(SCE_ERLANG_DEFAULT); break; - case ATOM_UNQUOTED: + case ATOM_UNTQUOTED: if ( '@' == sc.ch ){ - parse_state = NODE_NAME_UNQUOTED; + parse_state = NODE_NAME_UNTQUOTED; } else if ( !isalnum(sc.ch) && sc.ch != '_' ) { char s[100]; sc.GetCurrent(s, sizeof(s)); @@ -106,9 +106,9 @@ static void ColouriseErlangDoc(unsigned int startPos, int length, int initStyle, } } break; - case ATOM_QUOTED: + case ATOM_TQUOTED: if ( '@' == sc.ch ){ - parse_state = NODE_NAME_QUOTED; + parse_state = NODE_NAME_TQUOTED; } else if ( '\'' == sc.ch && '\\' != sc.chPrev ) { sc.ChangeState(SCE_ERLANG_ATOM); sc.ForwardSetState(SCE_ERLANG_DEFAULT); @@ -122,7 +122,7 @@ static void ColouriseErlangDoc(unsigned int startPos, int length, int initStyle, parse_state = STATE_NULL; } break; - case NODE_NAME_QUOTED: + case NODE_NAME_TQUOTED: if ( '@' == sc.ch ) { sc.SetState(SCE_ERLANG_DEFAULT); parse_state = STATE_NULL; @@ -132,7 +132,7 @@ static void ColouriseErlangDoc(unsigned int startPos, int length, int initStyle, parse_state = STATE_NULL; } break; - case NODE_NAME_UNQUOTED: + case NODE_NAME_UNTQUOTED: if ( '@' == sc.ch ) { sc.SetState(SCE_ERLANG_DEFAULT); parse_state = STATE_NULL; @@ -144,22 +144,22 @@ static void ColouriseErlangDoc(unsigned int startPos, int length, int initStyle, break; case RECORD_START: if ( '\'' == sc.ch ) { - parse_state = RECORD_QUOTED; + parse_state = RECORD_TQUOTED; } else if (isalpha(sc.ch) && islower(sc.ch)) { - parse_state = RECORD_UNQUOTED; + parse_state = RECORD_UNTQUOTED; } else { // error sc.SetState(SCE_ERLANG_DEFAULT); parse_state = STATE_NULL; } break; - case RECORD_QUOTED: + case RECORD_TQUOTED: if ( '\'' == sc.ch && '\\' != sc.chPrev ) { sc.ChangeState(SCE_ERLANG_RECORD); sc.ForwardSetState(SCE_ERLANG_DEFAULT); parse_state = STATE_NULL; } break; - case RECORD_UNQUOTED: + case RECORD_UNTQUOTED: if ( !isalpha(sc.ch) && '_' != sc.ch ) { sc.ChangeState(SCE_ERLANG_RECORD); sc.SetState(SCE_ERLANG_DEFAULT); @@ -168,22 +168,22 @@ static void ColouriseErlangDoc(unsigned int startPos, int length, int initStyle, break; case MACRO_START: if ( '\'' == sc.ch ) { - parse_state = MACRO_QUOTED; + parse_state = MACRO_TQUOTED; } else if (isalpha(sc.ch)) { - parse_state = MACRO_UNQUOTED; + parse_state = MACRO_UNTQUOTED; } else { // error sc.SetState(SCE_ERLANG_DEFAULT); parse_state = STATE_NULL; } break; - case MACRO_UNQUOTED: + case MACRO_UNTQUOTED: if ( !isalpha(sc.ch) && '_' != sc.ch ) { sc.ChangeState(SCE_ERLANG_MACRO); sc.SetState(SCE_ERLANG_DEFAULT); parse_state = STATE_NULL; } break; - case MACRO_QUOTED: + case MACRO_TQUOTED: if ( '\'' == sc.ch && '\\' != sc.chPrev ) { sc.ChangeState(SCE_ERLANG_MACRO); sc.ForwardSetState(SCE_ERLANG_DEFAULT); @@ -327,7 +327,7 @@ static void ColouriseErlangDoc(unsigned int startPos, int length, int initStyle, } else if (sc.ch == '$') { sc.SetState(SCE_ERLANG_CHARACTER); } else if (sc.ch == '\'') { - parse_state = ATOM_QUOTED; + parse_state = ATOM_TQUOTED; sc.SetState(SCE_ERLANG_UNKNOWN); } else if ( isdigit(sc.ch) ) { parse_state = NUMERAL_START; @@ -339,7 +339,7 @@ static void ColouriseErlangDoc(unsigned int startPos, int length, int initStyle, } else if (isalpha(sc.ch) && isupper(sc.ch)) { sc.SetState(SCE_ERLANG_VARIABLE); } else if (isalpha(sc.ch)) { - parse_state = ATOM_UNQUOTED; + parse_state = ATOM_UNTQUOTED; sc.SetState(SCE_ERLANG_UNKNOWN); } else if (isoperator(static_cast(sc.ch)) || sc.ch == '\\') { sc.SetState(SCE_ERLANG_OPERATOR); diff --git a/src/LexMatlab.cpp b/src/LexMatlab.cpp index 249fa67..79b4101 100755 --- a/src/LexMatlab.cpp +++ b/src/LexMatlab.cpp @@ -103,7 +103,7 @@ static void ColouriseMatlabOctaveDoc( if (sc.ch == '\'' && sc.chPrev != '\\') { sc.ForwardSetState(SCE_MATLAB_DEFAULT); } - } else if (sc.state == SCE_MATLAB_DOUBLEQUOTESTRING) { + } else if (sc.state == SCE_MATLAB_DOUBLETQUOTESTRING) { if (sc.ch == '"' && sc.chPrev != '\\') { sc.ForwardSetState(SCE_MATLAB_DEFAULT); } @@ -126,7 +126,7 @@ static void ColouriseMatlabOctaveDoc( sc.SetState(SCE_MATLAB_STRING); } } else if (sc.ch == '"') { - sc.SetState(SCE_MATLAB_DOUBLEQUOTESTRING); + sc.SetState(SCE_MATLAB_DOUBLETQUOTESTRING); } else if (isdigit(sc.ch) || (sc.ch == '.' && isdigit(sc.chNext))) { sc.SetState(SCE_MATLAB_NUMBER); } else if (isalpha(sc.ch)) { diff --git a/src/LexRebol.cpp b/src/LexRebol.cpp index f829c1e..79d194a 100644 --- a/src/LexRebol.cpp +++ b/src/LexRebol.cpp @@ -190,7 +190,7 @@ static void ColouriseRebolDoc(unsigned int startPos, int length, int initStyle, } //--- Determine if the current state should terminate - if (sc.state == SCE_REBOL_QUOTEDSTRING || sc.state == SCE_REBOL_CHARACTER) { + if (sc.state == SCE_REBOL_TQUOTEDSTRING || sc.state == SCE_REBOL_CHARACTER) { if (sc.ch == '^' && sc.chNext == '\"') { sc.Forward(); } else if (sc.ch == '\"') { @@ -243,7 +243,7 @@ static void ColouriseRebolDoc(unsigned int startPos, int length, int initStyle, dotCount = 0; sc.SetState(SCE_REBOL_NUMBER); } else if (sc.ch == '\"') { - sc.SetState(SCE_REBOL_QUOTEDSTRING); + sc.SetState(SCE_REBOL_TQUOTEDSTRING); } else if (sc.ch == '{') { sc.SetState(blockComment ? SCE_REBOL_COMMENTBLOCK : SCE_REBOL_BRACEDSTRING); ++stringLevel; diff --git a/src/LexSQL.cpp b/src/LexSQL.cpp index d8e14b9..f5d3598 100755 --- a/src/LexSQL.cpp +++ b/src/LexSQL.cpp @@ -100,7 +100,7 @@ static void ColouriseSQLDoc(unsigned int startPos, int length, int initStyle, Wo sc.SetState(nextState); } break; - case SCE_SQL_QUOTEDIDENTIFIER: + case SCE_SQL_TQUOTEDIDENTIFIER: if (sc.ch == 0x60) { if (sc.chNext == 0x60) { sc.Forward(); // Ignore it @@ -181,7 +181,7 @@ static void ColouriseSQLDoc(unsigned int startPos, int length, int initStyle, Wo } else if (IsAWordStart(sc.ch)) { sc.SetState(SCE_SQL_IDENTIFIER); } else if (sc.ch == 0x60 && sqlBackticksIdentifier) { - sc.SetState(SCE_SQL_QUOTEDIDENTIFIER); + sc.SetState(SCE_SQL_TQUOTEDIDENTIFIER); } else if (sc.Match('/', '*')) { if (sc.Match("/**") || sc.Match("/*!")) { // Support of Doxygen doc. style sc.SetState(SCE_SQL_COMMENTDOC); diff --git a/src/LexSmalltalk.cpp b/src/LexSmalltalk.cpp index 6f43ec3..96b942a 100644 --- a/src/LexSmalltalk.cpp +++ b/src/LexSmalltalk.cpp @@ -30,10 +30,10 @@ classificationBlock := [ :charClass :chars | classificationBlock value: #DecDigit value: '0123456789'; - value: #Letter value: '_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; + value: #Letter value: '_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ'; value: #Special value: '()[]{};.^:'; value: #BinSel value: '~@%&*-+=|\/,<>?!'; - value: #Upper value: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. + value: #Upper value: 'ABCDEFGHIJKLMNOPTQRSTUVWXYZ'. ((String new: 500) streamContents: [ :stream | stream crLf; nextPutAll: 'static int ClassificationTable[256] = {'. diff --git a/src/LexTADS3.cpp b/src/LexTADS3.cpp index 9938f63..03a4074 100644 --- a/src/LexTADS3.cpp +++ b/src/LexTADS3.cpp @@ -50,7 +50,7 @@ #include "Scintilla.h" #include "SciLexer.h" -static const int T3_SINGLE_QUOTE = 1; +static const int T3_SINGLE_TQUOTE = 1; static const int T3_INT_EXPRESSION = 2; static inline bool IsEOL(const int ch, const int chNext) { @@ -106,7 +106,7 @@ static void ColouriseTADSHTMLString(StyleContext &sc, int &lineState) { int endState = sc.state; int chQuote = sc.ch; if (endState == SCE_T3_HTML_STRING) { - if (lineState&T3_SINGLE_QUOTE) { + if (lineState&T3_SINGLE_TQUOTE) { endState = SCE_T3_S_STRING; chQuote = '"'; } else if (lineState&T3_INT_EXPRESSION) { @@ -171,7 +171,7 @@ static void ColouriseTADS3HTMLTag(StyleContext &sc, int &lineState) { sc.SetState(SCE_T3_HTML_DEFAULT); break; case SCE_T3_HTML_DEFAULT: - if (lineState&T3_SINGLE_QUOTE) { + if (lineState&T3_SINGLE_TQUOTE) { endState = SCE_T3_S_STRING; chQuote = '\''; chString = '"'; @@ -261,7 +261,7 @@ static void ColouriseTADS3MsgParam(StyleContext &sc, int &lineState) { sc.Forward(); break; case SCE_T3_MSG_PARAM: - if (lineState&T3_SINGLE_QUOTE) { + if (lineState&T3_SINGLE_TQUOTE) { endState = SCE_T3_S_STRING; chQuote = '\''; } else if (lineState&T3_INT_EXPRESSION) { @@ -301,7 +301,7 @@ static void ColouriseTADS3LibDirective(StyleContext &sc, int &lineState) { sc.Forward(2); break; case SCE_T3_LIB_DIRECTIVE: - if (lineState&T3_SINGLE_QUOTE) { + if (lineState&T3_SINGLE_TQUOTE) { initState = SCE_T3_S_STRING; chQuote = '\''; } else { @@ -337,10 +337,10 @@ static void ColouriseTADS3String(StyleContext &sc, int &lineState) { } else { sc.SetState(SCE_T3_X_STRING); } - lineState &= ~T3_SINGLE_QUOTE; + lineState &= ~T3_SINGLE_TQUOTE; } else { sc.SetState(SCE_T3_S_STRING); - lineState |= T3_SINGLE_QUOTE; + lineState |= T3_SINGLE_TQUOTE; } sc.Forward(); break; @@ -528,7 +528,7 @@ static void ColouriseTADS3Doc(unsigned int startPos, int length, int initStyle, && sc.Match('>', '>')) { sc.Forward(2); sc.SetState(SCE_T3_D_STRING); - lineState &= ~(T3_SINGLE_QUOTE|T3_INT_EXPRESSION); + lineState &= ~(T3_SINGLE_TQUOTE|T3_INT_EXPRESSION); } else if (IsATADS3Operator(sc.ch)) { if (sc.state == SCE_T3_X_DEFAULT) { if (sc.ch == '(') { diff --git a/src/LexTCL.cpp b/src/LexTCL.cpp index c782141..4a651bc 100644 --- a/src/LexTCL.cpp +++ b/src/LexTCL.cpp @@ -43,7 +43,7 @@ static void ColouriseTCLDoc(unsigned int startPos, int length, int , WordList *k bool foldComment = styler.GetPropertyInt("fold.comment") != 0; bool commentLevel = false; bool subBrace = false; // substitution begin with a brace ${.....} - enum tLineState {LS_DEFAULT, LS_OPEN_COMMENT, LS_OPEN_DOUBLE_QUOTE, LS_COMMENT_BOX, LS_MASK_STATE = 0xf, + enum tLineState {LS_DEFAULT, LS_OPEN_COMMENT, LS_OPEN_DOUBLE_TQUOTE, LS_COMMENT_BOX, LS_MASK_STATE = 0xf, LS_COMMAND_EXPECTED = 16, LS_BRACE_ONLY = 32 } lineState = LS_DEFAULT; bool prevSlash = false; int currentLevel = 0; @@ -89,8 +89,8 @@ next: sc.SetState(SCE_TCL_DEFAULT); if (lineState == LS_OPEN_COMMENT) sc.SetState(SCE_TCL_COMMENTLINE); - else if (lineState == LS_OPEN_DOUBLE_QUOTE) - sc.SetState(SCE_TCL_IN_QUOTE); + else if (lineState == LS_OPEN_DOUBLE_TQUOTE) + sc.SetState(SCE_TCL_IN_TQUOTE); else if (lineState == LS_COMMENT_BOX && (sc.ch == '#' || (sc.ch == ' ' && sc.chNext=='#'))) sc.SetState(SCE_TCL_COMMENT_BOX); lineState = LS_DEFAULT; @@ -144,16 +144,16 @@ next: w[strlen(w)-1]=0; while(*s == ':') // ignore leading : like in ::set a 10 ++s; - bool quote = sc.state == SCE_TCL_IN_QUOTE; + bool quote = sc.state == SCE_TCL_IN_TQUOTE; if (commentLevel || expected) { if (keywords.InList(s)) { - sc.ChangeState(quote ? SCE_TCL_WORD_IN_QUOTE : SCE_TCL_WORD); + sc.ChangeState(quote ? SCE_TCL_WORD_IN_TQUOTE : SCE_TCL_WORD); } else if (keywords2.InList(s)) { - sc.ChangeState(quote ? SCE_TCL_WORD_IN_QUOTE : SCE_TCL_WORD2); + sc.ChangeState(quote ? SCE_TCL_WORD_IN_TQUOTE : SCE_TCL_WORD2); } else if (keywords3.InList(s)) { - sc.ChangeState(quote ? SCE_TCL_WORD_IN_QUOTE : SCE_TCL_WORD3); + sc.ChangeState(quote ? SCE_TCL_WORD_IN_TQUOTE : SCE_TCL_WORD3); } else if (keywords4.InList(s)) { - sc.ChangeState(quote ? SCE_TCL_WORD_IN_QUOTE : SCE_TCL_WORD4); + sc.ChangeState(quote ? SCE_TCL_WORD_IN_TQUOTE : SCE_TCL_WORD4); } else if (sc.GetRelative(-static_cast(strlen(s))-1) == '{' && keywords5.InList(s) && sc.ch == '}') { // {keyword} exactly no spaces sc.ChangeState(SCE_TCL_EXPAND); @@ -169,7 +169,7 @@ next: } } expected = false; - sc.SetState(quote ? SCE_TCL_IN_QUOTE : SCE_TCL_DEFAULT); + sc.SetState(quote ? SCE_TCL_IN_TQUOTE : SCE_TCL_DEFAULT); } else if (sc.state == SCE_TCL_MODIFIER || sc.state == SCE_TCL_IDENTIFIER) { sc.SetState(SCE_TCL_DEFAULT); } @@ -199,8 +199,8 @@ next: styler.SetLevel(currentLine, flag + previousLevel + SC_FOLDLEVELBASE + (currentLevel << 17) + (commentLevel << 16)); // Update the line state, so it can be seen by next line - if (sc.state == SCE_TCL_IN_QUOTE) - lineState = LS_OPEN_DOUBLE_QUOTE; + if (sc.state == SCE_TCL_IN_TQUOTE) + lineState = LS_OPEN_DOUBLE_TQUOTE; else { if (prevSlash) { if (isComment(sc.state)) @@ -213,8 +213,8 @@ next: (expected ? LS_COMMAND_EXPECTED : 0) | lineState); if (lineState == LS_COMMENT_BOX) sc.ForwardSetState(SCE_TCL_COMMENT_BOX); - else if (lineState == LS_OPEN_DOUBLE_QUOTE) - sc.ForwardSetState(SCE_TCL_IN_QUOTE); + else if (lineState == LS_OPEN_DOUBLE_TQUOTE) + sc.ForwardSetState(SCE_TCL_IN_TQUOTE); else sc.ForwardSetState(SCE_TCL_DEFAULT); prevSlash = false; @@ -233,7 +233,7 @@ next: continue; if (sc.atLineStart) { visibleChars = false; - if (sc.state!=SCE_TCL_IN_QUOTE && !isComment(sc.state)) + if (sc.state!=SCE_TCL_IN_TQUOTE && !isComment(sc.state)) { sc.SetState(SCE_TCL_DEFAULT); expected = IsAWordStart(sc.ch)|| isspacechar(static_cast(sc.ch)); @@ -245,7 +245,7 @@ next: if (!IsANumberChar(sc.ch)) sc.SetState(SCE_TCL_DEFAULT); break; - case SCE_TCL_IN_QUOTE: + case SCE_TCL_IN_TQUOTE: if (sc.ch == '"') { sc.ForwardSetState(SCE_TCL_DEFAULT); visibleChars = true; // necessary if a " is the first and only character on a line @@ -253,7 +253,7 @@ next: } else if (sc.ch == '[' || sc.ch == ']' || sc.ch == '$') { sc.SetState(SCE_TCL_OPERATOR); expected = sc.ch == '['; - sc.ForwardSetState(SCE_TCL_IN_QUOTE); + sc.ForwardSetState(SCE_TCL_IN_TQUOTE); goto next; } continue; @@ -264,7 +264,7 @@ next: if (sc.ch == '#') { if (visibleChars) { - if (sc.state != SCE_TCL_IN_QUOTE && expected) + if (sc.state != SCE_TCL_IN_TQUOTE && expected) sc.SetState(SCE_TCL_COMMENT); } else { sc.SetState(SCE_TCL_COMMENTLINE); @@ -293,7 +293,7 @@ next: } else { switch (sc.ch) { case '\"': - sc.SetState(SCE_TCL_IN_QUOTE); + sc.SetState(SCE_TCL_IN_TQUOTE); break; case '{': sc.SetState(SCE_TCL_OPERATOR); diff --git a/src/LineMarker.cpp b/src/LineMarker.cpp index 6ded13c..2af78b5 100755 --- a/src/LineMarker.cpp +++ b/src/LineMarker.cpp @@ -68,7 +68,7 @@ void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharac pxpm->Draw(surface, rcWhole); return; } - // Restrict most shapes a bit + // Restrict most tqshapes a bit PRectangle rc = rcWhole; rc.top++; rc.bottom--; diff --git a/src/ViewStyle.cpp b/src/ViewStyle.cpp index b4da30a..0ae93d4 100755 --- a/src/ViewStyle.cpp +++ b/src/ViewStyle.cpp @@ -124,7 +124,7 @@ void ViewStyle::Init() { fontNames.Clear(); ResetDefaultStyle(); - indicators[0].style = INDIC_SQUIGGLE; + indicators[0].style = INDIC_STQUIGGLE; indicators[0].fore = ColourDesired(0, 0x7f, 0); indicators[1].style = INDIC_TT; indicators[1].fore = ColourDesired(0, 0, 0xff); diff --git a/src/XPM.cpp b/src/XPM.cpp index b8e27f4..4ce84aa 100644 --- a/src/XPM.cpp +++ b/src/XPM.cpp @@ -16,12 +16,12 @@ XPM::XPM(const char *textForm) { - qpm = *reinterpret_cast(textForm); + qpm = *reinterpret_cast(textForm); } XPM::XPM(const char * const *linesForm) { - qpm = *reinterpret_cast(linesForm); + qpm = *reinterpret_cast(linesForm); } void XPM::RefreshColourPalette(Palette &pal, bool want) diff --git a/src/XPM.h b/src/XPM.h index 962ffe4..27148c3 100644 --- a/src/XPM.h +++ b/src/XPM.h @@ -9,7 +9,7 @@ #define XPM_H #if defined(PLAT_QT) -#include +#include #endif /** @@ -17,7 +17,7 @@ */ class XPM { #if defined(PLAT_QT) - QPixmap qpm; + TQPixmap qpm; public: XPM(const char *textForm); @@ -27,7 +27,7 @@ public: void RefreshColourPalette(Palette &pal, bool want); void Draw(Surface *surface,PRectangle &rc); - const QPixmap &Pixmap() const {return qpm;} + const TQPixmap &Pixmap() const {return qpm;} #else int id; // Assigned by container int height;
    virtual void QextScintillaPrinter::formatPage (QPainter & TQPainter &  painter,
    QRect & TQRect &  area,