diff options
Diffstat (limited to 'kio/kfile/tests')
-rw-r--r-- | kio/kfile/tests/kfstest.cpp | 22 | ||||
-rw-r--r-- | kio/kfile/tests/kurlrequestertest.cpp | 2 |
2 files changed, 12 insertions, 12 deletions
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() ); |