diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:33:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:33:40 -0600 |
commit | 4fb897b216c41c13f128c71bcc66f60e2dc601c4 (patch) | |
tree | 2891b54cd6ec39db133da0110028ec93fc006751 /kio/kfile | |
parent | 8fc8811ef6079a15decd33f1ea5d95dd718e4557 (diff) | |
download | tdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.tar.gz tdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.zip |
Rename additional global TQt functions
Diffstat (limited to 'kio/kfile')
-rw-r--r-- | kio/kfile/kdirselectdialog.cpp | 4 | ||||
-rw-r--r-- | kio/kfile/kfiledialog.cpp | 2 | ||||
-rw-r--r-- | kio/kfile/kfileiconview.cpp | 2 | ||||
-rw-r--r-- | kio/kfile/kfilemetapreview.cpp | 6 | ||||
-rw-r--r-- | kio/kfile/tests/kfstest.cpp | 22 | ||||
-rw-r--r-- | kio/kfile/tests/kurlrequestertest.cpp | 2 |
6 files changed, 19 insertions, 19 deletions
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() ); |