You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
694 B
32 lines
694 B
#ifndef BRIDGE_H
|
|
#define BRIDGE_H
|
|
|
|
#include <QObject>
|
|
|
|
class Bridge : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit Bridge(QObject *parent = nullptr);
|
|
|
|
|
|
|
|
signals://===from qml===
|
|
void filtersChanged(QString source,QString destination,QString message,
|
|
QString minMessageLength,QString maxMessageLenght,
|
|
QString minMessageTime, QString maxMessageTile);
|
|
|
|
//1 assending , -1 desending , 0 non
|
|
void sortsChanged(int sourceOrder, int distinationOrder,
|
|
int messageOrder,int durationOrder);
|
|
void fileLogChanged(QString path);
|
|
|
|
|
|
signals://===from cpp===
|
|
void setJsonData(QString jsonData);
|
|
|
|
|
|
|
|
};
|
|
|
|
#endif // BRIDGE_H
|
|
|