SourceNavPart Class Reference
Basic plugin to navigate forward/backwards through code. More...
#include <sourcenav_part.h>
Inheritance diagram for SourceNavPart:


Public Slots | |
| void | slotNavForward () |
| void | slotNavBack () |
Public Member Functions | |
| SourceNavPart (QObject *parent, const char *name, const QStringList &) | |
| ~SourceNavPart () | |
Private Slots | |
| void | slotPartAdded (KParts::Part *part) |
| void | slotTextChanged () |
| void | fillBackPopup () |
| void | fillForwardPopup () |
| void | backPopupClicked (int id) |
| void | forwardPopupClicked (int id) |
Private Member Functions | |
| Anchor | getCurrentPos () |
| void | gotoPos (const Anchor &ankh) |
| bool | isNearby (const Anchor &pos1, const Anchor &pos2) |
| void | enableActions () |
| void | navigate (AnchorList &list1, AnchorList &list2) |
| void | navigate (int id, AnchorList &list1, AnchorList &list2) |
| void | fillPopup (const AnchorList &list, QPopupMenu *pop) |
| void | cleanupList (AnchorList &list) |
Private Attributes | |
| KToolBarPopupAction * | navForward |
| KToolBarPopupAction * | navBack |
| AnchorList | navList |
| AnchorList | forwardList |
| bool | backPopupVisible |
| bool | forwardPopupVisible |
Detailed Description
Basic plugin to navigate forward/backwards through code.THIS PART IS OBSOLETE
Please leave the code until I find time to merge it into the history part.
2002-08-10 Harald Fernengel
- Deprecated:
- THIS PART IS OBSOLETE. Please leave the code until Harald Fernengel finds time to merge it into the history part.
- Feature(s):
- Navigate forward/backwards through code
Definition at line 59 of file sourcenav_part.h.
Constructor & Destructor Documentation
|
||||||||||||||||
|
|
Definition at line 71 of file sourcenav_part.cpp. |
Member Function Documentation
|
|
Definition at line 75 of file sourcenav_part.cpp. References forwardList, navigate(), and navList. Referenced by SourceNavPart(). |
|
|
Definition at line 254 of file sourcenav_part.cpp. References AnchorList, and MAX_HISTORY. Referenced by slotTextChanged(). |
|
|
Definition at line 248 of file sourcenav_part.cpp. References forwardList, navBack, navForward, navList, and KAction::setEnabled(). Referenced by navigate(), and slotTextChanged(). |
|
|
Definition at line 107 of file sourcenav_part.cpp. References fillPopup(), navBack, navList, and KToolBarPopupAction::popupMenu(). Referenced by SourceNavPart(). |
|
|
Definition at line 112 of file sourcenav_part.cpp. References fillPopup(), forwardList, navForward, and KToolBarPopupAction::popupMenu(). Referenced by SourceNavPart(). |
|
||||||||||||
|
Definition at line 85 of file sourcenav_part.cpp. References AnchorList. Referenced by fillBackPopup(), and fillForwardPopup(). |
|
|
Definition at line 80 of file sourcenav_part.cpp. References forwardList, navigate(), and navList. Referenced by SourceNavPart(). |
|
|
Definition at line 134 of file sourcenav_part.cpp. References KParts::PartManager::activePart(), KParts::PartManager::activeWidget(), KTextEditor::ViewCursorInterface::cursorPosition(), KDevPlugin::partController(), and KParts::ReadOnlyPart::url(). Referenced by navigate(), and slotTextChanged(). |
|
|
Definition at line 156 of file sourcenav_part.cpp. References KDevPartController::editDocument(), Anchor::line(), KDevPlugin::partController(), and Anchor::url(). Referenced by navigate(). |
|
||||||||||||
|
Definition at line 164 of file sourcenav_part.cpp. References Anchor::isValid(), Anchor::line(), and Anchor::url(). Referenced by navigate(), and slotTextChanged(). |
|
||||||||||||||||
|
Definition at line 189 of file sourcenav_part.cpp. References AnchorList, enableActions(), gotoPos(), Anchor::id(), and Anchor::isValid(). |
|
||||||||||||
|
Definition at line 211 of file sourcenav_part.cpp. References AnchorList, enableActions(), getCurrentPos(), gotoPos(), and isNearby(). Referenced by backPopupClicked(), forwardPopupClicked(), slotNavBack(), and slotNavForward(). |
|
|
Definition at line 238 of file sourcenav_part.cpp. References forwardList, navigate(), and navList. Referenced by SourceNavPart(). |
|
|
Definition at line 243 of file sourcenav_part.cpp. References forwardList, navigate(), and navList. Referenced by SourceNavPart(). |
|
|
Definition at line 118 of file sourcenav_part.cpp. References slotTextChanged(). Referenced by SourceNavPart(). |
|
|
Definition at line 172 of file sourcenav_part.cpp. References cleanupList(), enableActions(), forwardList, getCurrentPos(), Anchor::id(), isNearby(), MAX_CLEANUP, and navList. Referenced by slotPartAdded(). |
Member Data Documentation
|
|
Definition at line 93 of file sourcenav_part.h. Referenced by SourceNavPart(). |
|
|
Definition at line 92 of file sourcenav_part.h. Referenced by backPopupClicked(), enableActions(), fillForwardPopup(), forwardPopupClicked(), slotNavBack(), slotNavForward(), and slotTextChanged(). |
|
|
Definition at line 93 of file sourcenav_part.h. Referenced by SourceNavPart(). |
|
|
Definition at line 90 of file sourcenav_part.h. Referenced by enableActions(), fillBackPopup(), and SourceNavPart(). |
|
|
Definition at line 90 of file sourcenav_part.h. Referenced by enableActions(), fillForwardPopup(), and SourceNavPart(). |
|
|
Definition at line 91 of file sourcenav_part.h. Referenced by backPopupClicked(), enableActions(), fillBackPopup(), forwardPopupClicked(), slotNavBack(), slotNavForward(), and slotTextChanged(). |
The documentation for this class was generated from the following files:
- parts/sourcenav/sourcenav_part.h
- parts/sourcenav/sourcenav_part.cpp
