src
paraview-5.12
Qt
ApplicationComponents
pqCrashRecoveryBehavior.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 pqCrashRecoveryBehavior_h
5
#define pqCrashRecoveryBehavior_h
6
7
#include "pqApplicationComponentsModule.h"
8
#include <QObject>
9
#include <QTimer>
10
11
class
pqServer
;
12
20
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqCrashRecoveryBehavior
:
public
QObject
21
{
22
Q_OBJECT
23
typedef
QObject Superclass;
24
25
public
:
26
pqCrashRecoveryBehavior
(QObject* parent =
nullptr
);
27
~
pqCrashRecoveryBehavior
()
override
;
28
29
protected
Q_SLOTS:
30
void
delayedSaveRecoveryState();
31
void
saveRecoveryState();
32
void
onServerAdded(
pqServer
* server);
33
void
onServerDisconnect();
34
35
private
:
36
Q_DISABLE_COPY(
pqCrashRecoveryBehavior
)
37
38
QTimer Timer;
39
};
40
41
#endif
pqCrashRecoveryBehavior
Definition:
pqCrashRecoveryBehavior.h:20
pqServer
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition:
pqServer.h:35
Generated by
1.8.17 on Wed Mar 27 2024