diff options
Diffstat (limited to 'umbrello/umbrello/codeimport/kdevcppparser/urlutil.cpp')
| -rw-r--r-- | umbrello/umbrello/codeimport/kdevcppparser/urlutil.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/umbrello/umbrello/codeimport/kdevcppparser/urlutil.cpp b/umbrello/umbrello/codeimport/kdevcppparser/urlutil.cpp index a9ce6789..d63fb635 100644 --- a/umbrello/umbrello/codeimport/kdevcppparser/urlutil.cpp +++ b/umbrello/umbrello/codeimport/kdevcppparser/urlutil.cpp @@ -30,11 +30,6 @@ #include <limits.h> #include <stdlib.h> -#include <tdeversion.h> -#if (TDE_VERSION_MINOR==0) && (TDE_VERSION_MAJOR==3) -#include <kdevkurl.h> -#endif - /////////////////////////////////////////////////////////////////////////////// // Namespace URLUtil /////////////////////////////////////////////////////////////////////////////// @@ -129,11 +124,7 @@ TQString URLUtil::extractPathNameRelative(const KURL &baseDirUrl, const KURL &ur TQString URLUtil::extractPathNameRelative(const TQString &basePath, const KURL &url ) { -#if (TDE_VERSION_MINOR!=0) || (TDE_VERSION_MAJOR!=3) KURL baseDirUrl = KURL::fromPathOrURL( basePath ); -#else - KURL baseDirUrl = KdevKURL::fromPathOrURL( basePath ); -#endif return extractPathNameRelative( baseDirUrl, url ); } @@ -141,13 +132,8 @@ TQString URLUtil::extractPathNameRelative(const TQString &basePath, const KURL & TQString URLUtil::extractPathNameRelative(const TQString &basePath, const TQString &absFilePath ) { -#if (TDE_VERSION_MINOR!=0) || (TDE_VERSION_MAJOR!=3) KURL baseDirUrl = KURL::fromPathOrURL( basePath ), fileUrl = KURL::fromPathOrURL( absFilePath ); -#else - KURL baseDirUrl = KdevKURL::fromPathOrURL( basePath ), - fileUrl = KdevKURL::fromPathOrURL( absFilePath ); -#endif return extractPathNameRelative( baseDirUrl, fileUrl ); } |
