summaryrefslogtreecommitdiffstats
path: root/doc/en
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-26 11:44:59 +0900
committerMichele Calgaro <[email protected]>2023-09-27 10:36:44 +0900
commit0784cbd9b04d181f3b400ea963d20acfeba0ba64 (patch)
treea1b08c2ce86d9806385de121be5110845e1dd24c /doc/en
parenta7081182235c26e7b03d575bb03404babbaace58 (diff)
downloadamarok-0784cbd9b04d181f3b400ea963d20acfeba0ba64.tar.gz
amarok-0784cbd9b04d181f3b400ea963d20acfeba0ba64.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/advanced.docbook72
-rw-r--r--doc/en/faq.docbook2
2 files changed, 37 insertions, 37 deletions
diff --git a/doc/en/advanced.docbook b/doc/en/advanced.docbook
index 9f0908eb..7e96c002 100644
--- a/doc/en/advanced.docbook
+++ b/doc/en/advanced.docbook
@@ -243,7 +243,7 @@
</row>
<row>
-<entry>QString query( QString sql)</entry>
+<entry>TQString query( TQString sql)</entry>
<entry>Queries the database via SQL.</entry>
</row>
@@ -253,7 +253,7 @@
</row>
<row>
-<entry>void migrateFile( QString oldURL, QString newURL )</entry>
+<entry>void migrateFile( TQString oldURL, TQString newURL )</entry>
<entry>Move a file in the collection, keeping stats intact.</entry>
</row>
@@ -389,97 +389,97 @@
</row>
<row>
-<entry>QString album()</entry>
+<entry>TQString album()</entry>
<entry>Return the album of the currently playing track.</entry>
</row>
<row>
-<entry>QString artist()</entry>
+<entry>TQString artist()</entry>
<entry>Return the artist of the currently playing track.</entry>
</row>
<row>
-<entry>QString bitrate()</entry>
+<entry>TQString bitrate()</entry>
<entry>Return the bitrate of the currently playing track (XX kbps).</entry>
</row>
<row>
-<entry>QString comment()</entry>
+<entry>TQString comment()</entry>
<entry>Return the comment of the currently playing track.</entry>
</row>
<row>
-<entry>QString coverImage()</entry>
+<entry>TQString coverImage()</entry>
<entry>Return the encoded URL of the current track's cover image </entry>
</row>
<row>
-<entry>QString currentTime()</entry>
+<entry>TQString currentTime()</entry>
<entry>Return the position of the currently playing track ([h:]mm:ss format).</entry>
</row>
<row>
-<entry>QString encodedURL()</entry>
+<entry>TQString encodedURL()</entry>
<entry>Return the encoded URL of the currently playing track.</entry>
</row>
<row>
-<entry>QString engine()</entry>
+<entry>TQString engine()</entry>
<entry>Return the current sound engine.</entry>
</row>
<row>
-<entry>QString genre()</entry>
+<entry>TQString genre()</entry>
<entry>Return the genre of the currently playing track.</entry>
</row>
<row>
-<entry>QString lyrics()</entry>
+<entry>TQString lyrics()</entry>
<entry>Return the lyrics of the currently playing track.</entry>
</row>
<row>
-<entry>QString lyricsByPath( QString path )</entry>
+<entry>TQString lyricsByPath( TQString path )</entry>
<entry>Return the lyrics of a track by path.</entry>
</row>
<row>
-<entry>QString nowPlaying()</entry>
+<entry>TQString nowPlaying()</entry>
<entry>The title of now playing media.</entry>
</row>
<row>
-<entry>QString path()</entry>
+<entry>TQString path()</entry>
<entry>Return the unencoded path of the currently playing track.</entry>
</row>
<row>
-<entry>QString setContextStyle( QString )</entry>
+<entry>TQString setContextStyle( TQString )</entry>
<entry>Set the CSS style for the context browser.</entry>
</row>
<row>
-<entry>QString title()</entry>
+<entry>TQString title()</entry>
<entry>Return the title of the currently playing track.</entry>
</row>
<row>
-<entry>QString totalTime()</entry>
+<entry>TQString totalTime()</entry>
<entry>Return the total length of the currently playing track ([h:]mm:ss format).</entry>
</row>
<row>
-<entry>QString track()</entry>
+<entry>TQString track()</entry>
<entry>Return the track number.</entry>
</row>
<row>
-<entry>QString type()</entry>
+<entry>TQString type()</entry>
<entry>Return the file type.</entry>
</row>
<row>
-<entry>QString year()</entry>
+<entry>TQString year()</entry>
<entry>Return the year of the currently playing track.</entry>
</row>
@@ -579,12 +579,12 @@
</row>
<row>
-<entry>void setEqualizerPreset( QString name )</entry>
+<entry>void setEqualizerPreset( TQString name )</entry>
<entry>Set the equalizer preset </entry>
</row>
<row>
-<entry>void setLyricsByPath( QString url, QString lyrics )</entry>
+<entry>void setLyricsByPath( TQString url, TQString lyrics )</entry>
<entry>Set the lyrics of a track by it's path.</entry>
</row>
@@ -594,7 +594,7 @@
</row>
<row>
-<entry>void setScoreByPath( QString url, int score )</entry>
+<entry>void setScoreByPath( TQString url, int score )</entry>
<entry>Set the score of a track by it's path.</entry>
</row>
@@ -604,7 +604,7 @@
</row>
<row>
-<entry>void showBrowser( QString browser )</entry>
+<entry>void showBrowser( TQString browser )</entry>
<entry>Shows browsers in the playlist window</entry>
</row>
@@ -664,7 +664,7 @@
</row>
<row>
-<entry>QString saveCurrentPlaylist()</entry>
+<entry>TQString saveCurrentPlaylist()</entry>
<entry>Saves the current playlist to current.xml and returns its path.</entry>
</row>
@@ -694,7 +694,7 @@
</row>
<row>
-<entry>void popupMessage( QString)</entry>
+<entry>void popupMessage( TQString)</entry>
<entry>Shows a temporary popup message.</entry>
</row>
@@ -709,7 +709,7 @@
</row>
<row>
-<entry>void saveM3u( QString path, bool relativePaths)</entry>
+<entry>void saveM3u( TQString path, bool relativePaths)</entry>
<entry>Saves the current playlist as m3u.</entry>
</row>
@@ -719,7 +719,7 @@
</row>
<row>
-<entry>void shortStatusMessage( QString)</entry>
+<entry>void shortStatusMessage( TQString)</entry>
<entry>Shows a temporary message on the statusbar.</entry>
</row>
@@ -754,7 +754,7 @@
<tbody>
<row>
-<entry>void addPodcast( QString )</entry>
+<entry>void addPodcast( TQString )</entry>
<entry>Add a podcast entry to the playlist browser.</entry>
</row>
@@ -764,7 +764,7 @@
</row>
<row>
-<entry>void addPlaylist( QString )</entry>
+<entry>void addPlaylist( TQString )</entry>
<entry>Add a playlist to the playlist browser.</entry>
</row>
@@ -790,12 +790,12 @@
<tbody>
<row>
-<entry>bool runScript( QString name)</entry>
+<entry>bool runScript( TQString name)</entry>
<entry>Starts the script with the given name. Returns true on success.</entry>
</row>
<row>
-<entry>bool stopScript( QString name)</entry>
+<entry>bool stopScript( TQString name)</entry>
<entry>Stops the script with the given name. Returns true on success.</entry>
</row>
@@ -805,17 +805,17 @@
</row>
<row>
-<entry>void addCustomMenuItem(QString submenu, QString itemTitle )</entry>
+<entry>void addCustomMenuItem(TQString submenu, TQString itemTitle )</entry>
<entry>Enables and sets custom menu item title.</entry>
</row>
<row>
-<entry>void removeCustomMenuItem(QString submenu, QString itemTitle )</entry>
+<entry>void removeCustomMenuItem(TQString submenu, TQString itemTitle )</entry>
<entry>Removes the custom menu item.</entry>
</row>
<row>
-<entry>QString readConfig( QString key)</entry>
+<entry>TQString readConfig( TQString key)</entry>
<entry>Returns a AmarokConfig configuration entry value from the given key.</entry>
</row>
diff --git a/doc/en/faq.docbook b/doc/en/faq.docbook
index 43e78113..7c16f582 100644
--- a/doc/en/faq.docbook
+++ b/doc/en/faq.docbook
@@ -684,7 +684,7 @@ When defining a score for a track which has been played before, the calculation
score = ( ( values[2].toDouble() * values.first().toInt() ) + percentage ) / ( values.first().toInt() + 1 );</para>
<para>Substituting in the values from this line:</para>
<programlisting>
- QStringList values = query( QString(
+ QStringList values = query( TQString(
"SELECT playcounter, createdate, percentage FROM statistics "
"WHERE url = '%1';" )
.arg( escapeString( url ) ) );