Logo Search packages:      
Sourcecode: unity-2d version File versions  Download package

Public Types | Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots | Private Member Functions | Private Attributes | Friends

LauncherPlacesList Class Reference

Inheritance diagram for LauncherPlacesList:
Inheritance graph
[legend]
Collaboration diagram for LauncherPlacesList:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Roles { RoleItem, RoleShowEntry }

Public Slots

void move (int from, int to)

Public Member Functions

Q_INVOKABLE void appendModel (const QVariant &model)
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
Q_INVOKABLE PlaceEntryfindPlaceEntry (const QString &fileName, const QString &groupName)
Q_INVOKABLE QVariant get (int row) const
 LauncherPlacesList (QObject *parent=0)
virtual Q_INVOKABLE bool removeRows (int row, int count, const QModelIndex &parent=QModelIndex())
Q_INVOKABLE int rowCount (const QModelIndex &parent=QModelIndex()) const
Q_INVOKABLE void startAllPlaceServices ()

Protected Member Functions

void aggregateListModel (QAbstractItemModel *model)
void removeListModel (QAbstractItemModel *model)

Protected Attributes

QList< QAbstractItemModel * > m_models

Private Slots

void onDirectoryChanged (const QString &)

Private Member Functions

PlaceaddPlace (const QString &file)
PlaceremovePlace (const QString &file)

Private Attributes

QStringList m_placeFiles
QFileSystemWatcher * m_watch

Friends

class ListAggregatorModelTest

Detailed Description

Definition at line 31 of file launcherplaceslist.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index