diff options
Diffstat (limited to 'gui/pythontab.h')
-rw-r--r-- | gui/pythontab.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/pythontab.h b/gui/pythontab.h index 3fd12981..134874b6 100644 --- a/gui/pythontab.h +++ b/gui/pythontab.h @@ -20,8 +20,6 @@ #ifndef PYTHONTAB_H
#define PYTHONTAB_H
-#ifndef NO_PYTHON
-
#include <QLineEdit>
#include <QMenu>
#include <QPlainTextEdit>
@@ -42,10 +40,11 @@ class PythonTab : public QWidget private Q_SLOTS:
void showContextMenu(const QPoint &pt);
- void clearBuffer();
void editLineReturnPressed(QString text);
public Q_SLOTS:
void newContext(Context *ctx);
+ void info(std::string str);
+ void clearBuffer();
private:
PythonConsole *console;
@@ -60,6 +59,5 @@ class PythonTab : public QWidget };
NEXTPNR_NAMESPACE_END
-#endif // NO_PYTHON
#endif // PYTHONTAB_H
|