Raw -> Smart Pointers for mupp, qt5/qt6.
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#ifndef _PMUPPSCRIPT_H_
|
||||
#define _PMUPPSCRIPT_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
|
||||
@@ -55,7 +57,6 @@ class PmuppScript : public QObject
|
||||
|
||||
public:
|
||||
PmuppScript(QStringList script);
|
||||
~PmuppScript();
|
||||
|
||||
void setLoadPath(const QString cmd);
|
||||
QString getLoadPath() { return fLoadPath; }
|
||||
@@ -79,10 +80,10 @@ class PmuppScript : public QObject
|
||||
void finished();
|
||||
|
||||
private:
|
||||
PmuppAdmin *fAdmin; ///< admin object
|
||||
std::unique_ptr<PmuppAdmin> fAdmin; ///< admin object
|
||||
|
||||
QStringList fScript; ///< script source
|
||||
PParamDataHandler *fParamDataHandler; ///< parameter data handler
|
||||
std::unique_ptr<PParamDataHandler> fParamDataHandler; ///< parameter data handler
|
||||
int fSelected; ///< -2=nothing selected, -1=all selected, >=0 is the index if the selected collection
|
||||
|
||||
PmuppPlotEntry fPlotEntry; ///< plot entry object
|
||||
|
||||
Reference in New Issue
Block a user