diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:16:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:16:52 -0600 |
commit | c03d5480ab0242a8e6b03b466d90d32d39303e71 (patch) | |
tree | 49196ad7975cefd5de40614cc3b92f88092b412b | |
parent | 6ade7e598a18691f3f92471c4441d856b3ac54dc (diff) | |
download | tqscintilla-c03d5480ab0242a8e6b03b466d90d32d39303e71.tar.gz tqscintilla-c03d5480ab0242a8e6b03b466d90d32d39303e71.zip |
Rename old tq methods that no longer need a unique name
-rwxr-xr-x | doc/Scintilla/ScintillaHistory.html | 4 | ||||
-rw-r--r-- | doc/html/classQextScintilla-members.html | 2 | ||||
-rw-r--r-- | doc/html/classQextScintillaBase-members.html | 2 | ||||
-rw-r--r-- | doc/html/classQextScintillaBase.html | 6 | ||||
-rw-r--r-- | doc/html/functions_0x73.html | 2 | ||||
-rw-r--r-- | doc/html/functions_func_0x73.html | 2 | ||||
-rwxr-xr-x | include/Scintilla.iface | 6 | ||||
-rw-r--r-- | qt/PlatQt.cpp | 2 | ||||
-rw-r--r-- | qt/SciListBox.cpp | 4 | ||||
-rw-r--r-- | qt/qextscintillabase.cpp | 6 | ||||
-rw-r--r-- | qt/qextscintillabase.h | 2 | ||||
-rwxr-xr-x | src/Editor.cpp | 6 | ||||
-rwxr-xr-x | src/Editor.h | 2 |
13 files changed, 23 insertions, 23 deletions
diff --git a/doc/Scintilla/ScintillaHistory.html b/doc/Scintilla/ScintillaHistory.html index a4a74d6..916b219 100755 --- a/doc/Scintilla/ScintillaHistory.html +++ b/doc/Scintilla/ScintillaHistory.html @@ -4592,7 +4592,7 @@ Tool bar. </li> <li> - tqStatus bar now on Windows as well as GTK+. + Status bar now on Windows as well as GTK+. </li> <li> Input fields in Find and Replace dialogs now have history on both Windows and @@ -4879,7 +4879,7 @@ Borland compatible makefile. </li> <li> - tqStatus bar showing caret position in GTK+ version of SciTE. + Status bar showing caret position in GTK+ version of SciTE. </li> <li> Bug fixes to selection drawing when part of selection outside window, mouse release over diff --git a/doc/html/classQextScintilla-members.html b/doc/html/classQextScintilla-members.html index 50240f1..acc90ba 100644 --- a/doc/html/classQextScintilla-members.html +++ b/doc/html/classQextScintilla-members.html @@ -956,7 +956,7 @@ <tr class="memlist"><td><a class="el" href="classQextScintilla.html#945affc0b0f8f25f58138f923d5a270d">setWrapMode</a>(WrapMode mode)</td><td><a class="el" href="classQextScintilla.html">QextScintilla</a></td><td><code> [virtual, slot]</code></td></tr> <tr class="memlist"><td><a class="el" href="classQextScintilla.html#11ef30c49b7c6fb96988a94059efa687">setWrapVisualFlags</a>(WrapVisualFlag eflag, WrapVisualFlag sflag=WrapFlagNone, int sindent=0)</td><td><a class="el" href="classQextScintilla.html">QextScintilla</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classQextScintilla.html#74a4da1e86eda7f62262cea8a4a9b26a">showUserList</a>(int id, const TQStringList &list)</td><td><a class="el" href="classQextScintilla.html">QextScintilla</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classQextScintillaBase.html#171ce27ddcfabf024cc5539181f253dd">tqsizeHint</a>() const </td><td><a class="el" href="classQextScintillaBase.html">QextScintillaBase</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classQextScintillaBase.html#171ce27ddcfabf024cc5539181f253dd">sizeHint</a>() const </td><td><a class="el" href="classQextScintillaBase.html">QextScintillaBase</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classQextScintilla.html#c9490bc31746441fa4f228f44679b06b0663484a90fdee0162e2e2e267c2da8a">SloppyBraceMatch</a> enum value</td><td><a class="el" href="classQextScintilla.html">QextScintilla</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classQextScintilla.html#1cefba8e6020a5b760511f83aa4ca72ee7978b23c827aa996489af72541c670a">SmallRectangle</a> enum value</td><td><a class="el" href="classQextScintilla.html">QextScintilla</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classQextScintilla.html#ea83bb0bc19af4a776b68ee3eda10c61">standardCommands</a>() const </td><td><a class="el" href="classQextScintilla.html">QextScintilla</a></td><td><code> [inline]</code></td></tr> diff --git a/doc/html/classQextScintillaBase-members.html b/doc/html/classQextScintillaBase-members.html index 2a37d2f..4983d70 100644 --- a/doc/html/classQextScintillaBase-members.html +++ b/doc/html/classQextScintillaBase-members.html @@ -747,7 +747,7 @@ <tr bgcolor="#f0f0f0"><td><b>SendScintilla</b>(unsigned int msg, const TQColor &col) (defined in <a class="el" href="classQextScintillaBase.html">QextScintillaBase</a>)</td><td><a class="el" href="classQextScintillaBase.html">QextScintillaBase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>SendScintilla</b>(unsigned int msg, unsigned long wParam, TQPainter *hdc, const TQRect &rc, long cpMin, long cpMax) (defined in <a class="el" href="classQextScintillaBase.html">QextScintillaBase</a>)</td><td><a class="el" href="classQextScintillaBase.html">QextScintillaBase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>SendScintilla</b>(unsigned int msg, unsigned long wParam, const TQPixmap *lParam) (defined in <a class="el" href="classQextScintillaBase.html">QextScintillaBase</a>)</td><td><a class="el" href="classQextScintillaBase.html">QextScintillaBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classQextScintillaBase.html#171ce27ddcfabf024cc5539181f253dd">tqsizeHint</a>() const </td><td><a class="el" href="classQextScintillaBase.html">QextScintillaBase</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classQextScintillaBase.html#171ce27ddcfabf024cc5539181f253dd">sizeHint</a>() const </td><td><a class="el" href="classQextScintillaBase.html">QextScintillaBase</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classQextScintillaBase.html#7c1be000329c8f9e328999cbc03ba9a7">startDrag</a>()</td><td><a class="el" href="classQextScintillaBase.html">QextScintillaBase</a></td><td><code> [protected, virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><b>STYLE_BRACEBAD</b> enum value (defined in <a class="el" href="classQextScintillaBase.html">QextScintillaBase</a>)</td><td><a class="el" href="classQextScintillaBase.html">QextScintillaBase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>STYLE_BRACELIGHT</b> enum value (defined in <a class="el" href="classQextScintillaBase.html">QextScintillaBase</a>)</td><td><a class="el" href="classQextScintillaBase.html">QextScintillaBase</a></td><td></td></tr> diff --git a/doc/html/classQextScintillaBase.html b/doc/html/classQextScintillaBase.html index 0efb8d3..d6e700d 100644 --- a/doc/html/classQextScintillaBase.html +++ b/doc/html/classQextScintillaBase.html @@ -2306,7 +2306,7 @@ long <b>SendScintilla</b> (unsigned int msg, const TQColor &col) long <b>SendScintilla</b> (unsigned int msg, unsigned long wParam, TQPainter *hdc, const TQRect &rc, long cpMin, long cpMax) <li><a class="anchor" name="10a88dc5c6aa9d423eeea62b21843264"></a><!-- doxytag: member="QextScintillaBase::SendScintilla" ref="10a88dc5c6aa9d423eeea62b21843264" args="(unsigned int msg, unsigned long wParam, const TQPixmap *lParam)" --> long <b>SendScintilla</b> (unsigned int msg, unsigned long wParam, const TQPixmap *lParam) -<li>virtual TQSize <a class="el" href="classQextScintillaBase.html#171ce27ddcfabf024cc5539181f253dd">tqsizeHint</a> () const +<li>virtual TQSize <a class="el" href="classQextScintillaBase.html#171ce27ddcfabf024cc5539181f253dd">sizeHint</a> () const <li>TQWidget * <a class="el" href="classQextScintillaBase.html#7c7723d64865b462ecfbf4152d836cae">viewport</a> () const </ul> <h2>Static Public Member Functions</h2> @@ -2938,12 +2938,12 @@ Returns a pointer to a <a class="el" href="classQextScintillaBase.html">QextScin Send the Scintilla message <em>msg</em> with the optional parameters <em>wParam</em> and <em>lParam</em>. </div> </div><p> -<a class="anchor" name="171ce27ddcfabf024cc5539181f253dd"></a><!-- doxytag: member="QextScintillaBase::tqsizeHint" ref="171ce27ddcfabf024cc5539181f253dd" args="() const " --> +<a class="anchor" name="171ce27ddcfabf024cc5539181f253dd"></a><!-- doxytag: member="QextScintillaBase::sizeHint" ref="171ce27ddcfabf024cc5539181f253dd" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> - <td class="memname">virtual TQSize QextScintillaBase::tqsizeHint </td> + <td class="memname">virtual TQSize QextScintillaBase::sizeHint </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> diff --git a/doc/html/functions_0x73.html b/doc/html/functions_0x73.html index 9e1937a..1960d09 100644 --- a/doc/html/functions_0x73.html +++ b/doc/html/functions_0x73.html @@ -334,7 +334,7 @@ Here is a list of all documented class members with links to the class documenta : <a class="el" href="classQextScintillaLexerHTML.html#fa7eeca9e9d6989991ea3dc3386fb8c261be7257f0b33af5eebee59e5daefdff">QextScintillaLexerHTML</a><li>showUserList() : <a class="el" href="classQextScintilla.html#74a4da1e86eda7f62262cea8a4a9b26a">QextScintilla</a><li>SingleQuotedHereDocument : <a class="el" href="classQextScintillaLexerPerl.html#3adbc396a8aceddb3e327505860b1fbdb84f237d13384cb47bcf579f29a77eab">QextScintillaLexerPerl</a>, <a class="el" href="classQextScintillaLexerBash.html#a161d468183d486788d727114d801f11ed5c6c7c814c87b3995bc1d0e129cdf6">QextScintillaLexerBash</a><li>SingleQuotedString -: <a class="el" href="classQextScintillaLexerSQL.html#31e2976a0e42d9f90cdfe7aafd4264935022b23b5cbb05e3edfa0c9d49f866a4">QextScintillaLexerSQL</a>, <a class="el" href="classQextScintillaLexerRuby.html#c12d2ddff5d8652b10066ef4ab5df6733d453fb290fba122980aa29757cc7839">QextScintillaLexerRuby</a>, <a class="el" href="classQextScintillaLexerPython.html#99004ac9e2112951a73f2dfc7724a5a7f299751dbcf5d3dc7645fbb54a89cdc3">QextScintillaLexerPython</a>, <a class="el" href="classQextScintillaLexerPerl.html#3adbc396a8aceddb3e327505860b1fbd7b9ff96a73c4d75e880eb0977e18a24f">QextScintillaLexerPerl</a>, <a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e4a6cf494de949384a8205d4dc6f320f3">QextScintillaLexerCSS</a>, <a class="el" href="classQextScintillaLexerCPP.html#542bd72841348de065bad4c9d8a39e51f7648858efb30abf136bf9f82a516296">QextScintillaLexerCPP</a>, <a class="el" href="classQextScintillaLexerBash.html#a161d468183d486788d727114d801f1177f2cc65d0990de81d205c6672206da0">QextScintillaLexerBash</a><li>tqsizeHint() +: <a class="el" href="classQextScintillaLexerSQL.html#31e2976a0e42d9f90cdfe7aafd4264935022b23b5cbb05e3edfa0c9d49f866a4">QextScintillaLexerSQL</a>, <a class="el" href="classQextScintillaLexerRuby.html#c12d2ddff5d8652b10066ef4ab5df6733d453fb290fba122980aa29757cc7839">QextScintillaLexerRuby</a>, <a class="el" href="classQextScintillaLexerPython.html#99004ac9e2112951a73f2dfc7724a5a7f299751dbcf5d3dc7645fbb54a89cdc3">QextScintillaLexerPython</a>, <a class="el" href="classQextScintillaLexerPerl.html#3adbc396a8aceddb3e327505860b1fbd7b9ff96a73c4d75e880eb0977e18a24f">QextScintillaLexerPerl</a>, <a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e4a6cf494de949384a8205d4dc6f320f3">QextScintillaLexerCSS</a>, <a class="el" href="classQextScintillaLexerCPP.html#542bd72841348de065bad4c9d8a39e51f7648858efb30abf136bf9f82a516296">QextScintillaLexerCPP</a>, <a class="el" href="classQextScintillaLexerBash.html#a161d468183d486788d727114d801f1177f2cc65d0990de81d205c6672206da0">QextScintillaLexerBash</a><li>sizeHint() : <a class="el" href="classQextScintillaBase.html#171ce27ddcfabf024cc5539181f253dd">QextScintillaBase</a><li>SloppyBraceMatch : <a class="el" href="classQextScintilla.html#c9490bc31746441fa4f228f44679b06b0663484a90fdee0162e2e2e267c2da8a">QextScintilla</a><li>SmallRectangle : <a class="el" href="classQextScintilla.html#1cefba8e6020a5b760511f83aa4ca72ee7978b23c827aa996489af72541c670a">QextScintilla</a><li>Spaces diff --git a/doc/html/functions_func_0x73.html b/doc/html/functions_func_0x73.html index 77b5034..1190596 100644 --- a/doc/html/functions_func_0x73.html +++ b/doc/html/functions_func_0x73.html @@ -159,7 +159,7 @@ : <a class="el" href="classQextScintilla.html#811888818870dd0d9cd74d297f711bc8">QextScintilla</a><li>setWrapMode() : <a class="el" href="classQextScintillaPrinter.html#f4904d6ba001f4c7145983f9814f00c1">QextScintillaPrinter</a>, <a class="el" href="classQextScintilla.html#945affc0b0f8f25f58138f923d5a270d">QextScintilla</a><li>setWrapVisualFlags() : <a class="el" href="classQextScintilla.html#11ef30c49b7c6fb96988a94059efa687">QextScintilla</a><li>showUserList() -: <a class="el" href="classQextScintilla.html#74a4da1e86eda7f62262cea8a4a9b26a">QextScintilla</a><li>tqsizeHint() +: <a class="el" href="classQextScintilla.html#74a4da1e86eda7f62262cea8a4a9b26a">QextScintilla</a><li>sizeHint() : <a class="el" href="classQextScintillaBase.html#171ce27ddcfabf024cc5539181f253dd">QextScintillaBase</a><li>standardCommands() : <a class="el" href="classQextScintilla.html#ea83bb0bc19af4a776b68ee3eda10c61">QextScintilla</a><li>startDrag() : <a class="el" href="classQextScintillaBase.html#7c1be000329c8f9e328999cbc03ba9a7">QextScintillaBase</a><li>startRecording() diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 6154ca5..3df40c3 100755 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1407,16 +1407,16 @@ set void SetFocus=2380(bool focus,) get bool GetFocus=2381(,) # Change error status - 0 = OK. -set void SettqStatus=2382(int statusCode,) +set void SetStatus=2382(int statusCode,) # Get error status. -get int GettqStatus=2383(,) +get int GetStatus=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 tqCursorShape=SC_CURSOR +enu CursorShape=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 db5e94a..9f31d0d 100644 --- a/qt/PlatQt.cpp +++ b/qt/PlatQt.cpp @@ -661,7 +661,7 @@ void Window::SetFont(Font &font) void Window::SetCursor(Cursor curs) { - TQt::tqCursorShape qc; + TQt::CursorShape qc; switch (curs) { diff --git a/qt/SciListBox.cpp b/qt/SciListBox.cpp index ef2475b..f873d7c 100644 --- a/qt/SciListBox.cpp +++ b/qt/SciListBox.cpp @@ -98,7 +98,7 @@ void ListBoxX::Create(Window &parent,int,Point,int,bool) void ListBoxX::SetAverageCharWidth(int) { - // We rely on TQListBox::tqsizeHint() for the size of the list box rather + // We rely on TQListBox::sizeHint() 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) { - TQSize sh = slb -> tqsizeHint(); + TQSize sh = slb -> sizeHint(); rc.right = sh.width(); rc.bottom = sh.height(); diff --git a/qt/qextscintillabase.cpp b/qt/qextscintillabase.cpp index aa58b9e..2131ab6 100644 --- a/qt/qextscintillabase.cpp +++ b/qt/qextscintillabase.cpp @@ -73,7 +73,7 @@ QextScintillaBase::QextScintillaBase(TQWidget *parent,const char *name,WFlags f) TQGridLayout *tqlayout = new TQGridLayout(this,2,2); txtarea = new TQWidget(this,0,WRepaintNoErase|WResizeNoErase); - txtarea -> tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding)); + txtarea -> setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding)); txtarea -> setMouseTracking(TRUE); txtarea -> setAcceptDrops(TRUE); txtarea -> setFocusPolicy(WheelFocus); @@ -563,12 +563,12 @@ void QextScintillaBase::handleHSb(int val) // Return the current prefered size. -TQSize QextScintillaBase::tqsizeHint() const +TQSize QextScintillaBase::sizeHint() const { int height = sci -> vs.lineHeight * sci -> pdoc -> LinesTotal(); if (sci -> horizontalScrollBarVisible) - height += hsb -> tqsizeHint().height(); + height += hsb -> sizeHint().height(); return TQSize(sci -> scrollWidth,height); } diff --git a/qt/qextscintillabase.h b/qt/qextscintillabase.h index d4e73ba..1e5a792 100644 --- a/qt/qextscintillabase.h +++ b/qt/qextscintillabase.h @@ -2243,7 +2243,7 @@ public: } //! Returns the recommended size of the widget. - virtual TQSize tqsizeHint() const; + virtual TQSize sizeHint() const; //! Returns the viewport widget. This is the widget that actually //! contains the text. diff --git a/src/Editor.cpp b/src/Editor.cpp index 1abb78a..045e384 100755 --- a/src/Editor.cpp +++ b/src/Editor.cpp @@ -346,7 +346,7 @@ Editor::Editor() { hasFocus = false; hideSelection = false; inOverstrike = false; - errortqStatus = 0; + errorStatus = 0; mouseDownCaptures = true; bufferedDraw = true; @@ -7210,11 +7210,11 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { return hasFocus; case SCI_SETSTATUS: - errortqStatus = wParam; + errorStatus = wParam; break; case SCI_GETSTATUS: - return errortqStatus; + return errorStatus; case SCI_SETMOUSEDOWNCAPTURES: mouseDownCaptures = wParam != 0; diff --git a/src/Editor.h b/src/Editor.h index 7dca342..2ce166d 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 errortqStatus; + int errorStatus; bool mouseDownCaptures; /** In bufferedDraw mode, graphics operations are drawn to a pixmap and then copied to |