Fixes includes for Qt4.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user