summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--amarok/src/amarokcore/amarokdcophandler.cpp4
-rw-r--r--amarok/src/amarokcore/crashhandler.cpp4
-rw-r--r--amarok/src/app.cpp2
-rw-r--r--amarok/src/atomicstring_unittest.cpp4
-rw-r--r--amarok/src/collectiondb.cpp4
-rw-r--r--amarok/src/mediadevice/mtp/mtpmediadevice.cpp28
-rw-r--r--amarok/src/mediadevice/riokarma/riokarmamediadevice.cpp2
-rw-r--r--amarok/src/playlist.cpp4
8 files changed, 26 insertions, 26 deletions
diff --git a/amarok/src/amarokcore/amarokdcophandler.cpp b/amarok/src/amarokcore/amarokdcophandler.cpp
index b8e4f496..33549e13 100644
--- a/amarok/src/amarokcore/amarokdcophandler.cpp
+++ b/amarok/src/amarokcore/amarokdcophandler.cpp
@@ -532,12 +532,12 @@ namespace Amarok
TQStringList::ConstIterator it = args.constBegin();
for( int i = 1; i < argc; ++i, ++it ) {
- argv[i] = qstrdup( (*it).local8Bit() );
+ argv[i] = tqstrdup( (*it).local8Bit() );
debug() << "Extracted: " << argv[i] << endl;
}
// required, loader doesn't add it
- argv[0] = qstrdup( "amarokapp" );
+ argv[0] = tqstrdup( "amarokapp" );
// re-initialize KCmdLineArgs with the new arguments
App::initCliArgs( argc, argv );
diff --git a/amarok/src/amarokcore/crashhandler.cpp b/amarok/src/amarokcore/crashhandler.cpp
index 536faceb..b3849241 100644
--- a/amarok/src/amarokcore/crashhandler.cpp
+++ b/amarok/src/amarokcore/crashhandler.cpp
@@ -21,7 +21,7 @@
#include <tqfile.h>
#include <tqregexp.h>
#include <tqtextstream.h>
-#include <tqglobal.h> //qVersion()
+#include <tqglobal.h> //tqVersion()
#include <cstdio> //popen, fread
#include <iostream>
@@ -121,7 +121,7 @@ namespace Amarok
body = body.arg( AmarokConfig::soundSystem() )
- .arg( qVersion() )
+ .arg( tqVersion() )
.arg( TAGLIB_MAJOR_VERSION )
.arg( TAGLIB_MINOR_VERSION )
.arg( TAGLIB_PATCH_VERSION )
diff --git a/amarok/src/app.cpp b/amarok/src/app.cpp
index 021bf50f..691d6263 100644
--- a/amarok/src/app.cpp
+++ b/amarok/src/app.cpp
@@ -189,7 +189,7 @@ App::App()
fixHyperThreading();
// tell AtomicString that this is the GUI thread
if ( !AtomicString::isMainThread() )
- qWarning("AtomicString was initialized from a thread other than the GUI "
+ tqWarning("AtomicString was initialized from a thread other than the GUI "
"thread. This could lead to memory leaks.");
#ifdef TQ_WS_MAC
diff --git a/amarok/src/atomicstring_unittest.cpp b/amarok/src/atomicstring_unittest.cpp
index 2dca3b9c..73f23f13 100644
--- a/amarok/src/atomicstring_unittest.cpp
+++ b/amarok/src/atomicstring_unittest.cpp
@@ -32,7 +32,7 @@ Worker(void *num) {
TQString str = atStrings[k]->string();
if( str != base + TQString::number( k )
&& str != base + TQString::number( k % kNumStrings ) ) {
- qFatal( "unexpected atStrings[%d]: %s", k, str.ascii() );
+ tqFatal( "unexpected atStrings[%d]: %s", k, str.ascii() );
}
delete atStrings[k];
atStrings[k] = NULL;
@@ -52,7 +52,7 @@ int main() {
& Worker,
reinterpret_cast<void *>(i))
!= 0)
- qFatal( "Could not create thread %d", i );
+ tqFatal( "Could not create thread %d", i );
}
for( int i = 0; i < kWorkers; i++ ) {
diff --git a/amarok/src/collectiondb.cpp b/amarok/src/collectiondb.cpp
index 6799ee9d..251fe92a 100644
--- a/amarok/src/collectiondb.cpp
+++ b/amarok/src/collectiondb.cpp
@@ -7422,7 +7422,7 @@ QueryBuilder::addNumericFilter(int tables, TQ_INT64 value, const TQString &n,
case modeNotBetween:
m_where.append(" NOT BETWEEN "); break;
default:
- qWarning( "Unhandled mode in addNumericFilter, using equals: %d", mode );
+ tqWarning( "Unhandled mode in addNumericFilter, using equals: %d", mode );
m_where.append( " = " );
}
@@ -8033,7 +8033,7 @@ QueryBuilder::getField(const TQString &tableValue, int *table, TQ_INT64 *value)
}
else
{
- qFatal("invalid table.value: %s", tableValue.ascii());
+ tqFatal("invalid table.value: %s", tableValue.ascii());
return false;
}
}
diff --git a/amarok/src/mediadevice/mtp/mtpmediadevice.cpp b/amarok/src/mediadevice/mtp/mtpmediadevice.cpp
index 8e0fa969..2956eb74 100644
--- a/amarok/src/mediadevice/mtp/mtpmediadevice.cpp
+++ b/amarok/src/mediadevice/mtp/mtpmediadevice.cpp
@@ -212,49 +212,49 @@ MediaItem
if( bundle.title().isEmpty() )
{
- trackmeta->title = qstrdup( i18n( "Unknown title" ).utf8() );
+ trackmeta->title = tqstrdup( i18n( "Unknown title" ).utf8() );
}
else
{
- trackmeta->title = qstrdup( bundle.title().utf8() );
+ trackmeta->title = tqstrdup( bundle.title().utf8() );
}
if( bundle.album().isEmpty() )
{
- trackmeta->album = qstrdup( i18n( "Unknown album" ).utf8() );
+ trackmeta->album = tqstrdup( i18n( "Unknown album" ).utf8() );
}
else
{
- trackmeta->album = qstrdup( bundle.album().string().utf8() );
+ trackmeta->album = tqstrdup( bundle.album().string().utf8() );
}
if( bundle.artist().isEmpty() )
{
- trackmeta->artist = qstrdup( i18n( "Unknown artist" ).utf8() );
+ trackmeta->artist = tqstrdup( i18n( "Unknown artist" ).utf8() );
}
else
{
- trackmeta->artist = qstrdup( bundle.artist().string().utf8() );
+ trackmeta->artist = tqstrdup( bundle.artist().string().utf8() );
}
if( bundle.genre().isEmpty() )
{
- trackmeta->genre = qstrdup( i18n( "Unknown genre" ).utf8() );
+ trackmeta->genre = tqstrdup( i18n( "Unknown genre" ).utf8() );
}
else
{
- trackmeta->genre = qstrdup( bundle.genre().string().utf8() );
+ trackmeta->genre = tqstrdup( bundle.genre().string().utf8() );
}
if( bundle.year() > 0 )
{
TQString date;
TQTextOStream( &date ) << bundle.year() << "0101T0000.0";
- trackmeta->date = qstrdup( date.utf8() );
+ trackmeta->date = tqstrdup( date.utf8() );
}
else
{
- trackmeta->date = qstrdup( "00010101T0000.0" );
+ trackmeta->date = tqstrdup( "00010101T0000.0" );
}
if( bundle.track() > 0 )
@@ -268,7 +268,7 @@ MediaItem
}
if( !bundle.filename().isEmpty() )
{
- trackmeta->filename = qstrdup( bundle.filename().utf8() );
+ trackmeta->filename = tqstrdup( bundle.filename().utf8() );
}
trackmeta->filesize = bundle.filesize();
@@ -524,7 +524,7 @@ LIBMTP_album_t
{
debug() << "creating new album " << endl;
album_object = LIBMTP_new_album_t();
- album_object->name = qstrdup( items->first()->bundle()->album().string().utf8() );
+ album_object->name = tqstrdup( items->first()->bundle()->album().string().utf8() );
album_object->tracks = (uint32_t *) malloc(items->count() * sizeof(uint32_t));
int i = 0;
for( MtpMediaItem *it = dynamic_cast<MtpMediaItem*>(items->first()); it; it = dynamic_cast<MtpMediaItem*>(items->next()) )
@@ -608,7 +608,7 @@ uint32_t
MtpMediaDevice::createFolder( const char *name, uint32_t parent_id )
{
debug() << "Creating new folder '" << name << "' as a child of "<< parent_id << endl;
- char *name_copy = qstrdup( name );
+ char *name_copy = tqstrdup( name );
uint32_t new_folder_id = LIBMTP_Create_Folder( m_device, name_copy, parent_id, 0 );
delete(name_copy);
debug() << "New folder ID: " << new_folder_id << endl;
@@ -889,7 +889,7 @@ MtpMediaDevice::playlistFromItem( MtpMediaItem *item )
return;
m_critical_mutex.lock();
LIBMTP_playlist_t *metadata = LIBMTP_new_playlist_t();
- metadata->name = qstrdup( item->text( 0 ).utf8() );
+ metadata->name = tqstrdup( item->text( 0 ).utf8() );
const int trackCount = item->childCount();
if (trackCount > 0) {
uint32_t *tracks = ( uint32_t* )malloc( sizeof( uint32_t ) * trackCount );
diff --git a/amarok/src/mediadevice/riokarma/riokarmamediadevice.cpp b/amarok/src/mediadevice/riokarma/riokarmamediadevice.cpp
index df55f032..14fccc99 100644
--- a/amarok/src/mediadevice/riokarma/riokarmamediadevice.cpp
+++ b/amarok/src/mediadevice/riokarma/riokarmamediadevice.cpp
@@ -298,7 +298,7 @@ RioKarmaMediaDevice::openDevice( bool silent )
TQString genericError = i18n( "Could not connect to Rio Karma" );
- char *mount = qstrdup( mountPoint().utf8() );
+ char *mount = tqstrdup( mountPoint().utf8() );
m_rio = lk_karma_connect( mount );
debug() << "Rio karma : " << m_rio << endl;
diff --git a/amarok/src/playlist.cpp b/amarok/src/playlist.cpp
index 835fe159..81b36e49 100644
--- a/amarok/src/playlist.cpp
+++ b/amarok/src/playlist.cpp
@@ -2168,8 +2168,8 @@ Playlist::safeClear()
/* 3.3.5 and 3.3.6 have bad KListView::clear() functions.
3.3.5 forgets to clear the pointer to the highlighted item.
3.3.6 forgets to clear the pointer to the last dragged item */
- if ( strcmp( qVersion(), "3.3.5" ) == 0
- || strcmp( qVersion(), "3.3.6" ) == 0 )
+ if ( strcmp( tqVersion(), "3.3.5" ) == 0
+ || strcmp( tqVersion(), "3.3.6" ) == 0 )
{
bool block = signalsBlocked();
blockSignals( true );