KDevelop API Documentation

HistoryPart Class Reference

Put a brief description here, the brief description ends at the first dot. More...

#include <historypart.h>

Inheritance diagram for HistoryPart:

Inheritance graph
[legend]
Collaboration diagram for HistoryPart:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HistoryPart (QObject *parent, const char *name, const QStringList &)
 ~HistoryPart ()

Private Slots

void partRemoved (KParts::Part *part)
void activePartChanged (KParts::Part *part)
void backActivated ()
void forwardActivated ()
void backAboutToShow ()
void forwardAboutToShow ()
void backPopupActivated (int id)
void forwardPopupActivated (int id)
void updateActions ()

Private Member Functions

void saveState (KParts::Part *part)
void restoreState ()
void setupActions ()
void addHistoryEntry (HistoryEntry *entry)

Private Attributes

QPtrList< HistoryEntrym_history
KToolBarPopupActionm_backAction
KToolBarPopupActionm_forwardAction
bool m_restoring

Detailed Description

Put a brief description here, the brief description ends at the first dot.

Put a more detailed description of your part in these lines. It can span over several lines. You can even use some html commands in these lines like: This is code, html links link text, and images.

Author(s):
Bernd Gehrmann

Maintainer(s):
$AUTHOR$

2nd maintainer full name ...

nth maintainer full name

Feature(s):
Describe the first feature

Describe the second feature ...

Describe the last feature

Bug:
Describe a the 1st bug that you know of, but probably hasn't been reported yet. ..

Describe a the nth bug that you know of, but probably hasn't been reported yet.

Requirement(s):
Describe a the 1st requirement of your part.

Describe a the 2nd requirement of your part. ...

Describe a the nth requirement of your part.

Todo:
Describe a the 1st TODO of your part.

Describe a the 2nd TODO of your part. ...

Describe a the nth TODO of your part.

F.A.Q.:
First frequenly asked question about your part ? Answer.

Second frequenly asked question about your part ? Answer. ...

Last frequenly asked question about your part ? Answer.

Note:
First note text.

Second note text. ...

Last note text.

Warning:
First warning text.

Second warning text. ...

Last warning text.

Definition at line 20 of file historypart.h.


Constructor & Destructor Documentation

HistoryPart::HistoryPart QObject parent,
const char *  name,
const QStringList
 

HistoryPart::~HistoryPart  ) 
 

Definition at line 51 of file historypart.cpp.


Member Function Documentation

void HistoryPart::activePartChanged KParts::Part part  )  [private, slot]
 

Definition at line 226 of file historypart.cpp.

References addHistoryEntry(), kdDebug(), and m_restoring.

void HistoryPart::addHistoryEntry HistoryEntry entry  )  [private]
 

Definition at line 146 of file historypart.cpp.

References m_history, HistoryEntry::m_part, saveState(), and updateActions().

Referenced by activePartChanged().

void HistoryPart::backAboutToShow  )  [private, slot]
 

Definition at line 81 of file historypart.cpp.

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

Referenced by setupActions().

void HistoryPart::backActivated  )  [private, slot]
 

Definition at line 206 of file historypart.cpp.

References m_history, KDevPlugin::partController(), restoreState(), and saveState().

Referenced by setupActions().

void HistoryPart::backPopupActivated int  id  )  [private, slot]
 

Definition at line 107 of file historypart.cpp.

References m_backAction, m_history, KDevPlugin::partController(), KToolBarPopupAction::popupMenu(), restoreState(), saveState(), and updateActions().

Referenced by setupActions().

void HistoryPart::forwardAboutToShow  )  [private, slot]
 

Definition at line 94 of file historypart.cpp.

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

Referenced by setupActions().

void HistoryPart::forwardActivated  )  [private, slot]
 

Definition at line 216 of file historypart.cpp.

References m_history, KDevPlugin::partController(), restoreState(), and saveState().

Referenced by setupActions().

void HistoryPart::forwardPopupActivated int  id  )  [private, slot]
 

Definition at line 122 of file historypart.cpp.

References m_forwardAction, m_history, KDevPlugin::partController(), KToolBarPopupAction::popupMenu(), restoreState(), saveState(), and updateActions().

Referenced by setupActions().

void HistoryPart::partRemoved KParts::Part part  )  [private, slot]
 

Definition at line 239 of file historypart.cpp.

References m_history, and updateActions().

void HistoryPart::restoreState  )  [private]
 

Definition at line 178 of file historypart.cpp.

References kdDebug(), m_history, HistoryEntry::m_part, m_restoring, KDevPlugin::mainWindow(), KDevPlugin::partController(), KParts::PartManager::parts(), KDevMainWindow::raiseView(), KParts::PartManager::setActivePart(), updateActions(), and KParts::Part::widget().

Referenced by backActivated(), backPopupActivated(), forwardActivated(), and forwardPopupActivated().

void HistoryPart::saveState KParts::Part part  )  [private]
 

Definition at line 159 of file historypart.cpp.

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

Referenced by addHistoryEntry(), backActivated(), backPopupActivated(), forwardActivated(), and forwardPopupActivated().

void HistoryPart::setupActions  )  [private]
 

Definition at line 56 of file historypart.cpp.

References KXMLGUIClient::actionCollection(), backAboutToShow(), backActivated(), backPopupActivated(), forwardAboutToShow(), forwardActivated(), forwardPopupActivated(), m_backAction, m_forwardAction, KToolBarPopupAction::popupMenu(), KAction::setToolTip(), and KAction::setWhatsThis().

void HistoryPart::updateActions  )  [private, slot]
 

Definition at line 137 of file historypart.cpp.

References kdDebug(), m_backAction, m_forwardAction, m_history, and KAction::setEnabled().

Referenced by addHistoryEntry(), backPopupActivated(), forwardPopupActivated(), partRemoved(), and restoreState().


Member Data Documentation

KToolBarPopupAction* HistoryPart::m_backAction [private]
 

Definition at line 57 of file historypart.h.

Referenced by backAboutToShow(), backPopupActivated(), setupActions(), and updateActions().

KToolBarPopupAction * HistoryPart::m_forwardAction [private]
 

Definition at line 57 of file historypart.h.

Referenced by forwardAboutToShow(), forwardPopupActivated(), setupActions(), and updateActions().

QPtrList<HistoryEntry> HistoryPart::m_history [private]
 

Definition at line 55 of file historypart.h.

Referenced by addHistoryEntry(), backAboutToShow(), backActivated(), backPopupActivated(), forwardAboutToShow(), forwardActivated(), forwardPopupActivated(), partRemoved(), restoreState(), saveState(), and updateActions().

bool HistoryPart::m_restoring [private]
 

Definition at line 59 of file historypart.h.

Referenced by activePartChanged(), and restoreState().


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:43:22 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003