summaryrefslogtreecommitdiffstats
path: root/kmrml
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:32:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:32:17 -0600
commitc509088a31cffd8e6d25c00a00414025426fc737 (patch)
tree06242637d2244aa79ad8812f39e64005ffc5ea91 /kmrml
parent913e257dbbebe29c4f356ebb9fc6e888d0d1ac75 (diff)
downloadtdegraphics-c509088a31cffd8e6d25c00a00414025426fc737.tar.gz
tdegraphics-c509088a31cffd8e6d25c00a00414025426fc737.zip
Rename additional global TQt functions
Diffstat (limited to 'kmrml')
-rw-r--r--kmrml/kmrml/kcontrol/indexer.cpp10
-rw-r--r--kmrml/kmrml/kcontrol/indextest.cpp4
-rw-r--r--kmrml/kmrml/lib/kmrml_config.cpp4
-rw-r--r--kmrml/kmrml/lib/mrml_utils.cpp2
-rw-r--r--kmrml/kmrml/loader.cpp2
-rw-r--r--kmrml/kmrml/mrml.cpp8
-rw-r--r--kmrml/kmrml/mrml_elements.cpp2
-rw-r--r--kmrml/kmrml/mrml_part.cpp14
-rw-r--r--kmrml/kmrml/mrml_view.cpp4
-rw-r--r--kmrml/kmrml/mrmlsearch.cpp2
-rw-r--r--kmrml/kmrml/propertysheet.cpp2
11 files changed, 27 insertions, 27 deletions
diff --git a/kmrml/kmrml/kcontrol/indexer.cpp b/kmrml/kmrml/kcontrol/indexer.cpp
index 3f479ee6..307cff95 100644
--- a/kmrml/kmrml/kcontrol/indexer.cpp
+++ b/kmrml/kmrml/kcontrol/indexer.cpp
@@ -102,7 +102,7 @@ void Indexer::processNext()
if ( index != -1 )
cmd.replace( index, 2, TQUOTE(m_currentDir + "_thumbnails") );
-// qDebug("****** command: %s", cmd.latin1());
+// tqDebug("****** command: %s", cmd.latin1());
#if TDE_VERSION >= 306
*m_process << cmd;
#else
@@ -139,9 +139,9 @@ void Indexer::slotCanRead( KProcIO *proc )
// cut off "PROGRESS: "
line = line.mid( sprogress.length() );
line = line.simplifyWhiteSpace().stripWhiteSpace();
-// qDebug("*** START LINE ***");
-// qDebug("%s", line.latin1());
-// qDebug("*** END LINE ***");
+// tqDebug("*** START LINE ***");
+// tqDebug("%s", line.latin1());
+// tqDebug("*** END LINE ***");
// case 1: image processing, below 99%
if ( line.at( line.length() -1 ) == ')' )
@@ -154,7 +154,7 @@ void Indexer::slotCanRead( KProcIO *proc )
TQString numFiles = regxp.cap( 2 );
TQString percent = regxp.cap( 3 );
-// qDebug( "current: %s, number: %s, percent: %s", currentFile.latin1(), numFiles.latin1(), percent.latin1());
+// tqDebug( "current: %s, number: %s, percent: %s", currentFile.latin1(), numFiles.latin1(), percent.latin1());
bool ok = false;
int perc = percent.toInt( &ok );
if ( ok )
diff --git a/kmrml/kmrml/kcontrol/indextest.cpp b/kmrml/kmrml/kcontrol/indextest.cpp
index fdaffcde..f6eaa34b 100644
--- a/kmrml/kmrml/kcontrol/indextest.cpp
+++ b/kmrml/kmrml/kcontrol/indextest.cpp
@@ -26,12 +26,12 @@ IndexTest::~IndexTest()
void IndexTest::slotFinished( bool success )
{
- qDebug("##### FINISHED: %i", success );
+ tqDebug("##### FINISHED: %i", success );
}
void IndexTest::slotProgress( int percent, const TQString& message )
{
- qDebug("--- progress: %i: %s", percent, message.latin1());
+ tqDebug("--- progress: %i: %s", percent, message.latin1());
}
int main( int argc, char **argv )
diff --git a/kmrml/kmrml/lib/kmrml_config.cpp b/kmrml/kmrml/lib/kmrml_config.cpp
index 43298376..f8ac6502 100644
--- a/kmrml/kmrml/lib/kmrml_config.cpp
+++ b/kmrml/kmrml/lib/kmrml_config.cpp
@@ -244,7 +244,7 @@ TQString Config::mrmldCommandline() const
cmd.replace( index, 2, TQUOTE( mrmldDataDir() ) );
}
- qDebug("***** commandline: %s", cmd.latin1());
+ tqDebug("***** commandline: %s", cmd.latin1());
return cmd;
}
@@ -322,7 +322,7 @@ unsigned short int ServerSettings::port() const
{
TQString line;
(void) file.readLine( line, 6 );
-// qDebug("**** read: %s", line.latin1());
+// tqDebug("**** read: %s", line.latin1());
file.close();
diff --git a/kmrml/kmrml/lib/mrml_utils.cpp b/kmrml/kmrml/lib/mrml_utils.cpp
index f20dad6a..d493e58d 100644
--- a/kmrml/kmrml/lib/mrml_utils.cpp
+++ b/kmrml/kmrml/lib/mrml_utils.cpp
@@ -43,7 +43,7 @@ Util::Util()
{
DCOPClient::setMainClient( new DCOPClient() );
if ( !DCOPClient::mainClient()->attach() )
- qWarning( "kio_mrml: Can't attach to DCOP Server.");
+ tqWarning( "kio_mrml: Can't attach to DCOP Server.");
}
}
diff --git a/kmrml/kmrml/loader.cpp b/kmrml/kmrml/loader.cpp
index ea8803e2..7b806580 100644
--- a/kmrml/kmrml/loader.cpp
+++ b/kmrml/kmrml/loader.cpp
@@ -78,7 +78,7 @@ void Loader::slotData( KIO::Job *job, const TQByteArray& data )
if ( !buffer.isOpen() )
buffer.open( IO_ReadWrite );
if ( !buffer.isOpen() ) {
- qDebug("********* EEK, can't open buffer for thumbnail download!");
+ tqDebug("********* EEK, can't open buffer for thumbnail download!");
return;
}
diff --git a/kmrml/kmrml/mrml.cpp b/kmrml/kmrml/mrml.cpp
index a61de8f1..3a6f6721 100644
--- a/kmrml/kmrml/mrml.cpp
+++ b/kmrml/kmrml/mrml.cpp
@@ -88,7 +88,7 @@ bool Mrml::checkLocalServer( const KURL& url )
void Mrml::get( const KURL& url )
{
-// qDebug("******* getting: %s (user: %s)", url.url().latin1(), url.user().latin1());
+// tqDebug("******* getting: %s (user: %s)", url.url().latin1(), url.user().latin1());
if ( !checkLocalServer( url ) )
{
@@ -105,7 +105,7 @@ tryConnect:
if ( connectToHost( url.host(), port(url), sendError ) )
{
-// qDebug(" connected!");
+// tqDebug(" connected!");
TQString task = metaData( MrmlShared::kio_task() );
@@ -171,7 +171,7 @@ TQCString Mrml::readAll()
data.append( buf );
}
-// qDebug("*** readAll()::: %i, %s", data.length(), data.data());
+// tqDebug("*** readAll()::: %i, %s", data.length(), data.data());
return data;
}
@@ -223,7 +223,7 @@ bool Mrml::startSession( const KURL& url )
</mrml>" ).arg( user( url ));
TQCString utf8 = msg.utf8();
-// qDebug(":::Writing: %s", utf8.data());
+// tqDebug(":::Writing: %s", utf8.data());
write( utf8, utf8.length() );
emitData( readAll() );
diff --git a/kmrml/kmrml/mrml_elements.cpp b/kmrml/kmrml/mrml_elements.cpp
index 3fadcaba..73bb5316 100644
--- a/kmrml/kmrml/mrml_elements.cpp
+++ b/kmrml/kmrml/mrml_elements.cpp
@@ -131,7 +131,7 @@ Algorithm::Algorithm( const TQDomElement& elem )
TQDomElement propsElem = firstChildElement(elem, MrmlShared::propertySheet());
m_propertySheet.initFromDOM( propsElem );
- qDebug("############# new algorithm: name: %s, id: %s, type: %s", m_name.latin1(), m_id.latin1(), m_type.latin1());
+ tqDebug("############# new algorithm: name: %s, id: %s, type: %s", m_name.latin1(), m_id.latin1(), m_type.latin1());
}
Algorithm Algorithm::defaultAlgorithm()
diff --git a/kmrml/kmrml/mrml_part.cpp b/kmrml/kmrml/mrml_part.cpp
index 7a8967c8..d54f8525 100644
--- a/kmrml/kmrml/mrml_part.cpp
+++ b/kmrml/kmrml/mrml_part.cpp
@@ -223,7 +223,7 @@ bool MrmlPart::openURL( const KURL& url )
closeURL();
if ( url.protocol() != "mrml" || !url.isValid() ) {
- qWarning("MrmlPart::openURL: cannot handle url: %s", url.prettyURL().latin1());
+ tqWarning("MrmlPart::openURL: cannot handle url: %s", url.prettyURL().latin1());
return false; // what to do with that?
}
@@ -416,7 +416,7 @@ void MrmlPart::slotResult( KIO::Job *job )
emit completed();
else {
emit canceled( job->errorString() );
-// qDebug("*** canceled: error: %s", job->errorString().latin1());
+// tqDebug("*** canceled: error: %s", job->errorString().latin1());
}
@@ -475,7 +475,7 @@ void MrmlPart::parseMrml( TQDomDocument& doc )
if ( !mrml.isNull() ) {
TQDomNode child = mrml.firstChild();
for ( ; !child.isNull(); child = child.nextSibling() ) {
-// qDebug("**** HERE %s", child.nodeName().latin1());
+// tqDebug("**** HERE %s", child.nodeName().latin1());
if ( child.isElement() ) {
TQDomElement elem = child.toElement();
@@ -582,9 +582,9 @@ void MrmlPart::createQuery( const KURL::List * relevantItems )
transactionId() );
Collection coll = currentCollection();
-// qDebug("** collection: name: %s, id: %s, valid: %i", coll.name().latin1(), coll.id().latin1(), coll.isValid());
+// tqDebug("** collection: name: %s, id: %s, valid: %i", coll.name().latin1(), coll.id().latin1(), coll.isValid());
Algorithm algo = firstAlgorithmForCollection( coll );
-// qDebug("** algorithm: name: %s, id: %s, valid: %i, collection-id: %s", algo.name().latin1(), algo.id().latin1(), algo.isValid(), algo.collectionId().latin1());
+// tqDebug("** algorithm: name: %s, id: %s, valid: %i, collection-id: %s", algo.name().latin1(), algo.id().latin1(), algo.isValid(), algo.collectionId().latin1());
if ( algo.isValid() )
{
@@ -639,7 +639,7 @@ Algorithm MrmlPart::firstAlgorithmForCollection( const Collection& coll ) const
}
}
- qDebug("#################### -> ADEFAULT!");
+ tqDebug("#################### -> ADEFAULT!");
Algorithm algo = Algorithm::defaultAlgorithm();
algo.setCollectionId( coll.id() );
return algo;
@@ -691,7 +691,7 @@ void MrmlPart::performQuery( TQDomDocument& doc )
slotSetStatusBar( randomSearch ? i18n("Random search...") :
i18n("Searching...") );
m_job->addMetaData( MrmlShared::kio_task(), MrmlShared::kio_startQuery() );
- qDebug("\n\nSending XML:\n%s", doc.toString().latin1());
+ tqDebug("\n\nSending XML:\n%s", doc.toString().latin1());
m_job->addMetaData( MrmlShared::mrml_data(), doc.toString() );
}
diff --git a/kmrml/kmrml/mrml_view.cpp b/kmrml/kmrml/mrml_view.cpp
index 2fed1bcb..9555d9a1 100644
--- a/kmrml/kmrml/mrml_view.cpp
+++ b/kmrml/kmrml/mrml_view.cpp
@@ -84,12 +84,12 @@ MrmlViewItem * MrmlView::addItem( const KURL& url, const KURL& thumbURL,
double similarity )
{
if ( !url.isValid() ) {
- qWarning( "MrmlPart: received malformed URL from query: %s",
+ tqWarning( "MrmlPart: received malformed URL from query: %s",
url.prettyURL().isNull() ? "(null)" : url.prettyURL().latin1() );
return 0L;
}
-// qDebug("** url: %s", thumbURL.url().latin1());
+// tqDebug("** url: %s", thumbURL.url().latin1());
MrmlViewItem *item = new MrmlViewItem( url, thumbURL, similarity, this );
TQPixmap *pixmap = getPixmap( thumbURL );
diff --git a/kmrml/kmrml/mrmlsearch.cpp b/kmrml/kmrml/mrmlsearch.cpp
index a2774fb9..8ad00f24 100644
--- a/kmrml/kmrml/mrmlsearch.cpp
+++ b/kmrml/kmrml/mrmlsearch.cpp
@@ -66,7 +66,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
query = KURL::encode_string_no_slash( query );
query.prepend( "?relevant=" ); // this is not encoded!
url.setQuery( query );
- qDebug("***** Query: %s ** URL: %s", query.latin1(), url.url().latin1());
+ tqDebug("***** Query: %s ** URL: %s", query.latin1(), url.url().latin1());
return execlp( "kfmclient",
"kfmclient", "openURL", TQFile::encodeName(url.url()).data(),
diff --git a/kmrml/kmrml/propertysheet.cpp b/kmrml/kmrml/propertysheet.cpp
index af913558..a4278f56 100644
--- a/kmrml/kmrml/propertysheet.cpp
+++ b/kmrml/kmrml/propertysheet.cpp
@@ -128,7 +128,7 @@ TQWidget * PropertySheet::createWidget( TQWidget */*parent*/, const char */*name
}
default:
- qDebug("** can't create widget for type: %i", m_type);
+ tqDebug("** can't create widget for type: %i", m_type);
}
return w;