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 backPopupClicked(), forwardList, navigate(), and navList. Referenced by backPopupClicked(). |
|
Definition at line 254 of file sourcenav_part.cpp. References cleanupList(), and MAX_HISTORY. Referenced by cleanupList(), and 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(). |
|
Definition at line 112 of file sourcenav_part.cpp. References fillPopup(), forwardList, navForward, and KToolBarPopupAction::popupMenu(). |
|
Definition at line 85 of file sourcenav_part.cpp. References fillPopup(), and MAX_ITEMS. Referenced by fillBackPopup(), fillForwardPopup(), and fillPopup(). |
|
Definition at line 80 of file sourcenav_part.cpp. References forwardList, forwardPopupClicked(), navigate(), and navList. Referenced by forwardPopupClicked(). |
|
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(), gotoPos(), Anchor::line(), KDevPlugin::partController(), and Anchor::url(). Referenced by gotoPos(), and navigate(). |
|
Definition at line 164 of file sourcenav_part.cpp. References isNearby(), Anchor::isValid(), Anchor::line(), and Anchor::url(). Referenced by isNearby(), navigate(), and slotTextChanged(). |
|
Definition at line 189 of file sourcenav_part.cpp. References enableActions(), gotoPos(), Anchor::id(), Anchor::isValid(), and navigate(). |
|
Definition at line 211 of file sourcenav_part.cpp. References enableActions(), getCurrentPos(), gotoPos(), isNearby(), and navigate(). Referenced by backPopupClicked(), forwardPopupClicked(), navigate(), slotNavBack(), and slotNavForward(). |
|
Definition at line 238 of file sourcenav_part.cpp. References forwardList, navigate(), and navList. |
|
Definition at line 243 of file sourcenav_part.cpp. References forwardList, navigate(), and navList. |
|
Definition at line 118 of file sourcenav_part.cpp. References slotPartAdded(), and slotTextChanged(). Referenced by slotPartAdded(). |
|
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. |
|
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. |
|
Definition at line 90 of file sourcenav_part.h. Referenced by enableActions(), and fillBackPopup(). |
|
Definition at line 90 of file sourcenav_part.h. Referenced by enableActions(), and fillForwardPopup(). |
|
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