summaryrefslogtreecommitdiffstats
path: root/arch/calvin/trinity-qt3/old-patches/qt3_3.3.8c.arch.diff
diff options
context:
space:
mode:
authormutantturkey <crazycal00@gmail.com>2011-09-09 16:33:33 -0400
committermutantturkey <crazycal00@gmail.com>2011-09-09 16:33:33 -0400
commit1b2e638684ebbf2b777ead2fbbb4b69f3ac00bcb (patch)
treed8f1118c540008015e042caec1dbe52aa93c46c8 /arch/calvin/trinity-qt3/old-patches/qt3_3.3.8c.arch.diff
parent688262143652290b8fa3693b592359a0f0b54c55 (diff)
downloadtde-packaging-1b2e638684ebbf2b777ead2fbbb4b69f3ac00bcb.tar.gz
tde-packaging-1b2e638684ebbf2b777ead2fbbb4b69f3ac00bcb.zip
started working on Qt3, made my own folder, when work is done, I will bring it into the main branch
Diffstat (limited to 'arch/calvin/trinity-qt3/old-patches/qt3_3.3.8c.arch.diff')
-rw-r--r--arch/calvin/trinity-qt3/old-patches/qt3_3.3.8c.arch.diff72
1 files changed, 72 insertions, 0 deletions
diff --git a/arch/calvin/trinity-qt3/old-patches/qt3_3.3.8c.arch.diff b/arch/calvin/trinity-qt3/old-patches/qt3_3.3.8c.arch.diff
new file mode 100644
index 000000000..39c751a71
--- /dev/null
+++ b/arch/calvin/trinity-qt3/old-patches/qt3_3.3.8c.arch.diff
@@ -0,0 +1,72 @@
+--- include/qobject.h 2008-01-15 13:09:13.000000000 -0600
++++ include/qobject.h 2011-01-01 18:33:19.715656496 -0600
+@@ -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/kernel/qobject.cpp 2008-01-15 13:09:13.000000000 -0600
++++ src/kernel/qobject.cpp 2011-01-01 18:28:16.191270264 -0600
+@@ -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 2008-01-15 13:09:13.000000000 -0600
++++ src/kernel/qobject.h 2011-01-01 18:33:19.715656496 -0600
+@@ -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 2008-01-15 21:09:13.000000000 +0200
++++ src/tools/qglobal.h 2011-03-15 00:28:11.221711757 +0200
+@@ -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.
+ */