[Uml-devel] kdesdk/umbrello/umbrello

Jonathan Riddell jri at jriddell.org
Sat Sep 20 17:31:22 UTC 2003


CVS commit by jriddell: 

replace QT_VERSION with KDE_IS_VERSION after dfaure pointed out that
KLineEditDlg depends on KDE libs and not, of course, on Qt libs


  M +3 -1      activitywidget.cpp   1.12
  M +3 -1      statewidget.cpp   1.12
  M +2 -1      stereotype.cpp   1.4
  M +2 -2      uml.cpp   1.62


--- kdesdk/umbrello/umbrello/activitywidget.cpp  #1.11:1.12
@@ -12,5 +12,7 @@
 #include "listpopupmenu.h"
 #include "dialogs/activitydialog.h"
-#if QT_VERSION < 0x030200
+
+#include <kdeversion.h>
+#if !KDE_IS_VERSION(3,1,90)
 # include <klineeditdlg.h>  //deprecated
 # define KInputDialog       KLineEditDlg

--- kdesdk/umbrello/umbrello/statewidget.cpp  #1.11:1.12
@@ -9,5 +9,7 @@
 
 #include "statewidget.h"
-#if QT_VERSION < 0x030200
+
+#include <kdeversion.h>
+#if !KDE_IS_VERSION(3,1,90)
 # include <klineeditdlg.h>  //deprecated
 # define KInputDialog       KLineEditDlg

--- kdesdk/umbrello/umbrello/stereotype.cpp  #1.3:1.4
@@ -11,6 +11,7 @@
 #include "stereotype.h"
 
+#include <kdeversion.h>
 #include <klocale.h>
-#if QT_VERSION < 0x030200
+#if !KDE_IS_VERSION(3,1,90)
 # include <klineeditdlg.h>  //deprecated
 # define KInputDialog       KLineEditDlg






More information about the umbrello-devel mailing list