summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 13:38:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 20:04:20 +0900
commite37a0bcc134930715cc1e1999029a472b667543c (patch)
treeaa398690993b116f776720023dcfc38fe5905200
parentc23828a3671154d5cdb86143f4ff66359d773938 (diff)
downloadtdeedu-e37a0bcc134930715cc1e1999029a472b667543c.tar.gz
tdeedu-e37a0bcc134930715cc1e1999029a472b667543c.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b803249430e4b183c8bf853c6c0147e796b19425)
-rw-r--r--doc/kstars/dcop.docbook10
-rw-r--r--doc/kstars/scriptbuilder.docbook36
-rw-r--r--kig/DESIGN2
-rw-r--r--kstars/README.planetmath2
-rw-r--r--kturtle/TODO4
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/kvoctrain.kcfg2
-rw-r--r--libtdeedu/tdeeduplot/README2
7 files changed, 29 insertions, 29 deletions
diff --git a/doc/kstars/dcop.docbook b/doc/kstars/dcop.docbook
index b17539bf..00c8f7e9 100644
--- a/doc/kstars/dcop.docbook
+++ b/doc/kstars/dcop.docbook
@@ -28,7 +28,7 @@ functions:
<itemizedlist>
<listitem><para><function>
-lookTowards( const QString direction )</function>:
+lookTowards( const TQString direction )</function>:
Point the display focus in a direction specified by the argument.
This can be the name of any object in the sky, or one of the following
directional words or abbreviations: zenith (or z), north (n),
@@ -72,7 +72,7 @@ Pause for t seconds before continuing with subsequent script commands.
</para></listitem>
<listitem><para><function>
-waitForKey( const QString k )</function>:
+waitForKey( const TQString k )</function>:
Halt the script execution until the user presses the specified key.
At this point, you cannot specify combination keystrokes (such as
<keycombo action="simul">&Ctrl;<keycap>C</keycap></keycombo>); just use
@@ -86,7 +86,7 @@ Toggle whether tracking mode is engaged.
</para></listitem>
<listitem><para><function>
-changeViewOption( const QString option, const QString value )</function>:
+changeViewOption( const TQString option, const TQString value )</function>:
Adjust a view option. There are dozens and dozens of options available;
basically everything you can change in the <guilabel>Configure &kstars;
Window</guilabel> can be changed here as well. The first argument is
@@ -98,8 +98,8 @@ gracefully.
</para></listitem>
<listitem><para><function>
-setGeoLocation( const QString city, const QString province,
-const QString country )</function>:
+setGeoLocation( const TQString city, const TQString province,
+const TQString country )</function>:
Change the observing location to the specified city. If no city matching
the argument strings is found, then nothing happens.
</para></listitem>
diff --git a/doc/kstars/scriptbuilder.docbook b/doc/kstars/scriptbuilder.docbook
index f439e662..9b5d59da 100644
--- a/doc/kstars/scriptbuilder.docbook
+++ b/doc/kstars/scriptbuilder.docbook
@@ -180,20 +180,20 @@ Script</guimenuitem> item in the <guimenu>File</guimenu> menu.
<orderedlist>
<listitem><para>Generic Device Functions: Functions to establish/shutdown devices..etc.</para>
<itemizedlist>
- <listitem><para><function>startINDI (QString deviceName, bool useLocal)</function> : Establish an INDI service either as local or server.</para></listitem>
- <listitem><para><function>shutdownINDI (QString deviceName)</function> : Shutdown the INDI service.</para></listitem>
- <listitem><para><function>switchINDI(QString deviceName, bool turnOn)</function> : Connect or Disconnect an INDI device.</para></listitem>
- <listitem><para><function>setINDIPort(QString deviceName, QString port)</function> : Set the device's connection port.</para></listitem>
- <listitem><para><function>setINDIAction(QString deviceName, QString action)</function> : Activate an INDI action. The action can be any <emphasis>element</emphasis> of a <emphasis>switch property</emphasis></para></listitem>
- <listitem><para><function>waitForINDIAction(QString deviceName, QString action)</function> : Pause script execution until the specified action <emphasis>property</emphasis> returns with OK status.</para></listitem>
+ <listitem><para><function>startINDI (TQString deviceName, bool useLocal)</function> : Establish an INDI service either as local or server.</para></listitem>
+ <listitem><para><function>shutdownINDI (TQString deviceName)</function> : Shutdown the INDI service.</para></listitem>
+ <listitem><para><function>switchINDI(TQString deviceName, bool turnOn)</function> : Connect or Disconnect an INDI device.</para></listitem>
+ <listitem><para><function>setINDIPort(TQString deviceName, TQString port)</function> : Set the device's connection port.</para></listitem>
+ <listitem><para><function>setINDIAction(TQString deviceName, TQString action)</function> : Activate an INDI action. The action can be any <emphasis>element</emphasis> of a <emphasis>switch property</emphasis></para></listitem>
+ <listitem><para><function>waitForINDIAction(TQString deviceName, TQString action)</function> : Pause script execution until the specified action <emphasis>property</emphasis> returns with OK status.</para></listitem>
</itemizedlist>
</listitem>
<listitem><para>Telescope Functions: Functions to control the telescope motion and status.</para>
<itemizedlist>
- <listitem><para><function>setINDIScopeAction(QString deviceName, QString action)</function> : Set the telescope mode or action. Available options are SLEW, TRACK, SYNC, PARK, and ABORT.</para></listitem>
- <listitem><para><function>setINDITargetCoord(QString deviceName, double RA, double DEC)</function> : Set the telescope JNow target coordinates to <emphasis>RA</emphasis> and <emphasis>DEC</emphasis>.</para></listitem>
- <listitem><para><function>setINDITargetName(QString deviceName, QString objectName)</function> : Set the telescope JNow target coordinates to the coordinates of <emphasis>objectName</emphasis>. KStars will lookup the object name in its database and will fetch RA and Dec once found.</para></listitem>
- <listitem><para><function>setINDIGeoLocation(QString deviceName, double
+ <listitem><para><function>setINDIScopeAction(TQString deviceName, TQString action)</function> : Set the telescope mode or action. Available options are SLEW, TRACK, SYNC, PARK, and ABORT.</para></listitem>
+ <listitem><para><function>setINDITargetCoord(TQString deviceName, double RA, double DEC)</function> : Set the telescope JNow target coordinates to <emphasis>RA</emphasis> and <emphasis>DEC</emphasis>.</para></listitem>
+ <listitem><para><function>setINDITargetName(TQString deviceName, TQString objectName)</function> : Set the telescope JNow target coordinates to the coordinates of <emphasis>objectName</emphasis>. KStars will lookup the object name in its database and will fetch RA and Dec once found.</para></listitem>
+ <listitem><para><function>setINDIGeoLocation(TQString deviceName, double
longitude, double latitude)</function> : Set the telescope geographical
location to the longitude and latitude as specified. The longitude is measured
from Greenwich, UK, to the East. However, while it is common to use negative
@@ -203,26 +203,26 @@ degrees to get the value that INDI expects. For example, Calgary, Canada
coordinates in &kstars; are longitude: -114 04 58; latitude: 51 02 58. So
INDI's would need longitude = 360 - 114.083 = 245.917
degrees.</para></listitem>
- <listitem><para><function>setINDIUTC(QString ddeviceName, QString UTCDateTime)</function> : Set the telescope UTC Date and Time in ISO 8601 format. The format is YYYY-MM-DDTHH:MM:SS (e.g. 2004-07-12T22:05:32).</para></listitem>
+ <listitem><para><function>setINDIUTC(TQString ddeviceName, TQString UTCDateTime)</function> : Set the telescope UTC Date and Time in ISO 8601 format. The format is YYYY-MM-DDTHH:MM:SS (e.g. 2004-07-12T22:05:32).</para></listitem>
</itemizedlist>
</listitem>
<listitem><para>Camera/CCD Functions: Functions to control the camera/CCD properties and status.</para>
<itemizedlist>
- <listitem><para><function>setINDICCDTemp(QString deviceName, int temp)</function> : Set the CCD chip target temperature in degrees celsius.</para></listitem>
- <listitem><para><function>setINDIFrameType(QString deviceName, QString type)</function> : Set the CCD frame type. Available options are FRAME_LIGHT, FRAME_BIAS, FRAME_DARK, and FRAME_FLAT.</para></listitem>
- <listitem><para><function>startINDIExposure(QString deviceName, int timeout)</function> : Start the CCD/Camera exposure for the duration specified by <emphasis>timeout</emphasis> in seconds.</para></listitem>
+ <listitem><para><function>setINDICCDTemp(TQString deviceName, int temp)</function> : Set the CCD chip target temperature in degrees celsius.</para></listitem>
+ <listitem><para><function>setINDIFrameType(TQString deviceName, TQString type)</function> : Set the CCD frame type. Available options are FRAME_LIGHT, FRAME_BIAS, FRAME_DARK, and FRAME_FLAT.</para></listitem>
+ <listitem><para><function>startINDIExposure(TQString deviceName, int timeout)</function> : Start the CCD/Camera exposure for the duration specified by <emphasis>timeout</emphasis> in seconds.</para></listitem>
</itemizedlist>
</listitem>
<listitem><para>Focuser Functions: Functions to control the focuser motion and status.</para>
<itemizedlist>
- <listitem><para><function>setINDIFocusSpeed(QString deviceName, QString action)</function> : Set the focuser speed. Available options are FOCUS_HALT, FOCUS_SLOW, FOCUS_MEDIUM, and FOCUS_FAST.</para></listitem>
- <listitem><para><function>setINDIFocusTimeout(QString deviceName, int timeout)</function> : Set the duration in seconds for any subsequent startINDIFocus operations.</para></listitem>
- <listitem><para><function>startINDIFocus(QString deviceName, int focusDir)</function> : Move the focuser either inward (focusDir = 0) or outward (focusDir = 1). The speed and duration of this operation is set by the <function>setINDIFocusSpeed()</function> and <function>setINDIFocusTimeout()</function> functions.</para></listitem>
+ <listitem><para><function>setINDIFocusSpeed(TQString deviceName, TQString action)</function> : Set the focuser speed. Available options are FOCUS_HALT, FOCUS_SLOW, FOCUS_MEDIUM, and FOCUS_FAST.</para></listitem>
+ <listitem><para><function>setINDIFocusTimeout(TQString deviceName, int timeout)</function> : Set the duration in seconds for any subsequent startINDIFocus operations.</para></listitem>
+ <listitem><para><function>startINDIFocus(TQString deviceName, int focusDir)</function> : Move the focuser either inward (focusDir = 0) or outward (focusDir = 1). The speed and duration of this operation is set by the <function>setINDIFocusSpeed()</function> and <function>setINDIFocusTimeout()</function> functions.</para></listitem>
</itemizedlist>
</listitem>
<listitem><para>Filter Functions: Functions to control the filter position.</para>
<itemizedlist>
- <listitem><para><function>setINDIFilterNum(QString deviceName, int filter_num)</function> : Change the filter position to <varname>filter_num</varname>. The user can assign aliases to filter numbers in the <guimenuitem>Configure INDI</guimenuitem> dialog box under the <guimenu>Devices</guimenu> menu (e.g. Filter 1 = Red, Filter 2 = Green..etc).</para></listitem>
+ <listitem><para><function>setINDIFilterNum(TQString deviceName, int filter_num)</function> : Change the filter position to <varname>filter_num</varname>. The user can assign aliases to filter numbers in the <guimenuitem>Configure INDI</guimenuitem> dialog box under the <guimenu>Devices</guimenu> menu (e.g. Filter 1 = Red, Filter 2 = Green..etc).</para></listitem>
</itemizedlist>
</listitem>
diff --git a/kig/DESIGN b/kig/DESIGN
index 0de0c986..69837b23 100644
--- a/kig/DESIGN
+++ b/kig/DESIGN
@@ -150,7 +150,7 @@ way. I will explain all the classes involved.
First of all, there is the TextImp class. It is an ObjectImp (
cf. supra ), and thus represents a piece of text that can be drawn on
-the document. It contains a QString ( the text to be shown ), a
+the document. It contains a TQString ( the text to be shown ), a
coordinate ( the location to draw it ), and a boolean saying whether a
frame should be drawn around it. As with all ObjectImp's, it does not
contain any code for calculating it, or how it behaves on user input.
diff --git a/kstars/README.planetmath b/kstars/README.planetmath
index 3bfc57c9..74d2d451 100644
--- a/kstars/README.planetmath
+++ b/kstars/README.planetmath
@@ -58,7 +58,7 @@ The KSplanet class contains a static OrbitDataManager member. The
OrbitDataManager provides for loading and storing the A/B/C constants
for each planet. In KstarsData::slotInitialize(), we simply call
loadData() for each planet. KSPlanet::loadData() calls
-OrbitDataManager::loadData(QString n), where n is the name of the planet.
+OrbitDataManager::loadData(TQString n), where n is the name of the planet.
The A/B/C constants are stored hierarchically:
+ The A,B,C values for a single term in an s(N) sum are stored in an
diff --git a/kturtle/TODO b/kturtle/TODO
index 30e5189d..f3e26f00 100644
--- a/kturtle/TODO
+++ b/kturtle/TODO
@@ -230,7 +230,7 @@ cies: That is a good plan! I have tux allready in my sprites dir (I'm a fan too
- crash on quitting after Opening files DONE annma 02/04/2004
-- cies: Make the interpreter (stolen from wsbasic.sf.net) (executer, parser, lexer, number and treenode) more native Qt. Right now they are a mixture of standard-CLI-C++ and Qt thingies (i put the Qt thingies there). I tried do that but i found that i'm not comfortable with the concept of streams -- which are used a lot in the interpreter. Especially streaming QString was an obstacle i couldnt take. DONE
+- cies: Make the interpreter (stolen from wsbasic.sf.net) (executer, parser, lexer, number and treenode) more native Qt. Right now they are a mixture of standard-CLI-C++ and Qt thingies (i put the Qt thingies there). I tried do that but i found that i'm not comfortable with the concept of streams -- which are used a lot in the interpreter. Especially streaming TQString was an obstacle i couldnt take. DONE
>>>>> after this is done we can also make the ()[],.""-configurable
With long lines and wrapping the canvas can get into a endless loop -> 100%CPU, i tried a lot to fix this allready, maybe my solution needs some tuning :).
@@ -293,7 +293,7 @@ Im tryered of this... I can fix it; too much for me. Sorry
in tdelibs/tdecore/kapp... :
-url = QString("help:/%1?anchor=%2").arg(appname).arg(anchor);
+url = TQString("help:/%1?anchor=%2").arg(appname).arg(anchor);
and
DCOPRef( "khelpcenter", "KHelpCenterIface" ).send( "openUrl", url, startup_id );
diff --git a/kvoctrain/kvoctrain/common-dialogs/kvoctrain.kcfg b/kvoctrain/kvoctrain/common-dialogs/kvoctrain.kcfg
index dd8732a5..f4c87806 100644
--- a/kvoctrain/kvoctrain/common-dialogs/kvoctrain.kcfg
+++ b/kvoctrain/kvoctrain/common-dialogs/kvoctrain.kcfg
@@ -27,7 +27,7 @@
</entry>
<entry name="Separator" type="String">
<label>This sets the separator used when copying/pasting text, default is Tab</label>
- <default code="true">QChar('\t')</default>
+ <default code="true">TQChar('\t')</default>
</entry>
<entry name="PasteOrder" type="StringList">
<label>The order in which languages get pasted</label>
diff --git a/libtdeedu/tdeeduplot/README b/libtdeedu/tdeeduplot/README
index ab695f9a..e9a52c23 100644
--- a/libtdeedu/tdeeduplot/README
+++ b/libtdeedu/tdeeduplot/README
@@ -1,6 +1,6 @@
This library provides KPlotWidget and KPlotObject classes.
-KPlotWidget is a QWidget-derived class that provides a virtual baseclass
+KPlotWidget is a TQWidget-derived class that provides a virtual baseclass
for easy data-plotting. The idea behind KPlotWidget is that you only have
to specify information in "data units"; i.e., the natural units of the
data being plotted. KPlotWidget automatically converts everything