Commit Graph

2138 Commits (ce4d0c5d358f8b1dae159a0ca4cfe6a9f9e38bef)
 

Author SHA1 Message Date
Michele Calgaro ccf78121e9
Remove unnecessary 'tde_set_project_version' from CMakeL10n.txt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
11 months ago
Michele Calgaro 95002e69cd
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
11 months ago
Michele Calgaro 8f539c5a7c
cmake files: change keywords to lower case
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
12 months ago
Slávek Banko b232b084d1
kdoctools: Add TQt entity to obsolete/general.entities.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
12 months ago
Mavridis Philippe f7592c53ba
Kate: add support for template string syntax of JS
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Alexander Golubev 3b32c2fa89 tdeio/kdirlister: better handle if TDEIO::localURL() failed
This shouldn't generally happend, but better safe than sorry.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
1 year ago
Alexander Golubev 3b1b97d7fe tdeio/kdirlister: reset complete flag earlier for remote URLs
Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/gwenview/issues/20
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
1 year ago
Alexander Golubev f34601e77a tdeio/kdirlister: add some cleanups for LocalURLJob's
Theoretically the lack of those could lead to segfaults and data
corruptions, hard to debug but very rare.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
1 year ago
Alexander Golubev 2c18d241d8 tdeio/KDirLister: add url validity check
Before 0756aab51 and 4d6667159 this validity check was done for all URLs
inside KDirListerCache::listDir(). But since those two commits the result
of this check for remote URLs is impossible to propagate to the user. So
implicit check is in order.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
1 year ago
Alexander Golubev c4ebd9d0e7 tdeio/kdirlister: some refactoring
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
1 year ago
Alexander Golubev 6f9f01b2f4 tdeio/Mainpage.dox: fix an incorrect reference to KDE as Trinity
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
1 year ago
Michele Calgaro 879f5a7102
Replace QT_STATIC_CONST_* with actual definitions
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 3fef288384
Simplify code since cmake minimum version is now 3.5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 03aa7238b3
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
TDE Gitea 15d75fb42d Reset submodule main/core/tdelibs/admin to latest HEAD 1 year ago
TDE Gitea b8e53677d6 Reset submodule main/core/tdelibs/admin to latest HEAD 1 year ago
Michele Calgaro 7f1af8e826
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 9c8be949b4
Replace auto_ptr
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro ba3b5b77e1
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
TDE Gitea 5d320b587b Reset submodule main/core/tdelibs/admin to latest HEAD 1 year ago
Michele Calgaro 5efbce071a
tdehw lib: drop definition of TDEDiskDeviceStatus::Hotpluggable
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Alexander Golubev 14573faf07
Fix lvm volumes appearing as removable devices
- remove obsolete/erroneous code meddling with
  GENHD_FL_MEDIA_CHANGE_NOTIFY
- use /sys/block/<dev>/removable rather than
  /sys/block/<dev>/capabilities
- deprecate TDEDiskDeviceStatus::Hotpluggable and use
  TDEDiskDeviceStatus::Removable for all removable devices
- put some local utility function into anonymous namespace

See https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/148

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
1 year ago
Michele Calgaro d5688771d8
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 44e712a770
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Andrei Stepanov cca633c6bd Translated using Weblate (Russian)
Currently translated at 100.0% (179 of 179 strings)

Translation: tdelibs/all languages
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdelibs/all-languages/ru/
1 year ago
Michele Calgaro f22a9c72dd
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 7a00e005dd
Fix FTBFS caused by detection of libr version after recent update
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
1 year ago
Michele Calgaro 138bb80efa
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 8d79c40791
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 17a8fd0ec2
Replace color '#define' strings with actual values
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro d42f9ae842
Replaced various '#define' with actual strings - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 73dba53e4a
Replaced time related '#define' with actual strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 80c2465371
Replace various tq* strings with TQt::* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 57e0ed6634
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro c8ece3630d
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
OBATA Akio 419c185be7 Prevent to use conditional inclusion preprocessor feature (since C++23)
`#elifdef` is supported since C23 and C++23, but such newer compiler
is not required here.

Signed-off-by: OBATA Akio <obache@wizdas.com>
1 year ago
TDE Gitea edff1febbf Reset submodule main/core/tdelibs/admin to latest HEAD 1 year ago
TDE Gitea df52678ec5 Reset submodule main/core/tdelibs/admin to latest HEAD 1 year ago
Slávek Banko 49ab8ddf53
Raise the minimum required version of CMake to 3.5.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
1 year ago
TDE Gitea dad8d1275f Reset submodule main/core/tdelibs/admin to latest HEAD 1 year ago
Mavridis Philippe c28a87c7d2
KTabBar: add way to revert tab color to default
This commit adds a resetTabColor(...) method to TQTabBar and TQTabWidget which allows the color of the appropriate tab to be reset to the default as specified by the desktop color scheme.

It also changes how invalid color values are handled; before, an invalid value would be used as a valid color, resulting in 0,0,0 (black). Seeing that an invalid color is returned by KColorDialog when the default color checkbox is checked, it makes more sense to ignore invalid colors, using the appropriate color from the color scheme instead.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Roman Savochenko 9755ecd967 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (328 of 328 strings)

Translation: tdelibs/mimetypes
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdelibs/mimetypes/uk/
1 year ago
TDE Gitea 6a3a09938b Reset submodule main/core/tdelibs/admin to latest HEAD 1 year ago
Slávek Banko 3edad5e6f5
Drop INT32 => TQ_INT32 definitions that are no longer needed, causing
conflicting declaration and leading to FTBFS on 32bit architectures.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
1 year ago
Michele Calgaro 9300f9e576
Removed unsupported qtint*/qtuint* types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 4c0dae60b2
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
TDE Gitea 066f257ead Reset submodule main/core/tdelibs/admin to latest HEAD 1 year ago
Michele Calgaro 987507131d
Update hashing code for strings to be the same as upstream gettext. The old version results in slightly different hash values for strings with ellipsis (and potentially other unicode characters). This relates to TDE/tdebase#394.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro d67c4fd582
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 0f36f89663
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago