diff options
author | Norwegian Rock Cat <qt-info@nokia.com> | 2009-06-18 14:44:40 (GMT) |
---|---|---|
committer | Norwegian Rock Cat <qt-info@nokia.com> | 2009-06-23 14:12:00 (GMT) |
commit | 9205078f3b2d842735599fd74d6324a4d84bc275 (patch) | |
tree | 463912fffbb3848fbb0abf3b08f69f3be53799e5 /src/gui/widgets/qdockwidget.cpp | |
parent | 1b059b51b6d236ace4ec8c5203873caae250cf78 (diff) | |
download | Qt-9205078f3b2d842735599fd74d6324a4d84bc275.zip Qt-9205078f3b2d842735599fd74d6324a4d84bc275.tar.gz Qt-9205078f3b2d842735599fd74d6324a4d84bc275.tar.bz2 |
Clean up the font hash and palette hash stuff.
These are used enough (at least on the mac) to justify them being
accessible in a private header. As a bonus it "hides" the actual
container being used, so we could potentially sway it out with something
different.
Reviewed by: Jens Bache-Wiig
Diffstat (limited to 'src/gui/widgets/qdockwidget.cpp')
-rw-r--r-- | src/gui/widgets/qdockwidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/qdockwidget.cpp b/src/gui/widgets/qdockwidget.cpp index cf259fb..4350520 100644 --- a/src/gui/widgets/qdockwidget.cpp +++ b/src/gui/widgets/qdockwidget.cpp @@ -59,6 +59,7 @@ #include "qdockwidget_p.h" #include "qmainwindowlayout_p.h" #ifdef Q_WS_MAC +#include <private/qapplication_p.h> #include <private/qt_mac_p.h> #include <qmacstyle_mac.h> #endif @@ -67,8 +68,6 @@ QT_BEGIN_NAMESPACE extern QString qt_setWindowTitle_helperHelper(const QString&, const QWidget*); // qwidget.cpp -extern QHash<QByteArray, QFont> *qt_app_fonts_hash(); // qapplication.cpp - static inline bool hasFeature(const QDockWidgetPrivate *priv, QDockWidget::DockWidgetFeature feature) { return (priv->features & feature) == feature; } |