summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-30 12:33:18 -0600
committerTimothy Pearson <[email protected]>2011-11-30 12:33:18 -0600
commit03bc485016127d419bbbbc3cfb09e21e8754b383 (patch)
treecad8234bcf26063239ac7a565298b897ffdeef57 /include
parent664e37abfe5c796c1279b8295fb030f126b0a7d8 (diff)
downloadtqscintilla-03bc485016127d419bbbbc3cfb09e21e8754b383.tar.gz
tqscintilla-03bc485016127d419bbbbc3cfb09e21e8754b383.zip
Initial automated TQt conversion
Diffstat (limited to 'include')
-rwxr-xr-xinclude/Platform.h6
-rwxr-xr-xinclude/SciLexer.h14
-rwxr-xr-xinclude/Scintilla.h4
-rwxr-xr-xinclude/Scintilla.iface12
4 files changed, 18 insertions, 18 deletions
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.