KDevelop API Documentation

KDevMakeFrontend Class Reference

The interface to a make frontend. More...

#include <kdevmakefrontend.h>

Inheritance diagram for KDevMakeFrontend:

Inheritance graph
[legend]
Collaboration diagram for KDevMakeFrontend:

Collaboration graph
[legend]
List of all members.

Signals

void commandFinished (const QString &command)
 Only emitted if the command was succesfully finished.
void commandFailed (const QString &command)
 Emitted if a command failed.

Public Member Functions

 KDevMakeFrontend (const QString &pluginName, const QString &icon, QObject *parent=0, const char *name=0)
 ~KDevMakeFrontend ()
virtual QWidgetwidget ()
 Returns the widget of the plugin.
virtual void queueCommand (const QString &dir, const QString &command)=0
 The component shall start to execute a make-like command.
virtual bool isRunning ()=0
 Returns whether the application is currently running.
virtual void updateSettingsFromConfig ()=0
 Advices to synchronize the settings from KConfig because they've changed externally.

Detailed Description

The interface to a make frontend.

Definition at line 37 of file kdevmakefrontend.h.


Constructor & Destructor Documentation

KDevMakeFrontend::KDevMakeFrontend const QString pluginName,
const QString icon,
QObject parent = 0,
const char *  name = 0
 

Definition at line 26 of file kdevmakefrontend.cpp.

KDevMakeFrontend::~KDevMakeFrontend  ) 
 

Definition at line 31 of file kdevmakefrontend.cpp.


Member Function Documentation

void KDevMakeFrontend::commandFailed const QString command  )  [signal]
 

Emitted if a command failed.

Referenced by MakeWidget::slotProcessExited().

void KDevMakeFrontend::commandFinished const QString command  )  [signal]
 

Only emitted if the command was succesfully finished.

Referenced by MakeWidget::slotProcessExited().

virtual bool KDevMakeFrontend::isRunning  )  [pure virtual]
 

Returns whether the application is currently running.

Implemented in MakeViewPart.

Referenced by FortranSupportPart::slotFtnchek().

virtual void KDevMakeFrontend::queueCommand const QString dir,
const QString command
[pure virtual]
 

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.

Implemented in MakeViewPart.

Referenced by AddSubprojectDialog::accept(), AntProjectPart::ant(), AutoProjectPart::buildTarget(), PerforcePart::commit(), CvsServicePartImpl::createNewProject(), PerforcePart::execCommand(), TrollProjectPart::queueCmd(), AutoProjectPart::queueInternalLibDependenciesBuild(), PascalProjectPart::slotBuild(), HaskellProjectPart::slotBuild(), AdaProjectPart::slotBuild(), SpecSupport::slotbuildAllPushButtonPressed(), ClearcasePart::slotCheckin(), ClearcasePart::slotCheckout(), AutoProjectPart::slotConfigure(), ClearcasePart::slotCreate(), DoxygenPart::slotDoxClean(), DoxygenPart::slotDoxygen(), FortranSupportPart::slotFtnchek(), AutoProjectPart::slotMakefilecvs(), ClearcasePart::slotRemove(), AutoSubprojectView::slotRemoveSubproject(), SpecSupport::slotsrcPackagePushButtonPressed(), ClearcasePart::slotUncheckout(), TrollProjectWidget::startMakeCommand(), CustomProjectPart::startMakeCommand(), AutoProjectPart::startMakeCommand(), TrollProjectPart::startQMakeCommand(), and PerforcePart::update().

virtual void KDevMakeFrontend::updateSettingsFromConfig  )  [pure virtual]
 

Advices to synchronize the settings from KConfig because they've changed externally.

Implemented in MakeViewPart.

Referenced by MainWindowShare::slotSettings().

virtual QWidget* KDevMakeFrontend::widget  )  [inline, virtual]
 

Returns the widget of the plugin.

This must be overridden.

Reimplemented from KDevPlugin.

Reimplemented in MakeViewPart.

Definition at line 46 of file kdevmakefrontend.h.

Referenced by TrollProjectWidget::slotBuildFile(), TrollProjectWidget::slotBuildProject(), TrollProjectWidget::slotBuildTarget(), TrollProjectWidget::slotCleanProject(), TrollProjectWidget::slotCleanTarget(), TrollProjectWidget::slotRebuildProject(), and TrollProjectWidget::slotRebuildTarget().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:40:19 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003