diff options
-rw-r--r-- | amarok/HACKING | 8 | ||||
-rw-r--r-- | amarok/docs/collection_redesign.xmi | 8 | ||||
-rw-r--r-- | amarok/src/app.cpp | 4 | ||||
-rw-r--r-- | amarok/src/metabundle.cpp | 35 | ||||
-rw-r--r-- | amarok/src/scripts/databasescripts/databaseScripts.rb | 6 | ||||
-rw-r--r-- | doc/da/advanced.docbook | 72 | ||||
-rw-r--r-- | doc/da/faq.docbook | 2 | ||||
-rw-r--r-- | doc/de/advanced.docbook | 72 | ||||
-rw-r--r-- | doc/de/faq.docbook | 2 | ||||
-rw-r--r-- | doc/en/advanced.docbook | 72 | ||||
-rw-r--r-- | doc/en/faq.docbook | 2 | ||||
-rw-r--r-- | doc/es/advanced.docbook | 72 | ||||
-rw-r--r-- | doc/es/faq.docbook | 2 | ||||
-rw-r--r-- | doc/et/advanced.docbook | 72 | ||||
-rw-r--r-- | doc/et/faq.docbook | 2 | ||||
-rw-r--r-- | doc/fr/faq.docbook | 2 | ||||
-rw-r--r-- | doc/it/advanced.docbook | 72 | ||||
-rw-r--r-- | doc/it/faq.docbook | 2 | ||||
-rw-r--r-- | doc/nl/advanced.docbook | 72 | ||||
-rw-r--r-- | doc/nl/faq.docbook | 2 | ||||
-rw-r--r-- | doc/pl/advanced.docbook | 72 | ||||
-rw-r--r-- | doc/pl/faq.docbook | 2 | ||||
-rw-r--r-- | doc/pt/advanced.docbook | 72 | ||||
-rw-r--r-- | doc/pt/faq.docbook | 2 | ||||
-rw-r--r-- | doc/sv/advanced.docbook | 72 | ||||
-rw-r--r-- | doc/sv/faq.docbook | 2 |
26 files changed, 403 insertions, 400 deletions
diff --git a/amarok/HACKING b/amarok/HACKING index 1a08e7e9..1cf5261f 100644 --- a/amarok/HACKING +++ b/amarok/HACKING @@ -29,7 +29,7 @@ Formatting Example: | bool - | MyClass::myMethod( QPtrList<QListViewItem> items, const QString &name ) + | MyClass::myMethod( QPtrList<QListViewItem> items, const TQString &name ) | { | if( items.isEmpty() ) | return false; @@ -122,7 +122,7 @@ great too. | TQ_OBJECT | | public: - | Queuelist( QWidget *parent, const char *name = 0 ); + | Queuelist( TQWidget *parent, const char *name = 0 ); | ~QueueList() {}; | | public slots: @@ -154,7 +154,7 @@ See: http://www.parashift.com/c++-faq-lite/const-correctness.html Example: | bool - | MyClass::isValidFile( const QString& path ) const + | MyClass::isValidFile( const TQString& path ) const | { | const bool valid = QFile::exist( path ); | @@ -200,7 +200,7 @@ We provide this method for convenience, but it is important to use it properly. inspection, we can see that we may produce very obscure bugs in the wrong case: | TDEConfig - | *config( const QString &group ) + | *config( const TQString &group ) | { | //Slightly more useful config() that allows setting the group simultaneously | kapp->config()->setGroup( group ); diff --git a/amarok/docs/collection_redesign.xmi b/amarok/docs/collection_redesign.xmi index ea1c9fc5..1cfdb1b8 100644 --- a/amarok/docs/collection_redesign.xmi +++ b/amarok/docs/collection_redesign.xmi @@ -62,7 +62,7 @@ <UML:Classifier.feature> <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="4714" isRoot="false" isAbstract="true" isQuery="false" name="signalNewResultReady" > <UML:BehavioralFeature.parameter> - <UML:Parameter comment="Identifies the collection which returned the new results. QString is just a placeholder" isSpecification="false" visibility="private" xmi.id="4739" value="" type="4736" name="collectionId" /> + <UML:Parameter comment="Identifies the collection which returned the new results. TQString is just a placeholder" isSpecification="false" visibility="private" xmi.id="4739" value="" type="4736" name="collectionId" /> <UML:Parameter comment="the songs which were found by the collection for the given query. The calling function takes ownership of the objects." isSpecification="false" visibility="private" xmi.id="4745" value="" type="4742" name="songs" /> </UML:BehavioralFeature.parameter> </UML:Operation> @@ -80,7 +80,7 @@ </UML:Operation> <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="4750" isRoot="false" isAbstract="true" isQuery="false" name="signalNewResultReady" > <UML:BehavioralFeature.parameter> - <UML:Parameter comment="identifies the collection which returned this result. The type is just a placeholder, there are probably better choices than a QString" isSpecification="false" visibility="private" xmi.id="4751" value="" type="4736" name="collectionId" /> + <UML:Parameter comment="identifies the collection which returned this result. The type is just a placeholder, there are probably better choices than a TQString" isSpecification="false" visibility="private" xmi.id="4751" value="" type="4736" name="collectionId" /> <UML:Parameter comment="The result of the given query." isSpecification="false" visibility="private" xmi.id="4757" value="" type="4754" name="result" /> </UML:BehavioralFeature.parameter> </UML:Operation> @@ -141,7 +141,7 @@ TODO: add parameters" isSpecification="false" isLeaf="false" visibility="public" </UML:Interface> <UML:Class comment="This class encapsulates multiple QueryBuilder and simply forwards most method calls to each of them. A notable exception is the run() method (or maybe query() method, i'm not sure if it shouldn't be renamed). -In this method the class will query all internal QueryBuilders in parallel. It will emit the signal signalNewResultReady() as soon as an internal QueryBuilder delivers its result. Depending on whether the client code started a song query or a custom query it will emit signalNewResultReady(QString, QPtrList<Song>) or signalNewResultReady(QString, QStringList)." isSpecification="false" isLeaf="false" visibility="public" namespace="1" xmi.id="4411" isRoot="false" isAbstract="false" name="MetaQueryBuilder" > +In this method the class will query all internal QueryBuilders in parallel. It will emit the signal signalNewResultReady() as soon as an internal QueryBuilder delivers its result. Depending on whether the client code started a song query or a custom query it will emit signalNewResultReady(TQString, QPtrList<Song>) or signalNewResultReady(TQString, QStringList)." isSpecification="false" isLeaf="false" visibility="public" namespace="1" xmi.id="4411" isRoot="false" isAbstract="false" name="MetaQueryBuilder" > <UML:Classifier.feature> <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="4719" isRoot="false" isAbstract="false" isQuery="false" name="slotNewResultReady" /> </UML:Classifier.feature> @@ -177,7 +177,7 @@ TODO: think of a better type for the collection id." isSpecification="false" isL <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="1" xmi.id="4606" isRoot="false" isAbstract="false" name="Amarok" /> <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="1" xmi.id="4648" isRoot="false" isAbstract="false" name="IpodCollection" /> <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="1" xmi.id="4651" isRoot="false" isAbstract="false" name="IpodQueryBuilder" /> - <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="1" xmi.id="4736" isRoot="false" isAbstract="false" name="QString" /> + <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="1" xmi.id="4736" isRoot="false" isAbstract="false" name="TQString" /> <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="1" xmi.id="4742" isRoot="false" isAbstract="false" name="QPtrList<Song>" /> <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="1" xmi.id="4754" isRoot="false" isAbstract="false" name="QStringList" /> <UML:Interface stereotype="4410" isSpecification="false" isLeaf="false" visibility="public" namespace="1" xmi.id="4892" isRoot="false" isAbstract="true" name="Song" > diff --git a/amarok/src/app.cpp b/amarok/src/app.cpp index 2d367e38..dc060f09 100644 --- a/amarok/src/app.cpp +++ b/amarok/src/app.cpp @@ -78,6 +78,8 @@ email : [email protected] #include <tqtimer.h> //showHyperThreadingWarning() #include <tqtooltip.h> //default tooltip for trayicon +#define TStringToTQString(s) TQString::fromUtf8((s).toCString(true)) + // For the HyperThreading fix #ifdef __linux__ #ifdef SCHEDAFFINITY_SUPPORT @@ -589,7 +591,7 @@ class ID3v1StringHandler : public TagLib::ID3v1::StringHandler virtual TagLib::ByteVector render( const TagLib::String &ts ) const { - const TQCString qcs = m_codec->fromUnicode( TStringToQString(ts) ); + const TQCString qcs = m_codec->fromUnicode( TStringToTQString(ts) ); return TagLib::ByteVector( qcs, qcs.length() ); } diff --git a/amarok/src/metabundle.cpp b/amarok/src/metabundle.cpp index 7787c503..3a6d199e 100644 --- a/amarok/src/metabundle.cpp +++ b/amarok/src/metabundle.cpp @@ -63,6 +63,7 @@ #include "metabundle.h" #include "podcastbundle.h" +#define TStringToTQString(s) TQString::fromUtf8((s).toCString(true)) namespace Amarok { KURL detachedKURL( const KURL &url ) { @@ -75,7 +76,7 @@ namespace Amarok { MetaBundle::EmbeddedImage::EmbeddedImage( const TagLib::ByteVector& data, const TagLib::String& description ) - : m_description( TStringToQString( description ) ) + : m_description( TStringToTQString( description ) ) { m_data.duplicate( data.data(), data.size() ); } @@ -511,7 +512,7 @@ MetaBundle::readTags( TagLib::AudioProperties::ReadStyle readStyle, EmbeddedImag tag = fileref.tag(); if ( tag ) { - #define strip( x ) TQString(TStringToQString( x )).stripWhiteSpace() + #define strip( x ) TStringToTQString( x ).stripWhiteSpace() setTitle( strip( tag->title() ) ); setArtist( strip( tag->artist() ) ); setAlbum( strip( tag->album() ) ); @@ -536,19 +537,19 @@ MetaBundle::readTags( TagLib::AudioProperties::ReadStyle readStyle, EmbeddedImag if ( file->ID3v2Tag() ) { if ( !file->ID3v2Tag()->frameListMap()["TPOS"].isEmpty() ) - disc = TQString(TStringToQString( file->ID3v2Tag()->frameListMap()["TPOS"].front()->toString() )).stripWhiteSpace(); + disc = TStringToTQString( file->ID3v2Tag()->frameListMap()["TPOS"].front()->toString() ).stripWhiteSpace(); if ( !file->ID3v2Tag()->frameListMap()["TBPM"].isEmpty() ) - setBpm( TQString(TStringToQString( file->ID3v2Tag()->frameListMap()["TBPM"].front()->toString() )).stripWhiteSpace().toFloat() ); + setBpm( TStringToTQString( file->ID3v2Tag()->frameListMap()["TBPM"].front()->toString() ).stripWhiteSpace().toFloat() ); if ( !file->ID3v2Tag()->frameListMap()["TCOM"].isEmpty() ) - setComposer( TQString(TStringToQString( file->ID3v2Tag()->frameListMap()["TCOM"].front()->toString() )).stripWhiteSpace() ); + setComposer( TStringToTQString( file->ID3v2Tag()->frameListMap()["TCOM"].front()->toString() ).stripWhiteSpace() ); if ( !file->ID3v2Tag()->frameListMap()["TPE2"].isEmpty() ) // non-standard: Apple, Microsoft - setAlbumArtist( TQString(TStringToQString( file->ID3v2Tag()->frameListMap()["TPE2"].front()->toString() )).stripWhiteSpace() ); + setAlbumArtist( TStringToTQString( file->ID3v2Tag()->frameListMap()["TPE2"].front()->toString() ).stripWhiteSpace() ); if ( !file->ID3v2Tag()->frameListMap()["TCMP"].isEmpty() ) - compilation = TQString(TStringToQString( file->ID3v2Tag()->frameListMap()["TCMP"].front()->toString() )).stripWhiteSpace(); + compilation = TStringToTQString( file->ID3v2Tag()->frameListMap()["TCMP"].front()->toString() ).stripWhiteSpace(); if(images) { loadImagesFromTag( *file->ID3v2Tag(), *images ); @@ -561,16 +562,16 @@ MetaBundle::readTags( TagLib::AudioProperties::ReadStyle readStyle, EmbeddedImag if ( file->tag() ) { if ( !file->tag()->fieldListMap()[ "COMPOSER" ].isEmpty() ) - setComposer( TQString(TStringToQString( file->tag()->fieldListMap()["COMPOSER"].front() )).stripWhiteSpace() ); + setComposer( TStringToTQString( file->tag()->fieldListMap()["COMPOSER"].front() ).stripWhiteSpace() ); if ( !file->tag()->fieldListMap()[ "BPM" ].isEmpty() ) - setBpm( TQString(TStringToQString( file->tag()->fieldListMap()["BPM"].front() )).stripWhiteSpace().toFloat() ); + setBpm( TStringToTQString( file->tag()->fieldListMap()["BPM"].front() ).stripWhiteSpace().toFloat() ); if ( !file->tag()->fieldListMap()[ "DISCNUMBER" ].isEmpty() ) - disc = TQString(TStringToQString( file->tag()->fieldListMap()["DISCNUMBER"].front() )).stripWhiteSpace(); + disc = TStringToTQString( file->tag()->fieldListMap()["DISCNUMBER"].front() ).stripWhiteSpace(); if ( !file->tag()->fieldListMap()[ "COMPILATION" ].isEmpty() ) - compilation = TQString(TStringToQString( file->tag()->fieldListMap()["COMPILATION"].front() )).stripWhiteSpace(); + compilation = TStringToTQString( file->tag()->fieldListMap()["COMPILATION"].front() ).stripWhiteSpace(); } } else if ( TagLib::FLAC::File *file = dynamic_cast<TagLib::FLAC::File *>( fileref.file() ) ) @@ -579,16 +580,16 @@ MetaBundle::readTags( TagLib::AudioProperties::ReadStyle readStyle, EmbeddedImag if ( file->xiphComment() ) { if ( !file->xiphComment()->fieldListMap()[ "COMPOSER" ].isEmpty() ) - setComposer( TQString(TStringToQString( file->xiphComment()->fieldListMap()["COMPOSER"].front() )).stripWhiteSpace() ); + setComposer( TStringToTQString( file->xiphComment()->fieldListMap()["COMPOSER"].front() ).stripWhiteSpace() ); if ( !file->xiphComment()->fieldListMap()[ "BPM" ].isEmpty() ) - setBpm( TQString(TStringToQString( file->xiphComment()->fieldListMap()["BPM"].front() )).stripWhiteSpace().toFloat() ); + setBpm( TStringToTQString( file->xiphComment()->fieldListMap()["BPM"].front() ).stripWhiteSpace().toFloat() ); if ( !file->xiphComment()->fieldListMap()[ "DISCNUMBER" ].isEmpty() ) - disc = TQString(TStringToQString( file->xiphComment()->fieldListMap()["DISCNUMBER"].front() )).stripWhiteSpace(); + disc = TStringToTQString( file->xiphComment()->fieldListMap()["DISCNUMBER"].front() ).stripWhiteSpace(); if ( !file->xiphComment()->fieldListMap()[ "COMPILATION" ].isEmpty() ) - compilation = TQString(TStringToQString( file->xiphComment()->fieldListMap()["COMPILATION"].front() )).stripWhiteSpace(); + compilation = TStringToTQString( file->xiphComment()->fieldListMap()["COMPILATION"].front() ).stripWhiteSpace(); } if ( images && file->ID3v2Tag() ) { @@ -601,7 +602,7 @@ MetaBundle::readTags( TagLib::AudioProperties::ReadStyle readStyle, EmbeddedImag TagLib::MP4::Tag *mp4tag = dynamic_cast<TagLib::MP4::Tag *>( file->tag() ); if( mp4tag ) { - setComposer( TQString(TStringToQString( mp4tag->composer() )) ); + setComposer( TStringToTQString( mp4tag->composer() ) ); setBpm( TQString::number( mp4tag->bpm() ).toFloat() ); disc = TQString::number( mp4tag->disk() ); compilation = TQString::number( mp4tag->compilation() ); @@ -1282,7 +1283,7 @@ MetaBundle::genreList() //static TagLib::StringList genres = TagLib::ID3v1::genreList(); for( TagLib::StringList::ConstIterator it = genres.begin(), end = genres.end(); it != end; ++it ) - list += TStringToQString( (*it) ); + list += TStringToTQString( (*it) ); list.sort(); diff --git a/amarok/src/scripts/databasescripts/databaseScripts.rb b/amarok/src/scripts/databasescripts/databaseScripts.rb index de541510..4d7588ff 100644 --- a/amarok/src/scripts/databasescripts/databaseScripts.rb +++ b/amarok/src/scripts/databasescripts/databaseScripts.rb @@ -27,7 +27,7 @@ class DatabaseScriptChooser < Qt::Dialog attr_reader :m_saveDir attr_reader :m_okayButton - Q_SLOTS 'optionChanged(int)', 'textChanged(const QString &)', 'accept()', 'cancel()' + Q_SLOTS 'optionChanged(int)', 'textChanged(const TQString &)', 'accept()', 'cancel()' def initialize(parent = nil, name = nil, modal = false, fl = 0) super @@ -73,8 +73,8 @@ class DatabaseScriptChooser < Qt::Dialog connect( @m_okayButton, SIGNAL( "clicked()" ), self, SLOT( "accept()" ) ) connect( @m_cancelButton, SIGNAL( "clicked()" ), self, SLOT( "cancel()" ) ) - connect( @m_saveDir, SIGNAL( "textChanged(const QString &)" ), - self, SLOT( "textChanged(const QString &)" ) ); + connect( @m_saveDir, SIGNAL( "textChanged(const TQString &)" ), + self, SLOT( "textChanged(const TQString &)" ) ); @Form1Layout.addLayout(@layout3, 0, 0) languageChange() diff --git a/doc/da/advanced.docbook b/doc/da/advanced.docbook index 60a68479..f0bcdf74 100644 --- a/doc/da/advanced.docbook +++ b/doc/da/advanced.docbook @@ -486,7 +486,7 @@ <row> <entry ->QString query( QString sql)</entry> +>TQString query( TQString sql)</entry> <entry >Sender en forespørgsel til databasen via SQL.</entry> </row> @@ -500,7 +500,7 @@ <row> <entry ->void migrateFile( QString gammel_url, QString ny_url )</entry> +>void migrateFile( TQString gammel_url, TQString ny_url )</entry> <entry >Flyt en fil i samlingen, og behold statistikken intakt.</entry> </row> @@ -680,133 +680,133 @@ <row> <entry ->QString album()</entry> +>TQString album()</entry> <entry >Returnerer albummet for sporet som for øjeblikket spilles.</entry> </row> <row> <entry ->QString artist()</entry> +>TQString artist()</entry> <entry >Returnerer artisten for sporet som for øjeblikket spilles.</entry> </row> <row> <entry ->QString bitrate()</entry> +>TQString bitrate()</entry> <entry >Returnér bithastigheden for sporet som for øjeblikket spilles (i kilobit pr sekund).</entry> </row> <row> <entry ->QString comment()</entry> +>TQString comment()</entry> <entry >Returnerer kommentaren for sporet som for øjeblikket spilles.</entry> </row> <row> <entry ->QString coverImage()</entry> +>TQString coverImage()</entry> <entry >Returnerer den kodede URL for nuværende spors omslag </entry> </row> <row> <entry ->QString currentTime()</entry> +>TQString currentTime()</entry> <entry >Returnér positionen for sporet som for øjeblikket spilles (i formatet [t:]mm:ss).</entry> </row> <row> <entry ->QString encodedURL()</entry> +>TQString encodedURL()</entry> <entry >Returnér den indkodede url for sporet som for øjeblikket spilles.</entry> </row> <row> <entry ->QString engine()</entry> +>TQString engine()</entry> <entry >Returnerer nuværende lydgrænseflade.</entry> </row> <row> <entry ->QString genre()</entry> +>TQString genre()</entry> <entry >Returnerer genren for sporet som for øjeblikket spilles.</entry> </row> <row> <entry ->QString lyrics()</entry> +>TQString lyrics()</entry> <entry >Returnerer sangteksten for sporet som for øjeblikket spilles.</entry> </row> <row> <entry ->QString lyricsByPath( QString søgesti )</entry> +>TQString lyricsByPath( TQString søgesti )</entry> <entry >Returnér sangtekst for et spor ifølge søgesti.</entry> </row> <row> <entry ->QString nowPlaying()</entry> +>TQString nowPlaying()</entry> <entry >Titlen på det medium som nu spilles.</entry> </row> <row> <entry ->QString path()</entry> +>TQString path()</entry> <entry >Returnér den ikke-indkodede søgesti for sporet som for øjeblikket spilles.</entry> </row> <row> <entry ->QString setContekstStyle( QString )</entry> +>TQString setContekstStyle( TQString )</entry> <entry >Indstil CSS-stilen for sammenhængsbrowseren.</entry> </row> <row> <entry ->QString title()</entry> +>TQString title()</entry> <entry >Returnerer titlen for sporet som for øjeblikket spilles.</entry> </row> <row> <entry ->QString totalTime()</entry> +>TQString totalTime()</entry> <entry >Returnér den totale længde for sporet som for øjeblikket spilles (i formatet [t:]mm:ss).</entry> </row> <row> <entry ->QString track()</entry> +>TQString track()</entry> <entry >Returnér spornummeret.</entry> </row> <row> <entry ->QString type()</entry> +>TQString type()</entry> <entry >Returnér filtypen.</entry> </row> <row> <entry ->QString year()</entry> +>TQString year()</entry> <entry >Returnerer året for sporet som for øjeblikket spilles.</entry> </row> @@ -946,14 +946,14 @@ <row> <entry ->void setEqualizerPreset( QString navn )</entry> +>void setEqualizerPreset( TQString navn )</entry> <entry >Indstil equalizerens forudindstilling </entry> </row> <row> <entry ->void setLyricsByPath( QString url, QString sangtekst )</entry> +>void setLyricsByPath( TQString url, TQString sangtekst )</entry> <entry >Indstil sangtekst for et spor ifølge dets søgesti.</entry> </row> @@ -967,7 +967,7 @@ <row> <entry ->void setScoreByPath( QString url, int scoring )</entry> +>void setScoreByPath( TQString url, int scoring )</entry> <entry >Indstil scoring for et spor ifølge dets søgesti.</entry> </row> @@ -981,7 +981,7 @@ <row> <entry ->void showBrowser( QString browser )</entry> +>void showBrowser( TQString browser )</entry> <entry >Viser browserne i spillelistens vindue.</entry> </row> @@ -1060,7 +1060,7 @@ <row> <entry ->QString saveCurrentPlaylist()</entry> +>TQString saveCurrentPlaylist()</entry> <entry >Gemmer den nuværende spilleliste i nuværende.xml og og returnerer dens søgesti.</entry> </row> @@ -1102,7 +1102,7 @@ <row> <entry ->void popupMessage( QString)</entry> +>void popupMessage( TQString)</entry> <entry >Viser en midlertidig skærmmeddelelse.</entry> </row> @@ -1123,7 +1123,7 @@ <row> <entry ->void saveM3u( QString søgesti, bool relativ_søgesti)</entry> +>void saveM3u( TQString søgesti, bool relativ_søgesti)</entry> <entry >Gemmer nuværende spilleliste som m3u.</entry> </row> @@ -1137,7 +1137,7 @@ <row> <entry ->void shortStatusMessage( QString)</entry> +>void shortStatusMessage( TQString)</entry> <entry >Viser en midlertidig meddelelse på statuslinjen.</entry> </row> @@ -1181,7 +1181,7 @@ <row> <entry ->void addPodcast( QString )</entry> +>void addPodcast( TQString )</entry> <entry >Tilføj en podradioudsendelse til spillelistebrowseren.</entry> </row> @@ -1195,7 +1195,7 @@ <row> <entry ->void addPlaylist( QString )</entry> +>void addPlaylist( TQString )</entry> <entry >Tilføj en spilleliste til spillelistebrowseren.</entry> </row> @@ -1226,14 +1226,14 @@ <row> <entry ->bool runScript( QString navn)</entry> +>bool runScript( TQString navn)</entry> <entry >Starter scriptet med angivet navn. Returnerer sandt hvis det lykkes.</entry> </row> <row> <entry ->bool stopScript( QString navn)</entry> +>bool stopScript( TQString navn)</entry> <entry >Stopper scriptet med angivet navn. Returnerer sandt hvis det lykkes.</entry> </row> @@ -1247,21 +1247,21 @@ <row> <entry ->void addCustomMenuItem(QString undermenu, QString punkttitel )</entry> +>void addCustomMenuItem(TQString undermenu, TQString punkttitel )</entry> <entry >Aktiverer og indstiller titlen for eget menupunkt.</entry> </row> <row> <entry ->void removeCustomMenuItem(QString undermenu, QString punkttitel )</entry> +>void removeCustomMenuItem(TQString undermenu, TQString punkttitel )</entry> <entry >Fjerner det egne menupunkt.</entry> </row> <row> <entry ->QString readConfig( QString nøgle)</entry> +>TQString readConfig( TQString nøgle)</entry> <entry >Returnerer værdien af en indstillingsindgang fra AmarokConfig for angiven nøgle.</entry> </row> diff --git a/doc/da/faq.docbook b/doc/da/faq.docbook index fd808e19..bb9f0170 100644 --- a/doc/da/faq.docbook +++ b/doc/da/faq.docbook @@ -902,7 +902,7 @@ print "Fejl ved skrivning af mærket til $ARGV[0]\n" unless $mp3->set_v2tag($v2t <para >Erstat værdierne på følgende linje:</para> <programlisting ->QStringList values = query( QString( +>QStringList values = query( TQString( "SELECT playcounter, createdate, percentage FROM statistics " "WHERE url = '%1';" ) .arg( escapeString( url ) ) ); diff --git a/doc/de/advanced.docbook b/doc/de/advanced.docbook index be355c3b..32ea7373 100644 --- a/doc/de/advanced.docbook +++ b/doc/de/advanced.docbook @@ -486,7 +486,7 @@ <row> <entry ->QString query( QString sql)</entry> +>TQString query( TQString sql)</entry> <entry >Fragt die Datenbank mit Hilfe einer SQL-Abfrage ab.</entry> </row> @@ -500,7 +500,7 @@ <row> <entry ->void migrateFile( QString oldURL, QString newURL )</entry> +>void migrateFile( TQString oldURL, TQString newURL )</entry> <entry >Verschiebt eine Datei innerhalb der Sammlung und behält dabei die Statistiken bei.</entry> </row> @@ -680,133 +680,133 @@ <row> <entry ->QString album()</entry> +>TQString album()</entry> <entry >Gibt das Album des derzeit laufenden Stücks zurück.</entry> </row> <row> <entry ->QString artist()</entry> +>TQString artist()</entry> <entry >Gibt den Interpreten des aktuellen Stücks zurück.</entry> </row> <row> <entry ->QString bitrate()</entry> +>TQString bitrate()</entry> <entry >Gibt die Bitrate des aktuellen Stücks zurück (XX kbps).</entry> </row> <row> <entry ->QString comment()</entry> +>TQString comment()</entry> <entry >Gibt den Kommentar zum aktuell laufenden Stück zurück.</entry> </row> <row> <entry ->QString coverImage()</entry> +>TQString coverImage()</entry> <entry >Gibt die kodierte Adresse zum Cover-Bild des aktuell laufenden Stücks zurück. </entry> </row> <row> <entry ->QString currentTime()</entry> +>TQString currentTime()</entry> <entry >Gibt die Wiedergabeposition des aktuell laufenden Stücks im Format [h:]mm:ss zurück.</entry> </row> <row> <entry ->QString encodedURL()</entry> +>TQString encodedURL()</entry> <entry >Gibt die kodierte Adresse des aktuell laufenden Stücks zurück.</entry> </row> <row> <entry ->QString engine()</entry> +>TQString engine()</entry> <entry >Gibt den zur Zeit verwendeten Audio-Treiber zurück.</entry> </row> <row> <entry ->QString genre()</entry> +>TQString genre()</entry> <entry >Gibt das Genre des aktuell laufenden Stücks zurück.</entry> </row> <row> <entry ->QString lyrics()</entry> +>TQString lyrics()</entry> <entry >Gibt den Text des aktuell laufenden Stücks zurück.</entry> </row> <row> <entry ->QString lyricsByPath( QString path )</entry> +>TQString lyricsByPath( TQString path )</entry> <entry >Gibt den Text eines im Pfad angegebenen Stücks zurück.</entry> </row> <row> <entry ->QString nowPlaying()</entry> +>TQString nowPlaying()</entry> <entry >Der Titel des aktuell laufenden Mediums.</entry> </row> <row> <entry ->QString path()</entry> +>TQString path()</entry> <entry >Gibt den unkodierten Pfad zum aktuell laufenden Stück zurück.</entry> </row> <row> <entry ->QString setContextStyle( QString )</entry> +>TQString setContextStyle( TQString )</entry> <entry >Legt den CSS-Stil für den Kontext-Browser fest.</entry> </row> <row> <entry ->QString title()</entry> +>TQString title()</entry> <entry >Gibt den Titel des aktuell laufenden Stücks zurück.</entry> </row> <row> <entry ->QString totalTime()</entry> +>TQString totalTime()</entry> <entry >Gibt die Gesamtlänge des aktuell laufenden Stücks im Format [h:]mm:ss zurück.</entry> </row> <row> <entry ->QString track()</entry> +>TQString track()</entry> <entry >Gibt die Stück-Nummer zurück.</entry> </row> <row> <entry ->QString type()</entry> +>TQString type()</entry> <entry >Gibt den Dateityp zurück.</entry> </row> <row> <entry ->QString year()</entry> +>TQString year()</entry> <entry >Gibt das Erscheinungsjahr des aktuell laufenden Stücks zurück.</entry> </row> @@ -954,14 +954,14 @@ <row> <entry ->void setEqualizerPreset( QString name )</entry> +>void setEqualizerPreset( TQString name )</entry> <entry >Legt die Equalizer-Voreinstellung fest. </entry> </row> <row> <entry ->void setLyricsByPath( QString url, QString lyrics )</entry> +>void setLyricsByPath( TQString url, TQString lyrics )</entry> <entry >Legt den Text eines Stücks unter der angegebenen Adresse fest.</entry> </row> @@ -975,7 +975,7 @@ <row> <entry ->void setScoreByPath( QString url, int score )</entry> +>void setScoreByPath( TQString url, int score )</entry> <entry >Legt die Punkte für das mit dem Pfad angegebenen Stück fest.</entry> </row> @@ -989,7 +989,7 @@ <row> <entry ->void showBrowser( QString browser )</entry> +>void showBrowser( TQString browser )</entry> <entry >Zeigt die Browser im Wiedergabelistenfenster an.</entry> </row> @@ -1070,7 +1070,7 @@ <row> <entry ->QString saveCurrentPlaylist()</entry> +>TQString saveCurrentPlaylist()</entry> <entry >Speichert die aktuelle Wiedergabeliste in current.xml und gibt den Pfad zurück.</entry> </row> @@ -1112,7 +1112,7 @@ <row> <entry ->void popupMessage( QString)</entry> +>void popupMessage( TQString)</entry> <entry >Zeigt eine temporäre Meldung an.</entry> </row> @@ -1133,7 +1133,7 @@ <row> <entry ->void saveM3u( QString path, bool relativePaths)</entry> +>void saveM3u( TQString path, bool relativePaths)</entry> <entry >Speichert die aktuelle Wiedergabeliste als m3u-Datei.</entry> </row> @@ -1147,7 +1147,7 @@ <row> <entry ->void shortStatusMessage( QString)</entry> +>void shortStatusMessage( TQString)</entry> <entry >Zeigt eine temporäre Meldung in der Statusleiste an.</entry> </row> @@ -1191,7 +1191,7 @@ <row> <entry ->void addPodcast( QString )</entry> +>void addPodcast( TQString )</entry> <entry >Fügt dem Wiedergabelisten-Browser einen Podcast-Eintrag hinzu.</entry> </row> @@ -1205,7 +1205,7 @@ <row> <entry ->void addPlaylist( QString )</entry> +>void addPlaylist( TQString )</entry> <entry >Fügt dem Wiedergabelisten-Browser einen neuen Eintrag hinzu.</entry> </row> @@ -1236,14 +1236,14 @@ <row> <entry ->bool runScript( QString name)</entry> +>bool runScript( TQString name)</entry> <entry >Startet das Skript mit dem übergebenen Namen. Bei Erfolg wird true zurückgegeben.</entry> </row> <row> <entry ->bool stopScript( QString name)</entry> +>bool stopScript( TQString name)</entry> <entry >Stoppt das Skript mit dem übergebenen Namen. Bei Erfolg wird wird true zurückgegeben.</entry> </row> @@ -1257,21 +1257,21 @@ <row> <entry ->void addCustomMenuItem(QString submenu, QString itemTitle )</entry> +>void addCustomMenuItem(TQString submenu, TQString itemTitle )</entry> <entry >Aktiviert ein benutzerdefiniertes Menü und legt den Namen fest.</entry> </row> <row> <entry ->void removeCustomMenuItem(QString submenu, QString itemTitle )</entry> +>void removeCustomMenuItem(TQString submenu, TQString itemTitle )</entry> <entry >Entfernt den benutzerdefinierten Menüeintrag.</entry> </row> <row> <entry ->QString readConfig( QString key)</entry> +>TQString readConfig( TQString key)</entry> <entry >Gibt einen Amarok-Konfigurationseintrag des angegebenen Schlüssels zurück.</entry> </row> diff --git a/doc/de/faq.docbook b/doc/de/faq.docbook index 4570d52e..d20e5ca9 100644 --- a/doc/de/faq.docbook +++ b/doc/de/faq.docbook @@ -906,7 +906,7 @@ print "Fehler beim Schreiben der Tags von $ARGV[0]\n" unless $mp3->set_v2tag($v2 <para >Wenn man die Werte aus dieser Zeile ersetzt:</para> <programlisting ->QStringList values = query( QString( +>QStringList values = query( TQString( "SELECT playcounter, createdate, percentage FROM statistics " "WHERE url = '%1';" ) .arg( escapeString( url ) ) ); 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 ) ) ); diff --git a/doc/es/advanced.docbook b/doc/es/advanced.docbook index 2b5853ec..af230dba 100644 --- a/doc/es/advanced.docbook +++ b/doc/es/advanced.docbook @@ -484,7 +484,7 @@ <row> <entry ->QString query( QString sql)</entry> +>TQString query( TQString sql)</entry> <entry >Consulta la base de datos a través de SQL.</entry> </row> @@ -498,7 +498,7 @@ <row> <entry ->void migrateFile( QString oldURL, QString newURL )</entry> +>void migrateFile( TQString oldURL, TQString newURL )</entry> <entry >Mueve un archivo en la colección, manteniendo las estadísticas intactas.</entry> </row> @@ -678,133 +678,133 @@ <row> <entry ->QString album()</entry> +>TQString album()</entry> <entry >Devuelve el álbum de la pista que se está reproduciendo.</entry> </row> <row> <entry ->QString artist()</entry> +>TQString artist()</entry> <entry >Devuelve el artista de la pista que se está reproduciendo.</entry> </row> <row> <entry ->QString bitrate()</entry> +>TQString bitrate()</entry> <entry >Devuelve el ratio de bits de la pista que se está reproduciendo (XX kbps).</entry> </row> <row> <entry ->QString comment()</entry> +>TQString comment()</entry> <entry >Devuelve el comentario de la pista que se está reproduciendo.</entry> </row> <row> <entry ->QString coverImage()</entry> +>TQString coverImage()</entry> <entry >Devuelve el URL de la imágen de la carátula de la pista que se está reproduciendo. </entry> </row> <row> <entry ->QString currentTime()</entry> +>TQString currentTime()</entry> <entry >Devuelve la posición de la pista que se está reproduciendo (formato [h:]mm:ss).</entry> </row> <row> <entry ->QString encodedURL()</entry> +>TQString encodedURL()</entry> <entry >Devuelve la URL codificada de la pista que se está reproduciendo.</entry> </row> <row> <entry ->QString engine()</entry> +>TQString engine()</entry> <entry >Devuelve el motor de sonido actual.</entry> </row> <row> <entry ->QString genre()</entry> +>TQString genre()</entry> <entry >Devuelve el género de la pista que se está reproduciendo.</entry> </row> <row> <entry ->QString lyrics()</entry> +>TQString lyrics()</entry> <entry >Devuelve la letra de la pista que se está reproduciendo.</entry> </row> <row> <entry ->QString lyricsByPath( QString path )</entry> +>TQString lyricsByPath( TQString path )</entry> <entry >Devuelve la letra de una pista utilizando su ruta.</entry> </row> <row> <entry ->QString nowPlaying()</entry> +>TQString nowPlaying()</entry> <entry >El título del medio que se está reproduciendo.</entry> </row> <row> <entry ->QString path()</entry> +>TQString path()</entry> <entry >Devuelve la ruta sin codificar de la pista que se está reproduciendo.</entry> </row> <row> <entry ->QString setContextStyle( QString )</entry> +>TQString setContextStyle( TQString )</entry> <entry >Establece el estilo CSS para el navegador contextual.</entry> </row> <row> <entry ->QString title()</entry> +>TQString title()</entry> <entry >Devuelve el título de la pista que se está reproduciendo.</entry> </row> <row> <entry ->QString totalTime()</entry> +>TQString totalTime()</entry> <entry >Devuelve la longitud total de la pista que se está reproduciendo (formato [h:]mm:ss).</entry> </row> <row> <entry ->QString track()</entry> +>TQString track()</entry> <entry >Devuelve el número de pista.</entry> </row> <row> <entry ->QString type()</entry> +>TQString type()</entry> <entry >Devuelve el tipo de archivo.</entry> </row> <row> <entry ->QString year()</entry> +>TQString year()</entry> <entry >Devuelve el año de la pista que se está reproduciendo.</entry> </row> @@ -944,14 +944,14 @@ <row> <entry ->void setEqualizerPreset( QString name )</entry> +>void setEqualizerPreset( TQString name )</entry> <entry >Establece el ecualizador preseleccionado. </entry> </row> <row> <entry ->void setLyricsByPath( QString url, QString lyrics )</entry> +>void setLyricsByPath( TQString url, TQString lyrics )</entry> <entry >Establece la letra de la pista utilizando su ruta.</entry> </row> @@ -965,7 +965,7 @@ <row> <entry ->void setScoreByPath( QString url, int score )</entry> +>void setScoreByPath( TQString url, int score )</entry> <entry >Establece la puntuación de la pista utilizando su ruta.</entry> </row> @@ -979,7 +979,7 @@ <row> <entry ->void showBrowser( QString browser )</entry> +>void showBrowser( TQString browser )</entry> <entry >Muesta los navegadores en la ventana de la lista de reproducción.</entry> </row> @@ -1058,7 +1058,7 @@ <row> <entry ->QString saveCurrentPlaylist()</entry> +>TQString saveCurrentPlaylist()</entry> <entry >Guarda la lista de reproducción actual en current.xml y devuelve su ruta.</entry> </row> @@ -1100,7 +1100,7 @@ <row> <entry ->void popupMessage( QString)</entry> +>void popupMessage( TQString)</entry> <entry >Muestra un mensaje emergente temporal.</entry> </row> @@ -1121,7 +1121,7 @@ <row> <entry ->void saveM3u( QString path, bool relativePaths)</entry> +>void saveM3u( TQString path, bool relativePaths)</entry> <entry >Guarda la lista de reproducción actual como m3u.</entry> </row> @@ -1135,7 +1135,7 @@ <row> <entry ->void shortStatusMessage( QString)</entry> +>void shortStatusMessage( TQString)</entry> <entry >Muestra temporalmente un mensaje en la barra de estado.</entry> </row> @@ -1179,7 +1179,7 @@ <row> <entry ->void addPodcast( QString )</entry> +>void addPodcast( TQString )</entry> <entry >Añade la entrada de una emisión de audio (podcast) en el navegador de la lista de reproducción.</entry> </row> @@ -1193,7 +1193,7 @@ <row> <entry ->void addPlaylist( QString )</entry> +>void addPlaylist( TQString )</entry> <entry >Añade una lista de reproducción al navegador de la lista de reproducción.</entry> </row> @@ -1224,14 +1224,14 @@ <row> <entry ->bool runScript( QString name)</entry> +>bool runScript( TQString name)</entry> <entry >Inicia el script con el nombre dado. Devuelve true (verdadero) si funcionó.</entry> </row> <row> <entry ->bool stopScript( QString name)</entry> +>bool stopScript( TQString name)</entry> <entry >Detiene el script con el nombre dado. Devuelve true (verdadero) si funcionó.</entry> </row> @@ -1245,21 +1245,21 @@ <row> <entry ->void addCustomMenuItem(QString submenu, QString itemTitle )</entry> +>void addCustomMenuItem(TQString submenu, TQString itemTitle )</entry> <entry >Activa y establece el título del elemento de menú personalizado.</entry> </row> <row> <entry ->void removeCustomMenuItem(QString submenu, QString itemTitle )</entry> +>void removeCustomMenuItem(TQString submenu, TQString itemTitle )</entry> <entry >Elimina el elemento del menú personalizado.</entry> </row> <row> <entry ->QString readConfig( QString key)</entry> +>TQString readConfig( TQString key)</entry> <entry >Devuelve el valor de una entrada de la configuración de Amarok de acuerdo con la clave dada.</entry> </row> diff --git a/doc/es/faq.docbook b/doc/es/faq.docbook index 1f34b749..1f1c7145 100644 --- a/doc/es/faq.docbook +++ b/doc/es/faq.docbook @@ -884,7 +884,7 @@ print "Error al escribir las etiquetas de $ARGV[0]\n" unless $mp3->set_v2tag($v2 <para >Sustituyendo en los valores de esta línea:</para> <programlisting ->QStringList values = query( QString( +>QStringList values = query( TQString( "SELECT playcounter, createdate, percentage FROM statistics " "WHERE url = '%1';" ) .arg( escapeString( url ) ) ); diff --git a/doc/et/advanced.docbook b/doc/et/advanced.docbook index 659fe075..b9f43feb 100644 --- a/doc/et/advanced.docbook +++ b/doc/et/advanced.docbook @@ -486,7 +486,7 @@ <row> <entry ->QString query( QString sql)</entry> +>TQString query( TQString sql)</entry> <entry >Esitab andmebaasile päringu SQL-i vahendusel.</entry> </row> @@ -500,7 +500,7 @@ <row> <entry ->void migrateFile( QString oldURL, QString newURL )</entry> +>void migrateFile( TQString oldURL, TQString newURL )</entry> <entry >Liigutab kogus faili, jättes statistika muutmata.</entry> </row> @@ -680,133 +680,133 @@ <row> <entry ->QString album()</entry> +>TQString album()</entry> <entry >Tagastab parajasti mängitava pala albumi.</entry> </row> <row> <entry ->QString artist()</entry> +>TQString artist()</entry> <entry >Tagastab parajasti mängitava pala esitaja.</entry> </row> <row> <entry ->QString bitrate()</entry> +>TQString bitrate()</entry> <entry >Tagastab parajasti mängitava pala bitikiiruse (XX kbps).</entry> </row> <row> <entry ->QString comment()</entry> +>TQString comment()</entry> <entry >Tagastab parajasti mängitava pala kommentaari.</entry> </row> <row> <entry ->QString coverImage()</entry> +>TQString coverImage()</entry> <entry >Tagastab parajasti mängitava pala kaanepildi URL-i. </entry> </row> <row> <entry ->QString currentTime()</entry> +>TQString currentTime()</entry> <entry >Tagastab parajasti mängitava pala positsiooni ([h:]mm:ss vormingus).</entry> </row> <row> <entry ->QString encodedURL()</entry> +>TQString encodedURL()</entry> <entry >Tagastab parajasti mängitava pala kodeeritud URL-i.</entry> </row> <row> <entry ->QString engine()</entry> +>TQString engine()</entry> <entry >Tagastab parajasti kasutatatava audiomootori nime.</entry> </row> <row> <entry ->QString genre()</entry> +>TQString genre()</entry> <entry >Tagastab parajasti mängitava pala žanri.</entry> </row> <row> <entry ->QString lyrics()</entry> +>TQString lyrics()</entry> <entry >Tagastab parajasti mängitava pala sõnad.</entry> </row> <row> <entry ->QString lyricsByPath( QString path )</entry> +>TQString lyricsByPath( TQString path )</entry> <entry >Tagastab pala sõnad määratud asukohast.</entry> </row> <row> <entry ->QString nowPlaying()</entry> +>TQString nowPlaying()</entry> <entry >Parajasti mängitava andmekandja pealkiri.</entry> </row> <row> <entry ->QString path()</entry> +>TQString path()</entry> <entry >Tagastab parajasti mängitava pala kodeerimata asukoha.</entry> </row> <row> <entry ->QString setContextStyle( QString )</entry> +>TQString setContextStyle( TQString )</entry> <entry >Määrab kontekstisirvijale CSS-stiili.</entry> </row> <row> <entry ->QString title()</entry> +>TQString title()</entry> <entry >Tagastab parajasti mängitava pala pealkirja.</entry> </row> <row> <entry ->QString totalTime()</entry> +>TQString totalTime()</entry> <entry >Tagastab parajasti mängitava pala kogupikkuse ([h:]mm:ss vormingus).</entry> </row> <row> <entry ->QString track()</entry> +>TQString track()</entry> <entry >Tagastab pala järjekorranumbri.</entry> </row> <row> <entry ->QString type()</entry> +>TQString type()</entry> <entry >Tagastab failitüübi.</entry> </row> <row> <entry ->QString year()</entry> +>TQString year()</entry> <entry >Tagastab parajasti mängitava pala aasta.</entry> </row> @@ -946,14 +946,14 @@ <row> <entry ->void setEqualizerPreset( QString name )</entry> +>void setEqualizerPreset( TQString name )</entry> <entry >Ekvalaiseri valmisseadistuse kehtestamine. </entry> </row> <row> <entry ->void setLyricsByPath( QString url, QString lyrics )</entry> +>void setLyricsByPath( TQString url, TQString lyrics )</entry> <entry >Pala sõnade määramine asukoha järgi.</entry> </row> @@ -967,7 +967,7 @@ <row> <entry ->void setScoreByPath( QString url, int score )</entry> +>void setScoreByPath( TQString url, int score )</entry> <entry >Pala hinde määramine asukoha järgi.</entry> </row> @@ -981,7 +981,7 @@ <row> <entry ->void showBrowser( QString browser )</entry> +>void showBrowser( TQString browser )</entry> <entry >Sirvijate näitamine esitusnimekirja aknas.</entry> </row> @@ -1060,7 +1060,7 @@ <row> <entry ->QString saveCurrentPlaylist()</entry> +>TQString saveCurrentPlaylist()</entry> <entry >Salvestab aktiivse esitusnimekirja failina current.xml ja tagastab selle asukoha.</entry> </row> @@ -1102,7 +1102,7 @@ <row> <entry ->void popupMessage( QString)</entry> +>void popupMessage( TQString)</entry> <entry >Näitab ajutist hüpikdialoogi.</entry> </row> @@ -1123,7 +1123,7 @@ <row> <entry ->void saveM3u( QString path, bool relativePaths)</entry> +>void saveM3u( TQString path, bool relativePaths)</entry> <entry >Salvestab aktiivse esitusnimekirja m3u-failina.</entry> </row> @@ -1137,7 +1137,7 @@ <row> <entry ->void shortStatusMessage( QString)</entry> +>void shortStatusMessage( TQString)</entry> <entry >Näitab ajutist teadet olekuribal.</entry> </row> @@ -1181,7 +1181,7 @@ <row> <entry ->void addPodcast( QString )</entry> +>void addPodcast( TQString )</entry> <entry >Lisab esitusnimekirja sirvijasse Podcasti kirje.</entry> </row> @@ -1195,7 +1195,7 @@ <row> <entry ->void addPlaylist( QString )</entry> +>void addPlaylist( TQString )</entry> <entry >Lisab esitusnimekirja sirvijasse esitusnimekirja.</entry> </row> @@ -1226,14 +1226,14 @@ <row> <entry ->bool runScript( QString name)</entry> +>bool runScript( TQString name)</entry> <entry >Käivitab määratud nimega skripti. Õnnestumise korral tagastab 'tõene'.</entry> </row> <row> <entry ->bool stopScript( QString name)</entry> +>bool stopScript( TQString name)</entry> <entry >Peatab määratud nimega skripti. Õnnestumise korral tagastab 'tõene'.</entry> </row> @@ -1247,21 +1247,21 @@ <row> <entry ->void addCustomMenuItem(QString submenu, QString itemTitle )</entry> +>void addCustomMenuItem(TQString submenu, TQString itemTitle )</entry> <entry >Kehtestab ja määrab kohandatud menüüelemendi nime.</entry> </row> <row> <entry ->void removeCustomMenuItem(QString submenu, QString itemTitle )</entry> +>void removeCustomMenuItem(TQString submenu, TQString itemTitle )</entry> <entry >Eemaldab kohandatud menüüelemendi.</entry> </row> <row> <entry ->QString readConfig( QString key)</entry> +>TQString readConfig( TQString key)</entry> <entry >Tagastab AmarokConfigi seadistuskirje väärtuse antud võtme põhjal.</entry> </row> diff --git a/doc/et/faq.docbook b/doc/et/faq.docbook index 3aff528d..5934ac0d 100644 --- a/doc/et/faq.docbook +++ b/doc/et/faq.docbook @@ -884,7 +884,7 @@ print "Error writing tags of $ARGV[0]\n" unless $mp3->set_v2tag($v2tag,&UTF8 <para >Väärtusi sellelt realt asendades:</para> <programlisting ->QStringList values = query( QString( +>QStringList values = query( TQString( "SELECT playcounter, createdate, percentage FROM statistics " "WHERE url = '%1';" ) .arg( escapeString( url ) ) ); diff --git a/doc/fr/faq.docbook b/doc/fr/faq.docbook index 7aa7522b..36d4e7f5 100644 --- a/doc/fr/faq.docbook +++ b/doc/fr/faq.docbook @@ -948,7 +948,7 @@ print "Erreur a l'écriture des balises de $ARGV[0]\n" unless $mp3->set_v2tag($v <para >En remplaçant les valeurs par celles de cette ligne :</para> <programlisting ->QStringList values = query( QString( +>QStringList values = query( TQString( "SELECT playcounter, createdate, percentage FROM statistics " "WHERE url = '%1';" ) .arg( escapeString( url ) ) ); diff --git a/doc/it/advanced.docbook b/doc/it/advanced.docbook index e862490d..25a6f5c7 100644 --- a/doc/it/advanced.docbook +++ b/doc/it/advanced.docbook @@ -486,7 +486,7 @@ <row> <entry ->QString query( QString sql )</entry> +>TQString query( TQString sql )</entry> <entry >Interroga il database attraverso SQL.</entry> </row> @@ -500,7 +500,7 @@ <row> <entry ->void migrateFile( QString oldURL, QString newURL )</entry> +>void migrateFile( TQString oldURL, TQString newURL )</entry> <entry >Sposta un file nella collezione, mantenendo intatte le statistiche.</entry> </row> @@ -680,133 +680,133 @@ <row> <entry ->QString album()</entry> +>TQString album()</entry> <entry >Restituisce l'album della traccia in riproduzione.</entry> </row> <row> <entry ->QString artist()</entry> +>TQString artist()</entry> <entry >Restituisce l'artista della traccia in riproduzione.</entry> </row> <row> <entry ->QString bitrate()</entry> +>TQString bitrate()</entry> <entry >Restituisce il bitrate della traccia in riproduzione.</entry> </row> <row> <entry ->QString comment()</entry> +>TQString comment()</entry> <entry >Restituisce il commento della traccia in riproduzione.</entry> </row> <row> <entry ->QString coverImage()</entry> +>TQString coverImage()</entry> <entry >Restituisce l'URL codificato della copertina della traccia attuale. </entry> </row> <row> <entry ->QString currentTime()</entry> +>TQString currentTime()</entry> <entry >Restituisce la posizione della traccia in riproduzione (formato [h:]mm:ss).</entry> </row> <row> <entry ->QString encodedURL()</entry> +>TQString encodedURL()</entry> <entry >Restituisce l'URL codificato della traccia in riproduzione.</entry> </row> <row> <entry ->QString engine()</entry> +>TQString engine()</entry> <entry >Restituisce il motore sonoro attuale.</entry> </row> <row> <entry ->QString genre()</entry> +>TQString genre()</entry> <entry >Restituisce il genere della traccia in riproduzione.</entry> </row> <row> <entry ->QString lyrics()</entry> +>TQString lyrics()</entry> <entry >Restituisce il testo della traccia in riproduzione.</entry> </row> <row> <entry ->QString lyricsByPath( QString path )</entry> +>TQString lyricsByPath( TQString path )</entry> <entry >Restituisce il testo di una traccia in base al percorso.</entry> </row> <row> <entry ->QString nowPlaying()</entry> +>TQString nowPlaying()</entry> <entry >Il titolo dei media in fase di riproduzione.</entry> </row> <row> <entry ->QString path()</entry> +>TQString path()</entry> <entry >Restituisce il percorso non codificato della traccia in riproduzione.</entry> </row> <row> <entry ->QString setContextStyle( QString )</entry> +>TQString setContextStyle( TQString )</entry> <entry >Imposta lo stile CSS del navigatore per contesti.</entry> </row> <row> <entry ->QString title()</entry> +>TQString title()</entry> <entry >Restituisce il titolo della traccia in riproduzione.</entry> </row> <row> <entry ->QString totalTime()</entry> +>TQString totalTime()</entry> <entry >Restituisce la durata della traccia in riproduzione (formato [h:]mm:ss).</entry> </row> <row> <entry ->QString track()</entry> +>TQString track()</entry> <entry >Restituisce il numero di traccia.</entry> </row> <row> <entry ->QString type()</entry> +>TQString type()</entry> <entry >Restituisce il tipo di file.</entry> </row> <row> <entry ->QString year()</entry> +>TQString year()</entry> <entry >Restituisce l'anno della traccia in riproduzione.</entry> </row> @@ -946,14 +946,14 @@ <row> <entry ->void setEqualizerPreset( QString name )</entry> +>void setEqualizerPreset( TQString name )</entry> <entry >Imposta la preimpostazione dell'equalizzatore. </entry> </row> <row> <entry ->void setLyricsByPath( QString url, QString lyrics )</entry> +>void setLyricsByPath( TQString url, TQString lyrics )</entry> <entry >Imposta il testo di una traccia in base al suo percorso.</entry> </row> @@ -967,7 +967,7 @@ <row> <entry ->void setScoreByPath( QString url, int score )</entry> +>void setScoreByPath( TQString url, int score )</entry> <entry >Imposta il punteggio di una traccia in base al suo percorso.</entry> </row> @@ -981,7 +981,7 @@ <row> <entry ->void showBrowser( QString browser )</entry> +>void showBrowser( TQString browser )</entry> <entry >Mostra i navigatori nella finestra della playlist.</entry> </row> @@ -1060,7 +1060,7 @@ <row> <entry ->QString saveCurrentPlaylist()</entry> +>TQString saveCurrentPlaylist()</entry> <entry >Salva la playlist attuale come current.xml e ne restituisce il percorso.</entry> </row> @@ -1102,7 +1102,7 @@ <row> <entry ->void popupMessage( QString)</entry> +>void popupMessage( TQString)</entry> <entry >Mostra un messaggio a comparsa temporaneo.</entry> </row> @@ -1123,7 +1123,7 @@ <row> <entry ->void saveM3u( QString path, bool relativePaths)</entry> +>void saveM3u( TQString path, bool relativePaths)</entry> <entry >Salva la playlist attuale come m3u.</entry> </row> @@ -1137,7 +1137,7 @@ <row> <entry ->void shortStatusMessage( QString)</entry> +>void shortStatusMessage( TQString)</entry> <entry >Mostra un messaggio temporaneo sulla barra di stato.</entry> </row> @@ -1181,7 +1181,7 @@ <row> <entry ->void addPodcast( QString )</entry> +>void addPodcast( TQString )</entry> <entry >Aggiunge una voce di podcast al navigatore della playlist.</entry> </row> @@ -1195,7 +1195,7 @@ <row> <entry ->void addPlaylist( QString )</entry> +>void addPlaylist( TQString )</entry> <entry >Aggiunge una playlist al navigatore della playlist.</entry> </row> @@ -1226,14 +1226,14 @@ <row> <entry ->bool runScript( QString name)</entry> +>bool runScript( TQString name)</entry> <entry >Avvia lo script con il dato nome. Restituisce vero in caso di successo.</entry> </row> <row> <entry ->bool stopScript( QString name )</entry> +>bool stopScript( TQString name )</entry> <entry >Ferma lo script con il dato nome. Restituisce vero in caso di successo.</entry> </row> @@ -1247,21 +1247,21 @@ <row> <entry ->void addCustomMenuItem(QString submenu, QString itemTitle )</entry> +>void addCustomMenuItem(TQString submenu, TQString itemTitle )</entry> <entry >Abilita e imposta il titolo della voce di menu personalizzata.</entry> </row> <row> <entry ->void removeCustomMenuItem( QString submenu, QString itemTitle )</entry> +>void removeCustomMenuItem( TQString submenu, TQString itemTitle )</entry> <entry >Rimuove l'elemento di menu personalizzato.</entry> </row> <row> <entry ->QString readConfig( QString key)</entry> +>TQString readConfig( TQString key)</entry> <entry >Restituisce il valore della voce di configurazione AmarokConfig data la chiave.</entry> </row> diff --git a/doc/it/faq.docbook b/doc/it/faq.docbook index 8f1e1f40..a66bcf51 100644 --- a/doc/it/faq.docbook +++ b/doc/it/faq.docbook @@ -886,7 +886,7 @@ print "Error writing tags of $ARGV[0]\n" unless $mp3->set_v2tag($v2tag,&UTF8 <para >Sostituendo dei valori in questa linea:</para> <programlisting ->QStringList values = query( QString( +>QStringList values = query( TQString( "SELECT playcounter, createdate, percentage FROM statistics " "WHERE url = '%1';" ) .arg( escapeString( url ) ) ); diff --git a/doc/nl/advanced.docbook b/doc/nl/advanced.docbook index cf11efdc..355dd7f2 100644 --- a/doc/nl/advanced.docbook +++ b/doc/nl/advanced.docbook @@ -486,7 +486,7 @@ <row> <entry ->QString query( QString sql)</entry> +>TQString query( TQString sql)</entry> <entry >Voert een query op de database uit via SQL.</entry> </row> @@ -500,7 +500,7 @@ <row> <entry ->void migrateFile( QString oldURL, QString newURL )</entry> +>void migrateFile( TQString oldURL, TQString newURL )</entry> <entry >Verplaatst een bestand binnen de collectie, waarbij de statistieken intact blijven.</entry> </row> @@ -680,133 +680,133 @@ <row> <entry ->QString album()</entry> +>TQString album()</entry> <entry >Geeft het album van de momenteel afgespeelde track terug.</entry> </row> <row> <entry ->QString artist()</entry> +>TQString artist()</entry> <entry >Geeft de artiest terug van de momenteel afgespeelde track.</entry> </row> <row> <entry ->QString bitrate()</entry> +>TQString bitrate()</entry> <entry >Geeft de bitrate van de momenteel afgespeelde track terug (XX kbps).</entry> </row> <row> <entry ->QString comment()</entry> +>TQString comment()</entry> <entry >Geeft het commentaar van de momenteel afgespeelde track terug.</entry> </row> <row> <entry ->QString coverImage()</entry> +>TQString coverImage()</entry> <entry >Geeft het URL-adres van de hoesafbeelding van de huidige track terug </entry> </row> <row> <entry ->QString currentTime()</entry> +>TQString currentTime()</entry> <entry >Geeft de positie ([u]mm:ss) van de momenteel afgespeelde track terug.</entry> </row> <row> <entry ->QString encodedURL()</entry> +>TQString encodedURL()</entry> <entry >Geeft het gecodeerde URL-adres van de momenteel afgespeelde track terug.</entry> </row> <row> <entry ->QString engine()</entry> +>TQString engine()</entry> <entry >Geeft huidige geluidsengine terug.</entry> </row> <row> <entry ->QString genre()</entry> +>TQString genre()</entry> <entry >Geeft het genre van de momenteel afgespeelde track terug.</entry> </row> <row> <entry ->QString lyrics()</entry> +>TQString lyrics()</entry> <entry >Geeft de liedteksten van de momenteel afgespeelde track terug.</entry> </row> <row> <entry ->QString lyricsByPath( QString path )</entry> +>TQString lyricsByPath( TQString path )</entry> <entry >Geeft de liedteksten van een track terug op het pad.</entry> </row> <row> <entry ->QString nowPlaying()</entry> +>TQString nowPlaying()</entry> <entry >De titel van de nu afgespeelde media.</entry> </row> <row> <entry ->QString path()</entry> +>TQString path()</entry> <entry >Geeft het niet-gecodeerde pad terug van de momenteel afgespeelde track.</entry> </row> <row> <entry ->QString setContextStyle( QString )</entry> +>TQString setContextStyle( TQString )</entry> <entry >Zet de CSS-stijl van de contextbrowser.</entry> </row> <row> <entry ->QString title()</entry> +>TQString title()</entry> <entry >Geeft de titel van de momenteel afgespeelde track terug.</entry> </row> <row> <entry ->QString totalTime()</entry> +>TQString totalTime()</entry> <entry >Geeft de totale lengte van de momenteel afgespeelde track terug (in de opmaak [u:]mm:ss).</entry> </row> <row> <entry ->QString track()</entry> +>TQString track()</entry> <entry >Geeft het tracknummer terug.</entry> </row> <row> <entry ->QString type()</entry> +>TQString type()</entry> <entry >Geeft het bestandstype terug.</entry> </row> <row> <entry ->QString year()</entry> +>TQString year()</entry> <entry >Geeft het jaar van de momenteel afgespeelde track terug.</entry> </row> @@ -946,14 +946,14 @@ <row> <entry ->void setEqualizerPreset( QString name )</entry> +>void setEqualizerPreset( TQString name )</entry> <entry >Zet de voorinstelling van de equalizer </entry> </row> <row> <entry ->void setLyricsByPath( QString url, QString lyrics )</entry> +>void setLyricsByPath( TQString url, TQString lyrics )</entry> <entry >Zet de liedteksten van een track aan de hand van diens pad.</entry> </row> @@ -967,7 +967,7 @@ <row> <entry ->void setScoreByPath( QString url, int score )</entry> +>void setScoreByPath( TQString url, int score )</entry> <entry >Zet de score van een track aan de hand van diens pad.</entry> </row> @@ -981,7 +981,7 @@ <row> <entry ->void showBrowser( QString browser )</entry> +>void showBrowser( TQString browser )</entry> <entry >Toont browsers in het afspeellijstvenster</entry> </row> @@ -1060,7 +1060,7 @@ <row> <entry ->QString saveCurrentPlaylist()</entry> +>TQString saveCurrentPlaylist()</entry> <entry >Slaat de huidige afspeellijst op naar current.xml en geeft het pad ervan terug.</entry> </row> @@ -1102,7 +1102,7 @@ <row> <entry ->void popupMessage( QString)</entry> +>void popupMessage( TQString)</entry> <entry >Toont een tijdelijk bericht.</entry> </row> @@ -1123,7 +1123,7 @@ <row> <entry ->void saveM3u( QString path, bool relativePaths)</entry> +>void saveM3u( TQString path, bool relativePaths)</entry> <entry >Slaat de huidige afspeellijst op als m3u.</entry> </row> @@ -1137,7 +1137,7 @@ <row> <entry ->void shortStatusMessage( QString)</entry> +>void shortStatusMessage( TQString)</entry> <entry >Toont een tijdelijk bericht op de statusbalk.</entry> </row> @@ -1181,7 +1181,7 @@ <row> <entry ->void addPodcast( QString )</entry> +>void addPodcast( TQString )</entry> <entry >Voegt een podcast-item toe aan de afspeellijstbrowser.</entry> </row> @@ -1195,7 +1195,7 @@ <row> <entry ->void addPlaylist( QString )</entry> +>void addPlaylist( TQString )</entry> <entry >Voegt een afspeellijst toe aan de afspeellijstbrowser.</entry> </row> @@ -1226,14 +1226,14 @@ <row> <entry ->bool runScript( QString name)</entry> +>bool runScript( TQString name)</entry> <entry >Start het script met de opgegeven naam. Geeft 'true' terug bij succes.</entry> </row> <row> <entry ->bool stopScript( QString name)</entry> +>bool stopScript( TQString name)</entry> <entry >Stopt het script met de opgegeven naam. Geeft 'true' terug bij succes.</entry> </row> @@ -1247,21 +1247,21 @@ <row> <entry ->void addCustomMenuItem(QString submenu, QString itemTitle )</entry> +>void addCustomMenuItem(TQString submenu, TQString itemTitle )</entry> <entry >Activeert een aangepast menuoptie en stelt de titel ervan in.</entry> </row> <row> <entry ->void removeCustomMenuItem(QString submenu, QString itemTitle )</entry> +>void removeCustomMenuItem(TQString submenu, TQString itemTitle )</entry> <entry >Verwijdert een aangepaste menuoptie.</entry> </row> <row> <entry ->QString readConfig( QString key)</entry> +>TQString readConfig( TQString key)</entry> <entry >Geeft de waarde van een AmarokConfig configuratie-item terug van de opgegeven toets.</entry> </row> diff --git a/doc/nl/faq.docbook b/doc/nl/faq.docbook index 9f8266da..201a418e 100644 --- a/doc/nl/faq.docbook +++ b/doc/nl/faq.docbook @@ -912,7 +912,7 @@ print "Error writing tags of $ARGV[0]\n" unless $mp3->set_v2tag($v2tag,&UTF8 <para >Wijzigingen in de waarden van deze regel:</para> <programlisting ->QStringList values = query( QString( +>QStringList values = query( TQString( "SELECT playcounter, createdate, percentage FROM statistics " "WHERE url = '%1';" ) .arg( escapeString( url ) ) ); diff --git a/doc/pl/advanced.docbook b/doc/pl/advanced.docbook index 8d6d93ac..3b955f50 100644 --- a/doc/pl/advanced.docbook +++ b/doc/pl/advanced.docbook @@ -486,7 +486,7 @@ <row> <entry ->QString query( QString sql)</entry> +>TQString query( TQString sql)</entry> <entry >Zapytuje bazę danych poprzez SQL</entry> </row> @@ -500,7 +500,7 @@ <row> <entry ->void migrateFile( QString staryURL, QString nowyURL )</entry> +>void migrateFile( TQString staryURL, TQString nowyURL )</entry> <entry >Przenosi plik do kolekcji, pozostawiając statystyki niezmienione.</entry> </row> @@ -680,133 +680,133 @@ <row> <entry ->QString album()</entry> +>TQString album()</entry> <entry >Zwraca album, z którego pochodzi aktualnie odtwarzany utwór.</entry> </row> <row> <entry ->QString artist()</entry> +>TQString artist()</entry> <entry >Zwraca wykonawcę aktualnie odtwarzanego utworu.</entry> </row> <row> <entry ->QString bitrate()</entry> +>TQString bitrate()</entry> <entry >Zwraca średnią bitowa aktualnie odtwarzanego utworu (XX kbps).</entry> </row> <row> <entry ->QString comment()</entry> +>TQString comment()</entry> <entry >Zwraca komentarz na temat aktualnie odtwarzanego utworu.</entry> </row> <row> <entry ->QString coverImage()</entry> +>TQString coverImage()</entry> <entry >Zwraca kodowany adres URL do obrazu okładki aktualnie odtwarzanego utworu. </entry> </row> <row> <entry ->QString currentTime()</entry> +>TQString currentTime()</entry> <entry >Zwraca pozycję aktualnie odtwarzanego utworu (format [h:]mm:ss).</entry> </row> <row> <entry ->QString encodedURL()</entry> +>TQString encodedURL()</entry> <entry >Zwraca kodowany adres URL aktualnie odtwarzanego utworu.</entry> </row> <row> <entry ->QString engine()</entry> +>TQString engine()</entry> <entry >Zwraca informację o bieżącym silniku audio.</entry> </row> <row> <entry ->QString genre()</entry> +>TQString genre()</entry> <entry >Zwraca informację o gatunku muzyki, do którego należy aktualnie odtwarzany utwór.</entry> </row> <row> <entry ->QString lyrics()</entry> +>TQString lyrics()</entry> <entry >Zwraca tekst aktualnie odtwarzanego utworu.</entry> </row> <row> <entry ->QString lyricsByPath( QString ścieżka )</entry> +>TQString lyricsByPath( TQString ścieżka )</entry> <entry >Zwraca tekst utworu określony ścieżką.</entry> </row> <row> <entry ->QString nowPlaying()</entry> +>TQString nowPlaying()</entry> <entry >Nazwa medium w trakcie odtwarzania.</entry> </row> <row> <entry ->QString path()</entry> +>TQString path()</entry> <entry >Zwraca niekodowaną ścieżkę aktualnie odtwarzanego utworu.</entry> </row> <row> <entry ->QString setContextStyle( QString )</entry> +>TQString setContextStyle( TQString )</entry> <entry >Ustala styl CCS dla przeglądarki kontekstowej.</entry> </row> <row> <entry ->QString title()</entry> +>TQString title()</entry> <entry >Zwraca tytuł aktualnie odtwarzanego utworu.</entry> </row> <row> <entry ->QString totalTime()</entry> +>TQString totalTime()</entry> <entry >Zwraca całkowitą długość aktualnie odtwarzanego utworu (format [h:]mm:ss).</entry> </row> <row> <entry ->QString track()</entry> +>TQString track()</entry> <entry >Zwraca numer utworu.</entry> </row> <row> <entry ->QString type()</entry> +>TQString type()</entry> <entry >Zwraca typ pliku.</entry> </row> <row> <entry ->QString year()</entry> +>TQString year()</entry> <entry >Zwraca rok aktualnie odtwarzanego utworu.</entry> </row> @@ -946,14 +946,14 @@ <row> <entry ->void setEqualizerPreset( QString nazwa )</entry> +>void setEqualizerPreset( TQString nazwa )</entry> <entry >Ustawia domyślną konfigurację equalizera. </entry> </row> <row> <entry ->void setLyricsByPath( QString url, QString tekst )</entry> +>void setLyricsByPath( TQString url, TQString tekst )</entry> <entry >Ustawia tekst utworu określonego przez ścieżkę.</entry> </row> @@ -967,7 +967,7 @@ <row> <entry ->void setScoreByPath( QString url, int wynik )</entry> +>void setScoreByPath( TQString url, int wynik )</entry> <entry >Ustawia ocenę utworu określonego przez ścieżkę.</entry> </row> @@ -981,7 +981,7 @@ <row> <entry ->void showBrowser( QString przeglądarka )</entry> +>void showBrowser( TQString przeglądarka )</entry> <entry >Wyświetla przeglądarki w oknie listy odtwarzania.</entry> </row> @@ -1060,7 +1060,7 @@ <row> <entry ->QString saveCurrentPlaylist()</entry> +>TQString saveCurrentPlaylist()</entry> <entry >Zapisuje bieżącą listę do current.xml i zwraca ścieżkę do pliku.</entry> </row> @@ -1102,7 +1102,7 @@ <row> <entry ->void popupMessage( QString)</entry> +>void popupMessage( TQString)</entry> <entry >Wyświetla czasową wiadomość wyskakującą.</entry> </row> @@ -1123,7 +1123,7 @@ <row> <entry ->void saveM3u( QString ścieżka, bool relatywneŚcieżki)</entry> +>void saveM3u( TQString ścieżka, bool relatywneŚcieżki)</entry> <entry >Zapisuje bieżącą listę jako m3u.</entry> </row> @@ -1137,7 +1137,7 @@ <row> <entry ->void shortStatusMessage( QString)</entry> +>void shortStatusMessage( TQString)</entry> <entry >Wyświetla tymczasowy komunikat na pasku stanu.</entry> </row> @@ -1181,7 +1181,7 @@ <row> <entry ->void addPodcast( QString )</entry> +>void addPodcast( TQString )</entry> <entry >Dodaje pozycję podcast do przeglądarki list.</entry> </row> @@ -1195,7 +1195,7 @@ <row> <entry ->void addPlaylist( QString )</entry> +>void addPlaylist( TQString )</entry> <entry >Dodaje listę odtwarzania do przeglądarki list.</entry> </row> @@ -1226,14 +1226,14 @@ <row> <entry ->bool runScript( QString nazwa)</entry> +>bool runScript( TQString nazwa)</entry> <entry >Uruchamia skrypt o danej nazwie. Zwraca wartość prawda, jeśli operacja się powiedzie.</entry> </row> <row> <entry ->bool stopScript( QString nazwa)</entry> +>bool stopScript( TQString nazwa)</entry> <entry >Zatrzymuje skrypt o danej nazwie. Zwraca wartość prawda, jeśli operacja się powiedzie.</entry> </row> @@ -1247,21 +1247,21 @@ <row> <entry ->void addCustomMenuItem(QString podmenu, QString tytułPozycji )</entry> +>void addCustomMenuItem(TQString podmenu, TQString tytułPozycji )</entry> <entry >Włącza i ustala własną nazwę pozycji w menu.</entry> </row> <row> <entry ->void removeCustomMenuItem(QString podmenu, QString tytułPozycji )</entry> +>void removeCustomMenuItem(TQString podmenu, TQString tytułPozycji )</entry> <entry >Usuwa własną pozycję z menu.</entry> </row> <row> <entry ->QString readConfig( QString klucz)</entry> +>TQString readConfig( TQString klucz)</entry> <entry >Zwraca wartość konfiguracyjną AmarokConfig z podanego klucza.</entry> </row> diff --git a/doc/pl/faq.docbook b/doc/pl/faq.docbook index 07eae13b..5e37474f 100644 --- a/doc/pl/faq.docbook +++ b/doc/pl/faq.docbook @@ -884,7 +884,7 @@ print "Błąd podczas zapisywania znaczników do pliku $ARGV[0]\n" unless $mp3-> <para >Przy czy w tym wzorze wartości biorą się z następującego zapytania:</para> <programlisting ->QStringList values = query( QString( +>QStringList values = query( TQString( "SELECT playcounter, createdate, percentage FROM statistics " "WHERE url = '%1';" ) .arg( escapeString( url ) ) ); diff --git a/doc/pt/advanced.docbook b/doc/pt/advanced.docbook index 0513784f..e28c61eb 100644 --- a/doc/pt/advanced.docbook +++ b/doc/pt/advanced.docbook @@ -486,7 +486,7 @@ <row> <entry ->QString query( QString sql)</entry> +>TQString query( TQString sql)</entry> <entry >Executa uma pesquisa de SQL na base de dados.</entry> </row> @@ -500,7 +500,7 @@ <row> <entry ->void migrateFile( QString urlAntigo, QString urlNovo )</entry> +>void migrateFile( TQString urlAntigo, TQString urlNovo )</entry> <entry >Move um ficheiro na colecção, mantendo as estatísticas intactas.</entry> </row> @@ -680,133 +680,133 @@ <row> <entry ->QString album()</entry> +>TQString album()</entry> <entry >Devolve o álbum da música que está a tocar de momento.</entry> </row> <row> <entry ->QString artist()</entry> +>TQString artist()</entry> <entry >Devolve o artista da faixa actual.</entry> </row> <row> <entry ->QString bitrate()</entry> +>TQString bitrate()</entry> <entry >Devolve a taxa de amostragem em bits da faixa actual (XX kbps).</entry> </row> <row> <entry ->QString comment()</entry> +>TQString comment()</entry> <entry >Devolve o comentário da música a tocar de momento.</entry> </row> <row> <entry ->QString coverImage()</entry> +>TQString coverImage()</entry> <entry >Devolve o URL codificado da imagem de capa da faixa actual. </entry> </row> <row> <entry ->QString currentTime()</entry> +>TQString currentTime()</entry> <entry >Devolve a posição ([h:]mm:ss) da música a tocar de momento.</entry> </row> <row> <entry ->QString encodedURL()</entry> +>TQString encodedURL()</entry> <entry >Devolve o URL codificado da faixa actual.</entry> </row> <row> <entry ->QString engine()</entry> +>TQString engine()</entry> <entry >Devolve o motor de áudio actual.</entry> </row> <row> <entry ->QString genre()</entry> +>TQString genre()</entry> <entry >Devolve o género da música a tocar de momento.</entry> </row> <row> <entry ->QString lyrics()</entry> +>TQString lyrics()</entry> <entry >Devolve as letras da faixa actual.</entry> </row> <row> <entry ->QString lyricsByPath( QString local )</entry> +>TQString lyricsByPath( TQString local )</entry> <entry >Devolve as letra de uma faixa pela sua localização.</entry> </row> <row> <entry ->QString nowPlaying()</entry> +>TQString nowPlaying()</entry> <entry >O título da faixa actualmente em reprodução.</entry> </row> <row> <entry ->QString path()</entry> +>TQString path()</entry> <entry >Devolve o local não-codificado da faixa actual.</entry> </row> <row> <entry ->QString setContextStyle( QString )</entry> +>TQString setContextStyle( TQString )</entry> <entry >Define o estilo de CSS para o navegador de contexto.</entry> </row> <row> <entry ->QString title()</entry> +>TQString title()</entry> <entry >Devolve o título da faixa actual.</entry> </row> <row> <entry ->QString totalTime()</entry> +>TQString totalTime()</entry> <entry >Devolve o tamanho total da música a tocar de momento (no formato [h:]mm:ss).</entry> </row> <row> <entry ->QString track()</entry> +>TQString track()</entry> <entry >Devolve o número da faixa.</entry> </row> <row> <entry ->QString type()</entry> +>TQString type()</entry> <entry >Devolve o tipo de ficheiro.</entry> </row> <row> <entry ->QString year()</entry> +>TQString year()</entry> <entry >Devolve o ano da música a tocar de momento.</entry> </row> @@ -946,14 +946,14 @@ <row> <entry ->void setEqualizerPreset( QString nome )</entry> +>void setEqualizerPreset( TQString nome )</entry> <entry >Configura as predefinições do equalizador </entry> </row> <row> <entry ->void setLyricsByPath( QString url, QString letras )</entry> +>void setLyricsByPath( TQString url, TQString letras )</entry> <entry >Atribui as letras de uma faixa pelo seu local.</entry> </row> @@ -967,7 +967,7 @@ <row> <entry ->void setScoreByPath( QString url, int pontos )</entry> +>void setScoreByPath( TQString url, int pontos )</entry> <entry >Configura a pontuação de uma faixa pelo seu local.</entry> </row> @@ -981,7 +981,7 @@ <row> <entry ->void showBrowser( QString navegador )</entry> +>void showBrowser( TQString navegador )</entry> <entry >Mostra os navegadores na janela da lista de reprodução</entry> </row> @@ -1060,7 +1060,7 @@ <row> <entry ->QString saveCurrentPlaylist()</entry> +>TQString saveCurrentPlaylist()</entry> <entry >Grava a lista actual em 'current.xml' e devolve o seu local.</entry> </row> @@ -1102,7 +1102,7 @@ <row> <entry ->void popupMessage( QString)</entry> +>void popupMessage( TQString)</entry> <entry >Mostra uma mensagem temporária.</entry> </row> @@ -1123,7 +1123,7 @@ <row> <entry ->void saveM3u( QString local, bool locaisRelativos)</entry> +>void saveM3u( TQString local, bool locaisRelativos)</entry> <entry >Grava a lista de reprodução actual como M3U.</entry> </row> @@ -1137,7 +1137,7 @@ <row> <entry ->void shortStatusMessage( QString)</entry> +>void shortStatusMessage( TQString)</entry> <entry >Mostra uma mensagem temporária na barra de estado.</entry> </row> @@ -1181,7 +1181,7 @@ <row> <entry ->void addPodcast( QString )</entry> +>void addPodcast( TQString )</entry> <entry >Adiciona um item de Podcast ao navegador de contexto.</entry> </row> @@ -1195,7 +1195,7 @@ <row> <entry ->void addPlaylist( QString )</entry> +>void addPlaylist( TQString )</entry> <entry >Adiciona uma lista de reprodução ao navegador da lista.</entry> </row> @@ -1226,14 +1226,14 @@ <row> <entry ->bool runScript( QString nome )</entry> +>bool runScript( TQString nome )</entry> <entry >Inicia o programa com o nome indicado. Devolve 'true' em caso de sucesso.</entry> </row> <row> <entry ->bool stopScript( QString nome )</entry> +>bool stopScript( TQString nome )</entry> <entry >Pára o programa com o nome indicado. Devolve 'true' em caso de sucesso.</entry> </row> @@ -1247,21 +1247,21 @@ <row> <entry ->void addCustomMenuItem(QString submenu, QString tituloItem )</entry> +>void addCustomMenuItem(TQString submenu, TQString tituloItem )</entry> <entry >Activa e atribui um título ao item de menu personalizado.</entry> </row> <row> <entry ->void removeCustomMenuItem(QString submenu, QString tituloItem )</entry> +>void removeCustomMenuItem(TQString submenu, TQString tituloItem )</entry> <entry >Remove o item de menu personalizado.</entry> </row> <row> <entry ->QString readConfig( QString chave )</entry> +>TQString readConfig( TQString chave )</entry> <entry >Devolve um valor de item do AmarokConfig com base na chave indicada.</entry> </row> diff --git a/doc/pt/faq.docbook b/doc/pt/faq.docbook index 347082be..fff69bab 100644 --- a/doc/pt/faq.docbook +++ b/doc/pt/faq.docbook @@ -892,7 +892,7 @@ print "Erro ao escrever as marcas em $ARGV[0]\n" unless $mp3->set_v2tag($v2tag,& <para >Substituir nos valores desta linha:</para> <programlisting ->QStringList values = query( QString( +>QStringList values = query( TQString( "SELECT playcounter, createdate, percentage FROM statistics " "WHERE url = '%1';" ) .arg( escapeString( url ) ) ); diff --git a/doc/sv/advanced.docbook b/doc/sv/advanced.docbook index 9e0be8dc..62594ca9 100644 --- a/doc/sv/advanced.docbook +++ b/doc/sv/advanced.docbook @@ -486,7 +486,7 @@ <row> <entry ->QString query( QString sql)</entry> +>TQString query( TQString sql)</entry> <entry >Skickar en fråga till databasen via SQL.</entry> </row> @@ -500,7 +500,7 @@ <row> <entry ->void migrateFile( QString gammal_webbadress, QString ny_webbadress )</entry> +>void migrateFile( TQString gammal_webbadress, TQString ny_webbadress )</entry> <entry >Flytta en fil i samlingen, och behåll statistiken intakt.</entry> </row> @@ -680,133 +680,133 @@ <row> <entry ->QString album()</entry> +>TQString album()</entry> <entry >Returnera albumet för spåret som för närvarande spelas.</entry> </row> <row> <entry ->QString artist()</entry> +>TQString artist()</entry> <entry >Returnera artisten för spåret som för närvarande spelas.</entry> </row> <row> <entry ->QString bitrate()</entry> +>TQString bitrate()</entry> <entry >Returnera bithastigheten för spåret som för närvarande spelas (i kilobit per sekund).</entry> </row> <row> <entry ->QString comment()</entry> +>TQString comment()</entry> <entry >Returnera kommentaren för spåret som för närvarande spelas.</entry> </row> <row> <entry ->QString coverImage()</entry> +>TQString coverImage()</entry> <entry >Returnera den kodade webbadressen till nuvarande spårs skivomslag </entry> </row> <row> <entry ->QString currentTime()</entry> +>TQString currentTime()</entry> <entry >Returnera positionen för spåret som för närvarande spelas (på formatet [t:]mm:ss).</entry> </row> <row> <entry ->QString encodedURL()</entry> +>TQString encodedURL()</entry> <entry >Returnera den kodade webbadressen för spåret som för närvarande spelas.</entry> </row> <row> <entry ->QString engine()</entry> +>TQString engine()</entry> <entry >Returnera nuvarande ljudgränssnitt.</entry> </row> <row> <entry ->QString genre()</entry> +>TQString genre()</entry> <entry >Returnera genren för spåret som för närvarande spelas.</entry> </row> <row> <entry ->QString lyrics()</entry> +>TQString lyrics()</entry> <entry >Returnera sångtexten för spåret som för närvarande spelas.</entry> </row> <row> <entry ->QString lyricsByPath( QString sökväg )</entry> +>TQString lyricsByPath( TQString sökväg )</entry> <entry >Returnera sångtext för ett spår enligt sökväg.</entry> </row> <row> <entry ->QString nowPlaying()</entry> +>TQString nowPlaying()</entry> <entry >Titeln på det medium som nu spelas.</entry> </row> <row> <entry ->QString path()</entry> +>TQString path()</entry> <entry >Returnera den okodade sökvägen för spåret som för närvarande spelas.</entry> </row> <row> <entry ->QString setContextStyle( QString )</entry> +>TQString setContextStyle( TQString )</entry> <entry >Ställ in CSS-stilen för sammanhangsbläddraren.</entry> </row> <row> <entry ->QString title()</entry> +>TQString title()</entry> <entry >Returnera titeln för spåret som för närvarande spelas.</entry> </row> <row> <entry ->QString totalTime()</entry> +>TQString totalTime()</entry> <entry >Returnera totala längden för spåret som för närvarande spelas (på formatet [t:]mm:ss).</entry> </row> <row> <entry ->QString track()</entry> +>TQString track()</entry> <entry >Returnera spårnumret.</entry> </row> <row> <entry ->QString type()</entry> +>TQString type()</entry> <entry >Returnera filtypen.</entry> </row> <row> <entry ->QString year()</entry> +>TQString year()</entry> <entry >Returnera året för spåret som för närvarande spelas.</entry> </row> @@ -946,14 +946,14 @@ <row> <entry ->void setEqualizerPreset( QString namn )</entry> +>void setEqualizerPreset( TQString namn )</entry> <entry >Ställ in equalizerns förinställning </entry> </row> <row> <entry ->void setLyricsByPath( QString webbadress, QString sångtext )</entry> +>void setLyricsByPath( TQString webbadress, TQString sångtext )</entry> <entry >Ställ in sångtext för ett spår enligt dess sökväg.</entry> </row> @@ -967,7 +967,7 @@ <row> <entry ->void setScoreByPath( QString webbadress, int poäng )</entry> +>void setScoreByPath( TQString webbadress, int poäng )</entry> <entry >Ställ in poäng för ett spår enligt dess sökväg.</entry> </row> @@ -981,7 +981,7 @@ <row> <entry ->void showBrowser( QString bläddrare )</entry> +>void showBrowser( TQString bläddrare )</entry> <entry >Visar bläddrarna i spellistans fönster.</entry> </row> @@ -1060,7 +1060,7 @@ <row> <entry ->QString saveCurrentPlaylist()</entry> +>TQString saveCurrentPlaylist()</entry> <entry >Sparar den nuvarande spellistan i nuvarande.xml och och returnerar dess sökväg.</entry> </row> @@ -1102,7 +1102,7 @@ <row> <entry ->void popupMessage( QString)</entry> +>void popupMessage( TQString)</entry> <entry >Visar ett tillfälligt skärmmeddelande.</entry> </row> @@ -1123,7 +1123,7 @@ <row> <entry ->void saveM3u( QString sökväg, bool relativ_sökväg)</entry> +>void saveM3u( TQString sökväg, bool relativ_sökväg)</entry> <entry >Sparar nuvarande spellista som m3u.</entry> </row> @@ -1137,7 +1137,7 @@ <row> <entry ->void shortStatusMessage( QString)</entry> +>void shortStatusMessage( TQString)</entry> <entry >Visar ett tillfälligt meddelande på statusraden.</entry> </row> @@ -1181,7 +1181,7 @@ <row> <entry ->void addPodcast( QString )</entry> +>void addPodcast( TQString )</entry> <entry >Lägg till en podradiosändning i spellistebläddraren.</entry> </row> @@ -1195,7 +1195,7 @@ <row> <entry ->void addPlaylist( QString )</entry> +>void addPlaylist( TQString )</entry> <entry >Lägg till en spellista i spellistebläddraren.</entry> </row> @@ -1226,14 +1226,14 @@ <row> <entry ->bool runScript( QString namn)</entry> +>bool runScript( TQString namn)</entry> <entry >Startar skriptet med angivet namn. Returnerar sant om det lyckas.</entry> </row> <row> <entry ->bool stopScript( QString namn)</entry> +>bool stopScript( TQString namn)</entry> <entry >Stoppar skriptet med angivet namn. Returnerar sant om det lyckas.</entry> </row> @@ -1247,21 +1247,21 @@ <row> <entry ->void addCustomMenuItem(QString undermeny, QString objekttitel )</entry> +>void addCustomMenuItem(TQString undermeny, TQString objekttitel )</entry> <entry >Aktiverar och ställer in titeln för eget menyalternativ.</entry> </row> <row> <entry ->void removeCustomMenuItem(QString undermeny, QString objekttitel )</entry> +>void removeCustomMenuItem(TQString undermeny, TQString objekttitel )</entry> <entry >Tar bort det egna menyalternativet.</entry> </row> <row> <entry ->QString readConfig( QString nyckel)</entry> +>TQString readConfig( TQString nyckel)</entry> <entry >Returnerar värdet av en inställningspost från AmarokConfig för angiven nyckel.</entry> </row> diff --git a/doc/sv/faq.docbook b/doc/sv/faq.docbook index 67873116..0bf56b2d 100644 --- a/doc/sv/faq.docbook +++ b/doc/sv/faq.docbook @@ -902,7 +902,7 @@ print "Fel vid skrivning av taggen till $ARGV[0]\n" unless $mp3->set_v2tag($v2ta <para >Ersätt värdena på följande rad:</para> <programlisting ->QStringList values = query( QString( +>QStringList values = query( TQString( "SELECT playcounter, createdate, percentage FROM statistics " "WHERE url = '%1';" ) .arg( escapeString( url ) ) ); |