summaryrefslogtreecommitdiffstats
path: root/opensuse/core/qt3/qt-3.3.8c.diff
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2011-11-12 18:13:39 -0500
committerRobert Xu <robxu9@gmail.com>2011-11-12 18:13:39 -0500
commitcd1f97695be1245ab19058d4fbc34e5697cc5383 (patch)
treeb265d96856632dc78e566d337f7eff254b6695f7 /opensuse/core/qt3/qt-3.3.8c.diff
parent21fcfa3348213aa87f0e3aef62ca4720c6d31cb7 (diff)
downloadtde-packaging-cd1f97695be1245ab19058d4fbc34e5697cc5383.tar.gz
tde-packaging-cd1f97695be1245ab19058d4fbc34e5697cc5383.zip
fix up tdebase and add qt3
Diffstat (limited to 'opensuse/core/qt3/qt-3.3.8c.diff')
-rw-r--r--opensuse/core/qt3/qt-3.3.8c.diff58
1 files changed, 58 insertions, 0 deletions
diff --git a/opensuse/core/qt3/qt-3.3.8c.diff b/opensuse/core/qt3/qt-3.3.8c.diff
new file mode 100644
index 000000000..860e99e4b
--- /dev/null
+++ b/opensuse/core/qt3/qt-3.3.8c.diff
@@ -0,0 +1,58 @@
+--- src/kernel/qobject.cpp
++++ src/kernel/qobject.cpp
+@@ -360,6 +360,30 @@
+ }
+ }
+
++/*! \internal
++ TQt compatibility function
++*/
++QObjectList QObject::childrenListObject() {
++ if (children()) return *(children());
++ else return QObjectList();
++}
++
++/*! \internal
++ TQt compatibility function
++*/
++const QObjectList QObject::childrenListObject() const {
++ if (children()) return *(children());
++ else return QObjectList();
++}
++
++/*! \internal
++ TQt compatibility function
++*/
++const QObjectList QObject::objectTreesListObject() {
++ if (objectTrees()) return *(objectTrees());
++ else return QObjectList();
++}
++
+
+ /*****************************************************************************
+ QObject member functions
+--- src/kernel/qobject.h
++++ src/kernel/qobject.h
+@@ -101,8 +101,11 @@
+
+ QObject *child( const char *objName, const char *inheritsClass = 0, bool recursiveSearch = TRUE ); //### const in 4.0
+ const QObjectList *children() const { return childObjects; }
++ QObjectList childrenListObject();
++ const QObjectList childrenListObject() const;
+
+ static const QObjectList *objectTrees();
++ static const QObjectList objectTreesListObject();
+
+ QObjectList *queryList( const char *inheritsClass = 0,
+ const char *objName = 0,
+--- src/tools/qglobal.h
++++ src/tools/qglobal.h
+@@ -41,7 +41,7 @@
+ #ifndef QGLOBAL_H
+ #define QGLOBAL_H
+
+-#define QT_VERSION_STR "3.3.8b"
++#define QT_VERSION_STR "3.3.8c"
+ /*
+ QT_VERSION is (major << 16) + (minor << 8) + patch.
+ */