Kactus2
Kactus2 reference guide
Loading...
Searching...
No Matches
ChannelRelay.cpp
Go to the documentation of this file.
1//-----------------------------------------------------------------------------
2// File: ChannelRelay.cpp
3//-----------------------------------------------------------------------------
4// Project: Kactus2
5// Author: Esko Pekkarinen
6// Date: 05.02.2021
7//
8// Description:
9// <Short description of the class/file contents>
10//-----------------------------------------------------------------------------
11
12#include "ChannelRelay.h"
13
14
15//-----------------------------------------------------------------------------
16// Function: ChannelRelay::ChannelRelay()
17//-----------------------------------------------------------------------------
19 QObject(parent)
20{
21
22}
23
24//-----------------------------------------------------------------------------
25// Function: ChannelRelay::write()
26//-----------------------------------------------------------------------------
27void ChannelRelay::write(QString const& text)
28{
29 emit data(text);
30}
void data(QString const &text)
ChannelRelay(QObject *parent=nullptr)
The constructor.
virtual void write(QString const &text) override final