Commit graph

16 commits

Author SHA1 Message Date
Ivailo Monev
eac8fd79cc kdecore: re-use KUrl::AdjustPathOption for KUrl::fileName() and KUrl::directory()
so that it is clear that the options shall affect only the result, also for
local files the correct thing can be done regardless of the trailing slash
as is done in KUrl::upUrl()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-26 20:47:38 +03:00
Ivailo Monev
181e119ecc kdecore: KUrl::equals() rework to use KUrl::url() for the comparison
same thing (all URL components are compared) except the trailing slash
option can be re-used for it essentially adding one more option (to add
trailing slash when comparing)

also fixed and tested KUrl::upUrl() for some cases

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-26 01:30:23 +03:00
Ivailo Monev
0db3a7291f kfile: adjust query check in KFileWidget::getStartUrl()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-22 15:32:21 +03:00
Ivailo Monev
98e133548c kfile: include required QTimer header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-08 12:20:42 +03:00
Ivailo Monev
9b41127ecb generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-13 00:40:18 +02:00
Ivailo Monev
ae2e43ccc8 kfile: remove unused QFSFileEngine header inclusion
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-29 19:17:03 +03:00
Ivailo Monev
e88c621aa2 generic: authorization reimplementation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-25 19:27:41 +03:00
Ivailo Monev
08f290fa8b generic: cast pointers with QObject as base class via qobject_cast<T>()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-01 18:06:11 +00:00
Ivailo Monev
ed512b28ae kfile: replace static function call with its body where used
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-21 21:20:31 +00:00
Ivailo Monev
18ac6803e4 kfile: code shrinks 2015-10-12 18:18:24 +03:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
bbea8b2acc generic: drop most of the KIOSK functionality 2015-05-19 05:23:35 +00:00
Ivailo Monev
bf501e6429 generic: remove redudant virtual_hook definitions 2015-04-23 14:50:12 +00:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
c3f3bcb965 windows code remove 2014-11-19 15:17:14 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00