[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
Oliver.Kellogg at t-online.de
Tue Sep 16 15:24:07 UTC 2003
CVS commit by okellogg:
Umbrello is usable without kdesdk and Qt 3.2.
M +6 -2 activitywidget.cpp 1.11
M +7 -2 statewidget.cpp 1.11
M +6 -1 stereotype.cpp 1.3
--- kdesdk/umbrello/umbrello/activitywidget.cpp #1.10:1.11
@@ -12,6 +12,10 @@
#include "listpopupmenu.h"
#include "dialogs/activitydialog.h"
-
-#include <kinputdialog.h>
+#if QT_VERSION < 0x030200
+# include <klineeditdlg.h> //deprecated
+# define KInputDialog KLineEditDlg
+#else
+# include <kinputdialog.h>
+#endif
#include <klocale.h>
#include <qpainter.h>
--- kdesdk/umbrello/umbrello/statewidget.cpp #1.10:1.11
@@ -8,5 +8,11 @@
***************************************************************************/
-#include <kinputdialog.h>
+#include "statewidget.h"
+#if QT_VERSION < 0x030200
+# include <klineeditdlg.h> //deprecated
+# define KInputDialog KLineEditDlg
+#else
+# include <kinputdialog.h>
+#endif
#include <klocale.h>
#include <kdebug.h>
@@ -14,5 +20,4 @@
#include "umlview.h"
#include "dialogs/statedialog.h"
-#include "statewidget.h"
#include "listpopupmenu.h"
--- kdesdk/umbrello/umbrello/stereotype.cpp #1.2:1.3
@@ -12,5 +12,10 @@
#include <klocale.h>
-#include <kinputdialog.h>
+#if QT_VERSION < 0x030200
+# include <klineeditdlg.h> //deprecated
+# define KInputDialog KLineEditDlg
+#else
+# include <kinputdialog.h>
+#endif
#include <kdebug.h>
More information about the umbrello-devel
mailing list