|
|
|
|
@ -248,7 +248,7 @@ void KDescendantsProxyModel::setSourceModel(QAbstractItemModel *_sourceModel) |
|
|
|
|
{ |
|
|
|
|
beginResetModel(); |
|
|
|
|
|
|
|
|
|
static const char *modelSignals[] = { |
|
|
|
|
static const char *const modelSignals[] = { |
|
|
|
|
SIGNAL(rowsAboutToBeInserted(QModelIndex,int,int)), |
|
|
|
|
SIGNAL(rowsInserted(QModelIndex,int,int)), |
|
|
|
|
SIGNAL(rowsAboutToBeRemoved(QModelIndex,int,int)), |
|
|
|
|
@ -262,7 +262,7 @@ void KDescendantsProxyModel::setSourceModel(QAbstractItemModel *_sourceModel) |
|
|
|
|
SIGNAL(layoutChanged()), |
|
|
|
|
SIGNAL(destroyed()) |
|
|
|
|
}; |
|
|
|
|
static const char *proxySlots[] = { |
|
|
|
|
static const char *const proxySlots[] = { |
|
|
|
|
SLOT(sourceRowsAboutToBeInserted(QModelIndex,int,int)), |
|
|
|
|
SLOT(sourceRowsInserted(QModelIndex,int,int)), |
|
|
|
|
SLOT(sourceRowsAboutToBeRemoved(QModelIndex,int,int)), |
|
|
|
|
|