4 #ifndef pqServerConnectReaction_h 5 #define pqServerConnectReaction_h 32 static void connectToServerWithWarning();
33 static void connectToServer();
39 static bool connectToServerUsingConfigurationName(
40 const char* config_name,
bool showConnectionDialog =
true);
45 static bool connectToServerUsingConfiguration(
52 static bool connectToServer(
const pqServerResource& resource,
bool showConnectionDialog =
true);
Reaction for connecting to a server.
virtual void updateEnableState()
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a superclass just to make it easier to collect all such reactions.
static void connectToServerWithWarning()
Creates a server connection using the server connection dialog.
pqServerConfiguration corresponds to a server connection configuration.
void onTriggered() override
Called when the action is triggered.
pqServerResource encapsulates a resource in ParaView.