#include <releasedialog.h>
Public Member Functions | |
| ReleaseDialog (QWidget *parent=0) | |
| ReleaseDialog (QString path) | |
| ReleaseDialog (QStringList args, QString path) | |
Private Slots | |
| void | accept () |
| void | errorControl (int, QProcess::ExitStatus) |
| void | enable (int) |
Private Attributes | |
| Ui::releaseDialog | ui |
| Contains the object designed by QtDesigner. | |
| QProcess * | m_proc |
| Contains the object for execute commands. | |
| QString | m_path |
| Contains the configuration fileL. | |
| ReleaseDialog::ReleaseDialog | ( | QWidget * | parent = 0 |
) |
Construct an empty dialog
| ReleaseDialog::ReleaseDialog | ( | QString | path | ) |
Construct a dialog
| path | specify the path of the command |
| ReleaseDialog::ReleaseDialog | ( | QStringList | args, | |
| QString | path | |||
| ) |
Execute the command without showing the dialog.
| args | QStringList with all necessari arguments to execute the command | |
| path | specify the path of the command |
| void ReleaseDialog::accept | ( | ) | [private, slot] |
Execute the command with the arguments specify in the dialog
| void ReleaseDialog::enable | ( | int | state | ) | [private, slot] |
enable/disable the grupbox designed with QtDesigner
| void ReleaseDialog::errorControl | ( | int | exitCode, | |
| QProcess::ExitStatus | exitStatus | |||
| ) | [private, slot] |
Report the output of the command.
1.4.7