Andrius Štikonas
991bd1125f
Remove ExternalCommand::setParentWidget call.
2020-10-12 20:57:21 +01:00
Andrius Štikonas
ed84b9762c
Remove call to stopHelper. It is no longer necessary.
2020-10-12 20:55:37 +01:00
Andrius Štikonas
e0906e3e26
Import partition flags when importing partition table.
...
BUG: 400331
2020-10-04 16:58:38 +01:00
Andrius Štikonas
58b3aefcfa
Add support for importing "PartitionTable" of whole device filesystems.
2020-10-04 15:21:15 +01:00
Andrius Štikonas
30d5671950
Port away from IconThemes.
2020-09-29 17:54:53 +01:00
Andrius Štikonas
ad48c72af8
Switch to SPDX license headers.
2020-09-16 00:35:12 +01:00
Andrius Štikonas
51f4a2da04
Compile partitionmanager with Q_NO_KEYWORDS.
2020-09-15 02:26:56 +01:00
Andrius Štikonas
ae711eb12b
Port away from deprecated IconSize method.
2020-03-15 23:16:09 +00:00
Andrius Štikonas
a6861bf202
When importing partition table, pass the flags to Partition class.
...
Note, this is not enough for flags to work. We need to run a job to set flags.
CCBUG: 400331
2019-02-28 00:16:50 +00:00
Andrius Štikonas
730b2a9992
Fix race condition in reading fstype on partition table import.
...
Thanks to Christoph Vogtländer for reporting and fixing.
BUG: 400330
2019-02-27 23:15:17 +00:00
Andrius Štikonas
98d59e69ff
Use scoped enums for PartitionTable::Flag.
2019-02-10 01:30:02 +00:00
Andrius Štikonas
78e7c7d52a
Fix crash on exit.
...
If we do not delete ApplyProgressDialog, then it later emits
finished which in turn attempts to scanDevices even though kpmcore helper
is already stopped and QCA private key is deleted.
2018-09-01 22:34:46 +01:00
Andrius Štikonas
e2b31f81fb
Merge branch 'kauth'
2018-07-25 09:38:54 +00:00
Andrius Štikonas
773cbf6d3b
Newly created / to be removed LVM PVs in Resize VG dialog
...
Port changes from Create VG dialog:
Commit: af9fbe8a4f
2018-07-16 00:20:00 +01:00
Caio Carvalho
b68db554f6
Operations should check LvmDevice::s_DirtyPVs instead of check pending CreateVolumeGroupOperations to search for newly LVM PVs.
2018-07-15 19:43:44 -03:00
Caio Carvalho
a606306e79
Showing SoftwareRAID device properties and allowing to create RAID device partition table.
2018-07-11 12:23:10 -03:00
René J.V. Bertin
ade8676d23
avoid nullptr dereference when no devices are found
...
Differential revision: https://phabricator.kde.org/D13445
2018-06-09 14:27:35 +02:00
Caio Carvalho
dfca46250e
- Passing list of pending operations as argument to ResizeOperation::canGrow.
...
- Access LVM::pvList through static list attribute.
2018-05-09 04:15:28 -03:00
Caio Carvalho
556a5a22ba
Don't delete, shrink or move LVM PVs that are being targeted by CreateVolumeGroupOperations.
2018-05-07 22:16:58 -03:00
Caio Carvalho
af9fbe8a4f
- Allow creating LVM VG with PVs that are going to be created in OperationStack.
...
- Check if there is another CreateVolumeGroupOperation with the LVM PV before listing it in the LVM VG creation widget.
- Disallow creating VG with some PV that will be deleted.
2018-05-03 20:50:42 -03:00
Andrius Štikonas
2846f9adba
Set KAuth parent widget.
2018-04-15 01:35:55 +03:00
Andrius Štikonas
93f18ebd9f
Show MainWindow before KAuth dialog.
2018-04-15 01:03:41 +03:00
Andrius Štikonas
1344021e1b
Move KAuth helper setup code to ExternalCommand class.
2018-04-14 23:56:10 +03:00
Andrius Štikonas
c0385aca3c
CoreBackendManager -> CoreBackendManager::self().
2018-04-13 14:25:11 +03:00
Andrius Štikonas
e9ac1cf977
Adjust to kpmcore enum changes.
2018-04-09 15:14:48 +01:00
Andrius Štikonas
96693a8455
Switch Device::Type enum to enum class.
2018-04-09 02:58:03 +01:00
Huzaifa Faruqui
bf65a186bd
Removed config option to apply operations as non-root
2018-04-04 00:31:14 +05:30
Andrius Štikonas
cc73b6c9ce
Move external command helper stopping code to kpmcore.
2018-03-21 20:51:10 +01:00
Andrius Štikonas
60e86c3ad6
Stop ExternalCommandHelper before quiting the application.
2018-03-19 02:34:30 +01:00
Andrius Štikonas
e512ed337a
Use qOverload in Qt signal/slots.
2017-10-09 13:54:31 +01:00
Andrius Štikonas
eb6478aa49
Fix a broken QRegularExpression in LVM VG name validator.
2017-10-06 23:16:30 +01:00
Andrius Štikonas
24237a6120
Change a way untranslated file system name is accessed.
2017-09-15 12:47:28 +01:00
Andrius Štikonas
4b4198c34a
Use untranslated file system name when importing partition table.
...
BUG: 364648
2017-09-14 14:47:39 +01:00
Andrius Štikonas
ff45763427
Record sector size in FileSystem class.
2017-09-03 16:01:48 +01:00
Andrius Štikonas
4c46d7ad0b
Adapt to kpmcore QList->QVector changes.
2017-08-31 10:49:26 +01:00
Andrius Štikonas
482c1f63a3
std::vector->QVector.
2017-08-31 10:34:58 +01:00
Andrius Štikonas
e3c14dbbb4
Convert pvList to std::vector.
...
We do not need to insert elements at arbitrary locations,
so vector should be sufficient.
Postpone changes in kpmcore till later to avoid breaking API.
2017-06-05 00:28:22 +01:00
Andrius Štikonas
255e34bf9e
Port from deprecated ui() to uiDelegate()
2017-04-11 20:49:46 +01:00
Andrius Štikonas
3eddfe2374
Use new kpmcore function to check whether LVM VG can be removed.
2016-11-05 15:35:27 +00:00
Andrius Štikonas
46ae0c73a8
Store list of physical volumes in a global variable.
2016-11-03 13:26:23 +00:00
Andrius Štikonas
b2520a8dc6
Refresh actions after LVM VG deactivate job.
2016-10-30 02:32:26 +00:00
Andrius Štikonas
fea271330d
Use cached values for resizing volume groups.
2016-09-24 21:09:16 +01:00
Andrius Štikonas
5bebcfbbc8
More conversion from QStringList to QList<const Partition*>.
...
listPhysicalVolumes::checkedItems is now QList based.
2016-09-18 01:55:14 +01:00
Andrius Štikonas
e2afd2c683
Avoid calling lvm command to list Volume Groups in CreateNewVolumeGroup dialog.
2016-09-11 02:54:16 +01:00
Andrius Štikonas
280ba106e8
Store the list of LVM Physical Volumes in operationStack.
2016-09-10 22:10:11 +01:00
Andrius Štikonas
da663169f7
Adapt to kpmcore changes regarding LVM PV detection.
2016-09-07 14:36:59 +01:00
Andrius Štikonas
e7d2a21599
Hide encrypt/decrypt action for non luks partitions.
2016-09-06 00:34:16 +01:00
Andrius Štikonas
29cb8f6201
Replace 2 cases of getLVs with LVPathList.
2016-09-05 17:29:09 +01:00
Andrius Štikonas
19cd61dad0
Update to latest KPMcore API (cache luks specific values during the scan).
2016-09-04 23:34:16 +01:00
Andrius Štikonas
614503a910
Rename Volume->VolumeGroup.
2016-09-04 12:25:43 +01:00