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
//-----------------------------------------------------------------------------
18
ChannelRelay::ChannelRelay
(QObject* parent):
19
QObject(parent)
20
{
21
22
}
23
24
//-----------------------------------------------------------------------------
25
// Function: ChannelRelay::write()
26
//-----------------------------------------------------------------------------
27
void
ChannelRelay::write
(QString
const
& text)
28
{
29
emit
data
(text);
30
}
ChannelRelay.h
ChannelRelay::data
void data(QString const &text)
ChannelRelay::ChannelRelay
ChannelRelay(QObject *parent=nullptr)
The constructor.
Definition
ChannelRelay.cpp:18
ChannelRelay::write
virtual void write(QString const &text) override final
Definition
ChannelRelay.cpp:27
kactus2dev
PythonAPI
ChannelRelay.cpp
Generated by
1.13.2