aboutsummaryrefslogtreecommitdiff
path: root/desktop-utilities/lumina-terminal/TerminalWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-utilities/lumina-terminal/TerminalWidget.h')
-rw-r--r--desktop-utilities/lumina-terminal/TerminalWidget.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/desktop-utilities/lumina-terminal/TerminalWidget.h b/desktop-utilities/lumina-terminal/TerminalWidget.h
index b16d298d..d4bdec09 100644
--- a/desktop-utilities/lumina-terminal/TerminalWidget.h
+++ b/desktop-utilities/lumina-terminal/TerminalWidget.h
@@ -10,6 +10,8 @@
#include <QTextEdit>
#include <QProcess>
#include <QKeyEvent>
+#include <QSerialPort>
+#include <QSerialPortInfo>
class TerminalWidget : public QTextEdit{
Q_OBJECT
@@ -20,8 +22,9 @@ public:
void aboutToClose();
private:
+ //QSerialPort *PROC;
QProcess *PROC;
- QString inBuffer;
+
private slots:
void UpdateText();
void ShellClosed();
@@ -30,7 +33,10 @@ signals:
void ProcessClosed(QString);
protected:
- void keyPressEvent(QKeyEvent *event);
+ void keyPressEvent(QKeyEvent *ev);
+ void mousePressEvent(QMouseEvent *ev);
+ void mouseDoubleClickEvent(QMouseEvent *ev);
+ void contextMenuEvent(QContextMenuEvent *ev);
};
#endif \ No newline at end of file
bgstack15