KDevelop API Documentation

PartController Class Reference

#include <partcontroller.h>

Inheritance diagram for PartController:

KDevPartController KParts::PartManager QObject List of all members.

Public Slots

void slotCurrentChanged (QWidget *w)
void slotClosePartForWidget (const QWidget *widget)
void slotActivePartChanged (KParts::Part *part)
void slotCloseAllWindows ()

Signals

void partURLChanged (KParts::ReadOnlyPart *)

Public Member Functions

 PartController (QWidget *toplevel)
void setEncoding (const QString &encoding)
void editDocument (const KURL &inputUrl, int lineNum=-1, int col=-1)
void showDocument (const KURL &url, const QString &context=QString::null)
KParts::PartfindOpenDocument (const KURL &url)
bool closeAllWindows ()
virtual bool closePartForWidget (const QWidget *widget)
void saveAllFiles ()
void revertAllFiles ()
bool isDirty (KParts::ReadOnlyPart *part)
 true if the file has been modified outside KDevelop

bool readyToClose ()
KParts::PartpartForURL (const KURL &url)
void reinstallPopups ()
void showPart (KParts::Part *part, const QString &name, const QString &shortDescription)
void savePartWidgetIcon (KParts::Part *part)
void restorePartWidgetIcon (KParts::Part *part)

Static Public Member Functions

void createInstance (QWidget *parent)
PartControllergetInstance ()

Protected Member Functions

 ~PartController ()

Private Slots

void slotSaveAllFiles ()
void slotRevertAllFiles ()
void slotOpenFile ()
void slotOpenRecent (const KURL &)
void slotCloseWindow ()
void slotCloseOtherWindows ()
void slotBack ()
void slotForward ()
void slotBackAboutToShow ()
void slotBackPopupActivated (int id)
void slotForwardAboutToShow ()
void slotForwardPopupActivated (int id)
void slotSwitchTo ()
void slotUploadFinished ()
void slotFileNameChanged ()
void updateMenuItems ()
void saveState (KParts::Part *part)
void restoreState ()
void addHistoryEntry (HistoryEntry *entry)
void dirty (const QString &fileName)
void slotFileDirty (const KURL &url)
void slotNewStatus ()
void slotRestoreStatus ()

Private Member Functions

KURL findURLInProject (const KURL &url)
void setupActions ()
bool closeWindows (KURL::List const &ignoreList)
void closeActivePart ()
bool closePart (KParts::Part *part)
QPopupMenucontextPopupMenu ()
KParts::FactoryfindPartFactory (const QString &mimeType, const QString &partType, const QString &preferredName=QString::null)
void integratePart (KParts::Part *part, const KURL &url, bool isTextEditor=false)
void activatePart (KParts::Part *part)
void editText (const KURL &url, int num)
KURL::List modifiedDocuments ()
void clearModified (KURL::List const &filelist)
void saveFiles (KURL::List const &filelist)
void revertFile (KParts::Part *part)
void saveFile (KParts::Part *part)
DocumentationPartfindDocPart (const QString &context)

Private Attributes

KActionm_closeWindowAction
KActionm_saveAllFilesAction
KActionm_revertAllFilesAction
KActionm_closeAllWindowsAction
KActionm_closeOtherWindowsAction
KActionm_switchToAction
KRecentFilesActionm_openRecentAction
QString m_presetEncoding
KToolBarPopupActionm_backAction
KToolBarPopupActionm_forwardAction
QPtrList< HistoryEntrym_history
KDirWatchdirWatcher
QMap< const KParts::ReadOnlyPart *,
QDateTime
accessTimeMap
QMap< const KParts::Part *,
QPixmap
partWidgetIcons
bool m_restoring

Static Private Attributes

PartControllers_instance = 0

Constructor & Destructor Documentation

PartController::PartController QWidget toplevel  ) 
 

Definition at line 73 of file partcontroller.cpp.

References dirty(), dirWatcher, m_history, m_restoring, PartController(), setupActions(), slotActivePartChanged(), slotFileDirty(), and updateMenuItems().

Referenced by PartController().

PartController::~PartController  )  [protected]
 

Definition at line 90 of file partcontroller.cpp.


Member Function Documentation

void PartController::activatePart KParts::Part part  )  [private]
 

Definition at line 591 of file partcontroller.cpp.

References activatePart(), TopLevel::getInstance(), KDevMainWindow::raiseView(), and KParts::Part::widget().

Referenced by activatePart(), editDocument(), showDocument(), showPart(), and slotSwitchTo().

void PartController::addHistoryEntry HistoryEntry entry  )  [private, slot]
 

Definition at line 999 of file partcontroller.cpp.

References addHistoryEntry(), m_history, and updateMenuItems().

Referenced by addHistoryEntry(), and showDocument().

void PartController::clearModified KURL::List const &  filelist  )  [private]
 

Definition at line 765 of file partcontroller.cpp.

References clearModified(), partForURL(), and KParts::ReadWritePart::setModified().

Referenced by clearModified(), and closeWindows().

void PartController::closeActivePart  )  [private]
 

Definition at line 603 of file partcontroller.cpp.

References KParts::PartManager::activePart(), and closePart().

Referenced by slotCloseWindow().

bool PartController::closeAllWindows  ) 
 

Definition at line 812 of file partcontroller.cpp.

References closeWindows().

Referenced by ProjectManager::closeProject(), readyToClose(), and slotCloseAllWindows().

bool PartController::closePart KParts::Part part  )  [private]
 

Definition at line 612 of file partcontroller.cpp.

References closePart(), KParts::ReadOnlyPart::closeURL(), TopLevel::getInstance(), partWidgetIcons, KDevMainWindow::removeView(), and KParts::Part::widget().

Referenced by closeActivePart(), closePart(), closePartForWidget(), and closeWindows().

bool PartController::closePartForWidget const QWidget widget  )  [virtual]
 

Implements KDevPartController.

Definition at line 871 of file partcontroller.cpp.

References closePart(), closePartForWidget(), and KParts::PartManager::parts().

Referenced by MainWindow::childWindowCloseRequest(), closePartForWidget(), and slotClosePartForWidget().

bool PartController::closeWindows KURL::List const &  ignoreList  )  [private]
 

Definition at line 779 of file partcontroller.cpp.

References clearModified(), closePart(), closeWindows(), KSaveSelectDialog::filesNotToSave(), KSaveSelectDialog::filesToSave(), main(), modifiedDocuments(), KParts::PartManager::parts(), saveFiles(), and KParts::ReadOnlyPart::url().

Referenced by closeAllWindows(), closeWindows(), and slotCloseOtherWindows().

QPopupMenu * PartController::contextPopupMenu  )  [private]
 

Definition at line 551 of file partcontroller.cpp.

References endl(), TopLevel::getInstance(), kdDebug(), main(), and KDevMainWindow::main().

Referenced by integratePart(), and reinstallPopups().

void PartController::createInstance QWidget parent  )  [static]
 

Definition at line 95 of file partcontroller.cpp.

References createInstance(), and s_instance.

Referenced by createInstance().

void PartController::dirty const QString fileName  )  [private, slot]
 

Definition at line 1059 of file partcontroller.cpp.

References dirty().

Referenced by dirty(), and PartController().

void PartController::editDocument const KURL inputUrl,
int  lineNum = -1,
int  col = -1
[virtual]
 

Implements KDevPartController.

Definition at line 224 of file partcontroller.cpp.

References activatePart(), URLUtil::canonicalPath(), KURL::cleanPath(), KParts::Factory::createPart(), editDocument(), endl(), findPartFactory(), findURLInProject(), EditorProxy::getInstance(), API::getInstance(), integratePart(), KURL::isLocalFile(), KURL::isValid(), k_funcinfo, kdDebug(), m_presetEncoding, main(), KParts::ReadOnlyPart::openURL(), partForURL(), KURL::path(), KURL::prettyURL(), KDevApi::project(), KDevProject::projectDirectory(), KService::Ptr, KParts::URLArgs::serviceType, EditorProxy::setLineNumber(), KURL::setPath(), KParts::BrowserExtension::setURLArgs(), and KURL::url().

Referenced by editDocument(), Debugger::gotoExecutionPoint(), main(), ProjectSession::recreateViews(), showDocument(), slotOpenFile(), and slotOpenRecent().

void PartController::editText const KURL url,
int  num
[private]
 

DocumentationPart * PartController::findDocPart const QString context  )  [private]
 

Definition at line 409 of file partcontroller.cpp.

References DocumentationPart::context(), findDocPart(), and KParts::PartManager::parts().

Referenced by findDocPart(), and showDocument().

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

Implements KDevPartController.

Definition at line 197 of file partcontroller.cpp.

References KURL::cleanPath(), findOpenDocument(), findURLInProject(), API::getInstance(), partForURL(), and KDevApi::project().

Referenced by findOpenDocument().

KParts::Factory * PartController::findPartFactory const QString mimeType,
const QString partType,
const QString preferredName = QString::null
[private]
 

Definition at line 423 of file partcontroller.cpp.

References KLibLoader::factory(), findPartFactory(), and KLibLoader::self().

Referenced by editDocument(), and findPartFactory().

KURL PartController::findURLInProject const KURL url  )  [private]
 

Definition at line 206 of file partcontroller.cpp.

References KDevProject::allFiles(), findURLInProject(), API::getInstance(), KDevApi::project(), KDevProject::projectDirectory(), and KURL::url().

Referenced by editDocument(), findOpenDocument(), and findURLInProject().

PartController * PartController::getInstance  )  [static]
 

Definition at line 102 of file partcontroller.cpp.

References s_instance.

Referenced by MainWindow::childWindowCloseRequest(), ProjectManager::closeProject(), Debugger::gotoExecutionPoint(), main(), Debugger::marksChanged(), DocumentationPart::openURLRequest(), API::partController(), DocumentationPart::popup(), EditorProxy::popupAboutToShow(), Core::queryClose(), ProjectSession::recreateViews(), Debugger::setBreakpoint(), DocumentationPart::slotDuplicate(), MainWindowShare::slotKeyBindings(), MainWindowShare::slotNewToolbarConfig(), DocumentationPart::slotReload(), and MainWindow::slotViewActivated().

void PartController::integratePart KParts::Part part,
const KURL url,
bool  isTextEditor = false
[private]
 

Definition at line 450 of file partcontroller.cpp.

References accessTimeMap, KDirWatch::addFile(), contextPopupMenu(), KDirWatch::ctime(), dirWatcher, KDevMainWindow::embedPartView(), endl(), KURL::filename(), EditorProxy::getInstance(), TopLevel::getInstance(), EditorProxy::installPopup(), integratePart(), KURL::isLocalFile(), kdDebug(), KURL::path(), savePartWidgetIcon(), slotFileNameChanged(), slotNewStatus(), slotRestoreStatus(), slotUploadFinished(), KParts::ReadOnlyPart::url(), KURL::url(), KTextEditor::Document::views(), and KParts::Part::widget().

Referenced by editDocument(), integratePart(), and showDocument().

bool PartController::isDirty KParts::ReadOnlyPart part  )  [virtual]
 

true if the file has been modified outside KDevelop

Implements KDevPartController.

Definition at line 1065 of file partcontroller.cpp.

References accessTimeMap, KDirWatch::ctime(), dirWatcher, isDirty(), KURL::isLocalFile(), KURL::path(), and KParts::ReadOnlyPart::url().

Referenced by isDirty(), saveFile(), slotFileDirty(), slotNewStatus(), and slotRestoreStatus().

KURL::List PartController::modifiedDocuments  )  [private]
 

Definition at line 734 of file partcontroller.cpp.

References KParts::ReadWritePart::isModified(), KParts::PartManager::parts(), and KParts::ReadOnlyPart::url().

Referenced by closeWindows().

KParts::Part * PartController::partForURL const KURL url  ) 
 

Definition at line 577 of file partcontroller.cpp.

References KParts::PartManager::parts(), and KParts::ReadOnlyPart::url().

Referenced by Debugger::gotoExecutionPoint(), Debugger::marksChanged(), and Debugger::setBreakpoint().

void PartController::partURLChanged KParts::ReadOnlyPart  )  [signal]
 

Referenced by slotFileNameChanged().

bool PartController::readyToClose  ) 
 

Definition at line 882 of file partcontroller.cpp.

References closeAllWindows().

Referenced by Core::queryClose().

void PartController::reinstallPopups  ) 
 

Definition at line 512 of file partcontroller.cpp.

References contextPopupMenu(), EditorProxy::getInstance(), EditorProxy::installPopup(), and KParts::PartManager::parts().

Referenced by MainWindowShare::slotNewToolbarConfig().

void PartController::restorePartWidgetIcon KParts::Part part  ) 
 

Definition at line 1087 of file partcontroller.cpp.

References partWidgetIcons, restorePartWidgetIcon(), and KParts::Part::widget().

Referenced by restorePartWidgetIcon(), slotNewStatus(), and slotRestoreStatus().

void PartController::restoreState  )  [private, slot]
 

Definition at line 1024 of file partcontroller.cpp.

References HistoryEntry::context, m_history, m_restoring, showDocument(), updateMenuItems(), and HistoryEntry::url.

Referenced by slotBack(), slotBackPopupActivated(), slotForward(), and slotForwardPopupActivated().

void PartController::revertAllFiles  )  [virtual]
 

Implements KDevPartController.

Definition at line 721 of file partcontroller.cpp.

References KParts::PartManager::parts(), and revertFile().

Referenced by slotRevertAllFiles().

void PartController::revertFile KParts::Part part  )  [private]
 

Definition at line 708 of file partcontroller.cpp.

References accessTimeMap, KDirWatch::ctime(), dirWatcher, KURL::isLocalFile(), KParts::ReadOnlyPart::openURL(), KURL::path(), revertFile(), and KParts::ReadOnlyPart::url().

Referenced by revertAllFiles(), and revertFile().

void PartController::saveAllFiles  )  [virtual]
 

Implements KDevPartController.

Definition at line 695 of file partcontroller.cpp.

References KParts::PartManager::parts(), and saveFile().

Referenced by slotSaveAllFiles().

void PartController::saveFile KParts::Part part  )  [private]
 

Definition at line 680 of file partcontroller.cpp.

References endl(), TopLevel::getInstance(), isDirty(), KParts::ReadWritePart::isModified(), kdDebug(), KURL::prettyURL(), KParts::ReadWritePart::save(), saveFile(), KDevMainWindow::statusBar(), and KParts::ReadOnlyPart::url().

Referenced by saveAllFiles(), and saveFile().

void PartController::saveFiles KURL::List const &  filelist  )  [private]
 

Definition at line 751 of file partcontroller.cpp.

References partForURL(), KParts::ReadWritePart::save(), and saveFiles().

Referenced by closeWindows(), and saveFiles().

void PartController::savePartWidgetIcon KParts::Part part  ) 
 

Definition at line 1079 of file partcontroller.cpp.

References partWidgetIcons, savePartWidgetIcon(), and KParts::Part::widget().

Referenced by integratePart(), savePartWidgetIcon(), and showPart().

void PartController::saveState KParts::Part part  )  [private, slot]
 

Definition at line 1010 of file partcontroller.cpp.

References m_history, saveState(), KParts::ReadOnlyPart::url(), and HistoryEntry::url.

Referenced by saveState(), slotBack(), slotBackPopupActivated(), slotForward(), and slotForwardPopupActivated().

void PartController::setEncoding const QString encoding  )  [virtual]
 

Implements KDevPartController.

Definition at line 192 of file partcontroller.cpp.

References m_presetEncoding, and setEncoding().

Referenced by setEncoding().

void PartController::setupActions  )  [private]
 

Definition at line 108 of file partcontroller.cpp.

References KXMLGUIClient::actionCollection(), MainWindowUtils::beautifyToolTip(), KStdAction::close(), TopLevel::getInstance(), KRecentFilesAction::loadEntries(), m_backAction, m_closeAllWindowsAction, m_closeOtherWindowsAction, m_closeWindowAction, m_forwardAction, m_openRecentAction, m_revertAllFilesAction, m_saveAllFilesAction, m_switchToAction, KDevMainWindow::main(), KStdAction::open(), KStdAction::openRecent(), KToolBarPopupAction::popupMenu(), KAction::setEnabled(), KAction::setToolTip(), KAction::setWhatsThis(), slotBack(), slotBackAboutToShow(), slotBackPopupActivated(), slotCloseAllWindows(), slotCloseOtherWindows(), slotCloseWindow(), slotForward(), slotForwardAboutToShow(), slotForwardPopupActivated(), slotOpenFile(), slotOpenRecent(), slotRevertAllFiles(), slotSaveAllFiles(), slotSwitchTo(), and KAction::text.

Referenced by PartController().

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

Implements KDevPartController.

Definition at line 372 of file partcontroller.cpp.

References activatePart(), addHistoryEntry(), editDocument(), endl(), findDocPart(), integratePart(), KURL::isLocalFile(), kdDebug(), m_restoring, DocumentationPart::openURL(), DocumentationPart::setContext(), showDocument(), and KURL::url().

Referenced by DocumentationPart::openURLRequest(), DocumentationPart::popup(), ProjectSession::recreateViews(), restoreState(), showDocument(), DocumentationPart::slotDuplicate(), and DocumentationPart::slotReload().

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

Implements KDevPartController.

Definition at line 1036 of file partcontroller.cpp.

References activatePart(), KDevMainWindow::embedPartView(), TopLevel::getInstance(), KParts::PartManager::parts(), savePartWidgetIcon(), showPart(), and KParts::Part::widget().

Referenced by showPart().

void PartController::slotActivePartChanged KParts::Part part  )  [slot]
 

Definition at line 887 of file partcontroller.cpp.

References m_backAction, m_forwardAction, KAction::setEnabled(), slotActivePartChanged(), and updateMenuItems().

Referenced by PartController(), and slotActivePartChanged().

void PartController::slotBack  )  [private, slot]
 

Definition at line 929 of file partcontroller.cpp.

References KParts::PartManager::activePart(), m_history, restoreState(), and saveState().

Referenced by setupActions().

void PartController::slotBackAboutToShow  )  [private, slot]
 

Definition at line 947 of file partcontroller.cpp.

References m_backAction, m_history, and KToolBarPopupAction::popupMenu().

Referenced by setupActions().

void PartController::slotBackPopupActivated int  id  )  [private, slot]
 

Definition at line 959 of file partcontroller.cpp.

References KParts::PartManager::activePart(), m_backAction, m_history, KToolBarPopupAction::popupMenu(), restoreState(), saveState(), slotBackPopupActivated(), and updateMenuItems().

Referenced by setupActions(), and slotBackPopupActivated().

void PartController::slotCloseAllWindows  )  [slot]
 

Definition at line 817 of file partcontroller.cpp.

References closeAllWindows().

Referenced by ProjectManager::closeProject(), and setupActions().

void PartController::slotCloseOtherWindows  )  [private, slot]
 

Definition at line 822 of file partcontroller.cpp.

References KParts::PartManager::activePart(), closeWindows(), and KParts::ReadOnlyPart::url().

Referenced by setupActions().

void PartController::slotClosePartForWidget const QWidget widget  )  [slot]
 

Definition at line 866 of file partcontroller.cpp.

References closePartForWidget(), and slotClosePartForWidget().

Referenced by slotClosePartForWidget().

void PartController::slotCloseWindow  )  [private, slot]
 

Definition at line 729 of file partcontroller.cpp.

References closeActivePart().

Referenced by setupActions().

void PartController::slotCurrentChanged QWidget w  )  [slot]
 

Definition at line 833 of file partcontroller.cpp.

References endl(), kdDebug(), KParts::PartManager::parts(), and slotCurrentChanged().

Referenced by slotCurrentChanged(), and MainWindow::slotViewActivated().

void PartController::slotFileDirty const KURL url  )  [private, slot]
 

Definition at line 1125 of file partcontroller.cpp.

References endl(), isDirty(), KParts::ReadWritePart::isModified(), k_funcinfo, kdDebug(), partForURL(), slotFileDirty(), and KParts::Part::widget().

Referenced by PartController(), and slotFileDirty().

void PartController::slotFileNameChanged  )  [private, slot]
 

Definition at line 537 of file partcontroller.cpp.

References accessTimeMap, KDirWatch::ctime(), dirWatcher, KURL::isLocalFile(), partURLChanged(), and KParts::ReadOnlyPart::url().

Referenced by integratePart().

void PartController::slotForward  )  [private, slot]
 

Definition at line 938 of file partcontroller.cpp.

References KParts::PartManager::activePart(), m_history, restoreState(), and saveState().

Referenced by setupActions().

void PartController::slotForwardAboutToShow  )  [private, slot]
 

Definition at line 973 of file partcontroller.cpp.

References m_forwardAction, m_history, and KToolBarPopupAction::popupMenu().

Referenced by setupActions().

void PartController::slotForwardPopupActivated int  id  )  [private, slot]
 

Definition at line 985 of file partcontroller.cpp.

References KParts::PartManager::activePart(), m_forwardAction, m_history, KToolBarPopupAction::popupMenu(), restoreState(), saveState(), slotForwardPopupActivated(), and updateMenuItems().

Referenced by setupActions(), and slotForwardPopupActivated().

void PartController::slotNewStatus  )  [private, slot]
 

Definition at line 1095 of file partcontroller.cpp.

References KTextEditor::View::document(), endl(), isDirty(), KParts::ReadWritePart::isModified(), kdDebug(), restorePartWidgetIcon(), and KParts::Part::widget().

Referenced by integratePart().

void PartController::slotOpenFile  )  [private, slot]
 

Definition at line 847 of file partcontroller.cpp.

References KRecentFilesAction::addURL(), editDocument(), m_openRecentAction, main(), and KRecentFilesAction::saveEntries().

Referenced by setupActions().

void PartController::slotOpenRecent const KURL  )  [private, slot]
 

Definition at line 859 of file partcontroller.cpp.

References editDocument(), m_openRecentAction, KListAction::setCurrentItem(), and slotOpenRecent().

Referenced by setupActions(), and slotOpenRecent().

void PartController::slotRestoreStatus  )  [private, slot]
 

Definition at line 1114 of file partcontroller.cpp.

References isDirty(), and restorePartWidgetIcon().

Referenced by integratePart().

void PartController::slotRevertAllFiles  )  [private, slot]
 

Definition at line 703 of file partcontroller.cpp.

References revertAllFiles().

Referenced by setupActions().

void PartController::slotSaveAllFiles  )  [private, slot]
 

Definition at line 674 of file partcontroller.cpp.

References saveAllFiles().

Referenced by setupActions().

void PartController::slotSwitchTo  )  [private, slot]
 

Definition at line 896 of file partcontroller.cpp.

References activatePart(), KCompletionBase::completionObject(), endl(), KURL::fileName(), kdDebug(), KParts::PartManager::parts(), KDialogBase::plainPage(), KCompletion::setItems(), and KParts::ReadOnlyPart::url().

Referenced by setupActions().

void PartController::slotUploadFinished  )  [private, slot]
 

Definition at line 522 of file partcontroller.cpp.

References accessTimeMap, KURL::isLocalFile(), KURL::path(), and KParts::ReadOnlyPart::url().

Referenced by integratePart().

void PartController::updateMenuItems  )  [private, slot]
 

Definition at line 649 of file partcontroller.cpp.

References m_backAction, m_closeAllWindowsAction, m_closeOtherWindowsAction, m_closeWindowAction, m_forwardAction, m_history, m_revertAllFilesAction, m_saveAllFilesAction, KParts::PartManager::parts(), and KAction::setEnabled().

Referenced by addHistoryEntry(), PartController(), restoreState(), slotActivePartChanged(), slotBackPopupActivated(), and slotForwardPopupActivated().


Member Data Documentation

QMap< const KParts::ReadOnlyPart*, QDateTime > PartController::accessTimeMap [private]
 

Definition at line 152 of file partcontroller.h.

Referenced by integratePart(), isDirty(), revertFile(), slotFileNameChanged(), and slotUploadFinished().

KDirWatch* PartController::dirWatcher [private]
 

Definition at line 151 of file partcontroller.h.

Referenced by integratePart(), isDirty(), PartController(), revertFile(), and slotFileNameChanged().

KToolBarPopupAction* PartController::m_backAction [private]
 

Definition at line 148 of file partcontroller.h.

Referenced by setupActions(), slotActivePartChanged(), slotBackAboutToShow(), slotBackPopupActivated(), and updateMenuItems().

KAction* PartController::m_closeAllWindowsAction [private]
 

Definition at line 142 of file partcontroller.h.

Referenced by setupActions(), and updateMenuItems().

KAction * PartController::m_closeOtherWindowsAction [private]
 

Definition at line 142 of file partcontroller.h.

Referenced by setupActions(), and updateMenuItems().

KAction* PartController::m_closeWindowAction [private]
 

Definition at line 141 of file partcontroller.h.

Referenced by setupActions(), and updateMenuItems().

KToolBarPopupAction* PartController::m_forwardAction [private]
 

Definition at line 149 of file partcontroller.h.

Referenced by setupActions(), slotActivePartChanged(), slotForwardAboutToShow(), slotForwardPopupActivated(), and updateMenuItems().

QPtrList< HistoryEntry > PartController::m_history [private]
 

Definition at line 150 of file partcontroller.h.

Referenced by addHistoryEntry(), PartController(), restoreState(), saveState(), slotBack(), slotBackAboutToShow(), slotBackPopupActivated(), slotForward(), slotForwardAboutToShow(), slotForwardPopupActivated(), and updateMenuItems().

KRecentFilesAction* PartController::m_openRecentAction [private]
 

Definition at line 143 of file partcontroller.h.

Referenced by setupActions(), slotOpenFile(), and slotOpenRecent().

QString PartController::m_presetEncoding [private]
 

Definition at line 144 of file partcontroller.h.

Referenced by editDocument(), and setEncoding().

bool PartController::m_restoring [private]
 

Definition at line 154 of file partcontroller.h.

Referenced by PartController(), restoreState(), and showDocument().

KAction * PartController::m_revertAllFilesAction [private]
 

Definition at line 141 of file partcontroller.h.

Referenced by setupActions(), and updateMenuItems().

KAction * PartController::m_saveAllFilesAction [private]
 

Definition at line 141 of file partcontroller.h.

Referenced by setupActions(), and updateMenuItems().

KAction * PartController::m_switchToAction [private]
 

Definition at line 142 of file partcontroller.h.

Referenced by setupActions().

QMap< const KParts::Part*, QPixmap > PartController::partWidgetIcons [private]
 

Definition at line 153 of file partcontroller.h.

Referenced by closePart(), restorePartWidgetIcon(), and savePartWidgetIcon().

PartController * PartController::s_instance = 0 [static, private]
 

Definition at line 62 of file partcontroller.cpp.

Referenced by createInstance(), and getInstance().


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:04 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003