mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-15 14:51:14 -08:00
revisions
This commit is contained in:
parent
3898f0988e
commit
9aba49287c
6 changed files with 5 additions and 22 deletions
|
|
@ -13,8 +13,6 @@ class Connection;
|
|||
class BLE_ME : public BLE {
|
||||
Q_OBJECT
|
||||
|
||||
/*** <INTERFACE> ****************************************/
|
||||
|
||||
public:
|
||||
#ifdef Q_OS_ANDROID
|
||||
BLE_ME(QtAndroidService*, Connection*);
|
||||
|
|
@ -27,13 +25,6 @@ public Q_SLOTS:
|
|||
void read();
|
||||
void write(const QByteArray&);
|
||||
|
||||
Q_SIGNALS:
|
||||
void setReady(bool, const QString&, const QStringList&);
|
||||
void receivedFromRadio(const QByteArray&, const QString&);
|
||||
void receivingDone();
|
||||
|
||||
/*** </INTERFACE> ***************************************/
|
||||
|
||||
public:
|
||||
static const UID uuid_service;
|
||||
static const UID uuid_fromRadio;
|
||||
|
|
|
|||
|
|
@ -119,6 +119,8 @@ void Connection::setBackgroundMode(bool background) {
|
|||
if (!backgroundMode) {
|
||||
sendSavedBytes();
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(background)
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
#include "../connection.h"
|
||||
#include <QSerialPortInfo>
|
||||
#include <QTimer>
|
||||
#include <QGuiApplication>
|
||||
#include <QtDebug>
|
||||
|
||||
USB_ME::USB_ME(Connection* _con) : con(_con) {
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@ class Connection;
|
|||
class USB_ME : public QSerialPort {
|
||||
Q_OBJECT
|
||||
|
||||
/*** <INTERFACE> ****************************************/
|
||||
|
||||
public:
|
||||
USB_ME(Connection*);
|
||||
|
||||
|
|
@ -19,13 +17,6 @@ public Q_SLOTS:
|
|||
void read2();
|
||||
void write2(const QByteArray&);
|
||||
|
||||
Q_SIGNALS:
|
||||
void setReady(const QString&);
|
||||
void receivedFromRadio(const QByteArray&);
|
||||
void receivingDone();
|
||||
|
||||
/*** </INTERFACE> ***************************************/
|
||||
|
||||
public:
|
||||
bool ready = false;
|
||||
Connection* con = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue