11#ifndef KCOREURLNAVIGATOR_H
12#define KCOREURLNAVIGATOR_H
14#include "kiogui_export.h"
27class 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();
63 Q_PROPERTY(
int historySize READ historySize NOTIFY historySizeChanged)
64 int historySize()
const;
65 Q_SIGNAL
void historySizeChanged();
84 Q_PROPERTY(
int historyIndex READ historyIndex NOTIFY historyIndexChanged)
85 int historyIndex()
const;
86 Q_SIGNAL
void historyIndexChanged();
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.
Q_SIGNAL void urlSelectionRequested(const QUrl &url)
When the URL is changed and the new URL (e.g. /home/user1/) is a parent of the previous URL (e....
Q_SIGNAL void currentUrlAboutToChange(const QUrl &newUrl)
Is emitted, before the location URL is going to be changed to newUrl.
Q_SIGNAL void historyChanged()
Is emitted, if the history has been changed.
This class is a list view model.
This combobox shows a number of recent URLs/directories, as well as some default directories.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:28 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.