summaryrefslogtreecommitdiffstats
path: root/kio/kfile/tests/kfstest.cpp
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/kfile/tests/kfstest.cpp
parent8fc8811ef6079a15decd33f1ea5d95dd718e4557 (diff)
downloadtdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.tar.gz
tdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.zip
Rename additional global TQt functions
Diffstat (limited to 'kio/kfile/tests/kfstest.cpp')
-rw-r--r--kio/kfile/tests/kfstest.cpp22
1 files changed, 11 insertions, 11 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;
}
}