2012-06-17 21:09:21 +02:00
|
|
|
#ifndef MODELUAVOPROXY_H
|
|
|
|
#define MODELUAVOPROXY_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include "flightdatamodel.h"
|
|
|
|
#include "pathaction.h"
|
|
|
|
#include "waypoint.h"
|
|
|
|
|
|
|
|
class modelUavoProxy:public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit modelUavoProxy(QObject *parent, flightDataModel *model);
|
2012-06-24 21:04:13 +02:00
|
|
|
int addAction(PathAction *actionObj, PathAction::DataFields actionFields,int lastaction);
|
2012-06-17 21:09:21 +02:00
|
|
|
public slots:
|
|
|
|
void modelToObjects();
|
|
|
|
void objectsToModel();
|
2012-06-20 16:00:15 +02:00
|
|
|
private:
|
|
|
|
UAVObjectManager *objManager;
|
|
|
|
Waypoint * waypointObj;
|
|
|
|
PathAction * pathactionObj;
|
|
|
|
flightDataModel * myModel;
|
2012-06-17 21:09:21 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MODELUAVOPROXY_H
|