KUrlNavigatorButton Class Reference
Button of the URL navigator which contains one part of an URL. More...
#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 | setText (const QString &text) |
| void | setUrl (const KUrl &url) |
| 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 | 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.
Definition at line 50 of file kurlnavigatorbutton_p.h.
Constructor & Destructor Documentation
Definition at line 40 of file kurlnavigatorbutton.cpp.
| KUrlNavigatorButton::~KUrlNavigatorButton | ( | ) | [virtual] |
Definition at line 63 of file kurlnavigatorbutton.cpp.
Member Function Documentation
| QString KUrlNavigatorButton::activeSubDirectory | ( | ) | const |
Definition at line 113 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::clicked | ( | const KUrl & | url, |
| Qt::MouseButton | button | ||
| ) | [signal] |
| void KUrlNavigatorButton::dragEnterEvent | ( | QDragEnterEvent * | event | ) | [protected, virtual] |
Definition at line 253 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::dragLeaveEvent | ( | QDragLeaveEvent * | event | ) | [protected, virtual] |
Definition at line 290 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::dragMoveEvent | ( | QDragMoveEvent * | event | ) | [protected, virtual] |
Definition at line 263 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::dropEvent | ( | QDropEvent * | event | ) | [protected, virtual] |
Definition at line 240 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::enterEvent | ( | QEvent * | event | ) | [protected, virtual] |
Reimplemented from KUrlNavigatorButtonBase.
Definition at line 218 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::finishedTextResolving | ( | ) | [signal] |
Is emitted, if the asynchronous resolving of the text has been finished (see startTextResolving()).
KUrlNavigatorButton::text() contains the resolved text.
| void KUrlNavigatorButton::leaveEvent | ( | QEvent * | event | ) | [protected, virtual] |
Reimplemented from KUrlNavigatorButtonBase.
Definition at line 229 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 319 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::mousePressEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 299 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 308 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
Definition at line 128 of file kurlnavigatorbutton.cpp.
| void 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 104 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::setText | ( | const QString & | text | ) |
Definition at line 87 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::setUrl | ( | const KUrl & | url | ) |
Definition at line 67 of file kurlnavigatorbutton.cpp.
| QSize KUrlNavigatorButton::sizeHint | ( | void | ) | const [virtual] |
- See also:
- QWidget::sizeHint()
Definition at line 118 of file kurlnavigatorbutton.cpp.
| void 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 KUrlNavigatorButton::url | ( | ) | const |
Definition at line 82 of file kurlnavigatorbutton.cpp.
| void KUrlNavigatorButton::urlsDropped | ( | const KUrl & | destination, |
| QDropEvent * | event | ||
| ) | [signal] |
Is emitted if URLs have been dropped to the destination destination.
| void KUrlNavigatorButton::wheelEvent | ( | QWheelEvent * | event | ) | [protected, virtual] |
Definition at line 330 of file kurlnavigatorbutton.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference