Logo Search packages:      
Sourcecode: bangarang version File versions  Download package

MediaItemModel::MediaItemModel ( QObject *  parent  ) 

Default constructor.

Definition at line 31 of file mediaitemmodel.cpp.

References MediaListProperties::lri.

                                               : QStandardItemModel(parent) 
{
    m_parent = parent;
    m_mediaListProperties.lri = QString();
    m_filter = QString();
    m_listEngineFactory = new ListEngineFactory(this);
    m_emitChangedAfterDrop = false;
    m_loadingState = false;
    connect(this, SIGNAL(rowsRemoved(const QModelIndex &, int, int)), this, SLOT(synchRemoveRows(const QModelIndex &, int, int)));
    m_mediaListCache = new MediaListCache(parent);
    m_cacheThreshold = 3000; //default to 3 second loading threshold for adding to cache
    m_forceRefreshFromSource = false;
    m_loadSources = false;
    m_reload = false;
}


Generated by  Doxygen 1.6.0   Back to index