core/libparted.cpp to this new class and use this class in PartitionManagerWidget Move the libparted-specific code to inspect _one_ device to a static method in LibParted. Make scanning for devices asynchronous with the new DeviceScanner class. Introduce a progress dialog to show progress while scanning. Rename the progress dialog for applying operations to something less generic. Remove the signal emitted when the status bar should change: It's the same logic used for the signal emitted when operations change. Remove the onFinished() method in PartitionManagerWidget and directly connect the finished signal from the apply-progress-dialog to the scanDevices slot. Rename the PartitionManagerWidget::selectionChanged() signal to the less generic PartitionManagerWidget::selectedPartitionChanged(). Rename PartitionManagerWidget::clearSelection() to the less generic PartitionManagerWidget::clearSelectedPartition(). NOTE: The DeviceScanner class is a thread and exposes some race conditions if not used with caution (aka workarounds). See comments in PartitionManagerWidget::onScanDevicesFinished(). svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1088844 |
||
---|---|---|
.. | ||
core | ||
fs | ||
gui | ||
jobs | ||
kcm | ||
kpart | ||
ops | ||
util | ||
CMakeLists.txt | ||
Messages.sh | ||
config.kcfg | ||
config.kcfgc | ||
main.cpp | ||
org.kde.PartitionManager.xml | ||
partitionmanager.desktop | ||
partitionmanager.in |