Adds initial intermediate qt6 porting state

This commit is contained in:
torsten committed 2026-08-17 17:54:56 +02:00
1 parent 99136e9460
commit d176b5e0d7
11247 files changed
+1891537

No files matched your search

@@ -0,0 +1,41 @@
#pragma once
#include "mainthread.h"
#include "tcpsocket.h"
class QTcpSocket;
class QTimer;
class MainThread;
namespace DifferentialGPS
{
class TrimbleIF final : public TcpSocket
{
Q_OBJECT
public:
TrimbleIF();
~TrimbleIF();
void startThread(int threadIndex, MainThread *main);
void run() override;
protected:
void dumpDataText(const QByteArray &ba);
void dumpDataBinary(const QByteArray &ba);
protected Q_SLOTS:
void onError(QAbstractSocket::SocketError) override;
void onReadyRead() override;
void onTimeout();
protected:
MainThread *m_main;
QByteArray m_buf;
int m_rxCycle_ms;
QTimer *m_socketTimeout;
QTimer *m_socketReconnect;
int m_threadIndex;
};
}