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
473e8608
Commit
473e8608
authored
Jun 26, 2015
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use QStringLiteral
parent
1ee12f30
Changes
226
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
226 changed files
with
710 additions
and
710 deletions
+710
-710
accountwizard/configfile.cpp
accountwizard/configfile.cpp
+1
-1
accountwizard/ispdb/autoconfigkolabfreebusy.cpp
accountwizard/ispdb/autoconfigkolabfreebusy.cpp
+13
-13
accountwizard/ispdb/autoconfigkolabldap.cpp
accountwizard/ispdb/autoconfigkolabldap.cpp
+21
-21
accountwizard/ispdb/ispdb.cpp
accountwizard/ispdb/ispdb.cpp
+32
-32
accountwizard/servertest.cpp
accountwizard/servertest.cpp
+1
-1
accountwizard/setupautoconfigkolabfreebusy.cpp
accountwizard/setupautoconfigkolabfreebusy.cpp
+1
-1
accountwizard/setupmanager.cpp
accountwizard/setupmanager.cpp
+4
-4
agents/archivemailagent/archivemailmanager.cpp
agents/archivemailagent/archivemailmanager.cpp
+1
-1
agents/sendlateragent/sendlatermanager.cpp
agents/sendlateragent/sendlatermanager.cpp
+1
-1
akonadiconsole/monitoritem.cpp
akonadiconsole/monitoritem.cpp
+1
-1
akonadiconsole/rawsocketconsole.cpp
akonadiconsole/rawsocketconsole.cpp
+2
-2
akregator/plugins/mk4storage/feedstoragemk4impl.cpp
akregator/plugins/mk4storage/feedstoragemk4impl.cpp
+2
-2
akregator/plugins/mk4storage/mk4plugin.cpp
akregator/plugins/mk4storage/mk4plugin.cpp
+1
-1
akregator/src/feed.cpp
akregator/src/feed.cpp
+5
-5
akregator/src/feediconmanager.cpp
akregator/src/feediconmanager.cpp
+1
-1
akregator/src/feedlist.cpp
akregator/src/feedlist.cpp
+2
-2
akregator/src/utils/filtercolumnsproxymodel.h
akregator/src/utils/filtercolumnsproxymodel.h
+1
-1
blogilo/src/addeditblog.cpp
blogilo/src/addeditblog.cpp
+1
-1
blogilo/src/composer/blogilocomposereditor.cpp
blogilo/src/composer/blogilocomposereditor.cpp
+1
-1
calendarsupport/categoryhierarchyreader.cpp
calendarsupport/categoryhierarchyreader.cpp
+2
-2
calendarsupport/next/incidenceviewer.cpp
calendarsupport/next/incidenceviewer.cpp
+1
-1
calendarviews/agenda/agendaitem.cpp
calendarviews/agenda/agendaitem.cpp
+1
-1
calendarviews/agenda/agendaview.cpp
calendarviews/agenda/agendaview.cpp
+1
-1
calendarviews/list/listview.cpp
calendarviews/list/listview.cpp
+2
-2
composereditor-ng/private/composerview_p.cpp
composereditor-ng/private/composerview_p.cpp
+7
-7
composereditor-ng/table/composertablecellformatdialog.cpp
composereditor-ng/table/composertablecellformatdialog.cpp
+9
-9
grantleeeditor/contactprintthemeeditor/themeeditorpage.cpp
grantleeeditor/contactprintthemeeditor/themeeditorpage.cpp
+1
-1
grantleeeditor/headerthemeeditor/themeeditorpage.cpp
grantleeeditor/headerthemeeditor/themeeditorpage.cpp
+1
-1
importwizard/autodetect/balsa/balsaaddressbook.cpp
importwizard/autodetect/balsa/balsaaddressbook.cpp
+1
-1
importwizard/autodetect/claws-mail/clawsmailsettings.cpp
importwizard/autodetect/claws-mail/clawsmailsettings.cpp
+3
-3
importwizard/autodetect/evolutionv3/evolutionsettings.cpp
importwizard/autodetect/evolutionv3/evolutionsettings.cpp
+5
-5
importwizard/autodetect/sylpheed/sylpheedsettings.cpp
importwizard/autodetect/sylpheed/sylpheedsettings.cpp
+9
-9
importwizard/autodetect/thunderbird/thunderbirdaddressbook.cpp
...twizard/autodetect/thunderbird/thunderbirdaddressbook.cpp
+7
-7
incidenceeditor-ng/ldaputils.cpp
incidenceeditor-ng/ldaputils.cpp
+12
-12
incidenceeditor-ng/resourcemanagement.cpp
incidenceeditor-ng/resourcemanagement.cpp
+1
-1
kaddressbook/printing/mike/mikesstyle.cpp
kaddressbook/printing/mike/mikesstyle.cpp
+2
-2
kaddressbook/printing/ringbinder/ringbinderstyle.cpp
kaddressbook/printing/ringbinder/ringbinderstyle.cpp
+2
-2
kaddressbook/xxport/csv/csv_xxport.cpp
kaddressbook/xxport/csv/csv_xxport.cpp
+3
-3
kaddressbook/xxport/csv/csvimportdialog.cpp
kaddressbook/xxport/csv/csvimportdialog.cpp
+1
-1
kaddressbook/xxport/gmx/gmx_xxport.cpp
kaddressbook/xxport/gmx/gmx_xxport.cpp
+3
-3
kaddressbook/xxport/ldif/ldif_xxport.cpp
kaddressbook/xxport/ldif/ldif_xxport.cpp
+1
-1
kaddressbookgrantlee/printing/grantleeprint.cpp
kaddressbookgrantlee/printing/grantleeprint.cpp
+1
-1
kalarm/calendarmigrator.cpp
kalarm/calendarmigrator.cpp
+4
-4
kalarm/commandoptions.cpp
kalarm/commandoptions.cpp
+8
-8
kalarm/editdlgtypes.cpp
kalarm/editdlgtypes.cpp
+4
-4
kalarm/functions.cpp
kalarm/functions.cpp
+2
-2
kalarm/kalarmapp.cpp
kalarm/kalarmapp.cpp
+6
-6
kalarm/kamail.cpp
kalarm/kamail.cpp
+2
-2
kalarm/mainwindow.cpp
kalarm/mainwindow.cpp
+1
-1
kalarm/prefdlg.cpp
kalarm/prefdlg.cpp
+4
-4
kalarm/rtcwakeaction.cpp
kalarm/rtcwakeaction.cpp
+1
-1
kleopatra/commands/checksumcreatefilescommand.cpp
kleopatra/commands/checksumcreatefilescommand.cpp
+1
-1
kleopatra/commands/checksumverifyfilescommand.cpp
kleopatra/commands/checksumverifyfilescommand.cpp
+1
-1
kleopatra/commands/decryptverifyfilescommand.cpp
kleopatra/commands/decryptverifyfilescommand.cpp
+1
-1
kleopatra/commands/lookupcertificatescommand.cpp
kleopatra/commands/lookupcertificatescommand.cpp
+3
-3
kleopatra/commands/refreshopenpgpcertscommand.cpp
kleopatra/commands/refreshopenpgpcertscommand.cpp
+2
-2
kleopatra/commands/refreshx509certscommand.cpp
kleopatra/commands/refreshx509certscommand.cpp
+1
-1
kleopatra/commands/signencryptfilescommand.cpp
kleopatra/commands/signencryptfilescommand.cpp
+1
-1
kleopatra/conf/smimevalidationconfigurationwidget.cpp
kleopatra/conf/smimevalidationconfigurationwidget.cpp
+1
-1
kleopatra/crypto/decryptverifytask.cpp
kleopatra/crypto/decryptverifytask.cpp
+1
-1
kleopatra/crypto/gui/newsignencryptfileswizard.cpp
kleopatra/crypto/gui/newsignencryptfileswizard.cpp
+1
-1
kleopatra/crypto/gui/resolverecipientspage.h
kleopatra/crypto/gui/resolverecipientspage.h
+1
-1
kleopatra/crypto/gui/signerresolvepage.h
kleopatra/crypto/gui/signerresolvepage.h
+2
-2
kleopatra/crypto/signencryptfilestask.cpp
kleopatra/crypto/signencryptfilestask.cpp
+1
-1
kleopatra/kgpgconf/configuration.cpp
kleopatra/kgpgconf/configuration.cpp
+3
-3
kleopatra/kgpgconf/mainwindow.cpp
kleopatra/kgpgconf/mainwindow.cpp
+1
-1
kleopatra/newcertificatewizard/newcertificatewizard.cpp
kleopatra/newcertificatewizard/newcertificatewizard.cpp
+6
-6
kleopatra/selftest/libkleopatrarccheck.cpp
kleopatra/selftest/libkleopatrarccheck.cpp
+1
-1
kleopatra/uiserver/signencryptfilescommand.cpp
kleopatra/uiserver/signencryptfilescommand.cpp
+5
-5
kleopatra/utils/archivedefinition.cpp
kleopatra/utils/archivedefinition.cpp
+1
-1
kleopatra/utils/gnupg-helper.cpp
kleopatra/utils/gnupg-helper.cpp
+3
-3
kleopatra/utils/input.cpp
kleopatra/utils/input.cpp
+3
-3
kleopatra/view/keylistcontroller.cpp
kleopatra/view/keylistcontroller.cpp
+8
-8
kmail/antispam-virus/antispamwizard.cpp
kmail/antispam-virus/antispamwizard.cpp
+8
-8
kmail/autotests/dbustest.cpp
kmail/autotests/dbustest.cpp
+4
-4
kmail/configuredialog/configureaccountpage.cpp
kmail/configuredialog/configureaccountpage.cpp
+2
-2
kmail/configuredialog/configureagentswidget.cpp
kmail/configuredialog/configureagentswidget.cpp
+5
-5
kmail/configuredialog/configuresecuritypage.cpp
kmail/configuredialog/configuresecuritypage.cpp
+17
-17
kmail/editor/kmcomposewin.cpp
kmail/editor/kmcomposewin.cpp
+9
-9
kmail/identity/identitydialog.cpp
kmail/identity/identitydialog.cpp
+2
-2
kmail/job/removecollectionjob.cpp
kmail/job/removecollectionjob.cpp
+1
-1
kmail/kmcommands.cpp
kmail/kmcommands.cpp
+1
-1
kmail/kmkernel.cpp
kmail/kmkernel.cpp
+2
-2
kmail/kmmainwidget.cpp
kmail/kmmainwidget.cpp
+2
-2
kmail/kmreadermainwin.cpp
kmail/kmreadermainwin.cpp
+1
-1
kmail/kmreaderwin.cpp
kmail/kmreaderwin.cpp
+2
-2
kmail/kmstartup.cpp
kmail/kmstartup.cpp
+1
-1
kmail/searchdialog/kmsearchmessagemodel.cpp
kmail/searchdialog/kmsearchmessagemodel.cpp
+1
-1
knotes/apps/knotesapp.cpp
knotes/apps/knotesapp.cpp
+2
-2
knotes/kontactplugin/knotes_part.cpp
knotes/kontactplugin/knotes_part.cpp
+3
-3
knotes/notes/knote.cpp
knotes/notes/knote.cpp
+2
-2
knotes/print/knotegrantleeprint.cpp
knotes/print/knotegrantleeprint.cpp
+1
-1
knotes/print/knoteprintselectthemecombobox.cpp
knotes/print/knoteprintselectthemecombobox.cpp
+1
-1
kontact/plugins/summary/summaryview_plugin.cpp
kontact/plugins/summary/summaryview_plugin.cpp
+3
-3
kontact/src/aboutdialog.cpp
kontact/src/aboutdialog.cpp
+2
-2
kontact/src/mainwindow.cpp
kontact/src/mainwindow.cpp
+2
-2
korgac/alarmdialog.cpp
korgac/alarmdialog.cpp
+1
-1
korgac/koalarmclient.cpp
korgac/koalarmclient.cpp
+1
-1
korganizer/actionmanager.cpp
korganizer/actionmanager.cpp
+11
-11
korganizer/calendarview.cpp
korganizer/calendarview.cpp
+6
-6
korganizer/job/htmlexportjob.cpp
korganizer/job/htmlexportjob.cpp
+13
-13
korganizer/kcmdesignerfields.cpp
korganizer/kcmdesignerfields.cpp
+1
-1
korganizer/kontactplugin/korganizer/autotests/summaryeventtest.cpp
...r/kontactplugin/korganizer/autotests/summaryeventtest.cpp
+13
-13
korganizer/kontactplugin/korganizer/todosummarywidget.cpp
korganizer/kontactplugin/korganizer/todosummarywidget.cpp
+1
-1
korganizer/kontactplugin/specialdates/sdsummarywidget.cpp
korganizer/kontactplugin/specialdates/sdsummarywidget.cpp
+1
-1
korganizer/kontactplugin/specialdates/specialdates_plugin.cpp
...anizer/kontactplugin/specialdates/specialdates_plugin.cpp
+2
-2
korganizer/plugins/picoftheday/picoftheday.cpp
korganizer/plugins/picoftheday/picoftheday.cpp
+1
-1
korganizer/prefs/koprefsdialog.cpp
korganizer/prefs/koprefsdialog.cpp
+1
-1
korganizer/searchcollectionhelper.cpp
korganizer/searchcollectionhelper.cpp
+4
-4
korganizer/views/collectionview/autotests/modeltest.cpp
korganizer/views/collectionview/autotests/modeltest.cpp
+1
-1
korganizer/views/collectionview/autotests/reparentingmodeltest.cpp
...r/views/collectionview/autotests/reparentingmodeltest.cpp
+2
-2
korganizer/views/collectionview/controller.cpp
korganizer/views/collectionview/controller.cpp
+1
-1
korganizer/views/collectionview/reparentingmodel.cpp
korganizer/views/collectionview/reparentingmodel.cpp
+7
-7
ktnef/attachpropertydialog.cpp
ktnef/attachpropertydialog.cpp
+2
-2
ktnef/ktnefmain.cpp
ktnef/ktnefmain.cpp
+4
-4
libkdepim/addressline/addresslineedit/addresseelineedit_p.cpp
...depim/addressline/addresslineedit/addresseelineedit_p.cpp
+1
-1
libkdepim/freebusymodel/autotests/modeltest.cpp
libkdepim/freebusymodel/autotests/modeltest.cpp
+1
-1
libkdepim/job/collectionsearchjob.cpp
libkdepim/job/collectionsearchjob.cpp
+1
-1
libkdepim/ldap/ldapclientsearch.cpp
libkdepim/ldap/ldapclientsearch.cpp
+7
-7
libkdepimdbusinterfaces/reminderclient.cpp
libkdepimdbusinterfaces/reminderclient.cpp
+1
-1
libkdepimdbusinterfaces/urihandler.cpp
libkdepimdbusinterfaces/urihandler.cpp
+3
-3
libkleo/backends/chiasmus/chiasmusbackend.cpp
libkleo/backends/chiasmus/chiasmusbackend.cpp
+3
-3
libkleo/backends/chiasmus/chiasmusjob.cpp
libkleo/backends/chiasmus/chiasmusjob.cpp
+4
-4
libkleo/backends/chiasmus/chiasmuslibrary.cpp
libkleo/backends/chiasmus/chiasmuslibrary.cpp
+1
-1
libkleo/backends/chiasmus/obtainkeysjob.cpp
libkleo/backends/chiasmus/obtainkeysjob.cpp
+1
-1
libkleo/backends/qgpgme/qgpgmecryptoconfig.cpp
libkleo/backends/qgpgme/qgpgmecryptoconfig.cpp
+4
-4
libkleo/backends/qgpgme/qgpgmenewcryptoconfig.cpp
libkleo/backends/qgpgme/qgpgmenewcryptoconfig.cpp
+2
-2
libkleo/kleo/checksumdefinition.cpp
libkleo/kleo/checksumdefinition.cpp
+1
-1
libkleo/kleo/dn.cpp
libkleo/kleo/dn.cpp
+2
-2
libkleo/tests/test_gnupgprocessbase.cpp
libkleo/tests/test_gnupgprocessbase.cpp
+1
-1
libkleo/tests/test_keyselectiondialog.cpp
libkleo/tests/test_keyselectiondialog.cpp
+1
-1
libkleo/ui/cryptoconfigmodule.cpp
libkleo/ui/cryptoconfigmodule.cpp
+1
-1
libkleo/ui/directoryserviceswidget.cpp
libkleo/ui/directoryserviceswidget.cpp
+2
-2
libkleo/ui/dnattributeorderconfigwidget.cpp
libkleo/ui/dnattributeorderconfigwidget.cpp
+1
-1
libkleo/ui/messagebox.cpp
libkleo/ui/messagebox.cpp
+2
-2
libksieve/ksieveui/autocreatescripts/autocreatescriptutil.cpp
...sieve/ksieveui/autocreatescripts/autocreatescriptutil.cpp
+2
-2
libksieve/ksieveui/autocreatescripts/sieveactionwidgetlister.cpp
...ve/ksieveui/autocreatescripts/sieveactionwidgetlister.cpp
+1
-1
libksieve/ksieveui/autocreatescripts/sieveconditions/sieveconditionsize.cpp
.../autocreatescripts/sieveconditions/sieveconditionsize.cpp
+2
-2
libksieve/ksieveui/autocreatescripts/sieveconditions/widgets/selectcomparatorcombobox.cpp
...ipts/sieveconditions/widgets/selectcomparatorcombobox.cpp
+2
-2
libksieve/ksieveui/autocreatescripts/sieveincludewidget.cpp
libksieve/ksieveui/autocreatescripts/sieveincludewidget.cpp
+2
-2
libksieve/ksieveui/autocreatescripts/sievescriptlistbox.cpp
libksieve/ksieveui/autocreatescripts/sievescriptlistbox.cpp
+1
-1
libksieve/ksieveui/autocreatescripts/sievescriptparsingerrordialog.cpp
...eveui/autocreatescripts/sievescriptparsingerrordialog.cpp
+2
-2
libksieve/ksieveui/editor/sieveeditorwidget.cpp
libksieve/ksieveui/editor/sieveeditorwidget.cpp
+1
-1
libksieve/ksieveui/util/util.cpp
libksieve/ksieveui/util/util.cpp
+5
-5
libksieve/ksieveui/vacation/vacationscriptextractor.cpp
libksieve/ksieveui/vacation/vacationscriptextractor.cpp
+1
-1
libksieve/ksieveui/vacation/vacationutils.cpp
libksieve/ksieveui/vacation/vacationutils.cpp
+3
-3
mailcommon/filter/autotests/filteractionsettransporttest.cpp
mailcommon/filter/autotests/filteractionsettransporttest.cpp
+1
-1
mailcommon/filter/filterimporter/autotests/filterimportprocmailtest.cpp
...ter/filterimporter/autotests/filterimportprocmailtest.cpp
+1
-1
mailcommon/filter/filterimporter/autotests/filterimportthunderbirdtest.cpp
.../filterimporter/autotests/filterimportthunderbirdtest.cpp
+1
-1
mailcommon/filter/filterimporter/filterimporterthunderbird.cpp
...ommon/filter/filterimporter/filterimporterthunderbird.cpp
+8
-8
mailcommon/filter/kmfilterdialog.cpp
mailcommon/filter/kmfilterdialog.cpp
+1
-1
mailcommon/job/backupjob.cpp
mailcommon/job/backupjob.cpp
+5
-5
mailcommon/search/autotests/searchrulenumericaltest.cpp
mailcommon/search/autotests/searchrulenumericaltest.cpp
+2
-2
mailcommon/search/autotests/searchrulestatustest.cpp
mailcommon/search/autotests/searchrulestatustest.cpp
+2
-2
mailcommon/search/autotests/searchrulestringtest.cpp
mailcommon/search/autotests/searchrulestringtest.cpp
+2
-2
mailcommon/util/mailutil.cpp
mailcommon/util/mailutil.cpp
+4
-4
mailimporter/filter_evolution_v3.cpp
mailimporter/filter_evolution_v3.cpp
+1
-1
mailimporter/filter_mailmangzip.cpp
mailimporter/filter_mailmangzip.cpp
+1
-1
mailimporter/filter_oe.cpp
mailimporter/filter_oe.cpp
+3
-3
mailimporter/filter_pmail.cpp
mailimporter/filter_pmail.cpp
+3
-3
mailimporter/filterbalsa.cpp
mailimporter/filterbalsa.cpp
+1
-1
messagecomposer/autotests/messagefactorytest.cpp
messagecomposer/autotests/messagefactorytest.cpp
+3
-3
messagecomposer/composer-ng/richtextcomposeremailquotehighlighter.cpp
...ser/composer-ng/richtextcomposeremailquotehighlighter.cpp
+1
-1
messagecomposer/composer/composerviewbase.cpp
messagecomposer/composer/composerviewbase.cpp
+1
-1
messagecomposer/composer/keyresolver.cpp
messagecomposer/composer/keyresolver.cpp
+5
-5
messagecomposer/helper/messagefactory.cpp
messagecomposer/helper/messagefactory.cpp
+2
-2
messagecomposer/job/emailaddressresolvejob.cpp
messagecomposer/job/emailaddressresolvejob.cpp
+4
-4
messagecomposer/job/savecontactpreferencejob.cpp
messagecomposer/job/savecontactpreferencejob.cpp
+5
-5
messagecomposer/job/skeletonmessagejob.cpp
messagecomposer/job/skeletonmessagejob.cpp
+2
-2
messagecomposer/tests/testcomposerlineedit.cpp
messagecomposer/tests/testcomposerlineedit.cpp
+1
-1
messagecomposer/utils/util.cpp
messagecomposer/utils/util.cpp
+3
-3
messagecore/autotests/stringutiltest.cpp
messagecore/autotests/stringutiltest.cpp
+11
-11
messagecore/utils/stringutil.cpp
messagecore/utils/stringutil.cpp
+1
-1
messagelist/core/manager.cpp
messagelist/core/manager.cpp
+14
-14
messagelist/core/sortorder.cpp
messagelist/core/sortorder.cpp
+1
-1
messagelist/core/view.cpp
messagelist/core/view.cpp
+4
-4
messagelist/utils/configurethemesdialog.cpp
messagelist/utils/configurethemesdialog.cpp
+2
-2
messageviewer/adblock/adblockcreatefilterdialog.cpp
messageviewer/adblock/adblockcreatefilterdialog.cpp
+2
-2
messageviewer/adblock/adblockmanager.cpp
messageviewer/adblock/adblockmanager.cpp
+5
-5
messageviewer/adblock/adblockrulefallbackimpl.cpp
messageviewer/adblock/adblockrulefallbackimpl.cpp
+10
-10
messageviewer/adblock/networkaccessmanager.cpp
messageviewer/adblock/networkaccessmanager.cpp
+1
-1
messageviewer/adblock/tests/adblockblockableitemdialog_gui.cpp
...geviewer/adblock/tests/adblockblockableitemdialog_gui.cpp
+1
-1
messageviewer/autotests/gravatarconfigwidgettest.cpp
messageviewer/autotests/gravatarconfigwidgettest.cpp
+5
-5
messageviewer/autotests/objecttreeparsertest.cpp
messageviewer/autotests/objecttreeparsertest.cpp
+2
-2
messageviewer/autotests/rendertest.cpp
messageviewer/autotests/rendertest.cpp
+1
-1
messageviewer/header/contactdisplaymessagememento.cpp
messageviewer/header/contactdisplaymessagememento.cpp
+3
-3
messageviewer/header/entrepriseheaderstyle.cpp
messageviewer/header/entrepriseheaderstyle.cpp
+1
-1
messageviewer/header/grantleeheaderformatter.cpp
messageviewer/header/grantleeheaderformatter.cpp
+3
-3
messageviewer/header/kxface.cpp
messageviewer/header/kxface.cpp
+2
-2
messageviewer/job/attachmenteditjob.cpp
messageviewer/job/attachmenteditjob.cpp
+1
-1
messageviewer/job/attachmentencryptwithchiasmusjob.cpp
messageviewer/job/attachmentencryptwithchiasmusjob.cpp
+1
-1
messageviewer/scamdetection/scamcheckshorturl.cpp
messageviewer/scamdetection/scamcheckshorturl.cpp
+2
-2
messageviewer/scamdetection/scamdetectiondetailsdialog.cpp
messageviewer/scamdetection/scamdetectiondetailsdialog.cpp
+1
-1
messageviewer/scamdetection/tests/scamdetection_gui.cpp
messageviewer/scamdetection/tests/scamdetection_gui.cpp
+2
-2
messageviewer/utils/util.cpp
messageviewer/utils/util.cpp
+2
-2
messageviewer/viewer/mailwebview_webkit.cpp
messageviewer/viewer/mailwebview_webkit.cpp
+2
-2
messageviewer/viewer/nodehelper.cpp
messageviewer/viewer/nodehelper.cpp
+1
-1
messageviewer/viewer/objecttreeparser.cpp
messageviewer/viewer/objecttreeparser.cpp
+4
-4
messageviewer/viewer/urlhandlermanager.cpp
messageviewer/viewer/urlhandlermanager.cpp
+1
-1
messageviewer/viewer/viewer_p.cpp
messageviewer/viewer/viewer_p.cpp
+10
-10
noteshared/noteutils.cpp
noteshared/noteutils.cpp
+1
-1
pimcommon/autocorrection/autocorrection.cpp
pimcommon/autocorrection/autocorrection.cpp
+6
-6
pimcommon/migration/migrateapplicationfiles.cpp
pimcommon/migration/migrateapplicationfiles.cpp
+2
-2
pimcommon/shorturl/engine/googleshorturl.cpp
pimcommon/shorturl/engine/googleshorturl.cpp
+1
-1
pimcommon/storageservice/box/boxjob.cpp
pimcommon/storageservice/box/boxjob.cpp
+21
-21
pimcommon/storageservice/dropbox/dropboxjob.cpp
pimcommon/storageservice/dropbox/dropboxjob.cpp
+8
-8
pimcommon/storageservice/dropbox/dropboxutil.cpp
pimcommon/storageservice/dropbox/dropboxutil.cpp
+1
-1
pimcommon/storageservice/hubic/hubicjob.cpp
pimcommon/storageservice/hubic/hubicjob.cpp
+9
-9
pimcommon/storageservice/yousendit/yousenditjob.cpp
pimcommon/storageservice/yousendit/yousenditjob.cpp
+10
-10
pimcommon/storageservice/yousendit/yousenditutil.cpp
pimcommon/storageservice/yousendit/yousenditutil.cpp
+1
-1
pimcommon/templatewidgets/templatemanager.cpp
pimcommon/templatewidgets/templatemanager.cpp
+2
-2
pimcommon/util/createresource.cpp
pimcommon/util/createresource.cpp
+1
-1
pimcommon/util/imapresourcecapabilitiesmanager.cpp
pimcommon/util/imapresourcecapabilitiesmanager.cpp
+1
-1
pimcommon/util/pimutil.cpp
pimcommon/util/pimutil.cpp
+1
-1
pimsettingexporter/core/addressbook/exportaddressbookjob.cpp
pimsettingexporter/core/addressbook/exportaddressbookjob.cpp
+2
-2
pimsettingexporter/core/akonadidatabase.cpp
pimsettingexporter/core/akonadidatabase.cpp
+4
-4
pimsettingexporter/core/calendar/exportcalendarjob.cpp
pimsettingexporter/core/calendar/exportcalendarjob.cpp
+1
-1
pimsettingexporter/core/mail/exportmailjob.cpp
pimsettingexporter/core/mail/exportmailjob.cpp
+2
-2
pimsettingexporter/core/mail/importmailjob.cpp
pimsettingexporter/core/mail/importmailjob.cpp
+2
-2
pimsettingexporter/core/notes/exportnotesjob.cpp
pimsettingexporter/core/notes/exportnotesjob.cpp
+1
-1
pimsettingexporter/core/tests/selectiontreewidget_gui.cpp
pimsettingexporter/core/tests/selectiontreewidget_gui.cpp
+1
-1
pimsettingexporter/core/tests/showarchivestructuredialog_gui.cpp
...ingexporter/core/tests/showarchivestructuredialog_gui.cpp
+1
-1
pimsettingexporter/gui/pimsettingexporterwindow.cpp
pimsettingexporter/gui/pimsettingexporterwindow.cpp
+5
-5
plugins/messageviewer/bodypartformatter/calendar/text_calendar.cpp
...essageviewer/bodypartformatter/calendar/text_calendar.cpp
+7
-7
templateparser/templateparser.cpp
templateparser/templateparser.cpp
+1
-1
templateparser/templatesconfiguration.cpp
templateparser/templatesconfiguration.cpp
+2
-2
No files found.
accountwizard/configfile.cpp
View file @
473e8608
...
...
@@ -102,7 +102,7 @@ void ConfigFile::edit()
return
;
}
if
(
m_editName
==
Q
StringLiteral
(
"freebusy"
))
{
if
(
m_editName
==
Q
Latin1String
(
"freebusy"
))
{
KCMultiDialog
*
dialog
=
new
KCMultiDialog
();
dialog
->
addModule
(
QStringLiteral
(
"korganizer_configfreebusy.desktop"
));
dialog
->
show
();
...
...
accountwizard/ispdb/autoconfigkolabfreebusy.cpp
View file @
473e8608
...
...
@@ -64,33 +64,33 @@ freebusy AutoconfigKolabFreebusy::createFreebusyServer(const QDomElement &n)
QDomElement
f
=
o
.
toElement
();
if
(
!
f
.
isNull
())
{
const
QString
tagName
(
f
.
tagName
());
if
(
tagName
==
Q
StringLiteral
(
"hostname"
))
{
if
(
tagName
==
Q
Latin1String
(
"hostname"
))
{
s
.
hostname
=
replacePlaceholders
(
f
.
text
());
}
else
if
(
tagName
==
Q
StringLiteral
(
"port"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"port"
))
{
s
.
port
=
f
.
text
().
toInt
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"socketType"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"socketType"
))
{
const
QString
type
(
f
.
text
());
if
(
type
==
Q
StringLiteral
(
"plain"
))
{
if
(
type
==
Q
Latin1String
(
"plain"
))
{
s
.
socketType
=
None
;
}
else
if
(
type
==
Q
StringLiteral
(
"SSL"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"SSL"
))
{
s
.
socketType
=
SSL
;
}
if
(
type
==
Q
StringLiteral
(
"TLS"
))
{
if
(
type
==
Q
Latin1String
(
"TLS"
))
{
s
.
socketType
=
StartTLS
;
}
}
else
if
(
tagName
==
Q
StringLiteral
(
"username"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"username"
))
{
s
.
username
=
replacePlaceholders
(
f
.
text
());
}
else
if
(
tagName
==
Q
StringLiteral
(
"password"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"password"
))
{
s
.
password
=
f
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"authentication"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"authentication"
))
{
const
QString
type
(
f
.
text
());
if
(
type
==
Q
StringLiteral
(
"none"
)
||
type
==
Q
StringLiteral
(
"plain"
))
{
if
(
type
==
Q
Latin1String
(
"none"
)
||
type
==
Q
Latin1String
(
"plain"
))
{
s
.
authentication
=
Plain
;
}
else
if
(
type
==
Q
StringLiteral
(
"basic"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"basic"
))
{
s
.
authentication
=
Basic
;
}
}
else
if
(
tagName
==
Q
StringLiteral
(
"path"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"path"
))
{
s
.
path
=
f
.
text
();
}
}
...
...
accountwizard/ispdb/autoconfigkolabldap.cpp
View file @
473e8608
...
...
@@ -65,55 +65,55 @@ ldapServer AutoconfigKolabLdap::createLdapServer(const QDomElement &n)
QDomElement
f
=
o
.
toElement
();
if
(
!
f
.
isNull
())
{
const
QString
tagName
(
f
.
tagName
());
if
(
tagName
==
Q
StringLiteral
(
"hostname"
))
{
if
(
tagName
==
Q
Latin1String
(
"hostname"
))
{
s
.
hostname
=
replacePlaceholders
(
f
.
text
());
}
else
if
(
tagName
==
Q
StringLiteral
(
"port"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"port"
))
{
s
.
port
=
f
.
text
().
toInt
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"socketType"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"socketType"
))
{
const
QString
type
(
f
.
text
());
if
(
type
==
Q
StringLiteral
(
"plain"
))
{
if
(
type
==
Q
Latin1String
(
"plain"
))
{
s
.
socketType
=
KLDAP
::
LdapServer
::
None
;
}
else
if
(
type
==
Q
StringLiteral
(
"SSL"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"SSL"
))
{
s
.
socketType
=
KLDAP
::
LdapServer
::
SSL
;
}
else
if
(
type
==
Q
StringLiteral
(
"TLS"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"TLS"
))
{
s
.
socketType
=
KLDAP
::
LdapServer
::
TLS
;
}
}
else
if
(
tagName
==
Q
StringLiteral
(
"authentication"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"authentication"
))
{
const
QString
type
(
f
.
text
());
if
(
type
==
Q
StringLiteral
(
"anonyoum"
))
{
if
(
type
==
Q
Latin1String
(
"anonyoum"
))
{
s
.
authentication
=
KLDAP
::
LdapServer
::
Anonymous
;
}
else
if
(
type
==
Q
StringLiteral
(
"simple"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"simple"
))
{
s
.
authentication
=
KLDAP
::
LdapServer
::
Simple
;
}
else
if
(
type
==
Q
StringLiteral
(
"sasl"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"sasl"
))
{
s
.
authentication
=
KLDAP
::
LdapServer
::
SASL
;
}
}
else
if
(
tagName
==
Q
StringLiteral
(
"bindDn"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"bindDn"
))
{
s
.
bindDn
=
f
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"sasl-mech"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"sasl-mech"
))
{
s
.
saslMech
=
f
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"username"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"username"
))
{
s
.
username
=
f
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"password"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"password"
))
{
s
.
password
=
f
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"realm"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"realm"
))
{
s
.
realm
=
f
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"dn"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"dn"
))
{
s
.
dn
=
f
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"ldapVersion"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"ldapVersion"
))
{
s
.
ldapVersion
=
f
.
text
().
toInt
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"filter"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"filter"
))
{
s
.
filter
=
f
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"pagesize"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"pagesize"
))
{
s
.
pageSize
=
f
.
text
().
toInt
();
if
(
s
.
pageSize
<
1
||
s
.
pageSize
>
9999999
)
{
s
.
pageSize
=
-
1
;
}
}
else
if
(
tagName
==
Q
StringLiteral
(
"timelimit"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"timelimit"
))
{
s
.
timeLimit
=
f
.
text
().
toInt
();
if
(
s
.
timeLimit
<
1
||
s
.
timeLimit
>
9999999
)
{
s
.
timeLimit
=
-
1
;
}
}
else
if
(
tagName
==
Q
StringLiteral
(
"sizelimit"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"sizelimit"
))
{
s
.
sizeLimit
=
f
.
text
().
toInt
();
if
(
s
.
sizeLimit
<
1
||
s
.
sizeLimit
>
9999999
)
{
s
.
sizeLimit
=
-
1
;
...
...
accountwizard/ispdb/ispdb.cpp
View file @
473e8608
...
...
@@ -166,31 +166,31 @@ void Ispdb::parseResult(const QDomDocument &document)
if
(
!
e
.
isNull
())
{
//qCDebug(ACCOUNTWIZARD_LOG) << qPrintable(e.tagName());
const
QString
tagName
(
e
.
tagName
());
if
(
tagName
==
Q
StringLiteral
(
"domain"
))
{
if
(
tagName
==
Q
Latin1String
(
"domain"
))
{
mDomains
<<
e
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"displayName"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"displayName"
))
{
mDisplayName
=
e
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"displayShortName"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"displayShortName"
))
{
mDisplayShortName
=
e
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"incomingServer"
)
&&
e
.
attribute
(
QStringLiteral
(
"type"
))
==
Q
StringLiteral
(
"imap"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"incomingServer"
)
&&
e
.
attribute
(
QStringLiteral
(
"type"
))
==
Q
Latin1String
(
"imap"
))
{
Server
s
=
createServer
(
e
);
if
(
s
.
isValid
())
{
mImapServers
.
append
(
s
);
}
}
else
if
(
tagName
==
Q
StringLiteral
(
"incomingServer"
)
&&
e
.
attribute
(
QStringLiteral
(
"type"
))
==
Q
StringLiteral
(
"pop3"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"incomingServer"
)
&&
e
.
attribute
(
QStringLiteral
(
"type"
))
==
Q
Latin1String
(
"pop3"
))
{
Server
s
=
createServer
(
e
);
if
(
s
.
isValid
())
{
mPop3Servers
.
append
(
s
);
}
}
else
if
(
tagName
==
Q
StringLiteral
(
"outgoingServer"
)
&&
e
.
attribute
(
QStringLiteral
(
"type"
))
==
Q
StringLiteral
(
"smtp"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"outgoingServer"
)
&&
e
.
attribute
(
QStringLiteral
(
"type"
))
==
Q
Latin1String
(
"smtp"
))
{
Server
s
=
createServer
(
e
);
if
(
s
.
isValid
())
{
mSmtpServers
.
append
(
s
);
}
}
else
if
(
tagName
==
Q
StringLiteral
(
"identity"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"identity"
))
{
identity
i
=
createIdentity
(
e
);
if
(
i
.
isValid
())
{
mIdentities
.
append
(
i
);
...
...
@@ -232,37 +232,37 @@ Server Ispdb::createServer(const QDomElement &n)
QDomElement
f
=
o
.
toElement
();
if
(
!
f
.
isNull
())
{
const
QString
tagName
(
f
.
tagName
());
if
(
tagName
==
Q
StringLiteral
(
"hostname"
))
{
if
(
tagName
==
Q
Latin1String
(
"hostname"
))
{
s
.
hostname
=
replacePlaceholders
(
f
.
text
());
}
else
if
(
tagName
==
Q
StringLiteral
(
"port"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"port"
))
{
s
.
port
=
f
.
text
().
toInt
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"socketType"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"socketType"
))
{
const
QString
type
(
f
.
text
());
if
(
type
==
Q
StringLiteral
(
"plain"
))
{
if
(
type
==
Q
Latin1String
(
"plain"
))
{
s
.
socketType
=
None
;
}
else
if
(
type
==
Q
StringLiteral
(
"SSL"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"SSL"
))
{
s
.
socketType
=
SSL
;
}
if
(
type
==
Q
StringLiteral
(
"STARTTLS"
))
{
if
(
type
==
Q
Latin1String
(
"STARTTLS"
))
{
s
.
socketType
=
StartTLS
;
}
}
else
if
(
tagName
==
Q
StringLiteral
(
"username"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"username"
))
{
s
.
username
=
replacePlaceholders
(
f
.
text
());
}
else
if
(
tagName
==
Q
StringLiteral
(
"authentication"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"authentication"
))
{
const
QString
type
(
f
.
text
());
if
(
type
==
Q
StringLiteral
(
"password-cleartext"
)
||
type
==
Q
StringLiteral
(
"plain"
))
{
if
(
type
==
Q
Latin1String
(
"password-cleartext"
)
||
type
==
Q
Latin1String
(
"plain"
))
{
s
.
authentication
=
Plain
;
}
else
if
(
type
==
Q
StringLiteral
(
"password-encrypted"
)
||
type
==
Q
StringLiteral
(
"secure"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"password-encrypted"
)
||
type
==
Q
Latin1String
(
"secure"
))
{
s
.
authentication
=
CramMD5
;
}
else
if
(
type
==
Q
StringLiteral
(
"NTLM"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"NTLM"
))
{
s
.
authentication
=
NTLM
;
}
else
if
(
type
==
Q
StringLiteral
(
"GSSAPI"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"GSSAPI"
))
{
s
.
authentication
=
GSSAPI
;
}
else
if
(
type
==
Q
StringLiteral
(
"client-ip-based"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"client-ip-based"
))
{
s
.
authentication
=
ClientIP
;
}
else
if
(
type
==
Q
StringLiteral
(
"none"
))
{
}
else
if
(
type
==
Q
Latin1String
(
"none"
))
{
s
.
authentication
=
NoAuth
;
}
}
...
...
@@ -287,15 +287,15 @@ identity Ispdb::createIdentity(const QDomElement &n)
QDomElement
f
=
o
.
toElement
();
if
(
!
f
.
isNull
())
{
const
QString
tagName
(
f
.
tagName
());
if
(
tagName
==
Q
StringLiteral
(
"default"
))
{
i
.
mDefault
=
f
.
text
().
toLower
()
==
Q
StringLiteral
(
"true"
);
}
else
if
(
tagName
==
Q
StringLiteral
(
"email"
))
{
if
(
tagName
==
Q
Latin1String
(
"default"
))
{
i
.
mDefault
=
f
.
text
().
toLower
()
==
Q
Latin1String
(
"true"
);
}
else
if
(
tagName
==
Q
Latin1String
(
"email"
))
{
i
.
email
=
f
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"name"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"name"
))
{
i
.
name
=
f
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"organization"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"organization"
))
{
i
.
organization
=
f
.
text
();
}
else
if
(
tagName
==
Q
StringLiteral
(
"signature"
))
{
}
else
if
(
tagName
==
Q
Latin1String
(
"signature"
))
{
QTextStream
stream
(
&
i
.
signature
);
f
.
save
(
stream
,
0
);
i
.
signature
=
i
.
signature
.
trimmed
();
...
...
accountwizard/servertest.cpp
View file @
473e8608
...
...
@@ -42,7 +42,7 @@ void ServerTest::test(const QString &server, const QString &protocol)
qCDebug
(
ACCOUNTWIZARD_LOG
)
<<
server
<<
protocol
;
m_serverTest
->
setServer
(
server
);
m_serverTest
->
setProtocol
(
protocol
);
if
(
protocol
==
Q
StringLiteral
(
"submission"
))
{
if
(
protocol
==
Q
Latin1String
(
"submission"
))
{
m_serverTest
->
setProtocol
(
QStringLiteral
(
"smtp"
));
m_serverTest
->
setPort
(
MailTransport
::
Transport
::
EnumEncryption
::
None
,
587
);
m_serverTest
->
setPort
(
MailTransport
::
Transport
::
EnumEncryption
::
SSL
,
0
);
//No ssl port for submission
...
...
accountwizard/setupautoconfigkolabfreebusy.cpp
View file @
473e8608
...
...
@@ -67,7 +67,7 @@ void SetupAutoconfigKolabFreebusy::fillFreebusyServer(int i, QObject *o) const
url
+=
path
.
path
();
bool
fullDomainRetrieval
=
(
path
.
baseName
()
==
Q
StringLiteral
(
"$EMAIL$"
));
bool
fullDomainRetrieval
=
(
path
.
baseName
()
==
Q
Latin1String
(
"$EMAIL$"
));
QString
group
(
QStringLiteral
(
"FreeBusy Retrieve"
));
...
...
accountwizard/setupmanager.cpp
View file @
473e8608
...
...
@@ -244,13 +244,13 @@ void SetupManager::setPersonalDataAvailable(bool available)
QObject
*
SetupManager
::
ispDB
(
const
QString
&
type
)
{
const
QString
t
=
type
.
toLower
();
if
(
t
==
Q
StringLiteral
(
"autoconfigkolabmail"
))
{
if
(
t
==
Q
Latin1String
(
"autoconfigkolabmail"
))
{
return
new
SetupAutoconfigKolabMail
(
this
);
}
else
if
(
t
==
Q
StringLiteral
(
"autoconfigkolabldap"
))
{
}
else
if
(
t
==
Q
Latin1String
(
"autoconfigkolabldap"
))
{
return
new
SetupAutoconfigKolabLdap
(
this
);
}
else
if
(
t
==
Q
StringLiteral
(
"autoconfigkolabfreebusy"
))
{
}
else
if
(
t
==
Q
Latin1String
(
"autoconfigkolabfreebusy"
))
{
return
new
SetupAutoconfigKolabFreebusy
(
this
);
}
else
if
(
t
==
Q
StringLiteral
(
"ispdb"
))
{
}
else
if
(
t
==
Q
Latin1String
(
"ispdb"
))
{
return
new
SetupIspdb
(
this
);
}
else
{
return
new
SetupIspdb
(
this
);
...
...
agents/archivemailagent/archivemailmanager.cpp
View file @
473e8608
...
...
@@ -62,7 +62,7 @@ void ArchiveMailManager::load()
qDeleteAll
(
mListArchiveInfo
);
mListArchiveInfo
.
clear
();
const
QStringList
collectionList
=
mConfig
->
groupList
().
filter
(
QRegExp
(
Q
Latin1String
(
"ArchiveMailCollection
\\
d+"
)));
const
QStringList
collectionList
=
mConfig
->
groupList
().
filter
(
QRegExp
(
Q
StringLiteral
(
"ArchiveMailCollection
\\
d+"
)));
const
int
numberOfCollection
=
collectionList
.
count
();
for
(
int
i
=
0
;
i
<
numberOfCollection
;
++
i
)
{
KConfigGroup
group
=
mConfig
->
group
(
collectionList
.
at
(
i
));
...
...
agents/sendlateragent/sendlatermanager.cpp
View file @
473e8608
...
...
@@ -242,7 +242,7 @@ QString SendLaterManager::printDebugInfo()
QString
SendLaterManager
::
infoToStr
(
SendLater
::
SendLaterInfo
*
info
)
{
QString
infoStr
=
QLatin1String
(
"Recusive "
)
+
(
info
->
isRecurrence
()
?
Q
Latin1String
(
"true"
)
:
QLatin1String
(
"false"
));
QString
infoStr
=
QLatin1String
(
"Recusive "
)
+
(
info
->
isRecurrence
()
?
Q
StringLiteral
(
"true"
)
:
QStringLiteral
(
"false"
));
infoStr
+=
QLatin1String
(
"Item id :"
)
+
QString
::
number
(
info
->
itemId
());
infoStr
+=
QLatin1String
(
"Send date:"
)
+
info
->
dateTime
().
toString
();
infoStr
+=
QLatin1String
(
"Last saved date: "
)
+
info
->
lastDateTimeSend
().
toString
();
...
...
akonadiconsole/monitoritem.cpp
View file @
473e8608
...
...
@@ -39,7 +39,7 @@ MonitorItem::MonitorItem(const QString &identifier_, MonitorsModel *model):
}
mInterface
=
new
org
::
freedesktop
::
Akonadi
::
NotificationSource
(
service
,
Q
Latin1String
(
"/subscriber/"
)
+
identifier
,
service
,
Q
StringLiteral
(
"/subscriber/"
)
+
identifier
,
QDBusConnection
::
sessionBus
(),
this
);
if
(
!
mInterface
)
{
qCWarning
(
AKONADICONSOLE_LOG
)
<<
"Failed to connect to org.freedesktop.Akonadi.NotificationSource of subscriber"
<<
identifier_
;
...
...
akonadiconsole/rawsocketconsole.cpp
View file @
473e8608
...
...
@@ -96,7 +96,7 @@ void RawSocketConsole::connectClicked()
}
else
{
QString
connectionConfigFile
;
if
(
Akonadi
::
ServerManager
::
self
()
->
hasInstanceIdentifier
())
{
const
QString
akonadiPath
=
XdgBaseDirs
::
findResourceDir
(
"config"
,
Q
Latin1String
(
"akonadi"
));
const
QString
akonadiPath
=
XdgBaseDirs
::
findResourceDir
(
"config"
,
Q
StringLiteral
(
"akonadi"
));
connectionConfigFile
=
akonadiPath
+
QLatin1String
(
"/instance/"
)
+
Akonadi
::
ServerManager
::
self
()
->
instanceIdentifier
()
+
QLatin1String
(
"/akonadiconnectionrc"
);
...
...
@@ -112,7 +112,7 @@ void RawSocketConsole::connectClicked()
}
QSettings
conSettings
(
connectionConfigFile
,
QSettings
::
IniFormat
);
#ifdef Q_OS_WIN //krazy:exclude=cpp
const
QString
namedPipe
=
conSettings
.
value
(
QLatin1String
(
"Data/NamedPipe"
),
Q
Latin1String
(
"Akonadi"
)).
toString
();
const
QString
namedPipe
=
conSettings
.
value
(
QLatin1String
(
"Data/NamedPipe"
),
Q
StringLiteral
(
"Akonadi"
)).
toString
();
mSocket
->
connectToServer
(
namedPipe
);
#else
const
QString
defaultSocketDir
=
XdgBaseDirs
::
saveDir
(
"data"
,
QStringLiteral
(
"akonadi"
));
...
...
akregator/plugins/mk4storage/feedstoragemk4impl.cpp
View file @
473e8608
...
...
@@ -122,7 +122,7 @@ void FeedStorageMK4Impl::convertOldArchive()
return
;
}
Syndication
::
DocumentSource
src
(
file
.
readAll
(),
Q
Latin1String
(
"http://foo"
));
Syndication
::
DocumentSource
src
(
file
.
readAll
(),
Q
StringLiteral
(
"http://foo"
));
file
.
close
();
Syndication
::
FeedPtr
feed
=
Syndication
::
parse
(
src
);
...
...
@@ -152,7 +152,7 @@ FeedStorageMK4Impl::FeedStorageMK4Impl(const QString &url, StorageMK4Impl *main)
QString
t
=
url2
;
QString
t2
=
url2
;
QString
filePath
=
main
->
archivePath
()
+
QLatin1Char
(
'/'
)
+
t
.
replace
(
QLatin1Char
(
'/'
),
QLatin1Char
(
'_'
)).
replace
(
QLatin1Char
(
':'
),
QLatin1Char
(
'_'
));
d
->
oldArchivePath
=
KGlobal
::
dirs
()
->
saveLocation
(
"data"
,
Q
Latin1String
(
"akregator/Archive/"
))
+
t2
.
replace
(
QLatin1Char
(
'/'
),
QLatin1Char
(
'_'
)).
replace
(
QLatin1Char
(
':'
),
QLatin1Char
(
'_'
))
+
QLatin1String
(
".xml"
);
d
->
oldArchivePath
=
KGlobal
::
dirs
()
->
saveLocation
(
"data"
,
Q
StringLiteral
(
"akregator/Archive/"
))
+
t2
.
replace
(
QLatin1Char
(
'/'
),
QLatin1Char
(
'_'
)).
replace
(
QLatin1Char
(
':'
),
QLatin1Char
(
'_'
))
+
QLatin1String
(
".xml"
);
d
->
convert
=
!
QFile
::
exists
(
filePath
+
QLatin1String
(
".mk4"
))
&&
QFile
::
exists
(
d
->
oldArchivePath
);
d
->
storage
=
new
c4_Storage
(
QString
(
filePath
+
QLatin1String
(
".mk4"
)).
toLocal8Bit
(),
true
);
...
...
akregator/plugins/mk4storage/mk4plugin.cpp
View file @
473e8608
...
...
@@ -39,7 +39,7 @@ K_PLUGIN_FACTORY(MK4PluginFactory,
void
MK4Plugin
::
doInitialize
()
{
m_factory
=
new
StorageFactoryMK4Impl
();
StorageFactoryRegistry
::
self
()
->
registerFactory
(
m_factory
,
Q
Latin1String
(
"metakit"
));
StorageFactoryRegistry
::
self
()
->
registerFactory
(
m_factory
,
Q
StringLiteral
(
"metakit"
));
}
MK4Plugin
::
MK4Plugin
(
QObject
*
parent
,
const
QVariantList
&
params
)
:
Plugin
(
parent
,
params
),
m_factory
(
0
)
...
...
akregator/src/feed.cpp
View file @
473e8608
...
...
@@ -480,17 +480,17 @@ QDomElement Akregator::Feed::toOPML(QDomElement parent, QDomDocument document) c
el
.
setAttribute
(
QStringLiteral
(
"maxArticleAge"
),
d
->
maxArticleAge
);
el
.
setAttribute
(
QStringLiteral
(
"maxArticleNumber"
),
d
->
maxArticleNumber
);
if
(
d
->
markImmediatelyAsRead
)
{
el
.
setAttribute
(
QStringLiteral
(
"markImmediatelyAsRead"
),
Q
Latin1String
(
"true"
));
el
.
setAttribute
(
QStringLiteral
(
"markImmediatelyAsRead"
),
Q
StringLiteral
(
"true"
));
}
if
(
d
->
useNotification
)
{
el
.
setAttribute
(
QStringLiteral
(
"useNotification"
),
Q
Latin1String
(
"true"
));
el
.
setAttribute
(
QStringLiteral
(
"useNotification"
),
Q
StringLiteral
(
"true"
));
}
if
(
d
->
loadLinkedWebsite
)
{
el
.
setAttribute
(
QStringLiteral
(
"loadLinkedWebsite"
),
Q
Latin1String
(
"true"
));
el
.
setAttribute
(
QStringLiteral
(
"loadLinkedWebsite"
),
Q
StringLiteral
(
"true"
));
}
el
.
setAttribute
(
QStringLiteral
(
"maxArticleNumber"
),
d
->
maxArticleNumber
);
el
.
setAttribute
(
QStringLiteral
(
"type"
),
Q
Latin1String
(
"rss"
));
// despite some additional fields, it is still "rss" OPML
el
.
setAttribute
(
QStringLiteral
(
"version"
),
Q
Latin1String
(
"RSS"
));
el
.
setAttribute
(
QStringLiteral
(
"type"
),
Q
StringLiteral
(
"rss"
));
// despite some additional fields, it is still "rss" OPML
el
.
setAttribute
(
QStringLiteral
(
"version"
),
Q
StringLiteral
(
"RSS"
));
parent
.
appendChild
(
el
);
return
el
;
}
...
...
akregator/src/feediconmanager.cpp
View file @
473e8608
...
...
@@ -73,7 +73,7 @@ QString getIconUrl(const QUrl &url)
FeedIconManager
::
Private
::
Private
(
FeedIconManager
*
qq
)
:
q
(
qq
)
{
QDBusConnection
::
sessionBus
().
registerObject
(
QLatin1String
(
"/FeedIconManager"
),
q
,
QDBusConnection
::
ExportScriptableSlots
);
m_favIconsModule
=
new
QDBusInterface
(
QLatin1String
(
"org.kde.kded5"
),
Q
Latin1String
(
"/modules/favicons"
),
QLatin1String
(
FAVICONINTERFACE
));
m_favIconsModule
=
new
QDBusInterface
(
QLatin1String
(
"org.kde.kded5"
),
Q
StringLiteral
(
"/modules/favicons"
),
QLatin1String
(
FAVICONINTERFACE
));
Q_ASSERT
(
m_favIconsModule
);
q
->
connect
(
m_favIconsModule
,
SIGNAL
(
iconChanged
(
bool
,
QString
,
QString
)),
q
,
SLOT
(
slotIconChanged
(
bool
,
QString
,
QString
)));
...
...
akregator/src/feedlist.cpp
View file @
473e8608
...
...
@@ -359,10 +359,10 @@ void FeedList::append(FeedList *list, Folder *parent, TreeNode *after)
QDomDocument
FeedList
::
toOpml
()
const
{
QDomDocument
doc
;
doc
.
appendChild
(
doc
.
createProcessingInstruction
(
QLatin1String
(
"xml"
),
Q
Latin1String
(
"version=
\"
1.0
\"
encoding=
\"
UTF-8
\"
"
)));
doc
.
appendChild
(
doc
.
createProcessingInstruction
(
QLatin1String
(
"xml"
),
Q
StringLiteral
(
"version=
\"
1.0
\"
encoding=
\"
UTF-8
\"
"
)));
QDomElement
root
=
doc
.
createElement
(
QLatin1String
(
"opml"
));
root
.
setAttribute
(
QStringLiteral
(
"version"
),
Q
Latin1String
(
"1.0"
));
root
.
setAttribute
(
QStringLiteral
(
"version"
),
Q
StringLiteral
(
"1.0"
));
doc
.
appendChild
(
root
);
QDomElement
head
=
doc
.
createElement
(
QLatin1String
(
"head"
));
...
...
akregator/src/utils/filtercolumnsproxymodel.h
View file @
473e8608
...
...
@@ -48,7 +48,7 @@ public:
void
setMode
(
Mode
mode
);
private:
/*reimpl*/
bool
filterAcceptsColumn
(
int
source_column
,
const
QModelIndex
&
source_parent
)
const
Q_DECL_OVERRIDE
;
bool
filterAcceptsColumn
(
int
source_column
,
const
QModelIndex
&
source_parent
)
const
Q_DECL_OVERRIDE
;
private:
QVector
<
bool
>
m_columnStates
;
...
...
blogilo/src/addeditblog.cpp
View file @
473e8608
...
...
@@ -101,7 +101,7 @@ AddEditBlog::AddEditBlog(int blog_id, QWidget *parent, Qt::WindowFlags flags)
d
->
ui
.
txtPass
->
setText
(
d
->
bBlog
->
password
());
d
->
ui
.
txtId
->
setText
(
d
->
bBlog
->
blogid
());
QString
title
=
d
->
bBlog
->
title
();
title
=
title
.
replace
(
QLatin1String
(
"&"
),
Q
Latin1String
(
"&"
));
title
=
title
.
replace
(
QLatin1String
(
"&"
),
Q
StringLiteral
(
"&"
));
d
->
ui
.
txtTitle
->
setText
(
title
);
d
->
ui
.
comboApi
->
setCurrentIndex
(
d
->
bBlog
->
api
());
d
->
ui
.
comboDir
->
setCurrentIndex
(
d
->
bBlog
->
direction
());
...
...
blogilo/src/composer/blogilocomposereditor.cpp
View file @
473e8608
...
...
@@ -136,7 +136,7 @@ void BlogiloComposerEditor::replaceImageSrc(const QString &src, const QString &d
void
BlogiloComposerEditor
::
slotAddPostSplitter
()
{
execCommand
(
QLatin1String
(
"insertHTML"
),
Q
Latin1String
(
"<hr/><!--split-->"
));
execCommand
(
QLatin1String
(
"insertHTML"
),
Q
StringLiteral
(
"<hr/><!--split-->"
));
}
void
BlogiloComposerEditor
::
slotToggleCode
(
bool
)
...
...
calendarsupport/categoryhierarchyreader.cpp
View file @
473e8608
...
...
@@ -29,7 +29,7 @@ using namespace CalendarSupport;
inline
QString
&
quote
(
QString
&
string
)
{
Q_ASSERT
(
CategoryConfig
::
categorySeparator
!=
QLatin1String
(
"@"
));
return
string
.
replace
(
QLatin1Char
(
'@'
),
Q
Latin1String
(
"@0"
)).
replace
(
QLatin1Char
(
'\\'
)
+
return
string
.
replace
(
QLatin1Char
(
'@'
),
Q
StringLiteral
(
"@0"
)).
replace
(
QLatin1Char
(
'\\'
)
+
CategoryConfig
::
categorySeparator
,
QLatin1String
(
"@1"
));
}
...
...
@@ -38,7 +38,7 @@ inline QStringList &unquote(QStringList &strings)
{
return
strings
.
replaceInStrings
(
QLatin1String
(
"@1"
),
CategoryConfig
::
categorySeparator
).
replaceInStrings
(
QLatin1String
(
"@0"
),
Q
Latin1String
(
"@"
));
replaceInStrings
(
QLatin1String
(
"@0"
),
Q
StringLiteral
(
"@"
));
}
QStringList
CategoryHierarchyReader
::
path
(
QString
string
)
...
...
calendarsupport/next/incidenceviewer.cpp
View file @
473e8608
...
...
@@ -58,7 +58,7 @@ void TextBrowser::setSource(const QUrl &name)
uri
.
startsWith
(
QString
::
fromLatin1
(
"urn:x-ical"
).
section
(
QLatin1Char
(
':'
),
0
,
0
))
||
uri
.
startsWith
(
QStringLiteral
(
"news:"
))
||
uri
.
startsWith
(
QStringLiteral
(
"mailto:"
)))
{
uri
.
replace
(
QRegExp
(
QLatin1String
(
"^([^:]+:)/+"
)),
Q
Latin1String
(
"
\\
1"
));
uri
.
replace
(
QRegExp
(
QLatin1String
(
"^([^:]+:)/+"
)),
Q
StringLiteral
(
"
\\
1"
));
}
if
(
uri
.
startsWith
(
QStringLiteral
(
"ATTACH:"
)))
{
...
...
calendarviews/agenda/agendaitem.cpp
View file @
473e8608
...
...
@@ -644,7 +644,7 @@ void AgendaItem::addAttendee(const QString &newAttendee)
this
,