forked from GerhardHoffmann/DCLibraries
		
	Libraries: remove dependency to gui/widgets
This commit is contained in:
		@@ -3,7 +3,7 @@
 | 
			
		||||
#ifndef SER_H
 | 
			
		||||
#define SER_H
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <QMainWindow>
 | 
			
		||||
#include <QObject>
 | 
			
		||||
//#include <QString>
 | 
			
		||||
#include <QTimer>
 | 
			
		||||
#include <QSerialPort>
 | 
			
		||||
 
 | 
			
		||||
@@ -27,7 +27,6 @@ V4.0  6.9.2023: activating DC-Bootloader in slve-lib (SM)
 | 
			
		||||
#define hwapi_H
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
//#include <QTabWidget>
 | 
			
		||||
#include <QtPlugin>
 | 
			
		||||
#include <QTimer>
 | 
			
		||||
#include <QObject>
 | 
			
		||||
@@ -98,7 +97,7 @@ private:
 | 
			
		||||
    //QTimer *hwapi_triggerBL;
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
    explicit hwapi(QWidget *parent = nullptr);
 | 
			
		||||
    explicit hwapi(QObject *parent = nullptr);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    #ifdef  THIS_IS_CA_MASTER
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
 | 
			
		||||
#ifndef SERIAL_FRAME_H
 | 
			
		||||
#define SERIAL_FRAME_H
 | 
			
		||||
#include <QMainWindow>
 | 
			
		||||
#include <QObject>
 | 
			
		||||
#include <QString>
 | 
			
		||||
#include <QTimer>
 | 
			
		||||
#include "tslib.h"
 | 
			
		||||
@@ -43,7 +43,7 @@
 | 
			
		||||
#define     STARTSIGN_RECEIVE_LONG          0x5D
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class T_prot : public QMainWindow
 | 
			
		||||
class T_prot : public QObject
 | 
			
		||||
{
 | 
			
		||||
    Q_OBJECT
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,7 @@
 | 
			
		||||
#define RUN_PROCESS_H
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <QMainWindow>
 | 
			
		||||
#include <QObject>
 | 
			
		||||
#include <QString>
 | 
			
		||||
#include <QTimer>
 | 
			
		||||
#include "tslib.h"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user