src
paraview-5.12
Qt
ApplicationComponents
pqChangeFileNameReaction.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
3
#ifndef pqChangeFileNameReaction_h
4
#define pqChangeFileNameReaction_h
5
6
#include "
pqReaction.h
"
7
12
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqChangeFileNameReaction
:
public
pqReaction
13
{
14
Q_OBJECT
15
typedef
pqReaction
Superclass
;
16
17
public
:
18
pqChangeFileNameReaction
(QAction* parent =
nullptr
);
19
~
pqChangeFileNameReaction
()
override
=
default
;
20
24
static
void
changeFileName();
25
26
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
31
void
updateEnableState
()
override
;
32
33
protected
:
37
void
onTriggered
()
override
{
pqChangeFileNameReaction::changeFileName
(); }
38
39
private
:
40
Q_DISABLE_COPY(
pqChangeFileNameReaction
)
41
};
42
43
#endif
pqReaction.h
pqChangeFileNameReaction::changeFileName
static void changeFileName()
Changes the input for the active source.
pqChangeFileNameReaction
Definition:
pqChangeFileNameReaction.h:12
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqChangeFileNameReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqChangeFileNameReaction.h:37
pqReaction
Definition:
pqReaction.h:25
Generated by
1.8.17 on Wed Mar 27 2024