diff options
Diffstat (limited to 'lib/util/urlutil.h')
-rw-r--r-- | lib/util/urlutil.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/urlutil.h b/lib/util/urlutil.h index 4a063961..d8119292 100644 --- a/lib/util/urlutil.h +++ b/lib/util/urlutil.h @@ -118,10 +118,10 @@ namespace URLUtil * If baseDirUrl == url.path() then it will return ".". * @code * KURL baseUrl, dirUrl; - * baseUrl.setPath( "/home/mario/src/kdevelop/" ); - * dirUrl.setPath( "/home/mario/src/kdevelop/parts/cvs/" ); + * baseUrl.setPath( "/home/mario/src/tdevelop/" ); + * dirUrl.setPath( "/home/mario/src/tdevelop/parts/cvs/" ); * TQString relPathName = extractDirPathRelative( baseUrl, url ); // == "parts/cvs/" - * TQString absPathName = extractDirPathAbsolute( url ); // == "/home/mario/src/kdevelop/parts/cvs/" + * TQString absPathName = extractDirPathAbsolute( url ); // == "/home/mario/src/tdevelop/parts/cvs/" * @endcode * Note that if you pass a file name in @p url (instead of a directory) or the * @p baseUrl is not contained in @p url then the function will return "" (void string). |