MakeViewPart Class Reference
Two output views: one displays compiler output, the other displays the application output. More...
#include <makeviewpart.h>
Inheritance diagram for MakeViewPart:


Public Member Functions | |
MakeViewPart (QObject *parent, const char *name, const QStringList &) | |
~MakeViewPart () | |
virtual QWidget * | widget () |
Returns the widget of the plugin. | |
virtual void | updateSettingsFromConfig () |
Advices to synchronize the settings from KConfig because they've changed externally. | |
Protected Member Functions | |
virtual void | queueCommand (const QString &dir, const QString &command) |
The component shall start to execute a make-like command. | |
virtual bool | isRunning () |
Returns whether the application is currently running. | |
Private Slots | |
void | slotStopButtonClicked (KDevPlugin *) |
Private Attributes | |
QGuardedPtr< MakeWidget > | m_widget |
KDevMakeFrontendIface * | m_dcop |
Friends | |
class | MakeWidget |
Detailed Description
Two output views: one displays compiler output, the other displays the application output.
- Feature(s):
- Auto scroll down
Auto hide when it's not needed
Jump to error when clicked
- Todo:
- Make the contents of the application output copyable.
- F.A.Q.:
- How does the auto-hide feature work? If there are no compilation errors the output view hides itself (if it was hidden before compilation start) or switches to the previously selected view.
Definition at line 23 of file makeviewpart.h.
Constructor & Destructor Documentation
|
Definition at line 29 of file makeviewpart.cpp. References KXMLGUIClient::actionCollection(), KDevPlugin::core(), KDevMainWindow::embedOutputView(), m_dcop, m_widget, KDevPlugin::mainWindow(), MakeWidget, KXMLGUIClient::setInstance(), KXMLGUIClient::setXMLFile(), and slotStopButtonClicked(). |
|
Definition at line 65 of file makeviewpart.cpp. References m_widget, KDevPlugin::mainWindow(), and KDevMainWindow::removeView(). |
Member Function Documentation
|
Returns whether the application is currently running.
Implements KDevMakeFrontend. Definition at line 86 of file makeviewpart.cpp. References m_widget. |
|
The component shall start to execute a make-like command. Commands are always asynchronous. You can submit several jobs without caring about another job already running. There are executed in the order in which they are submitted. If one of then fails, all following jobs are dropped. You should not make any assumptions about the directory in which the command is started. If the command depends on that, put and explicit 'cd' into the command. The parameter dir is interpreted as a starting directory to find files when parsing compiler error messages. Implements KDevMakeFrontend. Definition at line 80 of file makeviewpart.cpp. References m_widget. |
|
Definition at line 73 of file makeviewpart.cpp. References m_widget. Referenced by MakeViewPart(). |
|
Advices to synchronize the settings from KConfig because they've changed externally.
Implements KDevMakeFrontend. Definition at line 96 of file makeviewpart.cpp. References m_widget. |
|
Returns the widget of the plugin. This must be overridden. Reimplemented from KDevMakeFrontend. Definition at line 91 of file makeviewpart.cpp. References m_widget. |
Friends And Related Function Documentation
|
Definition at line 43 of file makeviewpart.h. Referenced by MakeViewPart(). |
Member Data Documentation
|
Definition at line 42 of file makeviewpart.h. Referenced by MakeViewPart(). |
|
Definition at line 41 of file makeviewpart.h. Referenced by isRunning(), MakeViewPart(), queueCommand(), slotStopButtonClicked(), updateSettingsFromConfig(), widget(), and ~MakeViewPart(). |
The documentation for this class was generated from the following files:
- parts/outputviews/makeviewpart.h
- parts/outputviews/makeviewpart.cpp