mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-12-15 23:13:41 +00:00
some configuration interface changes
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user