Import Geant4 11.3.0 source tree
This commit is contained in:
@@ -105,7 +105,7 @@ class G4QTabWidget : public QTabWidget
|
||||
class G4UIOutputString
|
||||
{
|
||||
public:
|
||||
G4UIOutputString(QString text, G4String thread = "", G4String outputstream = "info");
|
||||
G4UIOutputString(const QString& text, const G4String& thread = "", const G4String& outputstream = "info");
|
||||
inline QString GetOutputList() { return " all info warning error "; };
|
||||
QString fText;
|
||||
G4String fThread;
|
||||
@@ -115,7 +115,7 @@ class G4UIOutputString
|
||||
class G4UIDockWidget : public QDockWidget
|
||||
{
|
||||
public:
|
||||
G4UIDockWidget(QString txt);
|
||||
G4UIDockWidget(const QString& txt);
|
||||
void closeEvent(QCloseEvent*) override;
|
||||
};
|
||||
|
||||
@@ -244,7 +244,7 @@ class G4UIQt : public QObject, public G4VBasicShell, public G4VInteractiveSessio
|
||||
|
||||
public:
|
||||
~G4UIQt() override;
|
||||
void Prompt(G4String);
|
||||
void Prompt(const G4String&);
|
||||
void SessionTerminate();
|
||||
void PauseSessionStart(const G4String&) override;
|
||||
G4int ReceiveG4debug(const G4String&) override;
|
||||
@@ -253,7 +253,7 @@ public:
|
||||
// G4String GetCommand(Widget);
|
||||
|
||||
private:
|
||||
void SecondaryLoop(G4String); // a VIRER
|
||||
void SecondaryLoop(const G4String&); // a VIRER
|
||||
void CreateHelpWidget();
|
||||
void InitHelpTreeAndVisParametersWidget();
|
||||
void FillHelpTree();
|
||||
@@ -307,7 +307,7 @@ public:
|
||||
G4UIDockWidget* CreateUITabWidget();
|
||||
void CreateViewerWidget();
|
||||
void OpenHelpTreeOnCommand(const QString&);
|
||||
QString GetShortCommandPath(QString);
|
||||
QString GetShortCommandPath(QString&);
|
||||
QString GetLongCommandPath(QTreeWidgetItem*);
|
||||
G4bool IsGUICommand(const G4UIcommand*);
|
||||
G4bool CreateVisCommandGroupAndToolBox(G4UIcommand*, QWidget*, G4int, G4bool isDialog);
|
||||
@@ -321,7 +321,7 @@ public:
|
||||
QString FilterOutput(const G4UIOutputString&, const QString&, const QString&);
|
||||
G4String GetThreadPrefix();
|
||||
G4bool CheckG4EnvironmentVariable(char* txt, char* version);
|
||||
QStandardItemModel* CreateCompleterModel(G4String aCmd);
|
||||
QStandardItemModel* CreateCompleterModel(const G4String& aCmd);
|
||||
void CreateEmptyViewerPropertiesWidget();
|
||||
void CreateEmptyPickInfosWidget();
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ class G4UIWin32 : public G4VBasicShell, public G4VInteractiveSession
|
||||
static G4String GetToolTips(G4int);
|
||||
G4String GetHelpTreeToolTips(HTREEITEM);
|
||||
|
||||
static G4String ConvertNewLines(G4String);
|
||||
static G4String ConvertNewLines(const G4String&);
|
||||
|
||||
void HelpTreeDoubleClick(HTREEITEM);
|
||||
|
||||
@@ -151,7 +151,7 @@ class G4UIWin32 : public G4VBasicShell, public G4VInteractiveSession
|
||||
|
||||
G4bool InitHelpTreeItems();
|
||||
HTREEITEM AddItemToHelpTree(LPTSTR, HTREEITEM = TVI_ROOT);
|
||||
static G4String GetShortCommandPath(G4String);
|
||||
static G4String GetShortCommandPath(const G4String&);
|
||||
LPSTR GetItemPath(HTREEITEM);
|
||||
|
||||
void CreateHelpTree(HTREEITEM, G4UIcommandTree*);
|
||||
|
||||
@@ -80,7 +80,7 @@ class G4UIXm : public G4VBasicShell, public G4VInteractiveSession
|
||||
// Ex : AddButton("my_menu","Run","/run/beamOn 1");
|
||||
void AddButton(const char*, const char*, const char*);
|
||||
|
||||
void Prompt(G4String);
|
||||
void Prompt(const G4String&);
|
||||
void SessionTerminate();
|
||||
virtual void PauseSessionStart(const G4String&);
|
||||
virtual G4int ReceiveG4debug(const G4String&);
|
||||
@@ -89,7 +89,7 @@ class G4UIXm : public G4VBasicShell, public G4VInteractiveSession
|
||||
G4String GetCommand(Widget);
|
||||
|
||||
private:
|
||||
void SecondaryLoop(G4String);
|
||||
void SecondaryLoop(const G4String&);
|
||||
G4bool GetHelpChoice(G4int&);
|
||||
void ExitHelp() const;
|
||||
static void CommandEnteredCallback(Widget, XtPointer, XtPointer);
|
||||
|
||||
Reference in New Issue
Block a user