Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi Data Import Wizard
Commits
43dfb061
Commit
43dfb061
authored
Sep 09, 2020
by
Laurent Montel
😁
Browse files
Modernize code
parent
e9b96606
Pipeline
#33699
passed with stage
in 26 minutes and 24 seconds
Changes
14
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/autodetect/importaddressbookpage.h
View file @
43dfb061
...
...
@@ -29,7 +29,7 @@ Q_SIGNALS:
void
importAddressbookClicked
();
private:
Ui
::
ImportAddressbookPage
*
ui
=
nullptr
;
Ui
::
ImportAddressbookPage
*
const
ui
;
};
#endif // IMPORTADDRESSBOOKPAGE_H
src/autodetect/importcalendarpage.h
View file @
43dfb061
...
...
@@ -29,7 +29,7 @@ Q_SIGNALS:
void
importCalendarClicked
();
private:
Ui
::
ImportCalendarPage
*
ui
=
nullptr
;
Ui
::
ImportCalendarPage
*
const
ui
;
};
#endif // IMPORTCALENDARPAGE_H
src/autodetect/importfilterinfogui.h
View file @
43dfb061
...
...
@@ -29,7 +29,7 @@ public:
QWidget
*
parent
()
const
override
;
private:
ImportMailPage
*
m_parent
=
nullptr
;
ImportMailPage
*
const
m_parent
;
};
#endif
/* IMPORTFILTERINFOGUI_H */
src/autodetect/importfilterpage.h
View file @
43dfb061
...
...
@@ -28,7 +28,7 @@ Q_SIGNALS:
void
importFiltersClicked
();
private:
Ui
::
ImportFilterPage
*
ui
=
nullptr
;
Ui
::
ImportFilterPage
*
const
ui
;
};
#endif // IMPORTFILTERPAGE_H
src/autodetect/importfinishpage.h
View file @
43dfb061
...
...
@@ -23,7 +23,7 @@ public:
void
addImportError
(
const
QString
&
log
);
private:
Ui
::
ImportFinishPage
*
ui
=
nullptr
;
Ui
::
ImportFinishPage
*
const
ui
;
};
#endif // IMPORTFINISHPAGE_H
src/autodetect/importmailpage.h
View file @
43dfb061
...
...
@@ -36,7 +36,7 @@ Q_SIGNALS:
private:
void
collectionChanged
(
const
Akonadi
::
Collection
&
collection
);
Ui
::
ImportMailPage
*
ui
=
nullptr
;
Ui
::
ImportMailPage
*
const
ui
;
};
#endif // IMPORTMAILPAGE_H
src/autodetect/importsettingpage.h
View file @
43dfb061
...
...
@@ -27,7 +27,7 @@ Q_SIGNALS:
void
importSettingsClicked
();
private:
Ui
::
ImportSettingPage
*
ui
=
nullptr
;
Ui
::
ImportSettingPage
*
const
ui
;
};
#endif // IMPORTSETTINGPAGE_H
src/autodetect/selectcomponentpage.h
View file @
43dfb061
...
...
@@ -31,7 +31,7 @@ private:
void
slotEverythingClicked
(
bool
clicked
);
void
slotComponentClicked
();
LibImportWizard
::
AbstractImporter
::
TypeSupportedOptions
mOptions
;
Ui
::
SelectComponentPage
*
ui
=
nullptr
;
Ui
::
SelectComponentPage
*
const
ui
;
};
#endif // SELECTCOMPONENTPAGE_H
src/autodetect/selectprogrampage.h
View file @
43dfb061
...
...
@@ -36,7 +36,7 @@ private:
void
slotItemDoubleClicked
(
QListWidgetItem
*
item
);
void
slotSelectManualSelectionChanged
(
bool
b
);
Ui
::
SelectProgramPage
*
ui
=
nullptr
;
Ui
::
SelectProgramPage
*
const
ui
;
};
#endif // SELECTPROGRAMPAGE_H
src/autodetect/widgets/selectprogramlistwidget.cpp
View file @
43dfb061
...
...
@@ -11,7 +11,6 @@
SelectProgramListWidget
::
SelectProgramListWidget
(
QWidget
*
parent
)
:
QListWidget
(
parent
)
,
mNoProgramFound
(
false
)
{
}
...
...
src/autodetect/widgets/selectprogramlistwidget.h
View file @
43dfb061
...
...
@@ -23,7 +23,7 @@ protected:
private:
void
generalPaletteChanged
();
QColor
mTextColor
;
bool
mNoProgramFound
;
bool
mNoProgramFound
=
false
;
};
#endif // SELECTPROGRAMLISTWIDGET_H
src/importwizarddisplayinfo.h
View file @
43dfb061
...
...
@@ -29,7 +29,7 @@ public:
QWidget
*
parentWidget
()
const
override
;
private:
ImportWizard
*
mImportWizard
=
nullptr
;
ImportWizard
*
const
mImportWizard
;
};
#endif // IMPORTWIZARDDISPLAYINFO_H
src/manual/importwizardfilterinfogui.h
View file @
43dfb061
...
...
@@ -28,8 +28,8 @@ public:
QWidget
*
parent
()
const
override
;
private:
QWidget
*
m_parent
=
nullptr
;
ManualImportMailPage
*
mManualImportMailPage
=
nullptr
;
QWidget
*
const
m_parent
;
ManualImportMailPage
*
const
mManualImportMailPage
;
};
#endif
/* IMPORTWIZARDFILTERINFOGUI_H */
src/manual/manualselectfilterpage.cpp
View file @
43dfb061
...
...
@@ -42,8 +42,8 @@ using namespace MailImporter;
ManualSelectFilterPage
::
ManualSelectFilterPage
(
QWidget
*
parent
)
:
QWidget
(
parent
)
,
mWidget
(
new
Ui
::
ManualSelectFilterPage
)
{
mWidget
=
new
Ui
::
ManualSelectFilterPage
;
mWidget
->
setupUi
(
this
);
mWidget
->
mIntroSidebar
->
setPixmap
(
QStandardPaths
::
locate
(
QStandardPaths
::
GenericDataLocation
,
QStringLiteral
(
"importwizard/pics/step1.png"
)));
connect
(
mWidget
->
mFilterCombo
,
QOverload
<
int
>::
of
(
&
QComboBox
::
activated
),
this
,
&
ManualSelectFilterPage
::
filterSelected
);
...
...
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