mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 15:41:34 +08:00
Fixes includes for Qt4.
This commit is contained in:
parent
06304b9818
commit
865213c5b5
@ -2,6 +2,7 @@
|
|||||||
#define ADS_CONTAINERWIDGET_H
|
#define ADS_CONTAINERWIDGET_H
|
||||||
|
|
||||||
#include <QList>
|
#include <QList>
|
||||||
|
#include <QHash>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
#include <QFrame>
|
#include <QFrame>
|
||||||
class QPoint;
|
class QPoint;
|
||||||
@ -143,9 +144,7 @@ private:
|
|||||||
// Helper lookup maps, restricted to this container.
|
// Helper lookup maps, restricted to this container.
|
||||||
QHash<int, SectionContent::WeakPtr> _scLookupMapById;
|
QHash<int, SectionContent::WeakPtr> _scLookupMapById;
|
||||||
QHash<QString, SectionContent::WeakPtr> _scLookupMapByName;
|
QHash<QString, SectionContent::WeakPtr> _scLookupMapByName;
|
||||||
|
|
||||||
QHash<int, SectionWidget*> _swLookupMapById;
|
QHash<int, SectionWidget*> _swLookupMapById;
|
||||||
//QHash<ContainerWidget*, QHash<int, SectionWidget*> > _swLookupMapByContainer; // TODO Do we really need it?
|
|
||||||
|
|
||||||
|
|
||||||
// Layout stuff
|
// Layout stuff
|
||||||
|
@ -6,6 +6,11 @@
|
|||||||
|
|
||||||
#include "ads/API.h"
|
#include "ads/API.h"
|
||||||
|
|
||||||
|
#if QT_VERSION >= 0x050000
|
||||||
|
#else
|
||||||
|
#include "ads/SectionContent.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SCLookupMapById(X) X->_scLookupMapById
|
#define SCLookupMapById(X) X->_scLookupMapById
|
||||||
#define SCLookupMapByName(X) X->_scLookupMapByName
|
#define SCLookupMapByName(X) X->_scLookupMapByName
|
||||||
#define SWLookupMapById(X) X->_swLookupMapById
|
#define SWLookupMapById(X) X->_swLookupMapById
|
||||||
|
Loading…
Reference in New Issue
Block a user