#include <processchain.h>
Collaboration diagram for ProcessChain:

Public Slots | |
| void | slotFinishedCompile (Language *language) |
| void | compile () |
Signals | |
| void | successful (ProcessOptions options) |
| void | successful () |
| void | failed () |
Public Member Functions | |
| ProcessChain (ProcessOptions options, KTechlab *parent, const char *name=0) | |
| ~ProcessChain () | |
| void | setProcessOptions (ProcessOptions options) |
Protected Member Functions | |
| FlowCode * | flowCode () |
| Gpasm * | gpasm () |
| Gpdasm * | gpdasm () |
| Gplib * | gplib () |
| Gplink * | gplink () |
| Microbe * | microbe () |
| PicProgrammer * | picProgrammer () |
| SDCC * | sdcc () |
Protected Attributes | |
| int | m_errorCount |
| ProcessOptions | m_processOptions |
| KTechlab * | m_pKTechlab |
Definition at line 35 of file processchain.h.
| void ProcessChain::slotFinishedCompile | ( | Language * | language | ) | [slot] |
Adds the output file to project if requested in the options, and opens the file in a code editor. Called to signal that a language in the last step of a compile has finished its compiling successfully.
Definition at line 133 of file processchain.cpp.
References ProjectItem::addFile(), ProcessOptionsSpecial::b_addToProject, DocManager::createTextDocument(), ProjectManager::currentProject(), DocManager::giveDocumentFocus(), m_processOptions, ProcessOptions::method(), DocManager::openURL(), Language::processOptions(), ProcessOptions::processPath(), DocManager::self(), ProjectManager::self(), ProcessOptions::setTextOutputtedTo(), successful(), ProcessOptions::targetFile(), ProcessOptions::textOutputTarget(), and ProcessOptions::ProcessPath::to().
| void ProcessChain::compile | ( | ) | [slot] |
Call to compile a file of one type all the way to another type. This uses the ProcessOptions given in the constructor of this function, or later in setProcessOptions.
Definition at line 76 of file processchain.cpp.
References ProcessOptions::inputFiles(), ProcessOptionsSpecial::m_picID, m_processOptions, ProjectItem::microID(), ProcessOptions::ProcessPath::path(), ProcessOptions::processPath(), and ProjectManager::self().
Referenced by Language::finish(), and ProcessChain().
| void ProcessChain::successful | ( | ProcessOptions | options | ) | [signal] |
Emitted when compiling has successfully gone all the way through to the specified 'typeTo'
| options | The ProcessOptions holding the output filename |
| void ProcessChain::successful | ( | ) | [signal] |
Convenience signal
Referenced by slotFinishedCompile().
| void ProcessChain::failed | ( | ) | [signal] |
Emitted if not successful
1.5.1