src
paraview-5.12
Qt
ApplicationComponents
pqRenameProxyReaction.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3
// SPDX-License-Identifier: BSD-3-Clause
4
#ifndef pqRenameProxyReaction_h
5
#define pqRenameProxyReaction_h
6
7
#include "
pqReaction.h
"
8
9
#include <QPointer>
10
11
class
pqProxy
;
12
class
QWidget;
13
18
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqRenameProxyReaction
:
pqReaction
19
{
20
Q_OBJECT
21
typedef
pqReaction
Superclass;
22
23
public
:
30
pqRenameProxyReaction
(QAction* renameAction,
pqProxy
* proxy, QWidget* parentWidget =
nullptr
);
31
38
pqRenameProxyReaction
(QAction* renameAction, QWidget* parentWidget =
nullptr
);
39
40
protected
Q_SLOTS:
44
void
onTriggered
()
override
;
45
void
updateEnableState
()
override
;
46
47
protected
:
// NOLINT(readability-redundant-access-specifiers)
48
pqProxy
*
Proxy
;
49
QPointer<QWidget>
ParentWidget
;
50
};
51
52
#endif
pqReaction.h
pqReaction::onTriggered
virtual void onTriggered()
Called when the action is triggered.
Definition:
pqReaction.h:46
pqRenameProxyReaction::ParentWidget
QPointer< QWidget > ParentWidget
Definition:
pqRenameProxyReaction.h:49
pqProxy
This class represents any registered Server Manager proxy.
Definition:
pqProxy.h:28
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqReaction
Definition:
pqReaction.h:25
pqRenameProxyReaction
Definition:
pqRenameProxyReaction.h:18
pqRenameProxyReaction::Proxy
pqProxy * Proxy
Definition:
pqRenameProxyReaction.h:48
Generated by
1.8.17 on Wed Mar 27 2024