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