summaryrefslogtreecommitdiffstats
path: root/src/app/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/mainwindow.cpp')
-rw-r--r--src/app/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp
index d8da0bb..04b4c02 100644
--- a/src/app/mainwindow.cpp
+++ b/src/app/mainwindow.cpp
@@ -139,7 +139,7 @@ const int HISTORY_MAX_COUNT=20;
enum { StackIDBrowse, StackIDView };
-static bool urlIsDirectory(TQWidget* tqparent, const KURL& url) {
+static bool urlIsDirectory(TQWidget* parent, const KURL& url) {
if( url.filename( false ).isEmpty()) return true; // file:/somewhere/<nothing here>
// Do direct stat instead of using KIO if the file is local (faster)
if( url.isLocalFile()
@@ -150,7 +150,7 @@ static bool urlIsDirectory(TQWidget* tqparent, const KURL& url) {
}
}
KIO::UDSEntry entry;
- if( KIO::NetAccess::stat( url, entry, tqparent)) {
+ if( KIO::NetAccess::stat( url, entry, parent)) {
KIO::UDSEntry::ConstIterator it;
for(it=entry.begin();it!=entry.end();++it) {
if ((*it).m_uds==KIO::UDS_FILE_TYPE) {
@@ -715,7 +715,7 @@ void MainWindow::slotDirRenamed(const KURL& oldURL, const KURL& newURL) {
KURL url(mFileViewController->dirURL());
if (!oldURL.isParentOf(url) ) {
- LOG(oldURL.prettyURL() << " is not a tqparent of " << url.prettyURL());
+ LOG(oldURL.prettyURL() << " is not a parent of " << url.prettyURL());
return;
}