Changeset View
Changeset View
Standalone View
Standalone View
lib/contextmanager.cpp
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Line(s) | 91 | { | |||
---|---|---|---|---|---|
114 | */ | 114 | */ | ||
115 | connect(d->mDirModel, &SortedDirModel::rowsAboutToBeRemoved, this, &ContextManager::slotRowsAboutToBeRemoved); | 115 | connect(d->mDirModel, &SortedDirModel::rowsAboutToBeRemoved, this, &ContextManager::slotRowsAboutToBeRemoved); | ||
116 | 116 | | |||
117 | connect(d->mDirModel, &SortedDirModel::rowsInserted, this, &ContextManager::slotRowsInserted); | 117 | connect(d->mDirModel, &SortedDirModel::rowsInserted, this, &ContextManager::slotRowsInserted); | ||
118 | 118 | | |||
119 | connect(d->mDirModel->dirLister(), SIGNAL(redirection(QUrl)), | 119 | connect(d->mDirModel->dirLister(), SIGNAL(redirection(QUrl)), | ||
120 | SLOT(slotDirListerRedirection(QUrl))); | 120 | SLOT(slotDirListerRedirection(QUrl))); | ||
121 | 121 | | |||
122 | connect(d->mDirModel->dirLister(), static_cast<void (KDirLister::*)()>(&KDirLister::completed), this, &ContextManager::slotDirListerCompleted); | 122 | connect(d->mDirModel->dirLister(), QOverload<>::of(&KDirLister::completed), this, &ContextManager::slotDirListerCompleted); | ||
123 | 123 | | |||
124 | d->mSelectionModel = new QItemSelectionModel(d->mDirModel); | 124 | d->mSelectionModel = new QItemSelectionModel(d->mDirModel); | ||
125 | 125 | | |||
126 | connect(d->mSelectionModel, &QItemSelectionModel::selectionChanged, this, &ContextManager::slotSelectionChanged); | 126 | connect(d->mSelectionModel, &QItemSelectionModel::selectionChanged, this, &ContextManager::slotSelectionChanged); | ||
127 | connect(d->mSelectionModel, &QItemSelectionModel::currentChanged, this, &ContextManager::slotCurrentChanged); | 127 | connect(d->mSelectionModel, &QItemSelectionModel::currentChanged, this, &ContextManager::slotCurrentChanged); | ||
128 | 128 | | |||
129 | d->mSelectedFileItemListNeedsUpdate = false; | 129 | d->mSelectedFileItemListNeedsUpdate = false; | ||
130 | } | 130 | } | ||
▲ Show 20 Lines • Show All 234 Lines • Show Last 20 Lines |