#include <sidebarmodel.h>
List of all members.
Public Slots |
| void | clicked (const QModelIndex &index) |
| void | doubleClicked (const QModelIndex &index) |
| void | rightClicked (const QPoint &globalPos, const QModelIndex &index) |
| void | refreshData () |
| void | selectFeature (LibraryFeature *pFeature) |
| void | slotDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
| void | slotRowsAboutToBeInserted (const QModelIndex &parent, int start, int end) |
| void | slotRowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
| void | slotRowsInserted (const QModelIndex &parent, int start, int end) |
| void | slotRowsRemoved (const QModelIndex &parent, int start, int end) |
| void | slotModelReset () |
| void | slotFeatureIsLoading (LibraryFeature *) |
| void | slotFeatureLoadingFinished (LibraryFeature *) |
Signals |
| void | selectIndex (const QModelIndex &index) |
Public Member Functions |
| | SidebarModel (QObject *parent=0) |
| virtual | ~SidebarModel () |
| void | addLibraryFeature (LibraryFeature *feature) |
| QModelIndex | getDefaultSelection () |
| void | setDefaultSelection (unsigned int index) |
| void | activateDefaultSelection () |
| QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| QModelIndex | parent (const QModelIndex &index) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| bool | dropAccept (const QModelIndex &index, QUrl url) |
| bool | dragMoveAccept (const QModelIndex &index, QUrl url) |
| virtual bool | hasChildren (const QModelIndex &parent=QModelIndex()) const |
Detailed Description
Definition at line 14 of file sidebarmodel.h.
Constructor & Destructor Documentation
| SidebarModel::SidebarModel |
( |
QObject * |
parent = 0 | ) |
[explicit] |
| SidebarModel::~SidebarModel |
( |
| ) |
[virtual] |
Member Function Documentation
| void SidebarModel::activateDefaultSelection |
( |
| ) |
|
| void SidebarModel::clicked |
( |
const QModelIndex & |
index | ) |
[slot] |
| int SidebarModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
| QVariant SidebarModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
| void SidebarModel::doubleClicked |
( |
const QModelIndex & |
index | ) |
[slot] |
| bool SidebarModel::dragMoveAccept |
( |
const QModelIndex & |
index, |
|
|
QUrl |
url |
|
) |
| |
| bool SidebarModel::dropAccept |
( |
const QModelIndex & |
index, |
|
|
QUrl |
url |
|
) |
| |
| QModelIndex SidebarModel::getDefaultSelection |
( |
| ) |
|
| bool SidebarModel::hasChildren |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const [virtual] |
| QModelIndex SidebarModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
| QModelIndex SidebarModel::parent |
( |
const QModelIndex & |
index | ) |
const |
| void SidebarModel::refreshData |
( |
| ) |
[slot] |
| void SidebarModel::rightClicked |
( |
const QPoint & |
globalPos, |
|
|
const QModelIndex & |
index |
|
) |
| [slot] |
| int SidebarModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
| void SidebarModel::selectIndex |
( |
const QModelIndex & |
index | ) |
[signal] |
| void SidebarModel::setDefaultSelection |
( |
unsigned int |
index | ) |
|
| void SidebarModel::slotDataChanged |
( |
const QModelIndex & |
topLeft, |
|
|
const QModelIndex & |
bottomRight |
|
) |
| [slot] |
| void SidebarModel::slotFeatureIsLoading |
( |
LibraryFeature * |
feature | ) |
[slot] |
| void SidebarModel::slotFeatureLoadingFinished |
( |
LibraryFeature * |
feature | ) |
[slot] |
| void SidebarModel::slotModelReset |
( |
| ) |
[slot] |
| void SidebarModel::slotRowsAboutToBeInserted |
( |
const QModelIndex & |
parent, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| [slot] |
| void SidebarModel::slotRowsAboutToBeRemoved |
( |
const QModelIndex & |
parent, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| [slot] |
| void SidebarModel::slotRowsInserted |
( |
const QModelIndex & |
parent, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| [slot] |
| void SidebarModel::slotRowsRemoved |
( |
const QModelIndex & |
parent, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| [slot] |
The documentation for this class was generated from the following files: