Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 59f48e36 authored by Laurent Montel's avatar Laurent Montel 😁

Remove unused method. Try to simplify reading code

parent b54ed937
......@@ -1145,7 +1145,6 @@ void ModelPrivate::clearJobList()
if (mInLengthyJobBatch) {
mInLengthyJobBatch = false;
mView->modelJobBatchTerminated();
}
qDeleteAll(mViewItemJobs);
......@@ -3919,7 +3918,6 @@ void ModelPrivate::viewItemJobStep()
// Ask the view to remove the eventual busy indications
if (mInLengthyJobBatch) {
mInLengthyJobBatch = false;
mView->modelJobBatchTerminated();
}
if (mLoading) {
......
......@@ -277,14 +277,6 @@ void View::setStorageModel(StorageModel *storageModel, PreSelectionMode preSelec
void View::modelJobBatchStarted()
{
// This is called by the model when the first job of a batch starts
d->mWidget->viewJobBatchStarted();
}
void View::modelJobBatchTerminated()
{
// This is called by the model when all the pending jobs have been processed
d->mWidget->viewJobBatchTerminated();
}
void View::modelHasBeenReset()
......
......@@ -555,11 +555,6 @@ protected:
*/
void modelJobBatchStarted();
/**
* This is called by Model to signal the end of a lengthy job batch.
* Note that this is NOT called for jobs that can be completed in a single step.
*/
void modelJobBatchTerminated();
/**
* This is called by Model to signal that the initial loading stage of a newly
......
......@@ -1071,14 +1071,6 @@ void Widget::viewStartDragRequest()
{
}
void Widget::viewJobBatchStarted()
{
}
void Widget::viewJobBatchTerminated()
{
}
void Widget::viewMessageStatusChangeRequest(MessageItem *msg, Akonadi::MessageStatus set, Akonadi::MessageStatus clear)
{
Q_UNUSED(msg);
......
......@@ -221,15 +221,6 @@ protected:
*/
virtual void viewMessageStatusChangeRequest(MessageItem *msg, Akonadi::MessageStatus set, Akonadi::MessageStatus clear);
/**
* This is called by View to signal a start of a (possibly lengthy) job batch.
*/
virtual void viewJobBatchStarted();
/**
* This is called by View to signal the end of a (possibly lengthy) job batch.
*/
virtual void viewJobBatchTerminated();
void tagIdSelected(const QVariant &data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment