Implemented basic speed game

This commit is contained in:
2021-07-17 05:09:39 +02:00
parent 294c2c32e9
commit b7f418c3a9
44 changed files with 2088 additions and 0 deletions

37
bluetoothbaseclass.cpp Normal file
View File

@ -0,0 +1,37 @@
#include "bluetoothbaseclass.h"
BluetoothBaseClass::BluetoothBaseClass(QObject *parent) : QObject(parent)
{
}
QString BluetoothBaseClass::error() const
{
return m_error;
}
QString BluetoothBaseClass::info() const
{
return m_info;
}
void BluetoothBaseClass::setError(const QString &error)
{
if (m_error != error) {
m_error = error;
emit errorChanged();
}
}
void BluetoothBaseClass::setInfo(const QString &info)
{
if (m_info != info) {
m_info = info;
emit infoChanged();
}
}
void BluetoothBaseClass::clearMessages()
{
setInfo("");
setError("");
}