Commit graph

16 commits

Author SHA1 Message Date
Ivailo Monev
95ee157d51 kdecore: undeprecate raw string translation methods
the catalog name argument is unused, KCatalog should be public if
translation from specific catalog is required

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-02 08:48:28 +02:00
Ivailo Monev
ae5646a52f kdecore: deduplicate code in KLocalePrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-08 15:00:53 +03:00
Ivailo Monev
894a2d52bb kdecore: remove KLocale getters related to text codec
see the comment in KLocalePrivate::initEncoding()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-30 20:00:04 +03:00
Ivailo Monev
ba64dcca64 kdecore: remove unused and deprecated KLocale::langLookup() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-24 15:08:33 +03:00
Ivailo Monev
fbd4a17ac2 kdecore: drop currency and monetary support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-24 14:43:11 +03:00
Ivailo Monev
a9ef1523ff kdecore: remove old QTranslator virtual method overload
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-06 01:24:47 +03:00
Ivailo Monev
d356e8f8ff kdecore: export private class used in tests when testing is enabled
fixes testing build

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-09 17:46:30 +03:00
Ivailo Monev
ebf69fb68e generic: replace recursive QMutex-es with std::recursive_mutex-es [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-22 01:36:07 +03:00
Ivailo Monev
eca1a8fcb0 kdecore: remove transcript support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-26 12:58:44 +03:00
Ivailo Monev
74bcfd8a4d kdecore: remove non-const KLocale::weekNumberSystem() getter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-16 14:34:48 +03:00
Ivailo Monev
50dd0cd82c kdecore: merge KLocaleUnixPrivate into KLocalePrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-26 13:58:44 +02:00
Ivailo Monev
825449e174 kdecore: rely solely on Katie's locale codec detection
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-24 00:18:15 +02:00
Ivailo Monev
61333c4671 generic: namespaced Qt4/Katie build fixes
most of the changes were done trought Katie's namefsck script which
convertes forward class declarations to include directives, however
other fixes here and there were needed as well as some questionable
changes to Q_DECLARE_TYPEINFO() macro calls because they most likely
have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and
probably will be in Katie) meaning that some of the changes may be
temporary and reverted later.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2017-08-04 09:24:39 +00:00
Ivailo Monev
055f2e8331 kdecore: make use of thread_local
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-10-24 06:24:11 +00:00
Ivailo Monev
d4f3cb5ef4 kdecore: drop internal file encoding functions
these seems unnecessary because QString::fromLocal8Bit() is used
if the function is not overriden, though some sorta UTF-16 support
is suggested in the internal functions I have no trouble creating
files with UTF-16 characters in theirs names and working with
them. if there are any complaints on this it shall be reverted

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-08 17:35:08 +02:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00