2014-09-10 17:27:45 +02:00
|
|
|
/************************************************************************
|
|
|
|
**
|
|
|
|
** @file vpropertyset_p.h
|
|
|
|
** @author hedgeware <internal(at)hedgeware.net>
|
|
|
|
** @date
|
|
|
|
**
|
|
|
|
** @brief
|
|
|
|
** @copyright
|
|
|
|
** All rights reserved. This program and the accompanying materials
|
|
|
|
** are made available under the terms of the GNU Lesser General Public License
|
|
|
|
** (LGPL) version 2.1 which accompanies this distribution, and is available at
|
|
|
|
** http://www.gnu.org/licenses/lgpl-2.1.html
|
|
|
|
**
|
|
|
|
** This library is distributed in the hope that it will be useful,
|
|
|
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
** Lesser General Public License for more details.
|
|
|
|
**
|
|
|
|
*************************************************************************/
|
|
|
|
|
|
|
|
#ifndef VPROPERTYSET_P_H
|
|
|
|
#define VPROPERTYSET_P_H
|
|
|
|
|
|
|
|
// ONLY INCLUDE THIS IN .CPP FILES
|
|
|
|
|
|
|
|
#include <QMap>
|
|
|
|
#include <QString>
|
|
|
|
|
2022-08-12 17:50:13 +02:00
|
|
|
#include "vpropertyexplorer_global.h"
|
|
|
|
|
2014-09-10 19:57:08 +02:00
|
|
|
namespace VPE
|
|
|
|
{
|
2014-09-10 17:27:45 +02:00
|
|
|
|
|
|
|
class VProperty;
|
|
|
|
|
2014-09-10 19:57:08 +02:00
|
|
|
class VPropertySetPrivate
|
|
|
|
{
|
2014-09-10 17:27:45 +02:00
|
|
|
public:
|
|
|
|
//! Property map (ID, Property)
|
2014-09-10 19:57:08 +02:00
|
|
|
QMap<QString, VProperty*> Properties; // All the Properties managed by this model are being stored in this map for
|
|
|
|
//quick access
|
2014-09-10 17:27:45 +02:00
|
|
|
|
|
|
|
//! List containing the root properties
|
|
|
|
QList<VProperty*> RootProperties;
|
|
|
|
|
|
|
|
//! Constructor
|
|
|
|
VPropertySetPrivate()
|
2014-09-20 18:05:21 +02:00
|
|
|
: Properties(QMap<QString, VProperty*>()), RootProperties(QList<VProperty*>())
|
|
|
|
{}
|
|
|
|
|
|
|
|
private:
|
2022-08-12 17:50:13 +02:00
|
|
|
Q_DISABLE_COPY_MOVE(VPropertySetPrivate) // NOLINT
|
2014-09-10 17:27:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // VPROPERTYMODEL_P_H
|