KIO
11 #ifndef KCOREURLNAVIGATOR_H
12 #define KCOREURLNAVIGATOR_H
14 #include "kiogui_export.h"
27 class KCoreUrlNavigatorPrivate;
44 Q_PROPERTY(
QUrl currentLocationUrl READ currentLocationUrl WRITE setCurrentLocationUrl NOTIFY currentLocationUrlChanged)
46 QUrl currentLocationUrl()
const;
47 void setCurrentLocationUrl(
const QUrl &url);
48 Q_SIGNAL
void currentLocationUrlChanged();
56 Q_SIGNAL
void currentUrlAboutToChange(
const QUrl &newUrl);
63 Q_PROPERTY(
int historySize READ historySize NOTIFY historySizeChanged)
64 int historySize()
const;
65 Q_SIGNAL
void historySizeChanged();
77 Q_SIGNAL
void urlSelectionRequested(
const QUrl &url);
84 Q_PROPERTY(
int historyIndex READ historyIndex NOTIFY historyIndexChanged)
85 int historyIndex()
const;
86 Q_SIGNAL
void historyIndexChanged();
92 Q_SIGNAL
void historyChanged();
98 Q_INVOKABLE
QUrl locationUrl(
int historyIndex = -1)
const;
114 Q_INVOKABLE
void saveLocationState(
const QVariant &state);
121 Q_INVOKABLE
QVariant locationState(
int historyIndex = -1)
const;
131 Q_INVOKABLE
bool goBack();
141 Q_INVOKABLE
bool goForward();
150 Q_INVOKABLE
bool goUp();
153 friend class KCoreUrlNavigatorPrivate;
154 std::unique_ptr<KCoreUrlNavigatorPrivate>
const d;
Object that helps with keeping track of URLs in file-manager like interfaces.
A combo box showing a number of recent URLs/directories.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:00:35 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.