Felipe Kinoshita
9dad186438
applets/digital-clock: Make "Copy to Clipboard" menu follow system locale
...
This means that if your locale uses the 24 hour format the items
in that menu will use that format as well and vice-versa.
BUG: 452888
4 years ago
Felipe Kinoshita
68ea72876c
applets/digital-clock: add inverted option to clipboard menu
...
This commit adds a new option to the "Copy to Clipboard" menu that
shows the date with seconds when "show seconds" is not enabled and
without seconds when "show seconds" is enabled.
BUG: 453111
4 years ago
Felipe Kinoshita
13c6cb3a21
applets/digital-clock: make "Copy to Clipboard" menu less messy
...
This commit organizes the "Copy to Clipboard" options and removes
a lot of duplicated options when "show seconds" is enabled.
It also makes the code more readable. :)
BUG: 453111
4 years ago
Laurent Montel
b55d32857e
Fix some clazy warning (const'ify + use const'ref + initialize variable in headers)
4 years ago
Laurent Montel
5fbe1eabdc
Fix some clazy warnings
4 years ago
Laurent Montel
2543f1b843
GIT_SILENT: use Q_EMIT
4 years ago
Alexander Lohnau
4248e56820
Port away from deprecated QTime/QDate toString methods
4 years ago
Alexander Lohnau
c4cfc9749e
Remove unneeded newlines in license headers
5 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Alexander Lohnau
823d2106ec
Run clang-format
...
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
5 years ago
Ahmad Samir
f444ebe595
Port some usage of QRegExp to QRegularExpression
...
Test Plan: make && ctest
Reviewers: #plasma, davidedmundson, apol, broulik
Reviewed By: apol
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D27857
6 years ago
Laurent Montel
791fb706ed
GIT_SILENT: ignore some files
7 years ago
Bernhard Schiffner
ffa23acf44
[Digital Clock] Allow copying current date and time to clipboard
...
BUG: 355190
FIXED-IN: 5.13.0
Differential Revision: https://phabricator.kde.org/D6183
8 years ago