Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kurlnavigator.h
Show First 20 Lines • Show All 437 Lines • ▼ Show 20 Line(s) | 378 | Q_SIGNALS: | |||
---|---|---|---|---|---|
438 | * directory of the new URL which is an ancestor of the old URL | 438 | * directory of the new URL which is an ancestor of the old URL | ||
439 | * (in the example paths this would be /home/user1/data/). | 439 | * (in the example paths this would be /home/user1/data/). | ||
440 | * This signal allows file managers to pre-select the directory | 440 | * This signal allows file managers to pre-select the directory | ||
441 | * that the user is navigating up from. | 441 | * that the user is navigating up from. | ||
442 | * @since 5.37.0 | 442 | * @since 5.37.0 | ||
443 | */ | 443 | */ | ||
444 | void urlSelectionRequested(const QUrl &url); | 444 | void urlSelectionRequested(const QUrl &url); | ||
445 | 445 | | |||
446 | void keyUpPressed(); | ||||
447 | void keyDownPressed(); | ||||
448 | | ||||
446 | protected: | 449 | protected: | ||
447 | #if !defined(DOXYGEN_SHOULD_SKIP_THIS) | 450 | #if !defined(DOXYGEN_SHOULD_SKIP_THIS) | ||
448 | /** | 451 | /** | ||
449 | * If the Escape key is pressed, the navigation bar should switch | 452 | * If the Escape key is pressed, the navigation bar should switch | ||
450 | * to the breadcrumb view. | 453 | * to the breadcrumb view. | ||
451 | * @see QWidget::keyPressEvent() | 454 | * @see QWidget::keyPressEvent() | ||
452 | */ | 455 | */ | ||
453 | void keyPressEvent(QKeyEvent *event) override; | 456 | void keyPressEvent(QKeyEvent *event) override; | ||
Show All 24 Lines | |||||
478 | 481 | | |||
479 | private: | 482 | private: | ||
480 | Q_PRIVATE_SLOT(d, void slotReturnPressed()) | 483 | Q_PRIVATE_SLOT(d, void slotReturnPressed()) | ||
481 | Q_PRIVATE_SLOT(d, void slotProtocolChanged(const QString &protocol)) | 484 | Q_PRIVATE_SLOT(d, void slotProtocolChanged(const QString &protocol)) | ||
482 | Q_PRIVATE_SLOT(d, void slotToggleEditableButtonPressed()) | 485 | Q_PRIVATE_SLOT(d, void slotToggleEditableButtonPressed()) | ||
483 | Q_PRIVATE_SLOT(d, void dropUrls(const QUrl &destination, QDropEvent *)) | 486 | Q_PRIVATE_SLOT(d, void dropUrls(const QUrl &destination, QDropEvent *)) | ||
484 | Q_PRIVATE_SLOT(d, void slotNavigatorButtonClicked(const QUrl &url, Qt::MouseButton button, Qt::KeyboardModifiers modifiers)) | 487 | Q_PRIVATE_SLOT(d, void slotNavigatorButtonClicked(const QUrl &url, Qt::MouseButton button, Qt::KeyboardModifiers modifiers)) | ||
485 | Q_PRIVATE_SLOT(d, void openContextMenu(QPoint)) | 488 | Q_PRIVATE_SLOT(d, void openContextMenu(QPoint)) | ||
489 | Q_PRIVATE_SLOT(d, void openHierarchyMenu()) | ||||
486 | Q_PRIVATE_SLOT(d, void openPathSelectorMenu()) | 490 | Q_PRIVATE_SLOT(d, void openPathSelectorMenu()) | ||
487 | Q_PRIVATE_SLOT(d, void updateButtonVisibility()) | 491 | Q_PRIVATE_SLOT(d, void updateButtonVisibility()) | ||
488 | Q_PRIVATE_SLOT(d, void switchToBreadcrumbMode()) | 492 | Q_PRIVATE_SLOT(d, void switchToBreadcrumbMode()) | ||
489 | Q_PRIVATE_SLOT(d, void slotPathBoxChanged(const QString &text)) | 493 | Q_PRIVATE_SLOT(d, void slotPathBoxChanged(const QString &text)) | ||
490 | Q_PRIVATE_SLOT(d, void updateContent()) | 494 | Q_PRIVATE_SLOT(d, void updateContent()) | ||
495 | Q_PRIVATE_SLOT(d, void slotKeyUpPressed()) | ||||
491 | 496 | | |||
492 | private: | 497 | private: | ||
493 | class Private; | 498 | class Private; | ||
494 | Private *const d; | 499 | Private *const d; | ||
495 | 500 | | |||
ngraham: Unrelated whitespace change | |||||
496 | Q_DISABLE_COPY(KUrlNavigator) | 501 | Q_DISABLE_COPY(KUrlNavigator) | ||
497 | }; | 502 | }; | ||
498 | 503 | | |||
499 | #endif | 504 | #endif |
Unrelated whitespace change