From b5322d74d1839c4af490f5c7297e439a8433ba9b Mon Sep 17 00:00:00 2001 From: NielsCoding Date: Sat, 29 Oct 2022 21:38:47 +0200 Subject: merging TCPcode with main QT code --- client/timetest.cpp | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 client/timetest.cpp (limited to 'client/timetest.cpp') diff --git a/client/timetest.cpp b/client/timetest.cpp deleted file mode 100644 index 2e575f2..0000000 --- a/client/timetest.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "timetest.h" - -TimeTest::TimeTest(QObject *parent) : QObject(parent) -{ - timer = new QTimer(this); - connect(timer, SIGNAL(timeout()),this,SLOT(myfunction())); - timer->start(5000); -} - -qint16 TimeTest::myfunction() -{ - QTime time = QTime::currentTime(); - qint16 time_text = time.minute(); - - return time_text; - - -} -- cgit v1.2.3