Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE Pim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Unmaintained
KDE Pim
Commits
afc35beb
Commit
afc35beb
authored
Jun 16, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USe mamager
parent
984a053b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
kmail/src/kmkernel.cpp
kmail/src/kmkernel.cpp
+3
-0
kmail/src/kmkernel.h
kmail/src/kmkernel.h
+2
-0
No files found.
kmail/src/kmkernel.cpp
View file @
afc35beb
...
...
@@ -12,6 +12,7 @@ using KPIM::BroadcastStatus;
#include "undostack.h"
#include "kmreaderwin.h"
#include "kmmainwidget.h"
#include "search/checkindexingmanager.h"
#include "libkdepim/recentaddresses.h"
using
KPIM
::
RecentAddresses
;
#include "configuredialog/configuredialog.h"
...
...
@@ -227,6 +228,7 @@ KMKernel::KMKernel(QObject *parent) :
CommonKernel
->
registerSettingsIf
(
this
);
CommonKernel
->
registerFilterIf
(
this
);
mFolderArchiveManager
=
new
FolderArchiveManager
(
this
);
mCheckIndexingManager
=
new
CheckIndexingManager
(
this
);
}
KMKernel
::~
KMKernel
()
...
...
@@ -1679,6 +1681,7 @@ void KMKernel::slotRunBackgroundTasks() // called regularly by timer
mFolderCollectionMonitor
->
expireAllFolders
(
false
/*scheduled, not immediate*/
,
entityTreeModel
());
}
mCheckIndexingManager
->
start
(
entityTreeModel
());
#ifdef DEBUG_SCHEDULER // for debugging, see jobscheduler.h
mBackgroundTasksTimer
->
start
(
60
*
1000
);
// check again in 1 minute
#else
...
...
kmail/src/kmkernel.h
View file @
afc35beb
...
...
@@ -82,6 +82,7 @@ class KMainWindow;
class
KMMainWidget
;
class
ConfigureDialog
;
class
FolderArchiveManager
;
class
CheckIndexingManager
;
/**
* @short Central point of coordination in KMail
...
...
@@ -593,6 +594,7 @@ private:
QPointer
<
MailCommon
::
KMFilterDialog
>
mFilterEditDialog
;
PimCommon
::
AutoCorrection
*
mAutoCorrection
;
FolderArchiveManager
*
mFolderArchiveManager
;
CheckIndexingManager
*
mCheckIndexingManager
;
bool
mDebugBaloo
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment