]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/portabase/portabase-1.9/qtversion.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / portabase / portabase-1.9 / qtversion.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- /dev/null
7 +++ portabase/packages/portabase/portabase-1.9/qtversion.patch
8 @@ -0,0 +1,49 @@
9 +
10 +#
11 +# Patch managed by http://www.holgerschurig.de/patcher.html
12 +#
13 +
14 +--- portabase/datewidget.cpp~qtversion.patch
15 ++++ portabase/datewidget.cpp
16 +@@ -21,7 +21,7 @@
17 + #include "desktop/resource.h"
18 + #endif
19
20 +-#if QT_VERSION >= 300
21 ++#if QT_VERSION >= 0x030000
22 + #include "desktop/QtaDatePicker.h"
23 + #else
24 + #include "QtaDatePicker.h"
25 +--- portabase/metakitfuncs.cpp~qtversion.patch
26 ++++ portabase/metakitfuncs.cpp
27 +@@ -19,7 +19,7 @@
28
29 + int compareStrings(const QString &s1, const QString &s2)
30 + {
31 +-#if QT_VERSION >= 300
32 ++#if QT_VERSION >= 0x030000
33 +     return s1.localeAwareCompare(s2);
34 + #else
35 +     // do the right thing for null and empty
36 +--- portabase/roweditor.cpp~qtversion.patch
37 ++++ portabase/roweditor.cpp
38 +@@ -26,7 +26,7 @@
39 + #include "roweditor.h"
40 + #include "timewidget.h"
41
42 +-#if QT_VERSION >= 300
43 ++#if QT_VERSION >= 0x030000
44 + #include "desktop/dynamicedit.h"
45 + #else
46 + #include "dynamicedit.h"
47 +--- portabase/shadedlistitem.cpp~qtversion.patch
48 ++++ portabase/shadedlistitem.cpp
49 +@@ -45,7 +45,7 @@
50 + void ShadedListItem::paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int alignment)
51 + {
52 +     QColorGroup colors(cg);
53 +-#if QT_VERSION >=300
54 ++#if QT_VERSION >= 0x030000
55 +     const QWidget::BackgroundMode bgmode = lv->viewport()->backgroundMode();
56 +     const QColorGroup::ColorRole crole = QPalette::backgroundRoleFromMode(bgmode);
57 + #else
58 --- portabase/datewidget.cpp~qtversion
59 +++ portabase/datewidget.cpp
60 @@ -21,7 +21,7 @@
61  #include "desktop/resource.h"
62  #endif
63  
64 -#if QT_VERSION >= 300
65 +#if QT_VERSION >= 0x030000
66  #include "desktop/QtaDatePicker.h"
67  #else
68  #include "QtaDatePicker.h"
69 --- portabase/roweditor.cpp~qtversion
70 +++ portabase/roweditor.cpp
71 @@ -26,7 +26,7 @@
72  #include "roweditor.h"
73  #include "timewidget.h"
74  
75 -#if QT_VERSION >= 300
76 +#if QT_VERSION >= 0x030000
77  #include "desktop/dynamicedit.h"
78  #else
79  #include "dynamicedit.h"
80 --- portabase/shadedlistitem.cpp~qtversion
81 +++ portabase/shadedlistitem.cpp
82 @@ -45,7 +45,7 @@
83  void ShadedListItem::paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int alignment)
84  {
85      QColorGroup colors(cg);
86 -#if QT_VERSION >=300
87 +#if QT_VERSION >= 0x030000
88      const QWidget::BackgroundMode bgmode = lv->viewport()->backgroundMode();
89      const QColorGroup::ColorRole crole = QPalette::backgroundRoleFromMode(bgmode);
90  #else
91 --- portabase/metakitfuncs.cpp~qtversion
92 +++ portabase/metakitfuncs.cpp
93 @@ -19,7 +19,7 @@
94  
95  int compareStrings(const QString &s1, const QString &s2)
96  {
97 -#if QT_VERSION >= 300
98 +#if QT_VERSION >= 0x030000
99      return s1.localeAwareCompare(s2);
100  #else
101      // do the right thing for null and empty