|
a/src/qtgui/confgui/confgui.h |
|
b/src/qtgui/confgui/confgui.h |
|
... |
|
... |
44 |
|
44 |
|
45 |
#include <qglobal.h>
|
45 |
#include <qglobal.h>
|
46 |
#include <qstring.h>
|
46 |
#include <qstring.h>
|
47 |
#include <qwidget.h>
|
47 |
#include <qwidget.h>
|
48 |
|
48 |
|
49 |
#include MEMORY_INCLUDE
|
49 |
#include <memory>
|
50 |
|
50 |
|
51 |
class QHBoxLayout;
|
51 |
class QHBoxLayout;
|
52 |
class QLineEdit;
|
52 |
class QLineEdit;
|
53 |
class QListWidget;
|
53 |
class QListWidget;
|
54 |
class QSpinBox;
|
54 |
class QSpinBox;
|
|
... |
|
... |
63 |
public:
|
63 |
public:
|
64 |
virtual ~ConfLinkRep() {}
|
64 |
virtual ~ConfLinkRep() {}
|
65 |
virtual bool set(const std::string& val) = 0;
|
65 |
virtual bool set(const std::string& val) = 0;
|
66 |
virtual bool get(std::string& val) = 0;
|
66 |
virtual bool get(std::string& val) = 0;
|
67 |
};
|
67 |
};
|
68 |
typedef STD_SHARED_PTR<ConfLinkRep> ConfLink;
|
68 |
typedef std::shared_ptr<ConfLinkRep> ConfLink;
|
69 |
|
69 |
|
70 |
// Useful to store/manage data which has no direct representation in
|
70 |
// Useful to store/manage data which has no direct representation in
|
71 |
// the config, ie list of subkey directories
|
71 |
// the config, ie list of subkey directories
|
72 |
class ConfLinkNullRep : public ConfLinkRep {
|
72 |
class ConfLinkNullRep : public ConfLinkRep {
|
73 |
public:
|
73 |
public:
|