KDevelop API Documentation

KDevPartController Class Reference

#include <kdevpartcontroller.h>

Inheritance diagram for KDevPartController:

KParts::PartManager QObject PartController List of all members.

Signals

void savedFile (const QString &fileName)
 Emitted when a document has been saved.

void loadedFile (const QString &fileName)
 Emitted when a document has been loaded.

void fileDirty (const QString &fileName)
 Emitted when a file has been modified outside of KDevelop.

void fileDirty (const KURL &url)

Public Member Functions

 KDevPartController (QWidget *parent)
virtual void setEncoding (const QString &serviceType)=0
virtual void editDocument (const KURL &url, int lineNum=-1, int col=-1)=0
virtual void showDocument (const KURL &url, const QString &context=QString::null)=0
virtual void showPart (KParts::Part *part, const QString &name, const QString &shortDescription)=0
virtual KParts::PartfindOpenDocument (const KURL &url)=0
virtual void saveAllFiles ()=0
virtual void revertAllFiles ()=0
virtual bool isDirty (KParts::ReadOnlyPart *)=0
 true if the file has been modified outside KDevelop

virtual bool closePartForWidget (const QWidget *widget)=0

Constructor & Destructor Documentation

KDevPartController::KDevPartController QWidget parent  ) 
 

Definition at line 25 of file kdevpartcontroller.cpp.

References KDevPartController().

Referenced by KDevPartController().


Member Function Documentation

virtual bool KDevPartController::closePartForWidget const QWidget widget  )  [pure virtual]
 

Implemented in PartController.

Referenced by CloserPart::closeFiles().

virtual void KDevPartController::editDocument const KURL url,
int  lineNum = -1,
int  col = -1
[pure virtual]
 

Implemented in PartController.

Referenced by QuickOpenClassDialog::accept(), FCConfigWidget::accept(), AddMethodDialog::accept(), AddAttributeDialog::accept(), AddFileDialog::accept(), FileCreatePart::createNewFile(), FCConfigWidget::edit_template_content_button_clicked(), FCConfigWidget::edit_type_content_button_clicked(), ReplaceWidget::editDocument(), ValgrindWidget::executed(), FileSelectorPart::fileSelected(), ClassViewPart::goToClassDeclaration(), CppSupportPart::gotoDeclarationLine(), CTagsPart::gotoFinalTag(), ClassViewPart::goToFunctionDeclaration(), ClassViewPart::goToFunctionDefinition(), CppSupportPart::gotoLine(), ClassViewPart::goToNamespaceDeclaration(), SourceNavPart::gotoPos(), BookmarksWidget::itemClicked(), OpenWithPart::openAsEncoding(), FileCreatePart::openCreatedFile(), TypeAliasDomBrowserItem::openDeclaration(), ClassDomBrowserItem::openDeclaration(), VariableDomBrowserItem::openDeclaration(), FunctionDomBrowserItem::openDeclaration(), FunctionDomBrowserItem::openImplementation(), AppWizardPart::openSpecifiedFiles(), MakeWidget::searchItem(), ClassViewPart::selectFunction(), ClassBrowserPart::selectMethod(), GenericProjectWidget::showFileDetails(), TrollProjectWidget::slotDetailsContextMenu(), AutoDetailsView::slotDetailsContextMenu(), TrollProjectWidget::slotDetailsExecuted(), AutoDetailsView::slotDetailsExecuted(), PHPSupportPart::slotErrorMessageSelected(), QuickOpenDialog::slotExecuted(), GrepViewWidget::slotExecuted(), ClassTreeBase::slotGotoDeclaration(), ClassTreeBase::slotGotoImplementation(), CppSupportPart::slotGotoIncludeFile(), JAVADebugger::JavaDebuggerPart::slotGotoSource(), GDBDebugger::DebuggerPart::slotGotoSource(), FileTreeWidget::slotItemExecuted(), FileGroupsWidget::slotItemExecuted(), ClassTreeBase::slotItemExecuted(), ClassBrowserWidget::slotItemExecuted(), ClassTreeBase::slotItemPressed(), CppSupportPart::slotMakeMember(), CTagsDialog::slotResultClicked(), QuickOpenDialog::slotReturnPressed(), AppOutputWidget::slotRowSelected(), ProblemReporter::slotSelected(), and CppSupportPart::slotSwitchHeader().

void KDevPartController::fileDirty const KURL url  )  [signal]
 

void KDevPartController::fileDirty const QString fileName  )  [signal]
 

Emitted when a file has been modified outside of KDevelop.

virtual KParts::Part* KDevPartController::findOpenDocument const KURL url  )  [pure virtual]
 

Implemented in PartController.

Referenced by MakeWidget::createCursor(), and MakeWidget::slotDocumentOpened().

virtual bool KDevPartController::isDirty KParts::ReadOnlyPart  )  [pure virtual]
 

true if the file has been modified outside KDevelop

Implemented in PartController.

void KDevPartController::loadedFile const QString fileName  )  [signal]
 

Emitted when a document has been loaded.

virtual void KDevPartController::revertAllFiles  )  [pure virtual]
 

Implemented in PartController.

virtual void KDevPartController::saveAllFiles  )  [pure virtual]
 

Implemented in PartController.

Referenced by AutoProjectPart::buildTarget(), PHPSupportPart::executeInTerminal(), PHPSupportPart::executeOnWebserver(), ReplaceWidget::makeReplacements(), PascalProjectPart::slotBuild(), HaskellProjectPart::slotBuild(), AdaProjectPart::slotBuild(), TrollProjectWidget::slotBuildProject(), TrollProjectWidget::slotBuildTarget(), TrollProjectWidget::slotCleanTarget(), PascalProjectPart::slotExecute(), HaskellProjectPart::slotExecute(), CustomProjectPart::slotExecute(), AutoProjectPart::slotExecute(), AdaProjectPart::slotExecute(), FortranSupportPart::slotFtnchek(), TrollProjectWidget::slotRebuildProject(), TrollProjectWidget::slotRebuildTarget(), TrollProjectWidget::startMakeCommand(), CustomProjectPart::startMakeCommand(), and AutoProjectPart::startMakeCommand().

void KDevPartController::savedFile const QString fileName  )  [signal]
 

Emitted when a document has been saved.

virtual void KDevPartController::setEncoding const QString serviceType  )  [pure virtual]
 

Implemented in PartController.

Referenced by OpenWithPart::openAsEncoding().

virtual void KDevPartController::showDocument const KURL url,
const QString context = QString::null
[pure virtual]
 

Implemented in PartController.

Referenced by DocIndexDialog::accept(), DocTreeViewPart::slotContextFulltextSearch(), DocTreeViewPart::slotContextGotoManpage(), DocTreeViewWidget::slotIndexItemExecuted(), DocTreeViewWidget::slotItemExecuted(), ChooseDlg::slotItemExecuted(), DocTreeViewPart::slotManpage(), PerlSupportPart::slotPerldocFAQ(), PerlSupportPart::slotPerldocFunction(), PythonSupportPart::slotPydoc(), and DocTreeViewPart::slotSearchDocumentation().

virtual void KDevPartController::showPart KParts::Part part,
const QString name,
const QString shortDescription
[pure virtual]
 

Implemented in PartController.

Referenced by KDevPlugin::showPart().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:01 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003