PartController Class Reference
#include <partcontroller.h>
Inheritance diagram for PartController:


Constructor & Destructor Documentation
|
Definition at line 73 of file partcontroller.cpp. References KParts::PartManager::activePartChanged(), m_Current, m_history, m_isJumping, m_openNextAsText, KParts::PartManager::partAdded(), KParts::PartManager::partRemoved(), setupActions(), slotActivePartChanged(), slotPartAdded(), and slotPartRemoved(). Referenced by createInstance(). |
|
Definition at line 89 of file partcontroller.cpp. |
Member Function Documentation
|
Activate this part.
Implements KDevPartController. Definition at line 718 of file partcontroller.cpp. References TopLevel::getInstance(), EditorProxy::getInstance(), KDevMainWindow::raiseView(), KParts::PartManager::setActivePart(), and EditorProxy::widgetForPart(). Referenced by editDocumentInternal(), NewMainWindow::openURL(), showDocument(), showPart(), and slotSwitchTo(). |
|
Definition at line 1458 of file partcontroller.cpp. References PartController::HistoryEntry::line, m_Current, m_history, updateMenuItems(), KURL::url(), and PartController::HistoryEntry::url. Referenced by editDocumentInternal(), and slotActivePartChanged(). |
|
Definition at line 986 of file partcontroller.cpp. References partForURL(), and KParts::ReadWritePart::setModified(). Referenced by saveFilesDialog(). |
|
Close all open files.
Implements KDevPartController. Definition at line 1057 of file partcontroller.cpp. References closeFilesDialog(). Referenced by readyToClose(), and slotCloseAllWindows(). |
|
Definition at line 1067 of file partcontroller.cpp. References closeFilesDialog(). Referenced by slotCloseOtherWindows(), and NewMainWindow::tabContextActivated(). |
|
Definition at line 1052 of file partcontroller.cpp. References closePart(), and partForURL(). Referenced by NewMainWindow::tabContextActivated(). |
|
Close a list of files.
Implements KDevPartController. Definition at line 1038 of file partcontroller.cpp. References closePart(), and partForURL(). |
|
Definition at line 1020 of file partcontroller.cpp. References closePart(), KParts::PartManager::parts(), saveFilesDialog(), and KParts::ReadOnlyPart::url(). Referenced by closeAllFiles(), and closeAllOthers(). |
|
Close this part (close the window/tab for this part).
Implements KDevPartController. Definition at line 737 of file partcontroller.cpp. References _dirtyDocuments, KDevPartController::closedFile(), KParts::ReadOnlyPart::closeURL(), TopLevel::getInstance(), EditorProxy::getInstance(), KParts::PartManager::removePart(), KDevMainWindow::removeView(), EditorProxy::topWidgetForPart(), and KParts::ReadOnlyPart::url(). Referenced by NewMainWindow::childWindowCloseRequest(), closeFile(), closeFiles(), closeFilesDialog(), and slotCloseWindow(). |
|
Definition at line 531 of file partcontroller.cpp. References _editorFactory, findPartFactory(), and main(). Referenced by editDocumentInternal(). |
|
Definition at line 94 of file partcontroller.cpp. References PartController(), and s_instance. Referenced by NewMainWindow::createFramework(), and MainWindow::createFramework(). |
|
Check the state of a document.
Implements KDevPartController. Definition at line 1315 of file partcontroller.cpp. References DocumentState, isDirty(), KParts::ReadWritePart::isModified(), and partForURL(). Referenced by doEmitState(), and saveFile(). |
|
Definition at line 1341 of file partcontroller.cpp. References KDevPartController::documentChangedState(), and documentState(). Referenced by slotDocumentDirty(), and slotNewStatus(). |
|
Open a new or existing document.
Implements KDevPartController. Definition at line 230 of file partcontroller.cpp. References editDocumentInternal(). Referenced by editDocumentInternal(), Debugger::gotoExecutionPoint(), jumpTo(), ProjectSession::loadDocument(), main(), showDocument(), slotOpenFile(), and slotOpenRecent(). |
|
|
Definition at line 192 of file partcontroller.cpp. References KURL::cleanPath(), findURLInProject(), API::getInstance(), partForURL(), and KDevApi::project(). |
|
Definition at line 505 of file partcontroller.cpp. References KLibLoader::factory(), KService::Ptr, and KLibLoader::self(). Referenced by createEditorPart(), and editDocumentInternal(). |
|
Definition at line 212 of file partcontroller.cpp. References KDevProject::allFiles(), API::getInstance(), KDevApi::project(), and KURL::url(). Referenced by editDocumentInternal(), and findOpenDocument(). |
|
|
|
Definition at line 608 of file partcontroller.cpp. References slotNewStatus(), and KTextEditor::Document::views(). Referenced by integratePart(), and EditorWrapper::show(). |
|
Definition at line 1254 of file partcontroller.cpp. References _dirtyDocuments, and partForURL(). Referenced by documentState(). |
|
Definition at line 1451 of file partcontroller.cpp. References PartController::HistoryEntry::col, editDocument(), PartController::HistoryEntry::line, m_isJumping, and PartController::HistoryEntry::url. Referenced by slotBack(), slotForward(), and slotPopupActivated(). |
|
Definition at line 870 of file partcontroller.cpp. References KParts::ReadWritePart::isModified(), KParts::PartManager::parts(), and KParts::ReadOnlyPart::url(). Referenced by saveFilesDialog(). |
|
Returns a list of open documents.
Implements KDevPartController. Definition at line 1346 of file partcontroller.cpp. References KParts::PartManager::parts(), and KParts::ReadOnlyPart::url(). Referenced by NewMainWindow::fillWindowMenu(), revertAllFiles(), and saveAllFiles(). |
|
Find the embedded part corresponding to a given URL.
Implements KDevPartController. Definition at line 692 of file partcontroller.cpp. References KParts::PartManager::parts(), and KParts::ReadOnlyPart::url(). Referenced by clearModified(), closeFile(), closeFiles(), documentState(), editDocumentInternal(), findOpenDocument(), Debugger::gotoExecutionPoint(), isDirty(), Debugger::marksChanged(), reactToDirty(), reloadFile(), saveFile(), and Debugger::setBreakpoint(). |
|
Find the embedded part corresponding to a given main widget.
Implements KDevPartController. Definition at line 704 of file partcontroller.cpp. References KParts::PartManager::parts(). |
|
Definition at line 658 of file partcontroller.cpp. References _partURLMap, KURL::isEmpty(), and KParts::ReadOnlyPart::url(). Referenced by slotUploadFinished(). |
|
Definition at line 1514 of file partcontroller.cpp. References KInterfaceDesigner::Designer::designerType(), and KParts::PartManager::parts(). Referenced by editDocumentInternal(). |
|
Definition at line 981 of file partcontroller.cpp. References saveFilesDialog(). Referenced by ProjectManager::closeProject(), and Core::queryClose(). |
|
Definition at line 1259 of file partcontroller.cpp. References KParts::ReadWritePart::isModified(), k_funcinfo, kdDebug(), main(), partForURL(), KURL::path(), KConfigBase::readEntry(), reloadFile(), KConfigBase::setGroup(), KMessageBox::sorry(), and KMessageBox::warningYesNo(). Referenced by slotDocumentDirty(). |
|
Definition at line 1112 of file partcontroller.cpp. References closeAllFiles(). Referenced by Core::queryClose(). |
|
|
Reload all open files.
Implements KDevPartController. Definition at line 860 of file partcontroller.cpp. References openURLs(), and revertFiles(). Referenced by slotRevertAllFiles(). |
|
Reload a list of files.
Implements KDevPartController. Definition at line 850 of file partcontroller.cpp. References reloadFile(). Referenced by revertAllFiles(). |
|
Save all open files.
Implements KDevPartController. Definition at line 966 of file partcontroller.cpp. References openURLs(), and saveFiles(). Referenced by slotSaveAllFiles(). |
|
Definition at line 912 of file partcontroller.cpp. References _dirtyDocuments, Clean, Dirty, DirtyAndModified, KDevPartController::documentChangedState(), documentState(), kdDebug(), main(), Modified, partForURL(), KURL::path(), KParts::ReadWritePart::save(), KDevPartController::savedFile(), and KMessageBox::warningYesNoCancel(). Referenced by saveFiles(), slotSave(), and NewMainWindow::tabContextActivated(). |
|
Save a list of files.
Implements KDevPartController. Definition at line 971 of file partcontroller.cpp. References saveFile(). Referenced by saveAllFiles(), and saveFilesDialog(). |
|
Definition at line 1000 of file partcontroller.cpp. References clearModified(), KSaveSelectDialog::filesNotToSave(), KSaveSelectDialog::filesToSave(), main(), modifiedDocuments(), and saveFiles(). Referenced by closeFilesDialog(), and querySaveFiles(). |
|
Call before a call to editDocument to set the encoding of the document to be opened.
Implements KDevPartController. Definition at line 187 of file partcontroller.cpp. References m_presetEncoding. |
|
|
Show a HTML document in the documentation viewer.
Implements KDevPartController. Definition at line 476 of file partcontroller.cpp. References activatePart(), KParts::PartManager::activePart(), editDocument(), KMimeType::findByURL(), integratePart(), KURL::isLocalFile(), kdDebug(), KDevHTMLPart::openURL(), KDevPartController::partURLChanged(), KDevHTMLPart::resolveEnvVarsInURL(), and KURL::url(). Referenced by ProjectSession::loadDocument(), DocumentationPart::slotDuplicate(), DocumentationPart::slotOpenInNewWindow(), and NewMainWindow::tabContextActivated(). |
|
Embed a part into the main area of the mainwindow.
Implements KDevPartController. Definition at line 1178 of file partcontroller.cpp. References activatePart(), KParts::PartManager::addPart(), KDevMainWindow::embedPartView(), TopLevel::getInstance(), KParts::PartManager::parts(), and KParts::Part::widget(). |
|
Definition at line 1121 of file partcontroller.cpp. References _partURLMap, addHistoryEntry(), k_funcinfo, kdDebug(), m_latestPart, slotWaitForFactoryHack(), and updateMenuItems(). Referenced by PartController(). |
|
Definition at line 1370 of file partcontroller.cpp. References jumpTo(), m_Current, and m_history. Referenced by setupActions(). |
|
Definition at line 1386 of file partcontroller.cpp. References m_backAction, m_Current, m_history, and KToolBarPopupAction::popupMenu(). Referenced by setupActions(). |
|
Definition at line 1062 of file partcontroller.cpp. References closeAllFiles(). Referenced by ProjectManager::closeProject(), and setupActions(). |
|
Definition at line 1076 of file partcontroller.cpp. References KParts::PartManager::activePart(), closeAllOthers(), and KParts::ReadOnlyPart::url(). Referenced by setupActions(). |
|
Definition at line 865 of file partcontroller.cpp. References KParts::PartManager::activePart(), and closePart(). Referenced by setupActions(). |
|
Definition at line 1200 of file partcontroller.cpp. References _dirtyDocuments, Clean, KDevPartController::documentChangedState(), doEmitState(), KURL::isEmpty(), k_funcinfo, kdDebug(), KParts::PartManager::parts(), reactToDirty(), storedURLForPart(), KURL::url(), and KParts::ReadOnlyPart::url(). Referenced by integratePart(). |
|
Definition at line 1378 of file partcontroller.cpp. References jumpTo(), m_Current, and m_history. Referenced by setupActions(). |
|
Definition at line 1411 of file partcontroller.cpp. References m_Current, m_forwardAction, m_history, and KToolBarPopupAction::popupMenu(). Referenced by setupActions(). |
|
Definition at line 1303 of file partcontroller.cpp. References KTextEditor::View::document(), doEmitState(), k_funcinfo, and kdDebug(). Referenced by integrateTextEditorPart(). |
|
Definition at line 1093 of file partcontroller.cpp. References editDocument(), KEncodingFileDialog::getOpenURLsAndEncoding(), m_presetEncoding, and main(). Referenced by setupActions(). |
|
Definition at line 1105 of file partcontroller.cpp. References editDocument(), m_openRecentAction, and KListAction::setCurrentItem(). Referenced by setupActions(). |
|
Definition at line 627 of file partcontroller.cpp. References k_funcinfo, kdDebug(), updateMenuItems(), and updatePartURL(). Referenced by PartController(). |
|
Definition at line 639 of file partcontroller.cpp. References _partURLMap, k_funcinfo, kdDebug(), and updateMenuItems(). Referenced by PartController(). |
|
Definition at line 1436 of file partcontroller.cpp. References jumpTo(), m_Current, and m_history. Referenced by setupActions(). |
|
Definition at line 897 of file partcontroller.cpp. References KParts::PartManager::activePart(), k_funcinfo, kdDebug(), reloadFile(), and KParts::ReadOnlyPart::url(). |
|
Definition at line 807 of file partcontroller.cpp. References revertAllFiles(). Referenced by setupActions(). |
|
Definition at line 887 of file partcontroller.cpp. References KParts::PartManager::activePart(), k_funcinfo, kdDebug(), saveFile(), and KParts::ReadOnlyPart::url(). |
|
Definition at line 907 of file partcontroller.cpp. References saveAllFiles(). Referenced by setupActions(). |
|
Definition at line 1145 of file partcontroller.cpp. References activatePart(), KCompletionBase::completionObject(), KURL::fileName(), kdDebug(), KParts::PartManager::parts(), KDialogBase::plainPage(), KURL::prettyURL(), KCompletion::setItems(), and KParts::ReadOnlyPart::url(). Referenced by setupActions(). |
|
Definition at line 680 of file partcontroller.cpp. References KDevPartController::partURLChanged(), partURLHasChanged(), and updatePartURL(). Referenced by integratePart(). |
|
Definition at line 1495 of file partcontroller.cpp. References KParts::PartManager::activePart(), EditorProxy::getInstance(), and EditorProxy::installPopup(). Referenced by slotActivePartChanged(). |
|
Definition at line 670 of file partcontroller.cpp. References _partURLMap. Referenced by slotDocumentDirty(). |
|
Definition at line 783 of file partcontroller.cpp. References m_backAction, m_closeAllWindowsAction, m_closeOtherWindowsAction, m_closeWindowAction, m_Current, m_forwardAction, m_history, m_revertAllFilesAction, m_saveAllFilesAction, KParts::PartManager::parts(), and KAction::setEnabled(). Referenced by addHistoryEntry(), slotActivePartChanged(), slotPartAdded(), and slotPartRemoved(). |
|
Definition at line 648 of file partcontroller.cpp. References _partURLMap, KURL::isEmpty(), kdDebug(), and KParts::ReadOnlyPart::url(). Referenced by slotPartAdded(), and slotUploadFinished(). |
Member Data Documentation
|
Definition at line 171 of file partcontroller.h. Referenced by closePart(), isDirty(), reloadFile(), saveFile(), and slotDocumentDirty(). |
|
Definition at line 175 of file partcontroller.h. Referenced by createEditorPart(). |
|
Definition at line 173 of file partcontroller.h. Referenced by partURLHasChanged(), slotActivePartChanged(), slotPartRemoved(), storedURLForPart(), and updatePartURL(). |
|
Definition at line 166 of file partcontroller.h. Referenced by setupActions(), slotBackAboutToShow(), and updateMenuItems(). |
|
Definition at line 162 of file partcontroller.h. Referenced by setupActions(), and updateMenuItems(). |
|
Definition at line 162 of file partcontroller.h. Referenced by setupActions(), and updateMenuItems(). |
|
Definition at line 161 of file partcontroller.h. Referenced by setupActions(), and updateMenuItems(). |
|
Definition at line 192 of file partcontroller.h. Referenced by addHistoryEntry(), PartController(), slotBack(), slotBackAboutToShow(), slotForward(), slotForwardAboutToShow(), slotPopupActivated(), and updateMenuItems(). |
|
Definition at line 167 of file partcontroller.h. Referenced by setupActions(), slotForwardAboutToShow(), and updateMenuItems(). |
|
Definition at line 191 of file partcontroller.h. Referenced by addHistoryEntry(), PartController(), slotBack(), slotBackAboutToShow(), slotForward(), slotForwardAboutToShow(), slotPopupActivated(), and updateMenuItems(). |
|
Definition at line 193 of file partcontroller.h. Referenced by jumpTo(), and PartController(). |
|
Definition at line 194 of file partcontroller.h. Referenced by slotActivePartChanged(). |
|
Definition at line 169 of file partcontroller.h. Referenced by editDocumentInternal(), and PartController(). |
|
Definition at line 163 of file partcontroller.h. Referenced by editDocumentInternal(), setupActions(), and slotOpenRecent(). |
|
Definition at line 164 of file partcontroller.h. Referenced by editDocumentInternal(), setEncoding(), and slotOpenFile(). |
|
Definition at line 161 of file partcontroller.h. Referenced by setupActions(), and updateMenuItems(). |
|
Definition at line 161 of file partcontroller.h. Referenced by setupActions(), and updateMenuItems(). |
|
Definition at line 162 of file partcontroller.h. Referenced by setupActions(). |
|
Definition at line 62 of file partcontroller.cpp. Referenced by createInstance(). |
The documentation for this class was generated from the following files: