comparison libgui/languages/build_ts/octave-qsci/Qsci/qscilexerjava.h @ 31537:5ceb4bfcdb0f stable

add tools and files for updating the gui's language files for translation * libgui/languages/build_ts/README.md: readme for updating language files * libgui/languages/build_ts/octave-qsci: QScintilla source files for languages without translation provided by QScintilla * libgui/languages/build_ts/octave-qt: Qt source files for languages without translation provided by Qt
author Torsten Lilge <ttl-octave@mailbox.org>
date Thu, 24 Nov 2022 06:48:25 +0100
parents
children dd5ece3664ed
comparison
equal deleted inserted replaced
31535:4b80982e0af8 31537:5ceb4bfcdb0f
1 // This defines the interface to the QsciLexerJava class.
2 //
3 // Copyright (c) 2019 Riverbank Computing Limited <info@riverbankcomputing.com>
4 //
5 // This file is part of QScintilla.
6 //
7 // This file may be used under the terms of the GNU General Public License
8 // version 3.0 as published by the Free Software Foundation and appearing in
9 // the file LICENSE included in the packaging of this file. Please review the
10 // following information to ensure the GNU General Public License version 3.0
11 // requirements will be met: http://www.gnu.org/copyleft/gpl.html.
12 //
13 // If you do not wish to use this file under the terms of the GPL version 3.0
14 // then you may purchase a commercial license. For more information contact
15 // info@riverbankcomputing.com.
16 //
17 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
18 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19
20
21 #ifndef QSCILEXERJAVA_H
22 #define QSCILEXERJAVA_H
23
24 #include <QObject>
25
26 #include <Qsci/qsciglobal.h>
27 #include <Qsci/qscilexercpp.h>
28
29
30 //! \brief The QsciLexerJava class encapsulates the Scintilla Java lexer.
31 class QSCINTILLA_EXPORT QsciLexerJava : public QsciLexerCPP
32 {
33 Q_OBJECT
34
35 public:
36 //! Construct a QsciLexerJava with parent \a parent. \a parent is
37 //! typically the QsciScintilla instance.
38 QsciLexerJava(QObject *parent = 0);
39
40 //! Destroys the QsciLexerJava instance.
41 virtual ~QsciLexerJava();
42
43 //! Returns the name of the language.
44 const char *language() const;
45
46 //! Returns the set of keywords for the keyword set \a set recognised
47 //! by the lexer as a space separated string.
48 const char *keywords(int set) const;
49
50 private:
51 QsciLexerJava(const QsciLexerJava &);
52 QsciLexerJava &operator=(const QsciLexerJava &);
53 };
54
55 #endif