Andrius Štikonas
ad48c72af8
Switch to SPDX license headers.
2020-09-16 00:35:12 +01:00
Andrius Štikonas
cf513b9873
Use explicit class method overrides.
2019-02-28 00:16:32 +00:00
Andrius Štikonas
78eca538d6
Remove double underscore from include guards.
2017-09-11 16:28:04 +01:00
Andrius Štikonas
94ef37623e
Add About KPMcore Library action.
2016-08-25 00:15:07 +01:00
Chantara Tith
9525683522
Add deactivating LVM VG action.
2016-08-15 17:38:00 +01:00
Chantara Tith
9a4e54fb42
Add remove and resize action to MainWindow.
2016-08-15 17:38:00 +01:00
Chantara Tith
4f564d52f5
Initial work on createvolume widget and dialog.
2016-08-15 17:38:00 +01:00
Andrius Štikonas
6c78120883
Reduce usage of moc.
2016-07-02 12:12:56 +01:00
Andrius Štikonas
75adb928fe
Use lambda functions for overloaded connections.
2016-07-01 15:51:28 +01:00
Andrius Štikonas
2b7f23ec27
Use new connect style with KStandardAction.
2016-07-01 15:42:12 +01:00
Andrius Štikonas
b94564e360
Convert remaining QObject::connect to new syntax.
2016-05-22 20:03:49 +01:00
Andrius Štikonas
5a408305f2
Convert some signals and slots to the new syntax.
2016-05-18 22:23:59 +01:00
Andrius Štikonas
cf891183cb
Always use because it is type safe.
2016-04-14 19:18:36 +01:00
Andrius Štikonas
9c91e25e96
Update copyright.
2016-03-02 18:33:40 +00:00
Andrius Štikonas
15b7fa3470
kpmcore/ prefix in #includes is no longer required.
2016-01-12 00:12:49 +00:00
Andrius Štikonas
333e03ac10
Get rid of kpmgui internal library.
...
kpmgui was basically the whole partitionmanager except for main.cpp file.
All useful functions were moved to kpmcore library, kpmgui is not necessary now.
2016-01-06 15:56:32 +02:00
Teo Mrnjavac
6e1ff468d3
Set partition color code on PartWidget, and react to settings change.
2015-07-17 13:37:30 +02:00
Andrius Štikonas
81004a2445
Format partitionmanager code using KDE style.
2015-07-13 17:17:41 +03:00
Andrius Štikonas
b651d8de89
Move kpmcore to another repository (sysadmin/kpmcore)
2015-06-04 01:51:56 +01:00
Andrius Štikonas
93f6bcdc83
Generate export header for libkpmgui.
2015-03-28 00:43:38 +00:00
Chris Campbell
0ff2c923c3
Split partitionmanagerprivate into kpmcore and kpmgui.
...
Please enter the commit message for your changes. Lines starting
2015-03-27 16:28:21 +00:00
Andrius Štikonas
bbb2fa3067
Use GPLv3 copyright notices.
2015-02-07 00:32:25 +00:00
Andrius Štikonas
7fbae9ee29
Port to new Qt5 macro QStringLiteral and use stricter compile flags
...
Now compile with:
-DQT_USE_QSTRINGBUILDER
-DQT_NO_CAST_TO_ASCII
-DQT_NO_CAST_FROM_ASCII
-DQT_STRICT_ITERATORS
-DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_USE_FAST_OPERATOR_PLUS
2014-05-20 22:33:02 +01:00
Andrius Štikonas
f3dd3157a6
Initial port to KDE Frameworks 5.
...
The port is mostly complete:
* A few unported items are marked with FIXME: port KF5.
* KCFG configuration for QGroupBox is not working yet.
2014-05-18 21:41:48 +01:00
Andrius Štikonas
81ce940171
Port away from KAction.
2014-05-17 03:12:10 +01:00
Volker Lanz
6ab19a9c49
Remove unused slot for menu-bar-removal warning.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1329474
2012-12-22 12:29:36 +00:00
Volker Lanz
6508ad1d71
create and handle info pane just like the other dock widget content widgets
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134148
2010-06-03 14:27:11 +00:00
Volker Lanz
0a77bb6d8a
remove KPart remains
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134137
2010-06-03 14:02:35 +00:00
Volker Lanz
e9871e0e82
add a check when scanning devices if support for all file systems we found is
...
present. if not, show a messagebox with detailed information what is missing.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128887
2010-05-20 15:25:55 +00:00
Volker Lanz
696b368463
add a select device submenu to the device menu
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128594
2010-05-19 18:39:40 +00:00
Volker Lanz
d058abce6e
doxygen updates
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128312
2010-05-18 22:27:30 +00:00
Volker Lanz
180fa4643d
extend smart stuff, add its own dialog, add action to trigger it etc.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1108004
2010-03-27 13:47:32 +00:00
Volker Lanz
6b4aa38bcd
replace numPendingOperations() with operationStack().size()
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107160
2010-03-24 23:32:20 +00:00
Volker Lanz
5ca58c6c1c
introduce a CoreBackendManager class.
...
convert the plugins into true KDE plugins with desktop file and all.
let the user pick a backend in the config dialog and load backends on the fly.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105758
2010-03-21 10:50:44 +00:00
Volker Lanz
4d6b168474
add a context menu to the log output to allow saving and clearing the log
...
refactor some code for context menu stuff.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1100535
2010-03-07 19:02:02 +00:00
Volker Lanz
4427937088
rename all progressChanged signals to progress for consistency
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1098220
2010-03-03 09:18:59 +00:00
Volker Lanz
7f33130265
Add a ctor to CreatePartitionTableOperation that takes a PartitionTable
...
pointer, not a PartitionTable::Type. This is required for the import.
Add a basic import partition table feature to the GUI and make it work.
Add calls to PartitionManagerWidget::updatePartitions(),
MainWindow::enableActions() and the selectedPartitionChanged handler to the
operationsChanged handler to make sure the info pane and actions are always
updated when the operation stack changes (e.g. on undo). TODO: remove all
updatePartition() and similar calls from methods in PartitionManagerWidget.
Make the device properties action disabled per default and enable it only if a
device is selected. It's actually possible for no device to be selected if the
backend doesn't find any devices at all.
Fix status tips and markup.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1098154
2010-03-03 00:15:26 +00:00
Volker Lanz
3392940beb
add basic export-partitiontable-feature
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097939
2010-03-02 13:35:57 +00:00
Volker Lanz
6dba1bbbd1
remove unused signal
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1095437
2010-02-24 10:45:26 +00:00
Volker Lanz
2eb8c42c1d
Remove the few lines related to dbus stuff as long as we're not using any of it
...
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
2010-02-23 16:30:05 +00:00
Volker Lanz
5d278d64b8
make sure not to show our own status bar if we're a kpart
...
init m_ActionCollection first so isKPart() is guaranteed to work as early as
possible
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1093899
2010-02-21 17:54:52 +00:00
Volker Lanz
241ae7105e
add action to hide/show menu bar
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1093874
2010-02-21 16:58:27 +00:00
Volker Lanz
f8b36e35b5
move the code to detect if we're a KPart to its own method
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1089609
2010-02-13 14:21:05 +00:00
Volker Lanz
7991de7fef
Clean up ListDevices and, in the process, also MainWindow and the KCM.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1089088
2010-02-12 11:29:12 +00:00
Volker Lanz
16dae55d04
revert 1077129: re-add devices list. this is just not usable with >4 devices
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1081529
2010-01-28 16:27:28 +00:00
Volker Lanz
4f5253e6a2
remove devices list
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1077129
2010-01-19 12:56:27 +00:00
Volker Lanz
0ab5b8a0af
somehow this little piece of code was lost: update the information pane's
...
layout when the user modifies the dock position.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075831
2010-01-16 21:14:19 +00:00
Volker Lanz
5036af3e5d
cleanup some stuff: whitespace fixes, add some q_disable_copy macros, add some
...
initialisations to class headers
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1046678
2009-11-09 13:51:08 +00:00
Volker Lanz
ddefbe5186
make the ctor explicit, just for style
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1006482
2009-08-03 20:06:59 +00:00
Volker Lanz
d17aca5338
Clean up includes, forward defines and a few other things.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957555
2009-04-22 12:54:37 +00:00