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
8ce7527a
Commit
8ce7527a
authored
Aug 15, 2015
by
Sergio Martins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid QLatin1String wherever it allocates heap memory
parent
a1bc5201
Changes
265
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
265 changed files
with
1367 additions
and
1367 deletions
+1367
-1367
akonadiconsole/dbaccess.cpp
akonadiconsole/dbaccess.cpp
+1
-1
akonadiconsole/notificationmodel.cpp
akonadiconsole/notificationmodel.cpp
+1
-1
akonadiconsole/tagpropertiesdialog.cpp
akonadiconsole/tagpropertiesdialog.cpp
+3
-3
akregator/src/articleformatter.cpp
akregator/src/articleformatter.cpp
+3
-3
akregator/src/feed.cpp
akregator/src/feed.cpp
+2
-2
akregator/src/feediconmanager.cpp
akregator/src/feediconmanager.cpp
+2
-2
akregator/src/feedlist.cpp
akregator/src/feedlist.cpp
+1
-1
blogilo/src/addeditblog.cpp
blogilo/src/addeditblog.cpp
+1
-1
blogilo/src/bilboblog.cpp
blogilo/src/bilboblog.cpp
+2
-2
blogilo/src/bilbopost.cpp
blogilo/src/bilbopost.cpp
+3
-3
blogilo/src/blogger.cpp
blogilo/src/blogger.cpp
+7
-7
blogilo/src/composer/bilbobrowser.cpp
blogilo/src/composer/bilbobrowser.cpp
+1
-1
blogilo/src/composer/blogilocomposereditor.cpp
blogilo/src/composer/blogilocomposereditor.cpp
+3
-3
blogilo/src/composer/stylegetter.cpp
blogilo/src/composer/stylegetter.cpp
+2
-2
blogilo/src/dbman.cpp
blogilo/src/dbman.cpp
+63
-63
calendarsupport/kcalmodel.cpp
calendarsupport/kcalmodel.cpp
+1
-1
calendarsupport/utils.cpp
calendarsupport/utils.cpp
+1
-1
calendarviews/agenda/timelabels.cpp
calendarviews/agenda/timelabels.cpp
+1
-1
calendarviews/whatsnext/whatsnextview.cpp
calendarviews/whatsnext/whatsnextview.cpp
+4
-4
composereditor-ng/table/composertabledialog.cpp
composereditor-ng/table/composertabledialog.cpp
+1
-1
composereditor-ng/table/composertableformatdialog.cpp
composereditor-ng/table/composertableformatdialog.cpp
+1
-1
composereditor-ng/utils/composereditorutils.cpp
composereditor-ng/utils/composereditorutils.cpp
+3
-3
console/calendarjanitor/calendarjanitor.cpp
console/calendarjanitor/calendarjanitor.cpp
+7
-7
console/konsolekalendar/konsolekalendar.cpp
console/konsolekalendar/konsolekalendar.cpp
+4
-4
console/konsolekalendar/konsolekalendarvariables.cpp
console/konsolekalendar/konsolekalendarvariables.cpp
+2
-2
importwizard/autodetect/evolutionv3/evolutioncalendar.cpp
importwizard/autodetect/evolutionv3/evolutioncalendar.cpp
+4
-4
importwizard/autodetect/evolutionv3/evolutionsettings.cpp
importwizard/autodetect/evolutionv3/evolutionsettings.cpp
+17
-17
importwizard/autodetect/importwizardutil.cpp
importwizard/autodetect/importwizardutil.cpp
+1
-1
importwizard/autodetect/opera/operasettings.cpp
importwizard/autodetect/opera/operasettings.cpp
+2
-2
importwizard/autodetect/sylpheed/sylpheedsettings.cpp
importwizard/autodetect/sylpheed/sylpheedsettings.cpp
+8
-8
importwizard/autodetect/thunderbird/thunderbirdaddressbook.cpp
...twizard/autodetect/thunderbird/thunderbirdaddressbook.cpp
+8
-8
kaddressbook/printing/compact/compactstyle.cpp
kaddressbook/printing/compact/compactstyle.cpp
+1
-1
kaddressbook/printing/detailled/detailledstyle.cpp
kaddressbook/printing/detailled/detailledstyle.cpp
+1
-1
kaddressbook/printing/mike/mikesstyle.cpp
kaddressbook/printing/mike/mikesstyle.cpp
+2
-2
kaddressbook/printing/printprogress.cpp
kaddressbook/printing/printprogress.cpp
+1
-1
kaddressbook/printing/ringbinder/ringbinderstyle.cpp
kaddressbook/printing/ringbinder/ringbinderstyle.cpp
+1
-1
kaddressbook/xxport/gmx/gmx_xxport.cpp
kaddressbook/xxport/gmx/gmx_xxport.cpp
+1
-1
kaddressbook/xxport/vcard/vcard_xxport.cpp
kaddressbook/xxport/vcard/vcard_xxport.cpp
+9
-9
kalarm/autostart/autostart.cpp
kalarm/autostart/autostart.cpp
+1
-1
kalarm/functions.cpp
kalarm/functions.cpp
+1
-1
kalarm/kalarmapp.cpp
kalarm/kalarmapp.cpp
+5
-5
kdgantt2/kdganttdatetimegrid.cpp
kdgantt2/kdganttdatetimegrid.cpp
+2
-2
kleopatra/commands/exportcertificatecommand.cpp
kleopatra/commands/exportcertificatecommand.cpp
+1
-1
kleopatra/commands/exportopenpgpcertstoservercommand.cpp
kleopatra/commands/exportopenpgpcertstoservercommand.cpp
+1
-1
kleopatra/commands/lookupcertificatescommand.cpp
kleopatra/commands/lookupcertificatescommand.cpp
+4
-4
kleopatra/commands/refreshopenpgpcertscommand.cpp
kleopatra/commands/refreshopenpgpcertscommand.cpp
+3
-3
kleopatra/commands/refreshx509certscommand.cpp
kleopatra/commands/refreshx509certscommand.cpp
+2
-2
kleopatra/crypto/certificateresolver.cpp
kleopatra/crypto/certificateresolver.cpp
+1
-1
kleopatra/crypto/createchecksumscontroller.cpp
kleopatra/crypto/createchecksumscontroller.cpp
+2
-2
kleopatra/crypto/decryptverifyfilescontroller.cpp
kleopatra/crypto/decryptverifyfilescontroller.cpp
+1
-1
kleopatra/crypto/decryptverifytask.cpp
kleopatra/crypto/decryptverifytask.cpp
+3
-3
kleopatra/crypto/gui/newsignencryptfileswizard.cpp
kleopatra/crypto/gui/newsignencryptfileswizard.cpp
+2
-2
kleopatra/crypto/gui/resultitemwidget.cpp
kleopatra/crypto/gui/resultitemwidget.cpp
+1
-1
kleopatra/crypto/verifychecksumscontroller.cpp
kleopatra/crypto/verifychecksumscontroller.cpp
+4
-4
kleopatra/dialogs/adduseriddialog.cpp
kleopatra/dialogs/adduseriddialog.cpp
+1
-1
kleopatra/dialogs/certifycertificatedialog.cpp
kleopatra/dialogs/certifycertificatedialog.cpp
+1
-1
kleopatra/kgpgconf/configuration.cpp
kleopatra/kgpgconf/configuration.cpp
+1
-1
kleopatra/libkleopatraclient/core/command.cpp
kleopatra/libkleopatraclient/core/command.cpp
+1
-1
kleopatra/models/keycache.cpp
kleopatra/models/keycache.cpp
+1
-1
kleopatra/newcertificatewizard/newcertificatewizard.cpp
kleopatra/newcertificatewizard/newcertificatewizard.cpp
+10
-10
kleopatra/selftest/gpgconfcheck.cpp
kleopatra/selftest/gpgconfcheck.cpp
+2
-2
kleopatra/selftest/libkleopatrarccheck.cpp
kleopatra/selftest/libkleopatrarccheck.cpp
+1
-1
kleopatra/smartcard/readerstatus.cpp
kleopatra/smartcard/readerstatus.cpp
+4
-4
kleopatra/uiserver/assuanserverconnection.cpp
kleopatra/uiserver/assuanserverconnection.cpp
+2
-2
kleopatra/utils/archivedefinition.cpp
kleopatra/utils/archivedefinition.cpp
+5
-5
kleopatra/utils/formatting.cpp
kleopatra/utils/formatting.cpp
+5
-5
kleopatra/utils/validation.cpp
kleopatra/utils/validation.cpp
+3
-3
kmail/antispam-virus/antispamwizard.cpp
kmail/antispam-virus/antispamwizard.cpp
+16
-16
kmail/configuredialog/configureaccountpage.cpp
kmail/configuredialog/configureaccountpage.cpp
+10
-10
kmail/configuredialog/configureagents/configureagentlistview.cpp
...onfiguredialog/configureagents/configureagentlistview.cpp
+2
-2
kmail/configuredialog/configureagentswidget.cpp
kmail/configuredialog/configureagentswidget.cpp
+5
-5
kmail/configuredialog/configurecomposerpage.cpp
kmail/configuredialog/configurecomposerpage.cpp
+4
-4
kmail/configuredialog/configuresecuritypage.cpp
kmail/configuredialog/configuresecuritypage.cpp
+16
-16
kmail/dialog/archivefolderdialog.cpp
kmail/dialog/archivefolderdialog.cpp
+1
-1
kmail/editor/kmcomposewin.cpp
kmail/editor/kmcomposewin.cpp
+13
-13
kmail/identity/identitydialog.cpp
kmail/identity/identitydialog.cpp
+5
-5
kmail/identity/xfaceconfigurator.cpp
kmail/identity/xfaceconfigurator.cpp
+1
-1
kmail/kmcommands.cpp
kmail/kmcommands.cpp
+2
-2
kmail/kmkernel.cpp
kmail/kmkernel.cpp
+13
-13
kmail/kmmainwidget.cpp
kmail/kmmainwidget.cpp
+2
-2
kmail/kmreadermainwin.cpp
kmail/kmreadermainwin.cpp
+4
-4
kmail/kmreaderwin.cpp
kmail/kmreaderwin.cpp
+4
-4
kmail/tag/tagactionmanager.cpp
kmail/tag/tagactionmanager.cpp
+2
-2
knotes/apps/knotesapp.cpp
knotes/apps/knotesapp.cpp
+1
-1
knotes/kontactplugin/knotes_plugin.cpp
knotes/kontactplugin/knotes_plugin.cpp
+1
-1
kontact/plugins/summary/summaryview_part.cpp
kontact/plugins/summary/summaryview_part.cpp
+4
-4
kontact/plugins/summary/summaryview_plugin.cpp
kontact/plugins/summary/summaryview_plugin.cpp
+2
-2
kontact/src/aboutdialog.cpp
kontact/src/aboutdialog.cpp
+1
-1
kontact/src/kcmkontact.cpp
kontact/src/kcmkontact.cpp
+6
-6
kontact/src/main.cpp
kontact/src/main.cpp
+2
-2
kontact/src/mainwindow.cpp
kontact/src/mainwindow.cpp
+13
-13
korganizer/actionmanager.cpp
korganizer/actionmanager.cpp
+6
-6
korganizer/calendarview.cpp
korganizer/calendarview.cpp
+4
-4
korganizer/kontactplugin/specialdates/sdsummarywidget.cpp
korganizer/kontactplugin/specialdates/sdsummarywidget.cpp
+2
-2
korganizer/korganizer.cpp
korganizer/korganizer.cpp
+1
-1
korganizer/korganizer_part.cpp
korganizer/korganizer_part.cpp
+1
-1
korganizer/prefs/koprefsdialog.cpp
korganizer/prefs/koprefsdialog.cpp
+4
-4
ktnef/ktnefmain.cpp
ktnef/ktnefmain.cpp
+1
-1
libkdepim/addressline/addresslineedit/addresseelineedit_p.cpp
...depim/addressline/addresslineedit/addresseelineedit_p.cpp
+1
-1
libkdepim/freebusymodel/freeperiodmodel.cpp
libkdepim/freebusymodel/freeperiodmodel.cpp
+1
-1
libkdepim/ldap/ldapclient.cpp
libkdepim/ldap/ldapclient.cpp
+3
-3
libkdepim/ldap/ldapclientsearchconfig.cpp
libkdepim/ldap/ldapclientsearchconfig.cpp
+8
-8
libkdepim/widgets/customlogwidget.cpp
libkdepim/widgets/customlogwidget.cpp
+2
-2
libkdepimdbusinterfaces/urihandler.cpp
libkdepimdbusinterfaces/urihandler.cpp
+6
-6
libkleo/backends/chiasmus/chiasmusbackend.cpp
libkleo/backends/chiasmus/chiasmusbackend.cpp
+2
-2
libkleo/backends/chiasmus/chiasmusjob.cpp
libkleo/backends/chiasmus/chiasmusjob.cpp
+1
-1
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/chiasmus/symcryptrunprocessbase.cpp
libkleo/backends/chiasmus/symcryptrunprocessbase.cpp
+1
-1
libkleo/backends/qgpgme/qgpgmecryptoconfig.cpp
libkleo/backends/qgpgme/qgpgmecryptoconfig.cpp
+5
-5
libkleo/backends/qgpgme/qgpgmenewcryptoconfig.cpp
libkleo/backends/qgpgme/qgpgmenewcryptoconfig.cpp
+2
-2
libkleo/backends/qgpgme/qgpgmerefreshkeysjob.cpp
libkleo/backends/qgpgme/qgpgmerefreshkeysjob.cpp
+1
-1
libkleo/kleo/checksumdefinition.cpp
libkleo/kleo/checksumdefinition.cpp
+4
-4
libkleo/kleo/cryptobackendfactory.cpp
libkleo/kleo/cryptobackendfactory.cpp
+1
-1
libkleo/kleo/kconfigbasedkeyfilter.cpp
libkleo/kleo/kconfigbasedkeyfilter.cpp
+1
-1
libkleo/ui/cryptoconfigmodule.cpp
libkleo/ui/cryptoconfigmodule.cpp
+2
-2
libkleo/ui/keyrequester.cpp
libkleo/ui/keyrequester.cpp
+1
-1
libkleo/ui/keyselectiondialog.cpp
libkleo/ui/keyselectiondialog.cpp
+2
-2
libkpgp/kpgp.cpp
libkpgp/kpgp.cpp
+4
-4
libkpgp/kpgpui.cpp
libkpgp/kpgpui.cpp
+10
-10
libksieve/ksieveui/autocreatescripts/autocreatescriptutil.cpp
...sieve/ksieveui/autocreatescripts/autocreatescriptutil.cpp
+6
-6
libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionabstractflags.cpp
...tocreatescripts/sieveactions/sieveactionabstractflags.cpp
+2
-2
libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionconvert.cpp
...eui/autocreatescripts/sieveactions/sieveactionconvert.cpp
+4
-4
libksieve/ksieveui/autocreatescripts/sieveactions/sieveactiondeleteheader.cpp
...utocreatescripts/sieveactions/sieveactiondeleteheader.cpp
+5
-5
libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionextracttext.cpp
...autocreatescripts/sieveactions/sieveactionextracttext.cpp
+4
-4
libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionfileinto.cpp
...ui/autocreatescripts/sieveactions/sieveactionfileinto.cpp
+7
-7
libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionkeep.cpp
...ieveui/autocreatescripts/sieveactions/sieveactionkeep.cpp
+3
-3
libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionnotify.cpp
...veui/autocreatescripts/sieveactions/sieveactionnotify.cpp
+8
-8
libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionredirect.cpp
...ui/autocreatescripts/sieveactions/sieveactionredirect.cpp
+11
-11
libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionsetvariable.cpp
...autocreatescripts/sieveactions/sieveactionsetvariable.cpp
+10
-10
libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionvacation.cpp
...ui/autocreatescripts/sieveactions/sieveactionvacation.cpp
+14
-14
libksieve/ksieveui/autocreatescripts/sieveactionwidgetlister.cpp
...ve/ksieveui/autocreatescripts/sieveactionwidgetlister.cpp
+1
-1
libksieve/ksieveui/autocreatescripts/sieveconditions/sieveconditionaddress.cpp
...tocreatescripts/sieveconditions/sieveconditionaddress.cpp
+10
-10
libksieve/ksieveui/autocreatescripts/sieveconditions/sieveconditionconvert.cpp
...tocreatescripts/sieveconditions/sieveconditionconvert.cpp
+5
-5
libksieve/ksieveui/autocreatescripts/sieveconditions/sieveconditionenvironment.cpp
...eatescripts/sieveconditions/sieveconditionenvironment.cpp
+1
-1
libksieve/ksieveui/autocreatescripts/sieveconditions/sieveconditionhasflag.cpp
...tocreatescripts/sieveconditions/sieveconditionhasflag.cpp
+7
-7
libksieve/ksieveui/autocreatescripts/sieveconditions/sieveconditionservermetadata.cpp
...escripts/sieveconditions/sieveconditionservermetadata.cpp
+10
-10
libksieve/ksieveui/autocreatescripts/sieveconditions/sieveconditionsize.cpp
.../autocreatescripts/sieveconditions/sieveconditionsize.cpp
+5
-5
libksieve/ksieveui/autocreatescripts/sieveconditions/sieveconditionspamtest.cpp
...ocreatescripts/sieveconditions/sieveconditionspamtest.cpp
+6
-6
libksieve/ksieveui/autocreatescripts/sieveconditions/sieveconditionvirustest.cpp
...createscripts/sieveconditions/sieveconditionvirustest.cpp
+8
-8
libksieve/ksieveui/autocreatescripts/sieveconditions/widgets/selectcomparatorcombobox.cpp
...ipts/sieveconditions/widgets/selectcomparatorcombobox.cpp
+1
-1
libksieve/ksieveui/autocreatescripts/sieveconditions/widgets/selectheadertypecombobox.cpp
...ipts/sieveconditions/widgets/selectheadertypecombobox.cpp
+10
-10
libksieve/ksieveui/autocreatescripts/sieveincludewidget.cpp
libksieve/ksieveui/autocreatescripts/sieveincludewidget.cpp
+1
-1
libksieve/ksieveui/autocreatescripts/sievescriptblockwidget.cpp
...eve/ksieveui/autocreatescripts/sievescriptblockwidget.cpp
+2
-2
libksieve/ksieveui/autocreatescripts/sievescriptlistbox.cpp
libksieve/ksieveui/autocreatescripts/sievescriptlistbox.cpp
+1
-1
libksieve/ksieveui/debug/sievedebugdialog.cpp
libksieve/ksieveui/debug/sievedebugdialog.cpp
+2
-2
libksieve/ksieveui/editor/sieveeditorwidget.cpp
libksieve/ksieveui/editor/sieveeditorwidget.cpp
+1
-1
libksieve/ksieveui/managescriptsjob/generateglobalscriptjob.cpp
...eve/ksieveui/managescriptsjob/generateglobalscriptjob.cpp
+2
-2
libksieve/ksieveui/util/util.cpp
libksieve/ksieveui/util/util.cpp
+4
-4
libksieve/ksieveui/vacation/vacationscriptextractor.h
libksieve/ksieveui/vacation/vacationscriptextractor.h
+5
-5
libksieve/ksieveui/vacation/vacationutils.cpp
libksieve/ksieveui/vacation/vacationutils.cpp
+1
-1
mailcommon/filter/dialog/selectthunderbirdfilterfileswidget.cpp
...mmon/filter/dialog/selectthunderbirdfilterfileswidget.cpp
+1
-1
mailcommon/filter/filteractions/filteractionaddtag.cpp
mailcommon/filter/filteractions/filteractionaddtag.cpp
+1
-1
mailcommon/filter/filteractions/filteractionsendfakedisposition.cpp
.../filter/filteractions/filteractionsendfakedisposition.cpp
+1
-1
mailcommon/filter/filteractions/filteractionsetstatus.cpp
mailcommon/filter/filteractions/filteractionsetstatus.cpp
+4
-4
mailcommon/filter/filteractions/filteractionsettransport.cpp
mailcommon/filter/filteractions/filteractionsettransport.cpp
+1
-1
mailcommon/filter/filteractions/filteractionunsetstatus.cpp
mailcommon/filter/filteractions/filteractionunsetstatus.cpp
+4
-4
mailcommon/filter/filteractions/filteractionwithcommand.cpp
mailcommon/filter/filteractions/filteractionwithcommand.cpp
+2
-2
mailcommon/filter/filteractions/filteractionwithurl.cpp
mailcommon/filter/filteractions/filteractionwithurl.cpp
+3
-3
mailcommon/filter/filterimporter/filterimporterbalsa.cpp
mailcommon/filter/filterimporter/filterimporterbalsa.cpp
+3
-3
mailcommon/filter/filterimporter/filterimporterevolution.cpp
mailcommon/filter/filterimporter/filterimporterevolution.cpp
+3
-3
mailcommon/filter/filterimporter/filterimporterprocmail.cpp
mailcommon/filter/filterimporter/filterimporterprocmail.cpp
+6
-6
mailcommon/filter/filterimporter/filterimportersylpheed.cpp
mailcommon/filter/filterimporter/filterimportersylpheed.cpp
+2
-2
mailcommon/filter/filterimporter/filterimporterthunderbird.cpp
...ommon/filter/filterimporter/filterimporterthunderbird.cpp
+15
-15
mailcommon/filter/filterlog.cpp
mailcommon/filter/filterlog.cpp
+1
-1
mailcommon/filter/kmfilterdialog.cpp
mailcommon/filter/kmfilterdialog.cpp
+1
-1
mailcommon/filter/mailfilter.cpp
mailcommon/filter/mailfilter.cpp
+5
-5
mailcommon/folder/foldercollection.cpp
mailcommon/folder/foldercollection.cpp
+1
-1
mailcommon/job/backupjob.cpp
mailcommon/job/backupjob.cpp
+1
-1
mailcommon/search/searchpatternedit.cpp
mailcommon/search/searchpatternedit.cpp
+5
-5
mailcommon/search/searchrule/searchrule.cpp
mailcommon/search/searchrule/searchrule.cpp
+2
-2
mailcommon/search/widgethandler/statusrulewidgethandler.cpp
mailcommon/search/widgethandler/statusrulewidgethandler.cpp
+8
-8
mailcommon/search/widgethandler/textrulerwidgethandler.cpp
mailcommon/search/widgethandler/textrulerwidgethandler.cpp
+9
-9
mailcommon/snippets/snippetsmanager.cpp
mailcommon/snippets/snippetsmanager.cpp
+1
-1
mailcommon/util/mailutil.cpp
mailcommon/util/mailutil.cpp
+1
-1
mailimporter/filter_evolution.cpp
mailimporter/filter_evolution.cpp
+1
-1
mailimporter/filter_evolution_v2.cpp
mailimporter/filter_evolution_v2.cpp
+3
-3
mailimporter/filter_oe.cpp
mailimporter/filter_oe.cpp
+1
-1
mailimporter/filter_pmail.cpp
mailimporter/filter_pmail.cpp
+7
-7
mailimporter/filters.cpp
mailimporter/filters.cpp
+3
-3
messagecomposer/composer-ng/richtextcomposer.cpp
messagecomposer/composer-ng/richtextcomposer.cpp
+1
-1
messagecomposer/composer-ng/richtextcomposercontroler.cpp
messagecomposer/composer-ng/richtextcomposercontroler.cpp
+8
-8
messagecomposer/composer-ng/richtextcomposeremailquotehighlighter.cpp
...ser/composer-ng/richtextcomposeremailquotehighlighter.cpp
+1
-1
messagecomposer/composer-ng/richtextcomposerimages.cpp
messagecomposer/composer-ng/richtextcomposerimages.cpp
+1
-1
messagecomposer/composer-ng/richtextcomposersignatures.cpp
messagecomposer/composer-ng/richtextcomposersignatures.cpp
+4
-4
messagecomposer/composer/composer.cpp
messagecomposer/composer/composer.cpp
+1
-1
messagecomposer/composer/composerviewbase.cpp
messagecomposer/composer/composerviewbase.cpp
+11
-11
messagecomposer/composer/keyresolver.cpp
messagecomposer/composer/keyresolver.cpp
+17
-17
messagecomposer/followupreminder/followupreminderselectdatedialog.cpp
...ser/followupreminder/followupreminderselectdatedialog.cpp
+1
-1
messagecomposer/helper/messagefactory.cpp
messagecomposer/helper/messagefactory.cpp
+5
-5
messagecomposer/helper/messagehelper.cpp
messagecomposer/helper/messagehelper.cpp
+1
-1
messagecomposer/job/attachmentvcardfromaddressbookjob.cpp
messagecomposer/job/attachmentvcardfromaddressbookjob.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
+1
-1
messagecomposer/recipient/recipientseditorsidewidget.cpp
messagecomposer/recipient/recipientseditorsidewidget.cpp
+1
-1
messagecomposer/utils/util.cpp
messagecomposer/utils/util.cpp
+2
-2
messagecore/attachment/attachmentfromurljob.cpp
messagecore/attachment/attachmentfromurljob.cpp
+1
-1
messagecore/utils/stringutil.cpp
messagecore/utils/stringutil.cpp
+5
-5
messagelist/core/item.cpp
messagelist/core/item.cpp
+1
-1
messagelist/core/manager.cpp
messagelist/core/manager.cpp
+2
-2
messagelist/core/messageitem.cpp
messagelist/core/messageitem.cpp
+3
-3
messagelist/core/sortorder.cpp
messagelist/core/sortorder.cpp
+1
-1
messagelist/core/view.cpp
messagelist/core/view.cpp
+3
-3
messagelist/pane.cpp
messagelist/pane.cpp
+6
-6
messagelist/utils/aggregationcombobox.cpp
messagelist/utils/aggregationcombobox.cpp
+1
-1
messagelist/utils/comboboxutils.cpp
messagelist/utils/comboboxutils.cpp
+1
-1
messagelist/utils/configurethemesdialog.cpp
messagelist/utils/configurethemesdialog.cpp
+1
-1
messagelist/widget.cpp
messagelist/widget.cpp
+1
-1
messageviewer/adblock/adblockblockableitemswidget.cpp
messageviewer/adblock/adblockblockableitemswidget.cpp
+2
-2
messageviewer/adblock/adblockmanager.cpp
messageviewer/adblock/adblockmanager.cpp
+13
-13
messageviewer/adblock/networkaccessmanager.cpp
messageviewer/adblock/networkaccessmanager.cpp
+2
-2
messageviewer/header/briefheaderstyle.cpp
messageviewer/header/briefheaderstyle.cpp
+7
-7
messageviewer/header/customheaderstyle.cpp
messageviewer/header/customheaderstyle.cpp
+2
-2
messageviewer/header/entrepriseheaderstyle.cpp
messageviewer/header/entrepriseheaderstyle.cpp
+5
-5
messageviewer/header/fancyheaderstyle.cpp
messageviewer/header/fancyheaderstyle.cpp
+12
-12
messageviewer/header/kxface.cpp
messageviewer/header/kxface.cpp
+3
-3
messageviewer/header/plainheaderstyle.cpp
messageviewer/header/plainheaderstyle.cpp
+4
-4
messageviewer/htmlwriter/filehtmlwriter.cpp
messageviewer/htmlwriter/filehtmlwriter.cpp
+1
-1
messageviewer/htmlwriter/webkitparthtmlwriter.cpp
messageviewer/htmlwriter/webkitparthtmlwriter.cpp
+3
-3
messageviewer/scamdetection/scamdetection.cpp
messageviewer/scamdetection/scamdetection.cpp
+5
-5
messageviewer/viewer/csshelperbase.cpp
messageviewer/viewer/csshelperbase.cpp
+1
-1
messageviewer/viewer/htmlquotecolorer.cpp
messageviewer/viewer/htmlquotecolorer.cpp
+2
-2
messageviewer/viewer/mailwebview_webkit.cpp
messageviewer/viewer/mailwebview_webkit.cpp
+7
-7
messageviewer/viewer/nodehelper.cpp
messageviewer/viewer/nodehelper.cpp
+3
-3
messageviewer/viewer/objecttreeparser.cpp
messageviewer/viewer/objecttreeparser.cpp
+44
-44
messageviewer/viewer/urlhandlermanager.cpp
messageviewer/viewer/urlhandlermanager.cpp
+4
-4
messageviewer/viewer/viewer_p.cpp
messageviewer/viewer/viewer_p.cpp
+14
-14
noteshared/network/notehostdialog.cpp
noteshared/network/notehostdialog.cpp
+1
-1
noteshared/noteutils.cpp
noteshared/noteutils.cpp
+1
-1
pimcommon/autocorrection/autocorrection.cpp
pimcommon/autocorrection/autocorrection.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
+5
-5
pimcommon/storageservice/box/boxstorageservice.cpp
pimcommon/storageservice/box/boxstorageservice.cpp
+5
-5
pimcommon/storageservice/dropbox/dropboxjob.cpp
pimcommon/storageservice/dropbox/dropboxjob.cpp
+9
-9
pimcommon/storageservice/dropbox/dropboxstorageservice.cpp
pimcommon/storageservice/dropbox/dropboxstorageservice.cpp
+7
-7
pimcommon/storageservice/gdrive/gdrivestorageservice.cpp
pimcommon/storageservice/gdrive/gdrivestorageservice.cpp
+5
-5
pimcommon/storageservice/hubic/hubicjob.cpp
pimcommon/storageservice/hubic/hubicjob.cpp
+9
-9
pimcommon/storageservice/hubic/hubicstorageservice.cpp
pimcommon/storageservice/hubic/hubicstorageservice.cpp
+4
-4
pimcommon/storageservice/webdav/protocol/webdav_url_info.cpp
pimcommon/storageservice/webdav/protocol/webdav_url_info.cpp
+16
-16
pimcommon/storageservice/webdav/webdavjob.cpp
pimcommon/storageservice/webdav/webdavjob.cpp
+13
-13
pimcommon/storageservice/webdav/webdavstorageservice.cpp
pimcommon/storageservice/webdav/webdavstorageservice.cpp
+29
-29
pimcommon/storageservice/yousendit/yousenditjob.cpp
pimcommon/storageservice/yousendit/yousenditjob.cpp
+7
-7
pimcommon/storageservice/yousendit/yousenditstorageservice.cpp
...mmon/storageservice/yousendit/yousenditstorageservice.cpp
+4
-4
pimcommon/translator/translatorwidget.cpp
pimcommon/translator/translatorwidget.cpp
+1
-1
pimcommon/widgets/emailaddressrequester.cpp
pimcommon/widgets/emailaddressrequester.cpp
+1
-1
pimsettingexporter/core/addressbook/exportaddressbookjob.cpp
pimsettingexporter/core/addressbook/exportaddressbookjob.cpp
+5
-5
pimsettingexporter/core/addressbook/importaddressbookjob.cpp
pimsettingexporter/core/addressbook/importaddressbookjob.cpp
+17
-17
pimsettingexporter/core/akregator/exportakregatorjob.cpp
pimsettingexporter/core/akregator/exportakregatorjob.cpp
+1
-1
pimsettingexporter/core/akregator/importakregatorjob.cpp
pimsettingexporter/core/akregator/importakregatorjob.cpp
+1
-1
pimsettingexporter/core/alarm/importalarmjob.cpp
pimsettingexporter/core/alarm/importalarmjob.cpp
+4
-4
pimsettingexporter/core/blogilo/exportblogilojob.cpp
pimsettingexporter/core/blogilo/exportblogilojob.cpp
+2
-2
pimsettingexporter/core/blogilo/importblogilojob.cpp
pimsettingexporter/core/blogilo/importblogilojob.cpp
+1
-1
pimsettingexporter/core/calendar/exportcalendarjob.cpp
pimsettingexporter/core/calendar/exportcalendarjob.cpp
+6
-6
pimsettingexporter/core/calendar/importcalendarjob.cpp
pimsettingexporter/core/calendar/importcalendarjob.cpp
+15
-15
pimsettingexporter/core/mail/exportmailjob.cpp
pimsettingexporter/core/mail/exportmailjob.cpp
+47
-47
pimsettingexporter/core/mail/importmailjob.cpp
pimsettingexporter/core/mail/importmailjob.cpp
+182
-182
pimsettingexporter/core/notes/exportnotesjob.cpp
pimsettingexporter/core/notes/exportnotesjob.cpp
+4
-4
pimsettingexporter/core/notes/importnotesjob.cpp
pimsettingexporter/core/notes/importnotesjob.cpp
+1
-1
pimsettingexporter/core/utils.cpp
pimsettingexporter/core/utils.cpp
+3
-3
pimsettingexporter/gui/pimsettingexporterwindow.cpp
pimsettingexporter/gui/pimsettingexporterwindow.cpp
+2
-2
plugins/messageviewer/bodypartformatter/calendar/text_calendar.cpp
...essageviewer/bodypartformatter/calendar/text_calendar.cpp
+8
-8
plugins/messageviewer/bodypartformatter/vcard/text_vcard.cpp
plugins/messageviewer/bodypartformatter/vcard/text_vcard.cpp
+2
-2
plugins/messageviewer/bodypartformatter/xdiff/text_xdiff.cpp
plugins/messageviewer/bodypartformatter/xdiff/text_xdiff.cpp
+1
-1
templateparser/templateparser.cpp
templateparser/templateparser.cpp
+10
-10
No files found.
akonadiconsole/dbaccess.cpp
View file @
8ce7527a
...
...
@@ -60,7 +60,7 @@ public:
QString
saveDir
(
const
char
*
resource
,
const
QString
&
relPath
=
QString
())
{
QString
fullRelPath
=
Q
Latin1String
(
"akonadi"
);
QString
fullRelPath
=
Q
StringLiteral
(
"akonadi"
);
if
(
ServerManager
::
hasInstanceIdentifier
())
{
fullRelPath
+=
QLatin1String
(
"/instance/"
)
+
ServerManager
::
instanceIdentifier
();
}
...
...
akonadiconsole/notificationmodel.cpp
View file @
8ce7527a
...
...
@@ -137,7 +137,7 @@ NotificationModel::NotificationEntity::NotificationEntity(const Protocol::Change
NotificationModel
::
NotificationModel
(
QObject
*
parent
)
:
QAbstractItemModel
(
parent
)
{
QString
service
=
Q
Latin1String
(
"org.freedesktop.Akonadi"
);
QString
service
=
Q
StringLiteral
(
"org.freedesktop.Akonadi"
);
if
(
Akonadi
::
ServerManager
::
hasInstanceIdentifier
())
{
service
+=
QLatin1String
(
"."
)
+
Akonadi
::
ServerManager
::
instanceIdentifier
();
}
...
...
akonadiconsole/tagpropertiesdialog.cpp
View file @
8ce7527a
...
...
@@ -279,7 +279,7 @@ void TagPropertiesDialog::slotAccept()
if
(
mTag
.
isValid
()
&&
!
mRemovedRIDs
.
isEmpty
())
{
QSqlQuery
query
(
DbAccess
::
database
());
QString
queryStr
=
Q
Latin1String
(
"DELETE FROM TagRemoteIdResourceRelationTable "
QString
queryStr
=
Q
StringLiteral
(
"DELETE FROM TagRemoteIdResourceRelationTable "
"WHERE tagId = ? AND "
"resourceId IN (SELECT id "
"FROM ResourceTable "
...
...
@@ -288,7 +288,7 @@ void TagPropertiesDialog::slotAccept()
for
(
int
i
=
0
;
i
<
mRemovedRIDs
.
count
();
++
i
)
{
conds
<<
QStringLiteral
(
"name = ?"
);
}
queryStr
+=
conds
.
join
(
Q
Latin1String
(
" OR "
))
+
QLatin1String
(
")"
);
queryStr
+=
conds
.
join
(
Q
StringLiteral
(
" OR "
))
+
QLatin1String
(
")"
);
query
.
prepare
(
queryStr
);
query
.
addBindValue
(
mTag
.
id
());
Q_FOREACH
(
const
QString
&
removedRid
,
mRemovedRIDs
)
{
...
...
@@ -310,7 +310,7 @@ void TagPropertiesDialog::slotAccept()
for
(
int
i
=
0
;
i
<
mChangedRIDs
.
count
();
++
i
)
{
conds
<<
QStringLiteral
(
"name = ?"
);
}
queryStr
+=
conds
.
join
(
Q
Latin1String
(
" OR "
));
queryStr
+=
conds
.
join
(
Q
StringLiteral
(
" OR "
));
query
.
prepare
(
queryStr
);
Q_FOREACH
(
const
QString
&
res
,
mChangedRIDs
)
{
query
.
addBindValue
(
res
);
...
...
akregator/src/articleformatter.cpp
View file @
8ce7527a
...
...
@@ -283,7 +283,7 @@ QString DefaultNormalViewFormatter::getCss() const
css
+=
QString
(
QString
::
fromLatin1
(
"a {
\n
"
)
+
QString
::
fromLatin1
(
" color: %1 ! important;
\n
"
)
+
QString
(
!
Settings
::
underlineLinks
()
?
Q
Latin1String
(
" text-decoration: none ! important;
\n
"
)
:
QLatin1String
(
""
))
+
QString
(
!
Settings
::
underlineLinks
()
?
Q
StringLiteral
(
" text-decoration: none ! important;
\n
"
)
:
QStringLiteral
(
""
))
+
QLatin1String
(
"}
\n\n
"
)
+
QLatin1String
(
".headerbox {
\n
"
)
+
QLatin1String
(
" background: %2 ! important;
\n
"
)
...
...
@@ -363,7 +363,7 @@ QString DefaultCombinedViewFormatter::formatArticle(const Article &article, Icon
{
QString
text
;
const
QString
enc
=
formatEnclosure
(
*
article
.
enclosure
());
text
=
QString
::
fromLatin1
(
"<div class=
\"
headerbox
\"
dir=
\"
%1
\"
>
\n
"
).
arg
(
QApplication
::
isRightToLeft
()
?
Q
Latin1String
(
"rtl"
)
:
QLatin1String
(
"ltr"
));
text
=
QString
::
fromLatin1
(
"<div class=
\"
headerbox
\"
dir=
\"
%1
\"
>
\n
"
).
arg
(
QApplication
::
isRightToLeft
()
?
Q
StringLiteral
(
"rtl"
)
:
QStringLiteral
(
"ltr"
));
const
QString
strippedTitle
=
Utils
::
stripTags
(
article
.
title
());
...
...
@@ -470,7 +470,7 @@ QString DefaultCombinedViewFormatter::getCss() const
css
+=
QString
(
QLatin1String
(
"a {
\n
"
)
+
QString
::
fromLatin1
(
" color: %1 ! important;
\n
"
)
+
QString
(
!
Settings
::
underlineLinks
()
?
Q
Latin1String
(
" text-decoration: none ! important;
\n
"
)
:
QLatin1String
(
""
))
+
QString
(
!
Settings
::
underlineLinks
()
?
Q
StringLiteral
(
" text-decoration: none ! important;
\n
"
)
:
QStringLiteral
(
""
))
+
QLatin1String
(
"}
\n\n
"
)
+
QString
::
fromLatin1
(
".headerbox {
\n
"
)
+
QString
::
fromLatin1
(
" background: %2 ! important;
\n
"
)
...
...
akregator/src/feed.cpp
View file @
8ce7527a
...
...
@@ -476,14 +476,14 @@ bool Akregator::Feed::isArticlesLoaded() const
QDomElement
Akregator
::
Feed
::
toOPML
(
QDomElement
parent
,
QDomDocument
document
)
const
{
QDomElement
el
=
document
.
createElement
(
Q
Latin1String
(
"outline"
));
QDomElement
el
=
document
.
createElement
(
Q
StringLiteral
(
"outline"
));
el
.
setAttribute
(
QStringLiteral
(
"text"
),
title
());
el
.
setAttribute
(
QStringLiteral
(
"title"
),
title
());
el
.
setAttribute
(
QStringLiteral
(
"xmlUrl"
),
d
->
xmlUrl
);
el
.
setAttribute
(
QStringLiteral
(
"htmlUrl"
),
d
->
htmlUrl
);
el
.
setAttribute
(
QStringLiteral
(
"id"
),
QString
::
number
(
id
()));
el
.
setAttribute
(
QStringLiteral
(
"description"
),
d
->
description
);
el
.
setAttribute
(
QStringLiteral
(
"useCustomFetchInterval"
),
(
useCustomFetchInterval
()
?
Q
Latin1String
(
"true"
)
:
QLatin1String
(
"false"
)));
el
.
setAttribute
(
QStringLiteral
(
"useCustomFetchInterval"
),
(
useCustomFetchInterval
()
?
Q
StringLiteral
(
"true"
)
:
QStringLiteral
(
"false"
)));
el
.
setAttribute
(
QStringLiteral
(
"fetchInterval"
),
QString
::
number
(
fetchInterval
()));
el
.
setAttribute
(
QStringLiteral
(
"archiveMode"
),
archiveModeToString
(
d
->
archiveMode
));
el
.
setAttribute
(
QStringLiteral
(
"maxArticleAge"
),
d
->
maxArticleAge
);
...
...
akregator/src/feediconmanager.cpp
View file @
8ce7527a
...
...
@@ -72,8 +72,8 @@ QString getIconUrl(const QUrl &url)
FeedIconManager
::
Private
::
Private
(
FeedIconManager
*
qq
)
:
q
(
qq
)
{
QDBusConnection
::
sessionBus
().
registerObject
(
Q
Latin1String
(
"/FeedIconManager"
),
q
,
QDBusConnection
::
ExportScriptableSlots
);
m_favIconsModule
=
new
QDBusInterface
(
Q
Latin1String
(
"org.kde.kded5"
),
QStringLiteral
(
"/modules/favicons"
),
QLatin1String
(
FAVICONINTERFACE
));
QDBusConnection
::
sessionBus
().
registerObject
(
Q
StringLiteral
(
"/FeedIconManager"
),
q
,
QDBusConnection
::
ExportScriptableSlots
);
m_favIconsModule
=
new
QDBusInterface
(
Q
StringLiteral
(
"org.kde.kded5"
),
QStringLiteral
(
"/modules/favicons"
),
QStringLiteral
(
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 @
8ce7527a
...
...
@@ -359,7 +359,7 @@ void FeedList::append(FeedList *list, Folder *parent, TreeNode *after)
QDomDocument
FeedList
::
toOpml
()
const
{
QDomDocument
doc
;
doc
.
appendChild
(
doc
.
createProcessingInstruction
(
Q
Latin1String
(
"xml"
),
QStringLiteral
(
"version=
\"
1.0
\"
encoding=
\"
UTF-8
\"
"
)));
doc
.
appendChild
(
doc
.
createProcessingInstruction
(
Q
StringLiteral
(
"xml"
),
QStringLiteral
(
"version=
\"
1.0
\"
encoding=
\"
UTF-8
\"
"
)));
QDomElement
root
=
doc
.
createElement
(
QStringLiteral
(
"opml"
));
root
.
setAttribute
(
QStringLiteral
(
"version"
),
QStringLiteral
(
"1.0"
));
...
...
blogilo/src/addeditblog.cpp
View file @
8ce7527a
...
...
@@ -224,7 +224,7 @@ void AddEditBlog::gotHtml(KJob *job)
qCDebug
(
BLOGILO_LOG
)
<<
" rel=
\"
openid.server
\"
href=
\"
http://www.livejournal.com/openid/server.bml
\"
matched"
;
d
->
mFetchAPITimer
->
deleteLater
();
d
->
ui
.
comboApi
->
setCurrentIndex
(
0
);
d
->
ui
.
txtUrl
->
setText
(
Q
Latin1String
(
"http://www.liverjournal.com/interface/blogger/"
));
d
->
ui
.
txtUrl
->
setText
(
Q
StringLiteral
(
"http://www.liverjournal.com/interface/blogger/"
));
d
->
ui
.
txtId
->
setText
(
d
->
ui
.
txtUser
->
text
());
hideWaitWidget
();
return
;
...
...
blogilo/src/bilboblog.cpp
View file @
8ce7527a
...
...
@@ -100,8 +100,8 @@ KBlog::Blog *BilboBlog::blogBackend()
case
BilboBlog
::
BLOGGER_API
:
#ifdef HAVE_GAPIBLOGGER_SUPPORT
d
->
kblog
=
new
KBlog
::
Blogger
(
url
(),
this
);
qobject_cast
<
KBlog
::
Blogger
*>
(
d
->
kblog
)
->
setApiKey
(
Q
Latin1String
(
"508396175529-icqp62q8t6st41gjv1du100fol6renq4.apps.googleusercontent.com"
));
qobject_cast
<
KBlog
::
Blogger
*>
(
d
->
kblog
)
->
setSecretKey
(
Q
Latin1String
(
"JFPDXYmGIuM601vhgVGv0Dlx"
));
qobject_cast
<
KBlog
::
Blogger
*>
(
d
->
kblog
)
->
setApiKey
(
Q
StringLiteral
(
"508396175529-icqp62q8t6st41gjv1du100fol6renq4.apps.googleusercontent.com"
));
qobject_cast
<
KBlog
::
Blogger
*>
(
d
->
kblog
)
->
setSecretKey
(
Q
StringLiteral
(
"JFPDXYmGIuM601vhgVGv0Dlx"
));
#else
return
0
;
#endif
...
...
blogilo/src/bilbopost.cpp
View file @
8ce7527a
...
...
@@ -108,13 +108,13 @@ QString BilboPost::toString() const
// if(!title().isEmpty())
// qDebug("BilboPost::toString: title is %s", this->title());
QString
ret
;
ret
=
Q
Latin1String
(
"
\n
******* Post Info **********"
);
ret
=
Q
StringLiteral
(
"
\n
******* Post Info **********"
);
ret
+=
QLatin1String
(
"
\n
ID: "
)
+
postId
();
ret
+=
QLatin1String
(
"
\n
Title: "
)
+
title
();
ret
+=
QLatin1String
(
"
\n
Content: "
)
+
content
();
ret
+=
QLatin1String
(
"
\n
AdditionalContent: "
)
+
additionalContent
();
ret
+=
QLatin1String
(
"
\n
Tags: "
)
+
tags
().
join
(
Q
Latin1String
(
","
));
ret
+=
QLatin1String
(
"
\n
Categories: "
)
+
categories
().
join
(
Q
Latin1String
(
","
));
ret
+=
QLatin1String
(
"
\n
Tags: "
)
+
tags
().
join
(
Q
StringLiteral
(
","
));
ret
+=
QLatin1String
(
"
\n
Categories: "
)
+
categories
().
join
(
Q
StringLiteral
(
","
));
ret
+=
QLatin1String
(
"
\n
Creation Date Time: "
)
+
creationDateTime
().
toString
();
ret
+=
QLatin1String
(
"
\n
Status: "
)
+
QString
::
number
(
status
());
ret
+=
QLatin1String
(
"
\n
IsPrivate: "
)
+
QVariant
(
isPrivate
()).
toString
();
...
...
blogilo/src/blogger.cpp
View file @
8ce7527a
...
...
@@ -266,9 +266,9 @@ void Blogger::authenticate(const QMap<QString, QString> &authData)
if
(
!
authData
.
isEmpty
())
{
QList
<
QUrl
>
scopes
;
scopes
<<
KGAPI2
::
Account
::
bloggerScopeUrl
();
account
=
KGAPI2
::
AccountPtr
(
new
KGAPI2
::
Account
(
authData
[
Q
Latin1String
(
"account"
)],
authData
[
Q
Latin1String
(
"accessToken"
)],
authData
[
Q
Latin1String
(
"refreshToken"
)],
account
=
KGAPI2
::
AccountPtr
(
new
KGAPI2
::
Account
(
authData
[
Q
StringLiteral
(
"account"
)],
authData
[
Q
StringLiteral
(
"accessToken"
)],
authData
[
Q
StringLiteral
(
"refreshToken"
)],
scopes
));
d
->
account
=
account
;
}
else
{
...
...
@@ -295,9 +295,9 @@ void BloggerPrivate::_k_onAuthenticateFinished(KGAPI2::Job *job)
account
=
authJob
->
account
();
QMap
<
QString
,
QString
>
authData
;
authData
[
Q
Latin1String
(
"account"
)]
=
account
->
accountName
();
authData
[
Q
Latin1String
(
"accessToken"
)]
=
account
->
accessToken
();
authData
[
Q
Latin1String
(
"refreshToken"
)]
=
account
->
refreshToken
();
authData
[
Q
StringLiteral
(
"account"
)]
=
account
->
accountName
();
authData
[
Q
StringLiteral
(
"accessToken"
)]
=
account
->
accessToken
();
authData
[
Q
StringLiteral
(
"refreshToken"
)]
=
account
->
refreshToken
();
Q_EMIT
q
->
authenticated
(
authData
);
...
...
@@ -314,7 +314,7 @@ void Blogger::listBlogs()
Q_D
(
Blogger
);
KGAPI2
::
Blogger
::
BlogFetchJob
*
fetchJob
=
new
KGAPI2
::
Blogger
::
BlogFetchJob
(
Q
Latin1String
(
"self"
),
=
new
KGAPI2
::
Blogger
::
BlogFetchJob
(
Q
StringLiteral
(
"self"
),
KGAPI2
::
Blogger
::
BlogFetchJob
::
FetchByUserId
,
d
->
account
,
this
);
...
...
blogilo/src/composer/bilbobrowser.cpp
View file @
8ce7527a
...
...
@@ -162,7 +162,7 @@ void BilboBrowser::slotCompleted(bool ok)
void
BilboBrowser
::
slotSetStatusBarText
(
const
QString
&
text
)
{
QString
statusText
=
text
;
statusText
.
remove
(
Q
Latin1String
(
"<qt>"
));
statusText
.
remove
(
Q
StringLiteral
(
"<qt>"
));
browserStatus
->
showMessage
(
statusText
);
}
...
...
blogilo/src/composer/blogilocomposereditor.cpp
View file @
8ce7527a
...
...
@@ -103,7 +103,7 @@ void BlogiloComposerEditor::setReadOnly(bool _readOnly)
{
if
(
readOnly
!=
_readOnly
)
{
readOnly
=
_readOnly
;
view
()
->
evaluateJavascript
(
QString
::
fromLatin1
(
"setReadOnly(%1)"
).
arg
(
readOnly
?
Q
Latin1String
(
"true"
)
:
QLatin1String
(
"false"
)));
view
()
->
evaluateJavascript
(
QString
::
fromLatin1
(
"setReadOnly(%1)"
).
arg
(
readOnly
?
Q
StringLiteral
(
"true"
)
:
QStringLiteral
(
"false"
)));
}
}
...
...
@@ -111,7 +111,7 @@ QList< BilboMedia * > BlogiloComposerEditor::getLocalImages()
{
qCDebug
(
BLOGILO_LOG
);
QList
<
BilboMedia
*
>
list
;
QWebElementCollection
images
=
view
()
->
page
()
->
mainFrame
()
->
findAllElements
(
Q
Latin1String
(
"img"
));
QWebElementCollection
images
=
view
()
->
page
()
->
mainFrame
()
->
findAllElements
(
Q
StringLiteral
(
"img"
));
Q_FOREACH
(
const
QWebElement
&
elm
,
images
)
{
if
(
elm
.
attribute
(
QStringLiteral
(
"src"
)).
startsWith
(
QStringLiteral
(
"file://"
)))
{
// qCDebug(BLOGILO_LOG)<<elm.toOuterXml();
...
...
@@ -180,6 +180,6 @@ void BlogiloComposerEditor::execCommand(const QString &cmd, const QString &arg)
void
BlogiloComposerEditor
::
insertShortUrl
(
const
QString
&
url
)
{
QString
html
=
QString
::
fromLatin1
(
"<a href=
\'
%1
\'
>%1</a>"
).
arg
(
url
);
execCommand
(
Q
Latin1String
(
"insertHtml"
),
html
);
execCommand
(
Q
StringLiteral
(
"insertHtml"
),
html
);
}
blogilo/src/composer/stylegetter.cpp
View file @
8ce7527a
...
...
@@ -127,7 +127,7 @@ QString StyleGetter::styledHtml(const int blogid,
buffer
.
append
(
QString
::
fromUtf8
(
line
));
}
QRegExp
typeRx
(
Q
Latin1String
(
"(TYPE[^>]+>)"
));
QRegExp
typeRx
(
Q
StringLiteral
(
"(TYPE[^>]+>)"
));
buffer
.
remove
(
typeRx
);
QRegExp
titleRx
(
QStringLiteral
(
"%1[
\\
d]*"
).
arg
(
QLatin1String
(
POST_TITLE
)));
...
...
@@ -184,7 +184,7 @@ void StyleGetter::slotHtmlCopied(KJob *job)
href
=
href
.
remove
(
filenameOffset
+
1
,
255
);
QString
base
(
QLatin1String
(
"<base href=
\"
"
)
+
href
+
QLatin1String
(
"
\"
/>"
));
QRegExp
rxBase
(
Q
Latin1String
(
"(<base
\\
shref=[^>]+>)"
));
QRegExp
rxBase
(
Q
StringLiteral
(
"(<base
\\
shref=[^>]+>)"
));
if
(
rxBase
.
indexIn
(
QLatin1String
(
httpData
))
!=
-
1
)
{
httpData
.
replace
(
rxBase
.
cap
(
1
).
toLatin1
(),
base
.
toLatin1
());
}
else
{
...
...
blogilo/src/dbman.cpp
View file @
8ce7527a
This diff is collapsed.
Click to expand it.
calendarsupport/kcalmodel.cpp
View file @
8ce7527a
...
...
@@ -67,7 +67,7 @@ public:
return
!
q
->
collection
().
isValid
()
||
collectionMatchesMimeTypes
()
||
q
->
collection
().
contentMimeTypes
()
==
QStringList
(
Q
Latin1String
(
"inode/directory"
));
q
->
collection
().
contentMimeTypes
()
==
QStringList
(
Q
StringLiteral
(
"inode/directory"
));
}
private:
...
...
calendarsupport/utils.cpp
View file @
8ce7527a
...
...
@@ -346,7 +346,7 @@ bool CalendarSupport::isValidTodoItemUrl(const QUrl &url)
return
false
;
}
return
QUrlQuery
(
url
).
queryItemValue
(
Q
Latin1String
(
"type"
))
==
KCalCore
::
Todo
::
todoMimeType
();
return
QUrlQuery
(
url
).
queryItemValue
(
Q
StringLiteral
(
"type"
))
==
KCalCore
::
Todo
::
todoMimeType
();
}
bool
CalendarSupport
::
canDecode
(
const
QMimeData
*
md
)
...
...
calendarviews/agenda/timelabels.cpp
View file @
8ce7527a
...
...
@@ -256,7 +256,7 @@ void TimeLabels::paintEvent(QPaintEvent *)
// handle 24h and am/pm time formats
if
(
KLocale
::
global
()
->
use12Clock
())
{
if
(
cell
==
12
)
{
suffix
=
Q
Latin1String
(
"pm"
);
suffix
=
Q
StringLiteral
(
"pm"
);
}
if
(
cell
==
0
)
{
hour
.
setNum
(
12
);
...
...
calendarviews/whatsnext/whatsnextview.cpp
View file @
8ce7527a
...
...
@@ -71,7 +71,7 @@ int WhatsNextView::currentDateCount() const
void
WhatsNextView
::
createTaskRow
(
KIconLoader
*
kil
)
{
QString
ipath
;
kil
->
loadIcon
(
Q
Latin1String
(
"view-calendar-tasks"
),
KIconLoader
::
NoGroup
,
22
,
kil
->
loadIcon
(
Q
StringLiteral
(
"view-calendar-tasks"
),
KIconLoader
::
NoGroup
,
22
,
KIconLoader
::
DefaultState
,
QStringList
(),
&
ipath
);
mText
+=
QLatin1String
(
"<h2><img src=
\"
"
);
mText
+=
ipath
;
...
...
@@ -116,7 +116,7 @@ void WhatsNextView::updateView()
if
(
events
.
count
()
>
0
)
{
mText
+=
QLatin1String
(
"<p></p>"
);
kil
->
loadIcon
(
Q
Latin1String
(
"view-calendar-day"
),
KIconLoader
::
NoGroup
,
22
,
kil
->
loadIcon
(
Q
StringLiteral
(
"view-calendar-day"
),
KIconLoader
::
NoGroup
,
22
,
KIconLoader
::
DefaultState
,
QStringList
(),
&
ipath
);
mText
+=
QLatin1String
(
"<h2><img src=
\"
"
);
mText
+=
ipath
;
...
...
@@ -197,7 +197,7 @@ void WhatsNextView::updateView()
if
(
me
->
status
()
==
KCalCore
::
Attendee
::
NeedsAction
&&
me
->
RSVP
())
{
if
(
replies
==
0
)
{
mText
+=
QLatin1String
(
"<p></p>"
);
kil
->
loadIcon
(
Q
Latin1String
(
"mail-reply-sender"
),
KIconLoader
::
NoGroup
,
22
,
kil
->
loadIcon
(
Q
StringLiteral
(
"mail-reply-sender"
),
KIconLoader
::
NoGroup
,
22
,
KIconLoader
::
DefaultState
,
QStringList
(),
&
ipath
);
mText
+=
QLatin1String
(
"<h2><img src=
\"
"
);
mText
+=
ipath
;
...
...
@@ -217,7 +217,7 @@ void WhatsNextView::updateView()
if
(
me
->
status
()
==
KCalCore
::
Attendee
::
NeedsAction
&&
me
->
RSVP
())
{
if
(
replies
==
0
)
{
mText
+=
QLatin1String
(
"<p></p>"
);
kil
->
loadIcon
(
Q
Latin1String
(
"mail-reply-sender"
),
KIconLoader
::
NoGroup
,
22
,
kil
->
loadIcon
(
Q
StringLiteral
(
"mail-reply-sender"
),
KIconLoader
::
NoGroup
,
22
,
KIconLoader
::
DefaultState
,
QStringList
(),
&
ipath
);
mText
+=
QLatin1String
(
"<h2><img src=
\"
"
);
mText
+=
ipath
;
...
...
composereditor-ng/table/composertabledialog.cpp
View file @
8ce7527a
...
...
@@ -58,7 +58,7 @@ QString ComposerTableDialogPrivate::html() const
const
int
numberRow
(
insertTableWidget
->
rows
());
QString
htmlTable
=
QString
::
fromLatin1
(
"<table border='%1'"
).
arg
(
insertTableWidget
->
border
());
htmlTable
+=
QString
::
fromLatin1
(
" width='%1%2'"
).
arg
(
insertTableWidget
->
length
()).
arg
(
insertTableWidget
->
typeOfLength
()
==
QTextLength
::
PercentageLength
?
Q
Latin1String
(
"%"
)
:
QString
());
htmlTable
+=
QString
::
fromLatin1
(
" width='%1%2'"
).
arg
(
insertTableWidget
->
length
()).
arg
(
insertTableWidget
->
typeOfLength
()
==
QTextLength
::
PercentageLength
?
Q
StringLiteral
(
"%"
)
:
QString
());
htmlTable
+=
QString
::
fromLatin1
(
">"
);
for
(
int
i
=
0
;
i
<
numberRow
;
++
i
)
{
htmlTable
+=
QLatin1String
(
"<tr>"
);
...
...
composereditor-ng/table/composertableformatdialog.cpp
View file @
8ce7527a
...
...
@@ -72,7 +72,7 @@ void ComposerTableFormatDialogPrivate::applyChanges()
{
if
(
!
webElement
.
isNull
())
{
webElement
.
setAttribute
(
QStringLiteral
(
"border"
),
QString
::
number
(
insertTableWidget
->
border
()));
const
QString
width
=
QStringLiteral
(
"%1%2"
).
arg
(
insertTableWidget
->
length
()).
arg
(
insertTableWidget
->
typeOfLength
()
==
QTextLength
::
PercentageLength
?
Q
Latin1String
(
"%"
)
:
QString
());
const
QString
width
=
QStringLiteral
(
"%1%2"
).
arg
(
insertTableWidget
->
length
()).
arg
(
insertTableWidget
->
typeOfLength
()
==
QTextLength
::
PercentageLength
?
Q
StringLiteral
(
"%"
)
:
QString
());
webElement
.
setAttribute
(
QStringLiteral
(
"width"
),
width
);
if
(
useBackgroundColor
->
isChecked
())
{
const
QColor
col
=
backgroundColor
->
color
();
...
...
composereditor-ng/utils/composereditorutils.cpp
View file @
8ce7527a
...
...
@@ -25,7 +25,7 @@
QColor
ComposerEditorNG
::
Utils
::
convertRgbToQColor
(
QString
rgb
)
{
rgb
.
chop
(
1
);
rgb
.
remove
(
Q
Latin1String
(
"rgb("
));
rgb
.
remove
(
Q
StringLiteral
(
"rgb("
));
rgb
=
rgb
.
simplified
();
const
QStringList
colorLst
=
rgb
.
split
(
QLatin1Char
(
','
));
if
(
colorLst
.
count
()
==
3
)
{
...
...
@@ -38,7 +38,7 @@ QColor ComposerEditorNG::Utils::convertRgbToQColor(QString rgb)
QUrl
ComposerEditorNG
::
Utils
::
guessUrlFromString
(
const
QString
&
string
)
{
const
QString
urlStr
=
string
.
trimmed
();
const
QRegExp
test
(
Q
Latin1String
(
"^[a-zA-Z]+
\\
:.*"
));
const
QRegExp
test
(
Q
StringLiteral
(
"^[a-zA-Z]+
\\
:.*"
));
// Check if it looks like a qualified URL. Try parsing it and see.
const
bool
hasSchema
=
test
.
exactMatch
(
urlStr
);
...
...
@@ -59,7 +59,7 @@ QUrl ComposerEditorNG::Utils::guessUrlFromString(const QString &string)
const
int
dotIndex
=
urlStr
.
indexOf
(
QLatin1Char
(
'.'
));
if
(
dotIndex
!=
-
1
)
{
const
QString
prefix
=
urlStr
.
left
(
dotIndex
).
toLower
();
const
QString
schema
=
(
prefix
==
QLatin1String
(
"ftp"
))
?
prefix
:
Q
Latin1String
(
"http"
);
const
QString
schema
=
(
prefix
==
QLatin1String
(
"ftp"
))
?
prefix
:
Q
StringLiteral
(
"http"
);
QUrl
url
(
schema
+
QLatin1String
(
"://"
)
+
urlStr
,
QUrl
::
TolerantMode
);
if
(
url
.
isValid
())
{
return
url
;
...
...
console/calendarjanitor/calendarjanitor.cpp
View file @
8ce7527a
...
...
@@ -467,7 +467,7 @@ static void printStat(const QString &message, int arg)
{
if
(
arg
>
0
)
{
print
(
message
.
leftJustified
(
50
),
false
);
const
QString
s
=
Q
Latin1String
(
": %1"
);
const
QString
s
=
Q
StringLiteral
(
": %1"
);
print
(
s
.
arg
(
arg
));
}
}
...
...
@@ -475,7 +475,7 @@ static void printStat(const QString &message, int arg)
void
CalendarJanitor
::
sanityCheck8
()
{
beginTest
(
i18n
(
"Gathering statistics..."
));
print
(
Q
Latin1String
(
"
\n
"
));
print
(
Q
StringLiteral
(
"
\n
"
));
int
numOldAlarms
=
0
;
int
numAttachments
=
0
;
...
...
@@ -627,11 +627,11 @@ void CalendarJanitor::printFound(const Akonadi::Item &item, const QString &expla
KCalCore
::
Incidence
::
Ptr
incidence
=
CalendarSupport
::
incidence
(
item
);
m_numDamaged
++
;
if
(
m_numDamaged
==
1
)
{
print
(
Q
Latin1String
(
" [!!]"
));
print
(
Q
StringLiteral
(
" [!!]"
));
if
(
!
explanation
.
isEmpty
())
{
print
(
Q
Latin1String
(
" "
),
false
);
print
(
Q
StringLiteral
(
" "
),
false
);
print
(
explanation
,
false
);
print
(
Q
Latin1String
(
":
\n
"
));
print
(
Q
StringLiteral
(
":
\n
"
));
}
}
print
(
QLatin1String
(
" * "
)
+
i18n
(
"Found buggy incidence:"
));
...
...
@@ -649,9 +649,9 @@ void CalendarJanitor::beginTest(const QString &message)
void
CalendarJanitor
::
endTest
(
bool
printEnabled
,
const
QString
fixExplanation
,
const
QString
&
fixExplanation2
)
{
if
(
m_numDamaged
==
0
&&
printEnabled
)
{
print
(
Q
Latin1String
(
" [OK]"
));
print
(
Q
StringLiteral
(
" [OK]"
));
}
else
if
(
m_numDamaged
>
0
)
{
print
(
Q
Latin1String
(
"
\n
"
),
false
);
print
(
Q
StringLiteral
(
"
\n
"
),
false
);
if
(
m_options
.
action
()
==
Options
::
ActionScanAndFix
)
{
print
(
fixExplanation2
);
}
else
{
...
...
console/konsolekalendar/konsolekalendar.cpp
View file @
8ce7527a
...
...
@@ -124,7 +124,7 @@ bool KonsoleKalendar::printCalendarList()
bool
KonsoleKalendar
::
createAkonadiResource
(
const
QString
&
icalFileName
)
{
Akonadi
::
AgentType
type
=
Akonadi
::
AgentManager
::
self
()
->
type
(
Q
Latin1String
(
"akonadi_ical_resource"
));
Akonadi
::
AgentType
type
=
Akonadi
::
AgentManager
::
self
()
->
type
(
Q
StringLiteral
(
"akonadi_ical_resource"
));
Akonadi
::
AgentInstanceCreateJob
*
job
=
new
Akonadi
::
AgentInstanceCreateJob
(
type
);
job
->
setProperty
(
"path"
,
icalFileName
);
QEventLoop
loop
;
...
...
@@ -289,12 +289,12 @@ bool KonsoleKalendar::showInstance()
lastdate
=
m_variables
->
getEndDateTime
().
date
();
}
KCalUtils
::
HTMLExportSettings
htmlSettings
(
Q
Latin1String
(
"Konsolekalendar"
));
KCalUtils
::
HTMLExportSettings
htmlSettings
(
Q
StringLiteral
(
"Konsolekalendar"
));
//TODO: get progname and url from the values set in main
htmlSettings
.
setCreditName
(
Q
Latin1String
(
"KonsoleKalendar"
));
htmlSettings
.
setCreditName
(
Q
StringLiteral
(
"KonsoleKalendar"
));
htmlSettings
.
setCreditURL
(
Q
Latin1String
(
"http://pim.kde.org/components/konsolekalendar.php"
));
Q
StringLiteral
(
"http://pim.kde.org/components/konsolekalendar.php"
));
htmlSettings
.
setExcludePrivate
(
true
);
htmlSettings
.
setExcludeConfidential
(
true
);
...
...
console/konsolekalendar/konsolekalendarvariables.cpp
View file @
8ce7527a
...
...
@@ -65,9 +65,9 @@ KonsoleKalendarVariables::KonsoleKalendarVariables()
m_bDescription
=
false
;
m_description
.
clear
();
m_bLocation
=
false
;
m_location
=
Q
Latin1String
(
"Default location"
);
//i18n ?
m_location
=
Q
StringLiteral
(
"Default location"
);
//i18n ?
m_bSummary
=
false
;
m_summary
=
Q
Latin1String
(
"Default summary"
);
//i18n?
m_summary
=
Q
StringLiteral
(
"Default summary"
);
//i18n?
m_bFloating
=
true
;
m_bAllowGui
=
false
;
m_collectionId
=
-
1
;
...
...
importwizard/autodetect/evolutionv3/evolutioncalendar.cpp
View file @
8ce7527a
...
...
@@ -107,11 +107,11 @@ void EvolutionCalendar::extractCalendarInfo(const QString &info)
}
if
(
e
.
hasAttribute
(
QStringLiteral
(
"name"
)))
{
name
=
e
.
attribute
(
QStringLiteral
(
"name"
));
settings
.
insert
(
Q
Latin1String
(
"DisplayName"
),
name
);
settings
.
insert
(
Q
StringLiteral
(
"DisplayName"
),
name
);
}
if
(
e
.
hasAttribute
(
QStringLiteral
(
"relative_uri"
)))
{
const
QString
path
=
mCalendarPath
+
e
.
attribute
(
QStringLiteral
(
"relative_uri"
))
+
QLatin1String
(
"/calendar.ics"
);
settings
.
insert
(
Q
Latin1String
(
"Path"
),
path
);
settings
.
insert
(
Q
StringLiteral
(
"Path"
),
path
);
}
if
(
e
.
hasAttribute
(
QStringLiteral
(
"color_spec"
)))
{
//const QString color = e.attribute(QStringLiteral("color_spec"));
...
...
@@ -128,7 +128,7 @@ void EvolutionCalendar::extractCalendarInfo(const QString &info)
if
(
propertyName
==
QLatin1String
(
"custom-file-readonly"
))
{
if
(
property
.
hasAttribute
(
QStringLiteral
(
"value"
)))
{
if
(
property
.
attribute
(
QStringLiteral
(
"value"
))
==
QLatin1String
(
"1"
))
{
settings
.
insert
(
Q
Latin1String
(
"ReadOnly"
),
true
);
settings
.
insert
(
Q
StringLiteral
(
"ReadOnly"
),
true
);
}
}
}
else
if
(
propertyName
==
QLatin1String
(
"alarm"
))
{
...
...
@@ -142,7 +142,7 @@ void EvolutionCalendar::extractCalendarInfo(const QString &info)
}
}
}
AbstractBase
::
createResource
(
Q
Latin1String
(
"akonadi_ical_resource"
),
name
,
settings
);
AbstractBase
::
createResource
(
Q
StringLiteral
(
"akonadi_ical_resource"
),
name
,
settings
);
}
else
{
qCDebug
(
IMPORTWIZARD_LOG
)
<<
" tag unknown :"
<<
tag
;
}
...
...
importwizard/autodetect/evolutionv3/evolutionsettings.cpp
View file @
8ce7527a
...
...
@@ -324,29 +324,29 @@ void EvolutionSettings::extractAccountInfo(const QString &info)
//imapx://name@pop3.xx.org:993/;security-method=ssl-on-alternate-port;namespace;shell-command=ssh%20-C%20-l%20%25u%20%25h%20exec%20/usr/sbin/imapd%20;use-shell-command=true
if
(
scheme
==
QLatin1String
(
"imap"
)
||
scheme
==
QLatin1String
(
"imapx"
))
{
if
(
port
>
0
)
{
settings
.
insert
(
Q
Latin1String
(
"ImapPort"
),
port
);
settings
.
insert
(
Q
StringLiteral
(
"ImapPort"
),
port
);
}
//Perhaps imapx is specific don't know
if
(
intervalCheck
)
{
settings
.
insert
(
Q
Latin1String
(
"IntervalCheckEnabled"
),
true
);
settings
.
insert
(
Q
StringLiteral
(
"IntervalCheckEnabled"
),
true
);
}
if
(
interval
>
-
1
)
{
settings
.
insert
(
Q
Latin1String
(
"IntervalCheckTime"
),
interval
);
settings
.
insert
(
Q
StringLiteral
(
"IntervalCheckTime"
),
interval
);
}