Mercurial > octave-libgccjit
view libqterminal/QTerminalInterface.h @ 15662:5758e0013246
Enable compilation on Win32-native platform.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 02 Feb 2012 15:01:22 +0000 |
parents | ccef87280af6 |
children | a8ff19a82906 |
line wrap: on
line source
/* Copyright (C) 2012 Michael Goffioul. Copyright (C) 2012 Jacob Dawid. This file is part of QTerminal. Foobar is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QTerminal is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Foobar. If not, see <http://www.gnu.org/licenses/>. */ #ifndef QTERMINALINTERFACE_H #define QTERMINALINTERFACE_H #include <QWidget> class QTerminalInterface : public QWidget { Q_OBJECT public: QTerminalInterface(QWidget *parent = 0) : QWidget(parent) { } virtual ~QTerminalInterface() { } virtual void setTerminalFont(const QFont& font) = 0; virtual void setSize(int h, int v) = 0; virtual void sendText(const QString& text) = 0; public slots: virtual void copyClipboard() = 0; virtual void pasteClipboard() = 0; }; #endif // QTERMINALINTERFACE_H