Commit graph

12 commits

Author SHA1 Message Date
Ivailo Monev
71704a410d kparts: query the part to close from KParts::MainWindow
because KParts::ReadWritePart::closeUrl() is not called from the
KParts::ReadWritePart destructor (and even if it is bad stuff may happen)
for most rw parts (exception being okular which does its own query, maybe
some other parts too) saving was not actually done (e.g. for ark). now the
part will be queried to close, if the upload job fails (e.g. because of
insufficient access) the application/part will not close (intentionally)
tho and no error is reported via message box which is something that needs
to be looked into

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-16 06:31:19 +03:00
Ivailo Monev
0a4a0aa423 kparts: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-31 15:39:46 +03:00
Ivailo Monev
f43675b01d kparts: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-31 01:59:18 +03:00
Ivailo Monev
9916fcdce9 kparts: remove unused PartActivateEvent, PartManager and PartSelectEvent classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 12:21:25 +03:00
Ivailo Monev
e063e7a6f4 generic: remove Qt support leftovers [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-12 04:13:26 +03: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
e515c1bf23 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-19 22:36:56 +02:00
Ivailo Monev
44e2b97b25 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-16 17:55:59 +02:00
Ivailo Monev
0f11be04d2 kparts: make mainwindow header guard less generic
this fixes the filelight (from kde-extraaps) build because it does
the same thing for its own header.
2015-07-13 20:06:34 +03:00
Ivailo Monev
5ddc190ce0 generic: normalize include guards 2015-07-11 18:42:46 +03:00
Ivailo Monev
5333e9917d generic: remove deprecated API 2015-02-28 03:27:54 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00