summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-04-06 21:26:09 +0900
committerMichele Calgaro <[email protected]>2024-04-07 18:36:32 +0900
commitb85c22314668302f17b6c83d1f695d0d52deb751 (patch)
treef96a2fa5b4873fd49471e9d066623e07dec845d0
parentaefe09ab53aa8eed2d529f0321e83a02e77b4a0c (diff)
downloadabakus-b85c22314668302f17b6c83d1f695d0d52deb751.tar.gz
abakus-b85c22314668302f17b6c83d1f695d0d52deb751.zip
Replace Qt with TQtr14.1.3r14.1.2
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 7a3d3f43eafeee3254fa0c09ae654b230719ad7b)
-rw-r--r--doc/man/abakus.110
-rw-r--r--src/editor.cpp1
2 files changed, 5 insertions, 6 deletions
diff --git a/doc/man/abakus.1 b/doc/man/abakus.1
index 1411bee..b6ea749 100644
--- a/doc/man/abakus.1
+++ b/doc/man/abakus.1
@@ -4,7 +4,7 @@
abakus
\- A simple keyboard-driven calculator
.SH SYNOPSIS
-abakus [Qt\-options] [TDE\-options]
+abakus [TQt\-options] [TDE\-options]
.SH DESCRIPTION
A simple keyboard-driven calculator
.SH OPTIONS
@@ -13,8 +13,8 @@ A simple keyboard-driven calculator
.B \-\-help
Show help about options
.TP
-.B \-\-help\-qt
-Show Qt specific options
+.B \-\-help\-tqt
+Show TQt specific options
.TP
.B \-\-help\-tde
Show TDE specific options
@@ -62,7 +62,7 @@ sets the application GUI style
.TP
.B \-\-geometry <geometry>
sets the client geometry of the main widget - see man X for the argument format
-.SS Qt options:
+.SS TQt options:
.TP
.B \-\-display <displayname>
Use the X-server display 'displayname'
@@ -81,7 +81,7 @@ using the QApplication::ManyColor color
specification
.TP
.B \-\-nograb
-tells Qt to never grab the mouse or the keyboard
+tells TQt to never grab the mouse or the keyboard
.TP
.B \-\-dograb
running under a debugger can cause an implicit
diff --git a/src/editor.cpp b/src/editor.cpp
index fdc26c1..b088fcd 100644
--- a/src/editor.cpp
+++ b/src/editor.cpp
@@ -47,7 +47,6 @@
#include <algorithm>
-// XXX: QT 4: Replace this with qBinaryFind().
using std::binary_search;
class CalcResultLabel : public TQLabel