summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-18 15:37:04 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-18 15:37:04 +0900
commite867c97d483fa51344f1a3dda1d20cc499224428 (patch)
treec0875fb82ea2fca60e2268e26205ebe781dd8bff
parenta4653b6b2979c665fbfefac41faf044a3b14fdb9 (diff)
downloadtqscintilla-e867c97d483fa51344f1a3dda1d20cc499224428.tar.gz
tqscintilla-e867c97d483fa51344f1a3dda1d20cc499224428.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--doc/other/ScintillaHistory.html4
-rw-r--r--src/Editor.h2
-rw-r--r--tqt/tqextscintillabase.cpp8
3 files changed, 7 insertions, 7 deletions
diff --git a/doc/other/ScintillaHistory.html b/doc/other/ScintillaHistory.html
index 94a7984..a230271 100644
--- a/doc/other/ScintillaHistory.html
+++ b/doc/other/ScintillaHistory.html
@@ -3534,7 +3534,7 @@
with GTK_ as keywords.
</li>
<li>
- Qt::Horizontal scrolling can be jumpy rather than gradual.
+ Horizontal scrolling can be jumpy rather than gradual.
</li>
<li>
GetSelText places a '\0' in the buffer if the selection is empty..
@@ -4603,7 +4603,7 @@
in items. The selected item may be changed through the API.
</li>
<li>
- Qt::Horizontal scrollbar can be turned off.
+ Horizontal scrollbar can be turned off.
</li>
<li>
Property to remove trailing spaces when saving file.
diff --git a/src/Editor.h b/src/Editor.h
index 2ce166d..fe7be26 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -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; ///<Qt::Horizontal scrolled amount in pixels
+ int xOffset; ///< Horizontal scrolled amount in pixels
int xCaretMargin; ///< Ensure this many pixels visible on both sides of caret
bool horizontalScrollBarVisible;
int scrollWidth;
diff --git a/tqt/tqextscintillabase.cpp b/tqt/tqextscintillabase.cpp
index d277dd6..2a9368a 100644
--- a/tqt/tqextscintillabase.cpp
+++ b/tqt/tqextscintillabase.cpp
@@ -84,11 +84,11 @@ TQextScintillaBase::TQextScintillaBase(TQWidget *parent,const char *name,WFlags
txtarea -> setFocusProxy(this);
layout -> addWidget(txtarea,0,0);
- vsb = new TQScrollBar(Qt::Vertical,this);
+ vsb = new TQScrollBar(TQt::Vertical,this);
layout -> addWidget(vsb,0,1);
connect(vsb,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(handleVSb(int)));
- hsb = new TQScrollBar(Qt::Horizontal,this);
+ hsb = new TQScrollBar(TQt::Horizontal,this);
layout -> addWidget(hsb,1,0);
connect(hsb,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(handleHSb(int)));
@@ -390,9 +390,9 @@ void TQextScintillaBase::mouseWheel(TQWheelEvent *we)
{
setFocus();
- if (we -> orientation() == Qt::Horizontal || we -> state() & ShiftButton)
+ if (we -> orientation() == TQt::Horizontal || we -> state() & ShiftButton)
TQApplication::sendEvent(hsb,we);
- else if (we -> orientation() == Qt::Vertical)
+ else if (we -> orientation() == TQt::Vertical)
TQApplication::sendEvent(vsb,we);
}