KFile
#include <kfileplacesview.h>
|
void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
|
void | rowsInserted (const QModelIndex &parent, int start, int end) |
|
This class allows to display a KFilePlacesModel.
Definition at line 34 of file kfileplacesview.h.
KFilePlacesView::KFilePlacesView |
( |
QWidget * |
parent = 0 | ) |
|
KFilePlacesView::~KFilePlacesView |
( |
| ) |
|
void KFilePlacesView::contextMenuEvent |
( |
QContextMenuEvent * |
event | ) |
|
|
protectedvirtual |
void KFilePlacesView::dataChanged |
( |
const QModelIndex & |
topLeft, |
|
|
const QModelIndex & |
bottomRight |
|
) |
| |
|
protectedslot |
void KFilePlacesView::dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
protectedvirtual |
void KFilePlacesView::dragLeaveEvent |
( |
QDragLeaveEvent * |
event | ) |
|
|
protectedvirtual |
void KFilePlacesView::dragMoveEvent |
( |
QDragMoveEvent * |
event | ) |
|
|
protectedvirtual |
void KFilePlacesView::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
protectedvirtual |
void KFilePlacesView::hideEvent |
( |
QHideEvent * |
event | ) |
|
|
protectedvirtual |
bool KFilePlacesView::isAutoResizeItemsEnabled |
( |
| ) |
const |
bool KFilePlacesView::isDropOnPlaceEnabled |
( |
| ) |
const |
void KFilePlacesView::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protectedvirtual |
void KFilePlacesView::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protectedvirtual |
void KFilePlacesView::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protectedvirtual |
void KFilePlacesView::rowsInserted |
( |
const QModelIndex & |
parent, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| |
|
protectedslot |
void KFilePlacesView::setAutoResizeItemsEnabled |
( |
bool |
enabled | ) |
|
If enabled is true (the default), items will automatically resize themselves to fill the view.
- Since
- 4.1
Definition at line 451 of file kfileplacesview.cpp.
void KFilePlacesView::setDropOnPlaceEnabled |
( |
bool |
enabled | ) |
|
If enabled is true, it is allowed dropping items above a place for e.
g. copy or move operations. The application has to take care itself to perform the operation (see KFilePlacesView::urlsDropped()). If enabled is false, it is only possible adding items as additional place. Per default dropping on a place is disabled.
Definition at line 441 of file kfileplacesview.cpp.
void KFilePlacesView::setShowAll |
( |
bool |
showAll | ) |
|
|
slot |
void KFilePlacesView::setUrl |
( |
const KUrl & |
url | ) |
|
|
slot |
void KFilePlacesView::showEvent |
( |
QShowEvent * |
event | ) |
|
|
protectedvirtual |
QSize KFilePlacesView::sizeHint |
( |
void |
| ) |
const |
|
virtualslot |
void KFilePlacesView::urlChanged |
( |
const KUrl & |
url | ) |
|
|
signal |
void KFilePlacesView::urlsDropped |
( |
const KUrl & |
dest, |
|
|
QDropEvent * |
event, |
|
|
QWidget * |
parent |
|
) |
| |
|
signal |
Is emitted if items are dropped on the place dest.
The application has to take care itself about performing the corresponding action like copying or moving.
The documentation for this class was generated from the following files:
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.