Commit Graph

67 Commits

Author SHA1 Message Date
Andrius Štikonas 479631455c Port to Qt6. 2022-01-18 23:44:28 +00:00
Andrius Štikonas 909a03347a Restrict VERSION defines to main.cpp. 2022-01-18 20:55:55 +00:00
Nate Graham 4703517c75 Add an "Open in Partition Manager" solid Action
This lets you open a device in Partition Manager from the Disks &
Devices applet.

BUG: 446897
FIXED-IN: 22.04
2022-01-10 22:21:40 +00:00
Alessio Bonfiglio 4f17fc5548 Ask for authentication only once 2021-12-23 00:47:10 +00:00
Andrius Štikonas 30d5671950 Port away from IconThemes. 2020-09-29 17:54:53 +01:00
Andrius Štikonas 063da467f3 Add SPDX metadata to CMakeLists.txt files. 2020-09-16 01:03:48 +01:00
Andrius Štikonas c40a729ba7 Do not allow the second instance of Partition Manager.
BUG: 365882
2018-03-24 22:26:45 +00:00
Andrius Štikonas 21755cb449 Remove unused KService dependency. 2018-01-16 17:14:53 +01:00
Andrius Štikonas fc8875ba65 Migrating to variables with prefix 'KDE_INSTALL_'
KXMLGUI_INSTALL_DIR -> KDE_INSTALL_KXMLGUI5DIR
ICON_INSTALL_DIR -> KDE_INSTALL_ICONDIR
2017-06-12 01:45:29 +02:00
Andrius Štikonas 4e3fddc6eb Rename desktop/appdata files to lowercase.
This is necessary for icons to work in Plasma Wayland session.
2017-04-09 00:28:04 +01:00
Andrius Štikonas f8c172a5c0 Revert "Do not allow the second instance of Partition Manager"
This reverts commit 71510d2709.
2016-10-06 17:59:17 +01:00
Andrius Štikonas 71510d2709 Do not allow the second instance of Partition Manager
BUG: 365882
2016-07-20 12:36:36 +01:00
Andrius Štikonas 4654fcd729 update appstream path to use ECM variable 2016-07-19 16:30:35 +01:00
Andrius Štikonas 2b7f23ec27 Use new connect style with KStandardAction. 2016-07-01 15:42:12 +01:00
Andrius Štikonas 53e1413d06 Look for kdesu binary in libexec path. 2016-01-29 16:44:17 +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
Timo Gurr 6128aa9635 Fix the install location of the appdata.xml file. 2015-09-15 23:17:53 +01:00
Andrius Štikonas b651d8de89 Move kpmcore to another repository (sysadmin/kpmcore) 2015-06-04 01:51:56 +01:00
Andrius Štikonas 47bf8bb72d Use mtools to set FAT labels.
Partition Manager used its internal fork of mtools to avoid setting up
device to drive letter mappings. It looks like recent versions of
mtools can be used without it by using special device ::
2015-04-29 00:39:36 +01:00
Andrius Štikonas 936a2fe91f Rename config.kcfg to a more specific name.
BUG: 345857
2015-04-04 21:33:29 +03:00
Andrius Štikonas 05a2b9e990 Specify more link libraries to prepare for eventual repo split. 2015-03-28 18:35:30 +00:00
Andrius Štikonas 2b7d2ff377 Move util/htmlreport util/helpers to kpmgui library. 2015-03-28 18:23:53 +00: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 d3f403c75a Use reverse dns for appdata. 2014-11-23 12:59:35 +02:00
Andrius Štikonas 4ee6c52843 Port to reverse dns desktop 2014-11-20 11:35:26 +02:00
Andrius Štikonas fa2e3bd32d Link to KF5::Crash 2014-11-14 15:06:11 +00:00
Andrius Štikonas 75d4a3fabf Do not require unused Qt and KF5 frameworks. 2014-10-22 18:53:22 +01:00
Lasse Liehu 1a1f71bb1d Make most of i18n work again
With this most UI messages appear as translated again.
Some messages still appear as untranslated.

Now I don't need to install an old version of partitionmanager
just to test translations. :)
2014-10-19 17:55:29 +03:00
Andrius Štikonas 204d2f9799 Remove all remaining functions depending on Solid. 2014-08-09 22:06:27 +03:00
Andrius Štikonas e469561b6f Merge branch 'master' into frameworks
Conflicts:
	src/fs/btrfs.cpp
	src/plugins/dummy/dummybackend.cpp
	src/plugins/libparted/libpartedbackend.cpp
	src/util/helpers.cpp
2014-07-02 14:27:04 +01:00
Andrius Štikonas cee38cde9b Add AppStream metadata. 2014-06-25 23:26:12 +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 d26f341ccf Fix linking error.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1328004
2012-12-10 12:16:57 +00:00
Volker Lanz 88c0384bed no more hal-lock
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1327843
2012-12-09 18:41:46 +00:00
David Faure 3d898f284f Make executable the Type=Application .desktop files we install,
so that they can be used even from a KDE running in another prefix (http://markmail.org/message/4p3krovtnzwx35zd)

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1188173
2010-10-21 15:44:39 +00:00
Volker Lanz fb1707c98d explicitly link the executable against the KDE libs used; patch suggested by
Thomas Janssen

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1145986
2010-07-04 21:12:41 +00:00
Volker Lanz 28efbee2ec add smart status information
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107708
2010-03-26 15:06:33 +00:00
Volker Lanz 8074a1e702 remove the kpart. it's totally broken now and would require a lot of work.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105785
2010-03-21 11:59:58 +00:00
Volker Lanz 40ae70af25 move config stuff to its own src subdir
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105772
2010-03-21 11:32:31 +00:00
Volker Lanz ddb1790dd4 move the backend plugins to a src subdir of their own
fix the gazillion arg-unused warnings in the dummy plugin with plenty of
Q_UNUSED usage until the dummy plugin gets a little meatier.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097717
2010-03-01 23:08:53 +00:00
Volker Lanz 2f2a8589f2 add a very very primitive dummy backend plugin for testing
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097683
2010-03-01 21:32:19 +00:00
Volker Lanz c7bc3368e4 turn the libparted backend into a plugin
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097425
2010-03-01 11:02:38 +00:00
Volker Lanz 6706dbfadf move the libparted stuff to its own subdir
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097224
2010-02-28 18:20:06 +00:00
Volker Lanz 05db0f55ea begin moving all libparted-related stuff to a backend class.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1096873
2010-02-27 21:32:00 +00:00
Volker Lanz 488178c823 remove KCM: it isn't building, it won't work after the refactoring and it
appears no one really wants it.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1095115
2010-02-23 17:25:53 +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 efc5335a39 don't install dbus xml file as long as it's unused
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1080942
2010-01-27 10:27:37 +00:00
Volker Lanz 8b6f51e0f1 add minimal dbus support
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1080818
2010-01-27 00:28:43 +00:00