#include <jobeditorwidget.h>
Public Slots | |
| void | open () | 
| void | save () | 
| Slot called to save the file. If the file is still a draft, ask the user for a file name.   | |
| void | saveAs () | 
| void | executeJob () | 
| void | onJobSent (QStringList) | 
| Slot called when the job is sent We don't know the command was executed successfully, we need to check if the error stream is empty.   | |
Public Member Functions | |
| JobEditorWidget (QWidget *parent=0) | |
| Construct a JobEditorWidget.   | |
Private Member Functions | |
| void | saveToFile () | 
Private Attributes | |
| QString | _filename | 
Definition at line 19 of file jobeditorwidget.h.
| JobEditorWidget::JobEditorWidget | ( | QWidget * |  parent = 0           | 
          ) | 
Construct a JobEditorWidget.
Apply a model to the Treeview, give it a Delegate, set connections between the text editor and the properties window, add the Highlighter to the text widget...
| parent | parent of the JobEditorWidget | 
Definition at line 33 of file jobeditorwidget.cpp.
References _filename, JobPropertyItem::child(), executeJob(), open(), JobPropertyModel::rootItem, save(), and saveAs().

| void JobEditorWidget::saveToFile | ( | ) |  [private] | 
        
| void JobEditorWidget::open | ( | ) |  [slot] | 
        
Slot called to open a file
Definition at line 261 of file jobeditorwidget.cpp.
References _filename.
Referenced by JobEditorWidget().
| void JobEditorWidget::save | ( | ) |  [slot] | 
        
Slot called to save the file. If the file is still a draft, ask the user for a file name.
Definition at line 280 of file jobeditorwidget.cpp.
References _filename, and saveToFile().
Referenced by JobEditorWidget().
| void JobEditorWidget::saveAs | ( | ) |  [slot] | 
        
Slot called to save a file As...
Definition at line 294 of file jobeditorwidget.cpp.
References saveToFile().
Referenced by JobEditorWidget().
| void JobEditorWidget::executeJob | ( | ) |  [slot] | 
        
Slot called to execute the Job written in the window.
Definition at line 212 of file jobeditorwidget.cpp.
References Myssh::isConnected(), and onJobSent().
Referenced by JobEditorWidget().
| void JobEditorWidget::onJobSent | ( | QStringList | outerr | ) |  [slot] | 
        
Slot called when the job is sent We don't know the command was executed successfully, we need to check if the error stream is empty.
| outerr | List of strings: the output stream and the error stream of the submission command | 
Definition at line 236 of file jobeditorwidget.cpp.
Referenced by executeJob().
QString JobEditorWidget::_filename [private]           | 
        
Definition at line 23 of file jobeditorwidget.h.
Referenced by JobEditorWidget(), open(), save(), and saveToFile().
 1.5.4