sense. Spotted and original patch provided by Aurélien Gâteau
<agateau@kde.org>. Thanks!
CCMAIL:agateau@kde.org
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1226196
anyway.
Refactor PartitionManagerWidget() and MainWindopw(), moving lots of stuff not
directly related to the PartTableWidget/TreePartition-combo from the former to
the latter. This completely breaks the KCM for now.
Remember the currently selected device across rescans.
Use the partition and device container widget for the context menus of
partitions and devices.
Use QMegatObject::connectSlotByName() where possible, even setting object names
where required to make that work.
Emit operationsChanged() and devicesChanged() in OperationStack because only
that makes any sense.
Add devices properties to toolbar.
Rename itemActivated signal in PartTableWidget to itemDoubleClicked.
DeviceScanner, OperationRunner and OperationStack are child QObjects of
MainWindow now.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1095086
add the device properties action to device context menu.
open device properties when double clicking device in tree widget.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1091984
Remove the option to create msdos-vista-compatible partition tables. Instead,
use a global config to determine which alignment to use.
Add a device properties dialog.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1091755
Remove comment about race conditions when setting the selected device. Turns
out this wasn't at all the case. It was a signal loop, instead.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1089499
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
Don't use a hardcoded filename for the configuration; pass a name for the
configuration file to PartitionManagerWidget::init() instead, so the kcm and
the standalone app can each have an rc file of their own.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957525
widget and the docks.
* Add a first version of a kcontrol kcm for KDE Partition Manager based on
these refactored classes. Still a lot left to do, though.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957231