summaryrefslogtreecommitdiffstats
path: root/umbrello
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:58:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:58:24 -0600
commitb49dd7506883d2c41563bca9398959863e919b35 (patch)
tree788f8fc46143cc865e6d3727e289262d492d7f7b /umbrello
parent5ecec3ee7cd155970fce827878c3ecda701be4dc (diff)
downloadtdesdk-b49dd7506883d2c41563bca9398959863e919b35.tar.gz
tdesdk-b49dd7506883d2c41563bca9398959863e919b35.zip
Rename KDE_VERSION to TDE_VERSION
Diffstat (limited to 'umbrello')
-rw-r--r--umbrello/umbrello/codeimport/kdevcppparser/urlutil.cpp6
-rw-r--r--umbrello/umbrello/uml.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/umbrello/umbrello/codeimport/kdevcppparser/urlutil.cpp b/umbrello/umbrello/codeimport/kdevcppparser/urlutil.cpp
index b6c55a61..92886e07 100644
--- a/umbrello/umbrello/codeimport/kdevcppparser/urlutil.cpp
+++ b/umbrello/umbrello/codeimport/kdevcppparser/urlutil.cpp
@@ -31,7 +31,7 @@
#include <stdlib.h>
#include <kdeversion.h>
-#if (KDE_VERSION_MINOR==0) && (KDE_VERSION_MAJOR==3)
+#if (TDE_VERSION_MINOR==0) && (TDE_VERSION_MAJOR==3)
#include <kdevkurl.h>
#endif
@@ -129,7 +129,7 @@ TQString URLUtil::extractPathNameRelative(const KURL &baseDirUrl, const KURL &ur
TQString URLUtil::extractPathNameRelative(const TQString &basePath, const KURL &url )
{
-#if (KDE_VERSION_MINOR!=0) || (KDE_VERSION_MAJOR!=3)
+#if (TDE_VERSION_MINOR!=0) || (TDE_VERSION_MAJOR!=3)
KURL baseDirUrl = KURL::fromPathOrURL( basePath );
#else
KURL baseDirUrl = KdevKURL::fromPathOrURL( basePath );
@@ -141,7 +141,7 @@ TQString URLUtil::extractPathNameRelative(const TQString &basePath, const KURL &
TQString URLUtil::extractPathNameRelative(const TQString &basePath, const TQString &absFilePath )
{
-#if (KDE_VERSION_MINOR!=0) || (KDE_VERSION_MAJOR!=3)
+#if (TDE_VERSION_MINOR!=0) || (TDE_VERSION_MAJOR!=3)
KURL baseDirUrl = KURL::fromPathOrURL( basePath ),
fileUrl = KURL::fromPathOrURL( absFilePath );
#else
diff --git a/umbrello/umbrello/uml.cpp b/umbrello/umbrello/uml.cpp
index 91986427..8a305952 100644
--- a/umbrello/umbrello/uml.cpp
+++ b/umbrello/umbrello/uml.cpp
@@ -261,7 +261,7 @@ void UMLApp::initActions() {
TQT_TQOBJECT(this), TQT_SLOT( slotCurrentViewToggleSnapToGrid() ), actionCollection(), "view_snap_to_grid");
viewShowGrid = new KToggleAction(i18n("S&how Grid"), 0,
TQT_TQOBJECT(this), TQT_SLOT( slotCurrentViewToggleShowGrid() ), actionCollection(), "view_show_grid");
-#if (KDE_VERSION_MINOR>=3) && (KDE_VERSION_MAJOR>=3)
+#if (TDE_VERSION_MINOR>=3) && (TDE_VERSION_MAJOR>=3)
viewShowGrid->setCheckedState(i18n("&Hide Grid"));
#endif
deleteDiagram = new KAction(i18n("&Delete"), SmallIconSet("editdelete"), 0,