Fix Qt6 deprecated APIs: QCheckBox::checkStateChanged, ExploratoryLocationViewshed
- Replace QCheckBox::stateChanged with checkStateChanged in: - lts_dialog.cpp - simple_esri_layer.cpp (2 occurrences) - layer_control_widget.cpp - symbol_dialog.cpp - Replace LocationViewshed with ExploratoryLocationViewshed (ArcGIS SDK v300): - viewshed_analysis.h/.cpp - ViewshedLocation.h/.cpp - function_dialog.cpp (include) - Update ViewshedLocation member variable type to ExploratoryLocationViewshed Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
e581d1e91c
commit
124fbb4de8
1079 files changed
+111705
-17
No files matched your search
+46
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
This file is part of the KTextTemplate library
|
||||
|
||||
SPDX-FileCopyrightText: 2009, 2010 Stephen Kelly <steveire@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
*/
|
||||
|
||||
#ifndef KTEXTTEMPLATE_TOKEN_H
|
||||
#define KTEXTTEMPLATE_TOKEN_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace KTextTemplate
|
||||
{
|
||||
|
||||
/**
|
||||
@internal
|
||||
|
||||
The available token types.
|
||||
*/
|
||||
enum TokenType {
|
||||
TextToken, ///< The Token is a text fragment
|
||||
VariableToken, ///< The Token is a variable node
|
||||
BlockToken, ///< The Token is a block, ie, part of a tag
|
||||
CommentToken ///< The Token is a comment node.
|
||||
};
|
||||
|
||||
/// @headerfile token.h <KTextTemplate/Token>
|
||||
|
||||
/**
|
||||
A token in a parse stream for a template.
|
||||
|
||||
This class is only relevant for template tag implementations.
|
||||
*/
|
||||
struct Token {
|
||||
int tokenType; ///< The Type of this Token
|
||||
int linenumber; ///< The line number this Token starts at
|
||||
QString content; ///< The content of this Token
|
||||
};
|
||||
}
|
||||
|
||||
Q_DECLARE_TYPEINFO(KTextTemplate::Token, Q_RELOCATABLE_TYPE);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user