some configuration interface changes

This commit is contained in:
arcan1s
2014-12-29 23:37:21 +03:00
parent afed94745a
commit 7972f2d6d3
6 changed files with 134 additions and 38 deletions

View File

@ -19,11 +19,11 @@
#ifndef NETCTLADDS_H
#define NETCTLADDS_H
#include <QMap>
#include <QObject>
#include <QVariant>
class QQmlEngine;
class NetctlAdds : public QObject
{
Q_OBJECT
@ -32,7 +32,11 @@ public:
NetctlAdds(QObject *parent = 0);
~NetctlAdds();
Q_INVOKABLE QString parsePattern(QString pattern, const QString key, const QString value);
Q_INVOKABLE QString getInfo(const QString current, const QString status);
Q_INVOKABLE QString parsePattern(const QString pattern, const QMap<QString, QVariant> dict);
private:
bool debug = false;
};