Skip to content
Snippets Groups Projects
Commit 5b1edbec authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

ctd

parent fb6c6b1a
No related branches found
No related tags found
1 merge request!1447rm Q_OBJECT where not needed (#515); copy edit GUI header files
...@@ -62,14 +62,12 @@ public: ...@@ -62,14 +62,12 @@ public:
//! Implementation of highlighting for Python code. //! Implementation of highlighting for Python code.
class PythonSyntaxHighlighter : public QSyntaxHighlighter { class PythonSyntaxHighlighter : public QSyntaxHighlighter {
Q_OBJECT
public: public:
PythonSyntaxHighlighter(QTextDocument* parent = nullptr); PythonSyntaxHighlighter(QTextDocument* parent = nullptr);
protected: private:
void highlightBlock(const QString& text) override; void highlightBlock(const QString& text) override;
private:
QStringList keywords; QStringList keywords;
QStringList operators; QStringList operators;
QStringList braces; QStringList braces;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment