#include <kurlnavigatorbutton_p.h>

Signals | |
| void | clicked (const KUrl &url, Qt::MouseButton button) |
| void | finishedTextResolving () |
| void | startedTextResolving () |
| void | urlsDropped (const KUrl &destination, QDropEvent *event) |
Public Member Functions | |
| KUrlNavigatorButton (const KUrl &url, QWidget *parent) | |
| virtual | ~KUrlNavigatorButton () |
| QString | activeSubDirectory () const |
| void | setActiveSubDirectory (const QString &subDir) |
| void | setShowMnemonic (bool show) |
| void | setText (const QString &text) |
| void | setUrl (const KUrl &url) |
| bool | showMnemonic () const |
| virtual QSize | sizeHint () const |
| KUrl | url () const |
Protected Member Functions | |
| virtual void | dragEnterEvent (QDragEnterEvent *event) |
| virtual void | dragLeaveEvent (QDragLeaveEvent *event) |
| virtual void | dragMoveEvent (QDragMoveEvent *event) |
| virtual void | dropEvent (QDropEvent *event) |
| virtual void | enterEvent (QEvent *event) |
| virtual void | keyPressEvent (QKeyEvent *event) |
| virtual void | leaveEvent (QEvent *event) |
| virtual void | mouseMoveEvent (QMouseEvent *event) |
| virtual void | mousePressEvent (QMouseEvent *event) |
| virtual void | mouseReleaseEvent (QMouseEvent *event) |
| virtual void | paintEvent (QPaintEvent *event) |
| virtual void | wheelEvent (QWheelEvent *event) |
Detailed Description
Button of the URL navigator which contains one part of an URL.
It is possible to drop a various number of items to an UrlNavigatorButton. In this case a context menu is opened where the user must select whether he wants to copy, move or link the dropped items to the URL part indicated by the button.
Constructor & Destructor Documentation
| KDEPrivate::KUrlNavigatorButton::KUrlNavigatorButton | ( | const KUrl & | url, |
| QWidget * | parent | ||
| ) | [explicit] |
Definition at line 43 of file kurlnavigatorbutton.cpp.
| KDEPrivate::KUrlNavigatorButton::~KUrlNavigatorButton | ( | ) | [virtual] |
Definition at line 67 of file kurlnavigatorbutton.cpp.
Member Function Documentation
| QString KDEPrivate::KUrlNavigatorButton::activeSubDirectory | ( | ) | const |
Definition at line 130 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::clicked | ( | const KUrl & | url, |
| Qt::MouseButton | button | ||
| ) | [signal] |
| void KDEPrivate::KUrlNavigatorButton::dragEnterEvent | ( | QDragEnterEvent * | event | ) | [protected, virtual] |
Definition at line 305 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::dragLeaveEvent | ( | QDragLeaveEvent * | event | ) | [protected, virtual] |
Definition at line 342 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::dragMoveEvent | ( | QDragMoveEvent * | event | ) | [protected, virtual] |
Definition at line 315 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::dropEvent | ( | QDropEvent * | event | ) | [protected, virtual] |
Definition at line 292 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::enterEvent | ( | QEvent * | event | ) | [protected, virtual] |
Reimplemented from KDEPrivate::KUrlNavigatorButtonBase.
Definition at line 254 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::finishedTextResolving | ( | ) | [signal] |
Is emitted, if the asynchronous resolving of the text has been finished (see startTextResolving()).
KUrlNavigatorButton::text() contains the resolved text.
| void KDEPrivate::KUrlNavigatorButton::keyPressEvent | ( | QKeyEvent * | event | ) | [protected, virtual] |
Definition at line 276 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::leaveEvent | ( | QEvent * | event | ) | [protected, virtual] |
Reimplemented from KDEPrivate::KUrlNavigatorButtonBase.
Definition at line 265 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 371 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::mousePressEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 351 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 360 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
Definition at line 158 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::setActiveSubDirectory | ( | const QString & | subDir | ) |
Sets the name of the sub directory that should be marked when opening the sub directories popup.
Definition at line 121 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::setShowMnemonic | ( | bool | show | ) |
Definition at line 145 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::setText | ( | const QString & | text | ) |
Definition at line 104 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::setUrl | ( | const KUrl & | url | ) |
Definition at line 71 of file kurlnavigatorbutton.cpp.
| bool KDEPrivate::KUrlNavigatorButton::showMnemonic | ( | ) | const |
Definition at line 153 of file kurlnavigatorbutton.cpp.
| QSize KDEPrivate::KUrlNavigatorButton::sizeHint | ( | void | ) | const [virtual] |
- See also:
- QWidget::sizeHint()
Definition at line 135 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::startedTextResolving | ( | ) | [signal] |
Is emitted, if KUrlNavigatorButton::setUrl() cannot resolve the text synchronously and KUrlNavigator::text() will return an empty string in this case.
The signal finishedTextResolving() is emitted, as soon as the text has been resolved.
| KUrl KDEPrivate::KUrlNavigatorButton::url | ( | ) | const |
Definition at line 99 of file kurlnavigatorbutton.cpp.
| void KDEPrivate::KUrlNavigatorButton::urlsDropped | ( | const KUrl & | destination, |
| QDropEvent * | event | ||
| ) | [signal] |
Is emitted if URLs have been dropped to the destination destination.
| void KDEPrivate::KUrlNavigatorButton::wheelEvent | ( | QWheelEvent * | event | ) | [protected, virtual] |
Definition at line 382 of file kurlnavigatorbutton.cpp.
The documentation for this class was generated from the following files:
KDE 4.7 API Reference