canframemodel now receives frames from CANConManager

This commit is contained in:
canpadawan
2016-06-29 11:57:52 +02:00
parent 9addf43651
commit 916ed4e657
2 changed files with 23 additions and 28 deletions
+4 -2
View File
@@ -8,6 +8,7 @@
#include <QMutex>
#include "can_structs.h"
#include "dbchandler.h"
#include "connections/canconnection.h"
class CANFrameModel: public QAbstractTableModel
{
@@ -25,7 +26,7 @@ public:
void sendRefresh();
void sendRefresh(int);
void sendBulkRefresh(int);
int sendBulkRefresh();
void clearFrames();
void setDBCHandler(DBCHandler *);
void setInterpetMode(bool);
@@ -46,7 +47,8 @@ public:
const QMap<int, bool> *getFiltersReference() const; //this neither
public slots:
void addFrame(CANFrame&, bool);
void addFrame(const CANFrame&, bool);
void addFrames(const CANConnection*, const QVector<CANFrame>&);
signals:
void updatedFiltersList();