diff options
author | NielsCoding <n.stunnebrink@student.avans.nl> | 2022-10-29 21:38:47 +0200 |
---|---|---|
committer | NielsCoding <n.stunnebrink@student.avans.nl> | 2022-10-29 21:38:47 +0200 |
commit | b5322d74d1839c4af490f5c7297e439a8433ba9b (patch) | |
tree | 4b7431f7daa0db37ee797d7312dc041700c39f0e /client/timetest.cpp | |
parent | 06376c3cfefdb01f8f4884c1b853edc16c89d1c8 (diff) |
merging TCPcode with main QT code
Diffstat (limited to 'client/timetest.cpp')
-rw-r--r-- | client/timetest.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
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; - - -} |