summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-11-11 14:59:38 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-11-11 14:59:38 (GMT)
commitf956531f06faa212e9f93f1795a547a2371f4ae3 (patch)
tree5a09c66f39e408299bd351abbc0acfdd25cf8f9c /src/tools
parent064c8c65d2294d8d494ffc3553180fcc6f53a4be (diff)
downloadQt-f956531f06faa212e9f93f1795a547a2371f4ae3.zip
Qt-f956531f06faa212e9f93f1795a547a2371f4ae3.tar.gz
Qt-f956531f06faa212e9f93f1795a547a2371f4ae3.tar.bz2
uic3: Fix compilation
The uic.h/cpp files exist in duplicate due to QDomDocument being used in uic3 and QXmlStreamReader in uic. Reviewed-by: Jarek Kobus <jkobus@trolltech.com>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/uic3/uic.cpp5
-rw-r--r--src/tools/uic3/uic.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/uic3/uic.cpp b/src/tools/uic3/uic.cpp
index 7872866..6761eaf 100644
--- a/src/tools/uic3/uic.cpp
+++ b/src/tools/uic3/uic.cpp
@@ -322,6 +322,11 @@ bool Uic::isContainer(const QString &className) const
|| customWidgetsInfo()->extends(className, QLatin1String("QDockWidget"));
}
+bool Uic::isCustomWidgetContainer(const QString &className) const
+{
+ return customWidgetsInfo()->isCustomWidgetContainer(className);
+}
+
bool Uic::isStatusBar(const QString &className) const
{
return customWidgetsInfo()->extends(className, QLatin1String("QStatusBar"));
diff --git a/src/tools/uic3/uic.h b/src/tools/uic3/uic.h
index 50aa71c..63a1f8d 100644
--- a/src/tools/uic3/uic.h
+++ b/src/tools/uic3/uic.h
@@ -114,6 +114,7 @@ public:
bool isStatusBar(const QString &className) const;
bool isButton(const QString &className) const;
bool isContainer(const QString &className) const;
+ bool isCustomWidgetContainer(const QString &className) const;
bool isMenuBar(const QString &className) const;
bool isMenu(const QString &className) const;