You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.5 KiB
59 lines
1.5 KiB
--- 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.
|
|
*/
|