summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-12-06 21:23:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-12-06 21:24:20 +0900
commit4f99f868f09bbffa2e15733b8b7c78eba07a199e (patch)
tree3fb0957e93160f69f55942fff50a2ad496bf4f4c /tdecore
parent19f44e5ff3756172540e768fc0d08d761f0c374e (diff)
downloadtdelibs-4f99f868f09bbffa2e15733b8b7c78eba07a199e.tar.gz
tdelibs-4f99f868f09bbffa2e15733b8b7c78eba07a199e.zip
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/tdeglobalsettings.h2
-rw-r--r--tdecore/tests/kurltest.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/tdeglobalsettings.h b/tdecore/tdeglobalsettings.h
index 74b0d77a8..7a359b60e 100644
--- a/tdecore/tdeglobalsettings.h
+++ b/tdecore/tdeglobalsettings.h
@@ -238,7 +238,7 @@ class TDECORE_EXPORT TDEGlobalSettings
* Use TDEIO::trash() to trash files, "trash:/" to list the trash contents.
*/
static TQString trashPath() { initPaths(); return *s_trashPath; }
- // KDE4: if you want to remove the above, move it to kdesktop/init.cc, which needs
+ // KDE4: if you want to remove the above, move it to kdesktop/init.cpp, which needs
// to know the old location of the trash
/**
diff --git a/tdecore/tests/kurltest.cpp b/tdecore/tests/kurltest.cpp
index 0f57dd97c..081fdad55 100644
--- a/tdecore/tests/kurltest.cpp
+++ b/tdecore/tests/kurltest.cpp
@@ -271,14 +271,14 @@ int main(int argc, char *argv[])
#if 0
// This URL is broken, '#' should be escaped.
- u1 = "file:/home/dfaure/cdrdao-1.1.5/dao/#CdrDriver.cc#";
+ u1 = "file:/home/dfaure/cdrdao-1.1.5/dao/#CdrDriver.cpp#";
url1 = u1;
- check("KURL::url()", url1.url(), "file:///home/dfaure/cdrdao-1.1.5/dao/#CdrDriver.cc#");
+ check("KURL::url()", url1.url(), "file:///home/dfaure/cdrdao-1.1.5/dao/#CdrDriver.cpp#");
check("KURL::hasRef()", url1.hasRef() ? "yes" : "no", "no");
check("KURL::hasHTMLRef()", url1.hasHTMLRef() ? "yes" : "no", "no");
check("KURL::htmlRef()", url1.htmlRef(), "");
check("KURL::hasSubURL()", url1.hasSubURL() ? "yes" : "no", "yes");
- check("KURL::prettyURL()", url1.upURL().url(), "file:///home/dfaure/cdrdao-1.1.5/dao/#CdrDriver.cc#");
+ check("KURL::prettyURL()", url1.upURL().url(), "file:///home/dfaure/cdrdao-1.1.5/dao/#CdrDriver.cpp#");
#endif
u1 = "file:/home/dfaure/my%20tar%20file.tgz#gzip:/#tar:/README";
@@ -382,7 +382,7 @@ int main(int argc, char *argv[])
check("KURL::setFileName()", u2.url(), "file:///home/dfaure/myfile.txt");
u2.setFileName( "myotherfile.txt" );
check("KURL::setFileName()", u2.url(), "file:///home/dfaure/myotherfile.txt");
- // more tricky, renaming a directory (kpropsdlg.cc, line ~ 238)
+ // more tricky, renaming a directory (kpropsdlg.cpp, line ~ 238)
TQString tmpurl = "file:/home/dfaure/myolddir/";
if ( tmpurl.at(tmpurl.length() - 1) == '/')
// It's a directory, so strip the trailing slash first