/usr/include/paraview/pqRemoteCommandDialog.h is in paraview-dev 4.0.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | /*=========================================================================
Program: ParaView
Module: vtkPVInformation.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef __pqRemoteCommandDialog_h
#define __pqRemoteCommandDialog_h
// .NAME pqRemoteCommandDialog - Dialog for configuring remote commands
// .SECTION Description
// .SECTION See Also
// .SECTION Thanks
#include <QDialog>
#include <QLineEdit>
#include <vector>
using std::vector;
#include <string>
using std::string;
class pqRemoteCommandDialogUI;
class pqRemoteCommandDialog : public QDialog
{
Q_OBJECT
public:
pqRemoteCommandDialog(
QWidget *parent,
Qt::WindowFlags f,
int clientHostType,
int serverHostType);
~pqRemoteCommandDialog();
// Description:
// before running the dialog call these to set the
// active host and process id.
void SetActiveHost(string host);
void SetActivePid(string pid);
// Description:
// Returns the command that the user has selected
string GetCommand();
private slots:
void AddCommandTemplate();
void EditCommandTemplate();
void DeleteCommandTemplate();
void UpdateCommandPreview();
void UpdateTokenValues();
void UpdateForm();
void FindXTermExecutable();
void FindSshExecutable();
private:
void Save();
void Restore();
string LocateFile();
private:
pqRemoteCommandDialogUI *Ui;
string CommandSetName;
QStringList CommandSet;
vector<string> Tokens;
vector<string> TokenValues;
vector<QLineEdit*> TokenWidgets;
};
#endif
|