Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Data Exporter
Commits
7f97a20e
Commit
7f97a20e
authored
Feb 08, 2020
by
Laurent Montel
Browse files
Initialize it
parent
4587e365
Changes
1
Hide whitespace changes
Inline
Side-by-side
gui/pimdataexporterwindow.cpp
View file @
7f97a20e
...
...
@@ -58,11 +58,21 @@
#include
<dialog/pimdataexporterconfiguredialog.h>
#ifdef WITH_KUSERFEEDBACK
#include
"userfeedback/userfeedbackmanager.h"
#include
<KUserFeedback/NotificationPopup>
#include
<KUserFeedback/Provider>
#endif
PimDataExporterWindow
::
PimDataExporterWindow
(
QWidget
*
parent
)
:
KXmlGuiWindow
(
parent
)
{
//Initialize filtermanager
(
void
)
MailCommon
::
FilterManager
::
instance
();
#ifdef WITH_KUSERFEEDBACK
//Initialize
(
void
)
UserFeedBackManager
::
self
();
#endif
PimDataExporterKernel
*
kernel
=
new
PimDataExporterKernel
(
this
);
CommonKernel
->
registerKernelIf
(
kernel
);
//register KernelIf early, it is used by the Filter classes
CommonKernel
->
registerSettingsIf
(
kernel
);
//SettingsIf is used in FolderTreeWidget
...
...
@@ -76,6 +86,10 @@ PimDataExporterWindow::PimDataExporterWindow(QWidget *parent)
Akonadi
::
ControlGui
::
widgetNeedsAkonadi
(
this
);
statusBar
()
->
hide
();
mTrayIcon
=
new
PimDataTrayIcon
(
this
);
#ifdef WITH_KUSERFEEDBACK
KUserFeedback
::
NotificationPopup
*
userFeedBackNotificationPopup
=
new
KUserFeedback
::
NotificationPopup
(
this
);
userFeedBackNotificationPopup
->
setFeedbackProvider
(
UserFeedBackManager
::
self
()
->
userFeedbackProvider
());
#endif
}
PimDataExporterWindow
::~
PimDataExporterWindow
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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