Commit Graph

19 Commits

Author SHA1 Message Date
Andrius Štikonas e9ac1cf977 Adjust to kpmcore enum changes. 2018-04-09 15:14:48 +01:00
Andrius Štikonas 6f8cde5520 Use for loop with iterators when removing mount points. 2018-04-01 18:47:45 +01:00
Abhijeet Sharma e54510b881 Multiple mount point support in EditMountPointDialog
Multiple mount points can also be modified and removed from fstab.

Differential Revision: https://phabricator.kde.org/D11632
2018-03-31 20:27:05 +01:00
Abhijeet Sharma be07085500 Add possibility to remove an existing mount point
User is able to remove an existing Mount point via
Partition -> Edit Mount Point -> Remove.

Differential Revision: https://phabricator.kde.org/D10514
2018-03-03 16:37:58 +00:00
Andrius Štikonas 454845e14e Port from MountEntry to FstabEntry.
This helps to preserve comments in fstab file

BUG: 305469
2017-09-16 20:41:45 +01:00
Andrius Štikonas 78eca538d6 Remove double underscore from include guards. 2017-09-11 16:28:04 +01:00
Andrius Štikonas 6889a3b17c Replace QMaps for mount point entries with std::multimap.
This allows to retain multiple fstab entries for given block device.
At the moment there is no UI to access more than one mount point entry
but at least we will not be corrupting user's fstabs when we edit
unrelated entries.
2017-06-04 23:04:52 +01:00
Andrius Štikonas 7f0ab53f8a Cleanup includes a bit. 2016-08-23 16:40:16 +01:00
Andrius Štikonas 5267f9825a Convert some more for loops to ranged based loop. 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 88fa3c3697 Fix mountpointdialog for encrypted filesystems. 2016-05-24 16:35:39 +01:00
Andrius Štikonas 81004a2445 Format partitionmanager code using KDE style. 2015-07-13 17:17:41 +03: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 14e9ecb779 Port away from KLineEdit, KPushButton and KComboBox. 2014-05-14 01:01:34 +01:00
Volker Lanz 358825fba1 move mountentry to its own implementation files and make it a class
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133534
2010-06-01 22:07:13 +00:00
Volker Lanz 14a62a236e allow setting how to identify a FS in fstab (uuid, label, device node)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075858
2010-01-16 22:16:04 +00:00
Volker Lanz bf3ae5ea4d enhanced mount point editing. should mostly work and not eat your fstab.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075809
2010-01-16 20:21:42 +00:00
Volker Lanz 5b7cfd7f8b begin integration of MountManager dialogs
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075244
2010-01-15 18:08:01 +00:00