KSyntaxHighlighting

state.h
1 /*
2  SPDX-FileCopyrightText: 2016 Volker Krause <[email protected]>
3 
4  SPDX-License-Identifier: MIT
5 */
6 
7 #ifndef KSYNTAXHIGHLIGHTING_STATE_H
8 #define KSYNTAXHIGHLIGHTING_STATE_H
9 
10 #include "ksyntaxhighlighting_export.h"
11 
12 #include <QExplicitlySharedDataPointer>
13 
14 namespace KSyntaxHighlighting
15 {
16 class StateData;
17 
25 class KSYNTAXHIGHLIGHTING_EXPORT State
26 {
27 public:
31  State();
32  State(const State &other);
33  ~State();
34  State &operator=(const State &rhs);
35 
41  bool operator==(const State &other) const;
45  bool operator!=(const State &other) const;
46 
55  bool indentationBasedFoldingEnabled() const;
56 
57 private:
58  friend class StateData;
60 };
61 
62 }
63 
64 QT_BEGIN_NAMESPACE
65 Q_DECLARE_TYPEINFO(KSyntaxHighlighting::State, Q_MOVABLE_TYPE);
66 QT_END_NAMESPACE
67 
68 #endif // KSYNTAXHIGHLIGHTING_STATE_H
Syntax highlighting engine for Kate syntax definitions.
Opaque handle to the state of the highlighting engine.
Definition: state.h:25
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Sep 17 2020 22:59:10 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.