summaryrefslogtreecommitdiffstats
path: root/src/app/mainwindow.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commitf1087d880d002e2f4bde6adad1592bda91460d12 (patch)
tree4299342b1275cda0c626877485a02fa8fdd7c1d5 /src/app/mainwindow.cpp
parentff8c66f117613688a0979d2296cbf6c778136419 (diff)
downloadgwenview-f1087d880d002e2f4bde6adad1592bda91460d12.tar.gz
gwenview-f1087d880d002e2f4bde6adad1592bda91460d12.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
}