KFile
Go to the documentation of this file.
19 #ifndef KFILEPLACESVIEW_H
20 #define KFILEPLACESVIEW_H
24 #include <QtGui/QListView>
29 class QContextMenuEvent;
50 void setDropOnPlaceEnabled(
bool enabled);
51 bool isDropOnPlaceEnabled()
const;
59 void setAutoResizeItemsEnabled(
bool enabled);
60 bool isAutoResizeItemsEnabled()
const;
63 void setUrl(
const KUrl &url);
64 void setShowAll(
bool showAll);
65 virtual QSize sizeHint()
const;
69 virtual void keyPressEvent(QKeyEvent *event);
70 virtual void contextMenuEvent(QContextMenuEvent *event);
71 virtual void resizeEvent(QResizeEvent *event);
72 virtual void showEvent(QShowEvent *event);
73 virtual void hideEvent(QHideEvent *event);
74 virtual void dragEnterEvent(QDragEnterEvent *event);
75 virtual void dragLeaveEvent(QDragLeaveEvent *event);
76 virtual void dragMoveEvent(QDragMoveEvent *event);
77 virtual void dropEvent(QDropEvent *event);
78 virtual void paintEvent(QPaintEvent *event);
81 void rowsInserted(
const QModelIndex &parent,
int start,
int end);
82 void dataChanged(
const QModelIndex &topLeft,
const QModelIndex &bottomRight);
85 void urlChanged(
const KUrl &url);
92 void urlsDropped(
const KUrl &dest, QDropEvent *event,
QWidget *parent);
95 Q_PRIVATE_SLOT(d,
void adaptItemSize())
96 Q_PRIVATE_SLOT(d,
void _k_placeClicked(
const QModelIndex &))
97 Q_PRIVATE_SLOT(d,
void _k_placeEntered(
const QModelIndex &))
98 Q_PRIVATE_SLOT(d,
void _k_placeLeft(
const QModelIndex &))
99 Q_PRIVATE_SLOT(d,
void _k_storageSetupDone(
const QModelIndex &,
bool))
100 Q_PRIVATE_SLOT(d,
void _k_adaptItemsUpdate(qreal))
101 Q_PRIVATE_SLOT(d,
void _k_itemAppearUpdate(qreal))
102 Q_PRIVATE_SLOT(d,
void _k_itemDisappearUpdate(qreal))
103 Q_PRIVATE_SLOT(d,
void _k_enableSmoothItemResizing())
104 Q_PRIVATE_SLOT(d,
void _k_trashUpdated(
KJob *))
105 Q_PRIVATE_SLOT(d,
void _k_capacityBarFadeValueChanged())
106 Q_PRIVATE_SLOT(d,
void _k_triggerDevicePolling())
110 friend class Private;
This class allows to display a KFilePlacesModel.
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.