| 4 | #include <QLoggingCategory> |
| 5 | |
| 6 | static Q_LOGGING_CATEGORY(log, "Client.Parameter") |
| 7 | |
| 8 | CParameter::CParameter(QObject* parent, const QString& szPrefix) |
| 9 | : QObject(parent) |
| 10 | , m_szPrefix(szPrefix) |
| 11 | , m_bModified(false) |
| 12 | { |
| 13 | CParameter* p = qobject_cast<CParameter*>(parent); |
| 14 | if(p) { |
| 15 | p->AddCategory(this); |
| 16 | bool check = connect(this, SIGNAL(sigChanged()), p, SIGNAL(sigChanged())); |
| 17 | Q_ASSERT(check); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | CParameter::~CParameter() |
| 22 | {} |
nothing calls this directly
no test coverage detected