partitionmanager/src
Volker Lanz 6f5680866c Add a DeviceScanner class. Move code to scan for devices from
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
2010-02-11 18:47:51 +00:00
..
core Add a DeviceScanner class. Move code to scan for devices from 2010-02-11 18:47:51 +00:00
fs rename all values in CommandSupportType to make them more unique 2010-01-27 13:00:14 +00:00
gui Add a DeviceScanner class. Move code to scan for devices from 2010-02-11 18:47:51 +00:00
jobs rename all values in CommandSupportType to make them more unique 2010-01-27 13:00:14 +00:00
kcm Add a DeviceScanner class. Move code to scan for devices from 2010-02-11 18:47:51 +00:00
kpart SVN_SILENT made messages (.desktop file) 2010-01-28 10:26:08 +00:00
ops begin work on new disk label type for msdos(vista) 2010-02-01 16:32:45 +00:00
util fix to register meta type for new name of Log class 2010-01-28 16:22:31 +00:00
CMakeLists.txt don't install dbus xml file as long as it's unused 2010-01-27 10:27:37 +00:00
Messages.sh Minor fix 2008-10-29 07:36:43 +00:00
config.kcfg Make the kcm work. 2009-04-22 10:35:44 +00:00
config.kcfgc import of KDE Partition Manager 2008-09-24 19:32:01 +00:00
main.cpp If we're not running as root try to gain super user privileges by calling 2009-11-23 18:27:21 +00:00
org.kde.PartitionManager.xml add minimal dbus support 2010-01-27 00:28:43 +00:00
partitionmanager.desktop SVN_SILENT made messages (.desktop file) 2010-01-28 10:26:08 +00:00
partitionmanager.in Use a shell script to lock hal according to the hal-lock(1) man page so that 2009-03-25 17:05:32 +00:00