[Kde-bindings] [Bug 64504] qt 3.2.1 breaks kdebindings 3.1.4

Germain Garand germain at ebooksfrance.com
Mon Sep 22 18:07:44 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=64504     
germain at ebooksfrance.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From germain at ebooksfrance.com  2003-09-22 20:07 -------
Subject: KDE_3_1_BRANCH: kdebindings/smoke/qt

CVS commit by ggarand: 

fix libsmokeqt compilation with Qt-3.2.1

CCMAIL:64504-done at bugs.kde.org


  M +37 -6     x_QFont.cpp   1.13.2.2
  M +8 -0      x_QHBox.cpp   1.17.2.3
  M +5 -1      x_Qt.cpp   1.13.2.3


--- kdebindings/smoke/qt/x_QFont.cpp  #1.13.2.1:1.13.2.2
@@ -234,23 +234,54 @@ public:
     }
     static void x_75(Smoke::Stack x) {
+#if QT_VERSION < 0x030200
         x[0].s_enum = (long)QFont::HanX11;
+#else
+        x[0].s_enum = 0L;
+#endif
     }
     static void x_76(Smoke::Stack x) {
+#if QT_VERSION < 0x030200
         x[0].s_enum = (long)QFont::LatinBasic;
+#else
+        x[0].s_enum = 0L;
+#endif
+
     }
     static void x_77(Smoke::Stack x) {
+#if QT_VERSION < 0x030200
         x[0].s_enum = (long)QFont::LatinExtendedA_2;
+#else
+        x[0].s_enum = 0L;
+#endif
+
     }
     static void x_78(Smoke::Stack x) {
+#if QT_VERSION < 0x030200
         x[0].s_enum = (long)QFont::LatinExtendedA_3;
+#else
+        x[0].s_enum = 0L;
+#endif
+
     }
     static void x_79(Smoke::Stack x) {
+#if QT_VERSION < 0x030200
         x[0].s_enum = (long)QFont::LatinExtendedA_4;
+#else
+        x[0].s_enum = 0L;
+#endif
     }
     static void x_80(Smoke::Stack x) {
+#if QT_VERSION < 0x030200
         x[0].s_enum = (long)QFont::LatinExtendedA_14;
+#else
+        x[0].s_enum = 0L;
+#endif
     }
     static void x_81(Smoke::Stack x) {
+#if QT_VERSION < 0x030200
         x[0].s_enum = (long)QFont::LatinExtendedA_15;
+#else
+        x[0].s_enum = 0L;
+#endif
     }
     static void x_82(Smoke::Stack x) {

--- kdebindings/smoke/qt/x_QHBox.cpp  #1.17.2.2:1.17.2.3
@@ -144,5 +144,9 @@ public:
         x[0].s_class = (void*)xret;
     }
+#if QT_VERSION < 0x030200
     x_QHBox(bool x1, QWidget* x2) : QHBox(x1, x2) {
+#else
+    x_QHBox(bool x1, QWidget* x2) : QHBox(x1, x2, 0) { 
+#endif
     }
     static void x_22(Smoke::Stack x) {
@@ -151,5 +155,9 @@ public:
         x[0].s_class = (void*)xret;
     }
+#if QT_VERSION < 0x030200
     x_QHBox(bool x1) : QHBox(x1) {
+#else
+    x_QHBox(bool x1) : QHBox(x1, 0, 0) {
+#endif
     }
     void x_23(Smoke::Stack x) {

--- kdebindings/smoke/qt/x_Qt.cpp  #1.13.2.2:1.13.2.3
@@ -156,5 +156,9 @@ public:
     }
     static void x_49(Smoke::Stack x) {
-        x[0].s_enum = (long)Qt::WState_Reserved2;
+#if QT_VERSION < 0x030200
+        x[0].s_enum = (long) Qt::WState_Reserved2;
+#else
+        x[0].s_enum = (long) Qt::WState_OwnSizePolicy;
+#endif
     }
     static void x_50(Smoke::Stack x) {


More information about the Kde-bindings mailing list