KFile
Go to the documentation of this file.
23 #ifndef KURLNAVIGATOR_H
24 #define KURLNAVIGATOR_H
29 #include <QtGui/QWidget>
30 #include <QtCore/QByteArray>
98 KUrl locationUrl(
int historyIndex = -1)
const;
120 void saveLocationState(
const QByteArray& state);
128 QByteArray locationState(
int historyIndex = -1)
const;
177 void setHomeUrl(
const KUrl& url);
179 KUrl homeUrl()
const;
187 void setUrlEditable(
bool editable);
194 bool isUrlEditable()
const;
205 void setShowFullPath(
bool show);
211 bool showFullPath()
const;
222 void setActive(
bool active);
228 bool isActive()
const;
236 void setPlacesSelectorVisible(
bool visible);
239 bool isPlacesSelectorVisible()
const;
245 KUrl uncommittedUrl()
const;
252 int historySize()
const;
259 int historyIndex()
const;
273 void setCustomProtocols(
const QStringList& protocols);
280 #if !defined(KDE_NO_DEPRECATED) && !defined(DOXYGEN_SHOULD_SKIP_THIS)
285 KDE_DEPRECATED
const KUrl& url()
const;
297 KDE_DEPRECATED
KUrl url(
int index)
const;
305 KDE_DEPRECATED
KUrl historyUrl(
int historyIndex)
const;
311 KDE_DEPRECATED
const KUrl& savedRootUrl()
const;
318 KDE_DEPRECATED
QPoint savedPosition()
const;
321 KDE_DEPRECATED
void setHomeUrl(
const QString& homeUrl);
332 void setLocationUrl(
const KUrl& url);
339 void requestActivation();
341 #if !defined(DOXYGEN_SHOULD_SKIP_THIS)
346 #if !defined(KDE_NO_DEPRECATED) && !defined(DOXYGEN_SHOULD_SKIP_THIS)
351 KDE_DEPRECATED
void setUrl(
const KUrl& url);
357 KDE_DEPRECATED
void saveRootUrl(
const KUrl& url);
363 KDE_DEPRECATED
void savePosition(
int x,
int y);
379 void urlChanged(
const KUrl& url);
388 void urlAboutToBeChanged(
const KUrl& newUrl);
394 void editableStateChanged(
bool editable);
400 void historyChanged();
408 void urlsDropped(
const KUrl& destination, QDropEvent* event);
413 void returnPressed();
420 void tabRequested(
const KUrl& url);
422 #if !defined(KDE_NO_DEPRECATED) && !defined(DOXYGEN_SHOULD_SKIP_THIS)
432 KDE_DEPRECATED
void urlsDropped(
const KUrl::List& urls,
433 const KUrl& destination);
437 #if !defined(DOXYGEN_SHOULD_SKIP_THIS)
443 virtual void keyPressEvent(QKeyEvent* event);
448 virtual void keyReleaseEvent(QKeyEvent* event);
455 virtual void mouseReleaseEvent(QMouseEvent* event);
457 virtual void resizeEvent(QResizeEvent* event);
459 virtual void wheelEvent(QWheelEvent* event);
461 virtual bool eventFilter(
QObject* watched, QEvent* event);
465 Q_PRIVATE_SLOT(d,
void slotReturnPressed())
466 Q_PRIVATE_SLOT(d,
void slotProtocolChanged(
const QString& protocol))
467 Q_PRIVATE_SLOT(d,
void switchView())
468 Q_PRIVATE_SLOT(d,
void dropUrls(
const KUrl& destination, QDropEvent*))
469 Q_PRIVATE_SLOT(d,
void slotNavigatorButtonClicked(
const KUrl& url, Qt::MouseButton button))
470 Q_PRIVATE_SLOT(d,
void openContextMenu())
471 Q_PRIVATE_SLOT(d,
void openPathSelectorMenu())
472 Q_PRIVATE_SLOT(d,
void updateButtonVisibility())
473 Q_PRIVATE_SLOT(d,
void switchToBreadcrumbMode())
474 Q_PRIVATE_SLOT(d,
void slotPathBoxChanged(
const QString& text))
475 Q_PRIVATE_SLOT(d,
void updateContent())
Widget that allows to navigate through the paths of an URL.
This class is a list view model.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:52:28 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.