Commit Graph

32 Commits

Author SHA1 Message Date
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 4b4198c34a Use untranslated file system name when importing partition table.
BUG: 364648
2017-09-14 14:47:39 +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 19cd61dad0 Update to latest KPMcore API (cache luks specific values during the scan). 2016-09-04 23:34:16 +01:00
Andrius Štikonas e7ac5e5fa2 Q_FOREACH porting. 2016-09-01 00:44:33 +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 561269a2e6 Convert to C++11 for loop where it is safe to do so. 2016-08-15 17:38:00 +01:00
Andrius Štikonas f81cb3cc30 Improve semantic markup. 2016-07-18 02:21:14 +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 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 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 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 dcdffadc3e Port away from KDialog. 2014-05-17 03:06:58 +01:00
Andrius Štikonas ed431cfcd5 Partially port away from KLocale.
KLocale was replaced with KLocalizedString and QLocale.
Only changes that do not break compilation with KDELibs4 are made.
2014-05-13 23:53:37 +01:00
Andrius Štikonas 2b537490ad Port away from KDebug. 2014-05-13 14:47:35 +01:00
Volker Lanz c4d159e6c5 krazy2 fixes
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1160573
2010-08-08 12:36:05 +00: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 b7dfc67ca9 resolve symlinks when reading device nodes from fstab
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1130866
2010-05-26 16:52:20 +00:00
Volker Lanz bc5d916cc6 if the target file does not exist, don't complain if we cannot rename it to a
backup

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127762
2010-05-17 15:14:19 +00:00
Volker Lanz 34278260f3 some wording and i18n fixes.
don't use amp in ui files, let KDE figure out the shortcuts in dialogs

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1102025
2010-03-11 16:34:48 +00:00
Volker Lanz d975416a53 allow removing a mount point by clearing its mount path
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075868
2010-01-16 22:31:39 +00:00
Volker Lanz 57f900812a no else required here
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075864
2010-01-16 22:28:52 +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