blob: 5b7526ecc78be29292b8b977da830e288bca0af3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff -ru amarok-2.0.2.org/src/scriptengine/generator/generator/shellimplgenerator.cpp amarok-2.0.2.patched/src/scriptengine/generator/generator/shellimplgenerator.cpp
--- amarok-2.0.2.org/src/scriptengine/generator/generator/shellimplgenerator.cpp 2009-01-06 13:50:14.000000000 +0100
+++ amarok-2.0.2.patched/src/scriptengine/generator/generator/shellimplgenerator.cpp 2009-02-20 11:26:14.000000000 +0100
@@ -105,6 +105,7 @@
declareFunctionMetaTypes(s, functions, registeredTypeNames);
s << endl;
}
+ writeInjectedCode(s, meta_class);
// write constructors
foreach (const AbstractMetaFunction *ctor, ctors) {
diff -ru amarok-2.0.2.org/src/scriptengine/generator/generator/typesystem_gui.xml amarok-2.0.2.patched/src/scriptengine/generator/generator/typesystem_gui.xml
--- amarok-2.0.2.org/src/scriptengine/generator/generator/typesystem_gui.xml 2009-01-06 13:50:14.000000000 +0100
+++ amarok-2.0.2.patched/src/scriptengine/generator/generator/typesystem_gui.xml 2009-02-20 11:26:08.000000000 +0100
@@ -5389,8 +5389,13 @@
<object-type name="QInputContextPlugin"/>
<object-type name="QPictureFormatPlugin"/>
<object-type name="QStylePlugin"/>
- <object-type name="QTextCodecPlugin"/>
-
+
+ <object-type name="QTextCodecPlugin">
+ <inject-code class="shell" position="beginning">
+Q_DECLARE_METATYPE(QList<int>)
+ </inject-code>
+ </object-type>
+
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QPixmap::QPixmap', unmatched parameter type 'QPixmapData*'"/>
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private&'"/>
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private\*'"/>
|