GNU Octave
6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
SelfListener.h
Go to the documentation of this file.
1
/* qterminal - a terminal widget for Qt
2
* Copyright (C) 2011, 2013 Jacob Dawid (jacob.dawid@cybercatalyst.com)
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as
6
* published by the Free Software Foundation, either version 3 of the
7
* License, or (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef SELFLISTENER_H
19
#define SELFLISTENER_H
20
21
#include <QThread>
22
#include <unistd.h>
23
24
class
SelfListener
:
public
QThread
25
{
26
Q_OBJECT
27
public
:
28
explicit
SelfListener
(
int
a,
QObject
*parent =
nullptr
);
29
30
signals:
31
void
recvData
(
const
char
* stdOutBuffer,
int
stdOutlen);
32
33
public
slots:
34
35
protected
:
36
void
run
();
37
int
_a
;
38
};
39
40
#endif
// SELFLISTENER_H
QObject
QThread
SelfListener
Definition:
SelfListener.h:25
SelfListener::run
void run()
Definition:
SelfListener.cpp:25
SelfListener::recvData
void recvData(const char *stdOutBuffer, int stdOutlen)
SelfListener::SelfListener
SelfListener(int a, QObject *parent=nullptr)
Definition:
SelfListener.cpp:20
SelfListener::_a
int _a
Definition:
SelfListener.h:37
libgui
qterminal
libqterminal
unix
SelfListener.h
Generated on Tue Apr 13 2021 15:27:43 for GNU Octave by
1.9.1