summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:33:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:33:40 -0600
commit4fb897b216c41c13f128c71bcc66f60e2dc601c4 (patch)
tree2891b54cd6ec39db133da0110028ec93fc006751 /kio
parent8fc8811ef6079a15decd33f1ea5d95dd718e4557 (diff)
downloadtdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.tar.gz
tdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.zip
Rename additional global TQt functions
Diffstat (limited to 'kio')
-rw-r--r--kio/bookmarks/dptrtemplate.h2
-rw-r--r--kio/kfile/kdirselectdialog.cpp4
-rw-r--r--kio/kfile/kfiledialog.cpp2
-rw-r--r--kio/kfile/kfileiconview.cpp2
-rw-r--r--kio/kfile/kfilemetapreview.cpp6
-rw-r--r--kio/kfile/tests/kfstest.cpp22
-rw-r--r--kio/kfile/tests/kurlrequestertest.cpp2
-rw-r--r--kio/kio/kmimemagic.cpp4
-rw-r--r--kio/kio/kservice.cpp6
-rw-r--r--kio/kio/ktar.cpp2
-rw-r--r--kio/kio/kzip.cpp4
-rw-r--r--kio/kio/slavebase.cpp2
-rw-r--r--kio/kssl/ksslpemcallback.cc2
-rw-r--r--kio/misc/tdesasl/tdesasl.cpp20
-rw-r--r--kio/tests/dummymeta.cpp4
-rw-r--r--kio/tests/jobtest.cpp2
-rw-r--r--kio/tests/kdcopcheck.cpp12
-rw-r--r--kio/tests/kmfitest.cpp4
-rw-r--r--kio/tests/kmimetypetest.cpp8
-rw-r--r--kio/tests/kscantest.cpp2
-rw-r--r--kio/tests/ksycocatest.cpp12
-rw-r--r--kio/tests/kurlcompletiontest.cpp2
22 files changed, 63 insertions, 63 deletions
diff --git a/kio/bookmarks/dptrtemplate.h b/kio/bookmarks/dptrtemplate.h
index 2a69d6a54..dbc059e7e 100644
--- a/kio/bookmarks/dptrtemplate.h
+++ b/kio/bookmarks/dptrtemplate.h
@@ -32,7 +32,7 @@ public:
if ( !d_ptr ) {
cleanup_d_ptr();
d_ptr = new TQPtrDict<PrivateData>;
- qAddPostRoutine( cleanup_d_ptr );
+ tqAddPostRoutine( cleanup_d_ptr );
}
PrivateData* ret = d_ptr->find( (void*) instance );
if ( ! ret ) {
diff --git a/kio/kfile/kdirselectdialog.cpp b/kio/kfile/kdirselectdialog.cpp
index e1ffeb91e..4a3613b98 100644
--- a/kio/kfile/kdirselectdialog.cpp
+++ b/kio/kfile/kdirselectdialog.cpp
@@ -216,7 +216,7 @@ void KDirSelectDialog::setCurrentURL( const KURL& url )
{
dirToList.setPath( path.left( pos +1 ) );
d->dirsToList.push( dirToList );
-// qDebug( "List: %s", dirToList.url().latin1());
+// tqDebug( "List: %s", dirToList.url().latin1());
}
}
}
@@ -241,7 +241,7 @@ void KDirSelectDialog::openNextDir( KFileTreeViewItem * /*parent*/ )
slotNextDirToList( item );
}
// else
-// qDebug("###### openNextDir: item not found!");
+// tqDebug("###### openNextDir: item not found!");
}
void KDirSelectDialog::slotNextDirToList( KFileTreeViewItem *item )
diff --git a/kio/kfile/kfiledialog.cpp b/kio/kfile/kfiledialog.cpp
index 688fce66e..87988971f 100644
--- a/kio/kfile/kfiledialog.cpp
+++ b/kio/kfile/kfiledialog.cpp
@@ -511,7 +511,7 @@ void KFileDialog::slotOk()
}
else { // FIXME: remote directory, should we allow that?
-// qDebug( "**** Selected remote directory: %s", d->url.url().latin1());
+// tqDebug( "**** Selected remote directory: %s", d->url.url().latin1());
d->filenames = TQString::null;
d->urlList.clear();
d->urlList.append( d->url );
diff --git a/kio/kfile/kfileiconview.cpp b/kio/kfile/kfileiconview.cpp
index fec9158de..86bd5eeb2 100644
--- a/kio/kfile/kfileiconview.cpp
+++ b/kio/kfile/kfileiconview.cpp
@@ -783,7 +783,7 @@ void KFileIconView::initItem( KFileIconViewItem *item, const KFileItem *i,
else // Name or Unsorted
item->setKey( sortingKey( i->text(), i->isDir(), spec ));
- //qDebug("** key for: %s: %s", i->text().latin1(), item->key().latin1());
+ //tqDebug("** key for: %s: %s", i->text().latin1(), item->key().latin1());
if ( d->previews->isChecked() )
d->previewTimer.start( 10, true );
diff --git a/kio/kfile/kfilemetapreview.cpp b/kio/kfile/kfilemetapreview.cpp
index c8b89b5d6..d5a2d4019 100644
--- a/kio/kfile/kfilemetapreview.cpp
+++ b/kio/kfile/kfilemetapreview.cpp
@@ -49,14 +49,14 @@ void KFileMetaPreview::initPreviewProviders()
TQStringList::ConstIterator it = mimeTypes.begin();
for ( ; it != mimeTypes.end(); ++it )
{
-// qDebug(".... %s", (*it).latin1());
+// tqDebug(".... %s", (*it).latin1());
m_previewProviders.insert( *it, imagePreview );
}
}
KPreviewWidgetBase * KFileMetaPreview::previewProviderFor( const TQString& mimeType )
{
-// qDebug("### looking for: %s", mimeType.latin1());
+// tqDebug("### looking for: %s", mimeType.latin1());
// often the first highlighted item, where we can be sure, there is no plugin
// (this "folders reflect icons" is a konq-specific thing, right?)
if ( mimeType == "inode/directory" )
@@ -66,7 +66,7 @@ KPreviewWidgetBase * KFileMetaPreview::previewProviderFor( const TQString& mimeT
if ( provider )
return provider;
-//qDebug("#### didn't find anything for: %s", mimeType.latin1());
+//tqDebug("#### didn't find anything for: %s", mimeType.latin1());
if ( s_tryAudioPreview &&
!mimeType.startsWith("text/") && !mimeType.startsWith("image/") )
diff --git a/kio/kfile/tests/kfstest.cpp b/kio/kfile/tests/kfstest.cpp
index aeeb5b77b..db3f46e28 100644
--- a/kio/kfile/tests/kfstest.cpp
+++ b/kio/kfile/tests/kfstest.cpp
@@ -66,25 +66,25 @@ int main(int argc, char **argv)
else if (argv1 == TQString::fromLatin1("justone")) {
TQString name = KFileDialog::getOpenFileName(startDir);
- qDebug("filename=%s",name.latin1());
+ tqDebug("filename=%s",name.latin1());
}
else if (argv1 == TQString::fromLatin1("existingURL")) {
KURL url = KFileDialog::getExistingURL();
- qDebug("URL=%s",url.url().latin1());
+ tqDebug("URL=%s",url.url().latin1());
name1 = url.url();
}
else if (argv1 == TQString::fromLatin1("preview")) {
KURL u = KFileDialog::getImageOpenURL();
- qDebug("filename=%s", u.url().latin1());
+ tqDebug("filename=%s", u.url().latin1());
}
else if (argv1 == TQString::fromLatin1("preselect")) {
names = KFileDialog::getOpenFileNames(TQString::fromLatin1("/etc/passwd"));
TQStringList::Iterator it = names.begin();
while ( it != names.end() ) {
- qDebug("selected file: %s", (*it).latin1());
+ tqDebug("selected file: %s", (*it).latin1());
++it;
}
}
@@ -135,7 +135,7 @@ int main(int argc, char **argv)
// url.setPath( "/" );
// KURL selected = KDirSelectDialog::selectDirectory( url );
// name1 = selected.url();
-// qDebug("*** selected: %s", selected.url().latin1());
+// tqDebug("*** selected: %s", selected.url().latin1());
// }
else {
@@ -158,19 +158,19 @@ int main(int argc, char **argv)
if ( dlg.exec() == TQDialog::Accepted ) {
KURL::List list = dlg.selectedURLs();
KURL::List::ConstIterator it = list.begin();
- qDebug("*** selectedURLs(): ");
+ tqDebug("*** selectedURLs(): ");
while ( it != list.end() ) {
name1 = (*it).url();
- qDebug(" -> %s", name1.latin1());
+ tqDebug(" -> %s", name1.latin1());
++it;
}
- qDebug("*** selectedFile: %s", dlg.selectedFile().latin1());
- qDebug("*** selectedURL: %s", dlg.selectedURL().url().latin1());
- qDebug("*** selectedFiles: ");
+ tqDebug("*** selectedFile: %s", dlg.selectedFile().latin1());
+ tqDebug("*** selectedURL: %s", dlg.selectedURL().url().latin1());
+ tqDebug("*** selectedFiles: ");
TQStringList l = dlg.selectedFiles();
TQStringList::Iterator it2 = l.begin();
while ( it2 != l.end() ) {
- qDebug(" -> %s", (*it2).latin1());
+ tqDebug(" -> %s", (*it2).latin1());
++it2;
}
}
diff --git a/kio/kfile/tests/kurlrequestertest.cpp b/kio/kfile/tests/kurlrequestertest.cpp
index 9248eec5d..99af39814 100644
--- a/kio/kfile/tests/kurlrequestertest.cpp
+++ b/kio/kfile/tests/kurlrequestertest.cpp
@@ -7,7 +7,7 @@ int main( int argc, char **argv )
{
KApplication app( argc, argv, "kurlrequestertest" );
KURL url = KURLRequesterDlg::getURL( "ftp://ftp.kde.org" );
- qDebug( "Selected url: %s", url.url().latin1());
+ tqDebug( "Selected url: %s", url.url().latin1());
KURLRequester *req = new KURLRequester();
KEditListBox *el = new KEditListBox( TQString::fromLatin1("Test"), req->customEditor() );
diff --git a/kio/kio/kmimemagic.cpp b/kio/kio/kmimemagic.cpp
index 72b249249..e2c4c1fa7 100644
--- a/kio/kio/kmimemagic.cpp
+++ b/kio/kio/kmimemagic.cpp
@@ -1295,11 +1295,11 @@ mcheck(union VALUETYPE *p, struct magic *m)
return 0; /* NOTREACHED */
}
#if 0
- qDebug("Before signextend %08x", v);
+ tqDebug("Before signextend %08x", v);
#endif
v = signextend(m, v) & m->mask;
#if 0
- qDebug("After signextend %08x", v);
+ tqDebug("After signextend %08x", v);
#endif
switch (m->reln) {
diff --git a/kio/kio/kservice.cpp b/kio/kio/kservice.cpp
index 0c42904ee..b5d970291 100644
--- a/kio/kio/kservice.cpp
+++ b/kio/kio/kservice.cpp
@@ -284,11 +284,11 @@ KService::init( KDesktopFile *config )
// Store all additional entries in the property map.
// A TQMap<TQString,TQString> would be easier for this but we can't
// brake BC, so we have to store it in m_mapProps.
-// qWarning("Path = %s", entryPath().latin1());
+// tqWarning("Path = %s", entryPath().latin1());
TQMap<TQString,TQString>::ConstIterator it = entryMap.begin();
for( ; it != entryMap.end();++it)
{
- //qDebug(" Key = %s Data = %s", it.key().latin1(), it.data().latin1());
+ //tqDebug(" Key = %s Data = %s", it.key().latin1(), it.data().latin1());
TQString key = it.key();
if (kde4application && key=="OnlyShowIn" && it.data()=="KDE;")
key = "NotShowIn";
@@ -480,7 +480,7 @@ public:
KServiceReadProperty(const TQString &_key, const TQCString &_value)
: key(_key), value(_value) { }
- bool internalHasGroup(const TQCString &) const { /*qDebug("hasGroup(const TQCString &)");*/ return false; }
+ bool internalHasGroup(const TQCString &) const { /*tqDebug("hasGroup(const TQCString &)");*/ return false; }
TQStringList groupList() const { return TQStringList(); }
diff --git a/kio/kio/ktar.cpp b/kio/kio/ktar.cpp
index 687da26f5..9bde2873a 100644
--- a/kio/kio/ktar.cpp
+++ b/kio/kio/ktar.cpp
@@ -494,7 +494,7 @@ bool KTar::openArchive( int mode )
}
else
{
- //qDebug("Terminating. Read %d bytes, first one is %d", n, buffer[0]);
+ //tqDebug("Terminating. Read %d bytes, first one is %d", n, buffer[0]);
d->tarEnd = dev->at() - n; // Remember end of archive
ende = true;
}
diff --git a/kio/kio/kzip.cpp b/kio/kio/kzip.cpp
index a0bad4492..6241cc1ca 100644
--- a/kio/kio/kzip.cpp
+++ b/kio/kio/kzip.cpp
@@ -1091,13 +1091,13 @@ bool KZip::prepareWriting_impl(const TQString &name, const TQString &user,
//kdDebug(7040) << "prepareWriting reached." << endl;
if ( !isOpened() )
{
- qWarning( "KZip::writeFile: You must open the zip file before writing to it\n");
+ tqWarning( "KZip::writeFile: You must open the zip file before writing to it\n");
return false;
}
if ( ! ( mode() & IO_WriteOnly ) ) // accept WriteOnly and ReadWrite
{
- qWarning( "KZip::writeFile: You must open the zip file for writing\n");
+ tqWarning( "KZip::writeFile: You must open the zip file for writing\n");
return false;
}
diff --git a/kio/kio/slavebase.cpp b/kio/kio/slavebase.cpp
index 04d977009..6641f6e23 100644
--- a/kio/kio/slavebase.cpp
+++ b/kio/kio/slavebase.cpp
@@ -82,7 +82,7 @@ public:
SlaveBaseConfig(SlaveBase *_slave)
: slave(_slave) { }
- bool internalHasGroup(const TQCString &) const { qWarning("hasGroup(const TQCString &)");
+ bool internalHasGroup(const TQCString &) const { tqWarning("hasGroup(const TQCString &)");
return false; }
TQStringList groupList() const { return TQStringList(); }
diff --git a/kio/kssl/ksslpemcallback.cc b/kio/kssl/ksslpemcallback.cc
index bc314673c..2dfbb9146 100644
--- a/kio/kssl/ksslpemcallback.cc
+++ b/kio/kssl/ksslpemcallback.cc
@@ -40,7 +40,7 @@ int KSSLPemCallback(char *buf, int size, int rwflag, void *userdata) {
if (passlen > (unsigned int)size-1)
pass.truncate((unsigned int)size-1);
- qstrncpy(buf, pass.data(), size-1);
+ tqstrncpy(buf, pass.data(), size-1);
for (unsigned int i = 0; i < passlen; i++)
pass[i] = 0;
diff --git a/kio/misc/tdesasl/tdesasl.cpp b/kio/misc/tdesasl/tdesasl.cpp
index 37195faf3..ef0768f98 100644
--- a/kio/misc/tdesasl/tdesasl.cpp
+++ b/kio/misc/tdesasl/tdesasl.cpp
@@ -144,18 +144,18 @@ TQByteArray KDESasl::getDigestMd5Response(const TQByteArray &aChallenge)
while (d < aChallenge.size() && aChallenge[d] != ',') d++;
}
str = TQCString(aChallenge.data() + c, d - c + 1);
- if (qstrnicmp(aChallenge.data() + a, "realm=", 6) == 0) realm = str;
- else if (qstrnicmp(aChallenge.data() + a, "nonce=", 6) == 0) nonce = str;
- else if (qstrnicmp(aChallenge.data() + a, "qop=", 4) == 0) qop = str;
- else if (qstrnicmp(aChallenge.data() + a, "algorithm=", 10) == 0)
+ if (tqstrnicmp(aChallenge.data() + a, "realm=", 6) == 0) realm = str;
+ else if (tqstrnicmp(aChallenge.data() + a, "nonce=", 6) == 0) nonce = str;
+ else if (tqstrnicmp(aChallenge.data() + a, "qop=", 4) == 0) qop = str;
+ else if (tqstrnicmp(aChallenge.data() + a, "algorithm=", 10) == 0)
algorithm = str;
- else if (qstrnicmp(aChallenge.data() + a, "charset=", 8) == 0)
+ else if (tqstrnicmp(aChallenge.data() + a, "charset=", 8) == 0)
charset = str;
a = (d < aChallenge.size() && aChallenge[d] == '"') ? d + 2 : d + 1;
}
if (qop.isEmpty()) qop = "auth";
qop = "auth";
- bool utf8 = qstricmp(charset, "utf-8") == 0;
+ bool utf8 = tqstricmp(charset, "utf-8") == 0;
TQCString digestUri = TQCString(mProtocol.latin1()) + "/" + realm;
/* Calculate the response */
@@ -248,11 +248,11 @@ TQByteArray KDESasl::getBinaryResponse(const TQByteArray &aChallenge, bool aBase
KCodecs::base64Encode(getBinaryResponse(ba, false), ba);
return ba;
}
- if (qstricmp(mMethod, "PLAIN") == 0) return getPlainResponse();
- if (qstricmp(mMethod, "LOGIN") == 0) return getLoginResponse();
- if (qstricmp(mMethod, "CRAM-MD5") == 0)
+ if (tqstricmp(mMethod, "PLAIN") == 0) return getPlainResponse();
+ if (tqstricmp(mMethod, "LOGIN") == 0) return getLoginResponse();
+ if (tqstricmp(mMethod, "CRAM-MD5") == 0)
return getCramMd5Response(aChallenge);
- if (qstricmp(mMethod, "DIGEST-MD5") == 0)
+ if (tqstricmp(mMethod, "DIGEST-MD5") == 0)
return getDigestMd5Response(aChallenge);
// return getDigestMd5Response(TQCString("realm=\"elwood.innosoft.com\",nonce=\"OA6MG9tEQGm2hh\",qop=\"auth\",algorithm=md5-sess,charset=utf-8"));
return TQByteArray();
diff --git a/kio/tests/dummymeta.cpp b/kio/tests/dummymeta.cpp
index f0d1584c9..938b4d00b 100644
--- a/kio/tests/dummymeta.cpp
+++ b/kio/tests/dummymeta.cpp
@@ -8,12 +8,12 @@ DummyMeta::DummyMeta( TQObject *parent, const char *name,
const TQStringList &preferredItems )
: KFilePlugin( parent, name, preferredItems )
{
- qDebug("---- DummyMeta::DummyMeta: got %i preferred items.", preferredItems.count());
+ tqDebug("---- DummyMeta::DummyMeta: got %i preferred items.", preferredItems.count());
}
bool DummyMeta::readInfo( KFileMetaInfo::Internal & info )
{
- qDebug("#### DummyMeta:: readInfo: %s", info.path().latin1() );
+ tqDebug("#### DummyMeta:: readInfo: %s", info.path().latin1() );
return 0L;
}
diff --git a/kio/tests/jobtest.cpp b/kio/tests/jobtest.cpp
index c5dfba9d2..3ed748d90 100644
--- a/kio/tests/jobtest.cpp
+++ b/kio/tests/jobtest.cpp
@@ -151,7 +151,7 @@ static void setTimeStamp( const TQString& path )
utbuf.actime = tp.tv_sec - 30; // 30 seconds ago
utbuf.modtime = tp.tv_sec - 60; // 60 second ago
utime( TQFile::encodeName( path ), &utbuf );
- qDebug( "Time changed for %s", path.latin1() );
+ tqDebug( "Time changed for %s", path.latin1() );
#endif
}
diff --git a/kio/tests/kdcopcheck.cpp b/kio/tests/kdcopcheck.cpp
index b61dfd03d..7d373824e 100644
--- a/kio/tests/kdcopcheck.cpp
+++ b/kio/tests/kdcopcheck.cpp
@@ -64,17 +64,17 @@ void TestService::newApp(const TQCString &appId)
result = KService::DCOP_Multi;
stop();
}
- qWarning("Register %s", appId.data());
+ tqWarning("Register %s", appId.data());
}
void TestService::endApp(const TQCString &appId)
{
- qWarning("Unegister %s", appId.data());
+ tqWarning("Unegister %s", appId.data());
}
void TestService::appExit()
{
- qWarning("Exit");
+ tqWarning("Exit");
}
void TestService::stop()
@@ -97,7 +97,7 @@ int main(int argc, char *argv[])
KService::List list = KService::allServices();
- qWarning("I found %d services.", list.count());
+ tqWarning("I found %d services.", list.count());
int i = 0;
for(KService::List::ConstIterator it = list.begin(); it != list.end(); ++it)
{
@@ -121,12 +121,12 @@ int main(int argc, char *argv[])
else if (n == KService::DCOP_Multi)
result = "Multi";
- qWarning("%s %s", (*it)->desktopEntryPath().latin1(),
+ tqWarning("%s %s", (*it)->desktopEntryPath().latin1(),
result.latin1());
}
}
}
- qWarning("%d left after filtering.", i);
+ tqWarning("%d left after filtering.", i);
}
#include "kdcopcheck.moc"
diff --git a/kio/tests/kmfitest.cpp b/kio/tests/kmfitest.cpp
index 25e96759f..df37df997 100644
--- a/kio/tests/kmfitest.cpp
+++ b/kio/tests/kmfitest.cpp
@@ -17,10 +17,10 @@ int main (int argc, char **argv)
for (int i = 1; i < argc; i++) {
TQString file = TQFile::decodeName(argv[i]);
- qWarning("File: %s", file.local8Bit().data());
+ tqWarning("File: %s", file.local8Bit().data());
KMimeType::Ptr p;
p = KMimeType::findByPath(file);
- qWarning("Mime type (findByPath): %s", p->name().latin1());
+ tqWarning("Mime type (findByPath): %s", p->name().latin1());
KFileMetaInfo meta(file, TQString::null, KFileMetaInfo::TechnicalInfo | KFileMetaInfo::ContentInfo);
}
diff --git a/kio/tests/kmimetypetest.cpp b/kio/tests/kmimetypetest.cpp
index 1856e6036..5802a4084 100644
--- a/kio/tests/kmimetypetest.cpp
+++ b/kio/tests/kmimetypetest.cpp
@@ -29,9 +29,9 @@ static void checkIcon( const KURL& url, const TQString& expectedIcon )
{
TQString icon = KMimeType::iconForURL( url );
if ( icon == expectedIcon )
- qDebug( "icon for %s is %s, OK", url.prettyURL().latin1(), icon.latin1() );
+ tqDebug( "icon for %s is %s, OK", url.prettyURL().latin1(), icon.latin1() );
else {
- qDebug( "ERROR: icon for %s is %s, expected %s!", url.prettyURL().latin1(), icon.latin1(), expectedIcon.latin1() );
+ tqDebug( "ERROR: icon for %s is %s, expected %s!", url.prettyURL().latin1(), icon.latin1(), expectedIcon.latin1() );
exit(1);
}
}
@@ -65,11 +65,11 @@ int main( int argc, char** argv )
TQString pdf;
KMimeType::diagnoseFileName("foo.pdf", pdf);
- qDebug("extension: '%s'", pdf.latin1());
+ tqDebug("extension: '%s'", pdf.latin1());
assert(pdf == TQString("*.pdf"));
TQString ps;
KMimeType::diagnoseFileName("foo.ps", ps);
- qDebug("extension: '%s'", ps.latin1());
+ tqDebug("extension: '%s'", ps.latin1());
assert(ps == TQString("*.ps"));
return 0;
diff --git a/kio/tests/kscantest.cpp b/kio/tests/kscantest.cpp
index 9bc9d2ebc..347993af8 100644
--- a/kio/tests/kscantest.cpp
+++ b/kio/tests/kscantest.cpp
@@ -6,7 +6,7 @@ int main( int argc, char **argv )
KApplication app( argc, argv, "kscantest" );
KScanDialog *dlg = KScanDialog::getScanDialog();
if ( !dlg ) {
- qDebug("*** EEK, no Scan-service available, aborting!");
+ tqDebug("*** EEK, no Scan-service available, aborting!");
return 0;
}
diff --git a/kio/tests/ksycocatest.cpp b/kio/tests/ksycocatest.cpp
index 436ae7639..086836f37 100644
--- a/kio/tests/ksycocatest.cpp
+++ b/kio/tests/ksycocatest.cpp
@@ -71,19 +71,19 @@ int main(int argc, char *argv[])
TQCString instname = "kword";
TQString desktopPath = TQString::fromLatin1( "Office/%1.desktop" ).arg( instname );
- qDebug( "Looking for %s", desktopPath.latin1() );
+ tqDebug( "Looking for %s", desktopPath.latin1() );
KService::Ptr service = KService::serviceByDesktopPath( desktopPath );
if ( service )
- qDebug( "found: %s", service->desktopEntryPath().latin1() );
+ tqDebug( "found: %s", service->desktopEntryPath().latin1() );
else
- qDebug( "not found" );
+ tqDebug( "not found" );
- qDebug( "Looking for desktop name = %s", instname.data() );
+ tqDebug( "Looking for desktop name = %s", instname.data() );
service = KService::serviceByDesktopName( instname );
if ( service )
- qDebug( "found: %s", service->desktopEntryPath().latin1() );
+ tqDebug( "found: %s", service->desktopEntryPath().latin1() );
else
- qDebug( "not found" );
+ tqDebug( "not found" );
debug("Trying to look for text/plain");
KMimeType::Ptr s1 = KMimeType::mimeType("text/plain");
diff --git a/kio/tests/kurlcompletiontest.cpp b/kio/tests/kurlcompletiontest.cpp
index 612dab558..cd1919def 100644
--- a/kio/tests/kurlcompletiontest.cpp
+++ b/kio/tests/kurlcompletiontest.cpp
@@ -183,7 +183,7 @@ int main( int argc, char **argv )
test.testLocalURL();
test.teardown();
}
- qDebug( "All tests OK." );
+ tqDebug( "All tests OK." );
return 0;
}