Brief description of class still missing. More...
#include <ExtTargetWidget.h>
Public Member Functions | |
ExtTargetWidget (QWidget *parent=0) | |
void | setEditable (bool e) |
void | setFrom (ExtTarget *target) |
ExtTarget * | target () |
~ExtTargetWidget () |
Brief description of class still missing.
Full description of class still missing
ExtTargetWidget::ExtTargetWidget | ( | QWidget * | parent = 0 | ) |
void ExtTargetWidget::setEditable | ( | bool | e | ) |
References TRACE.
Referenced by ExtPlugin::setCurrentForward().
{ TRACE; commandEdit->setReadOnly( !e); wdEdit->setReadOnly( !e); wdBut->setEnabled(e); }
void ExtTargetWidget::setFrom | ( | ExtTarget * | target | ) |
References ExtTarget::command(), TRACE, and ExtTarget::workingDirectory().
Referenced by ExtPlugin::setCurrentForward(), and ExtPlugin::xml_polishChild().
{ TRACE; commandEdit->setText(target->command()); wdEdit->setText(target->workingDirectory()); }
References ExtTarget::setCommand(), ExtTarget::setWorkingDirectory(), and TRACE.
Referenced by ExtPlugin::initForward(), ExtPlugin::setCurrentForward(), and ExtPlugin::xml_writeChildren().
{ TRACE; ExtTarget * s=new ExtTarget; s->setCommand(commandEdit->text()); s->setWorkingDirectory(wdEdit->text()); return s; }