Commit Graph

30 Commits

Author SHA1 Message Date
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 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
Andrius Štikonas 59e5a656c5 Fix detection of partitions' paths.
Previously, partition number was added to device path.
However, there are devices with more complicated numbering scheme,
e.g. memory cards may have /dev/mmcblk0p1.
It seems that the easiest way to handle this is to use partition
path instead of device path + partition number .
BUG:256964

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1337488
2013-02-05 00:09:43 +00:00
Volker Lanz cce6cdbacf Update a partition's system type when creating a new file system on it.
BUG:263346

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1249913
2011-08-28 15:29:26 +00:00
Volker Lanz faa406a201 make API cleaner: don't use out param if a return value will do
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128321
2010-05-18 22:48:56 +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 be3fbd844a add a method to the backend plugin interface to let backend plugins set fs
command support types

export the fs implementation class symbols to let backend plugins access them

make the static properties holding the command support information in the
implementations public so backend plugins can change them

rename resizeInternal to resizeBackend in the resize filesystem job

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119648
2010-04-27 14:53:04 +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 389fc52e0e actually delete the d pointer in the dtor ;-)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105478
2010-03-20 11:10:40 +00:00
Volker Lanz 5c94a3f569 remove outdated and misleading comment
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105477
2010-03-20 11:09:01 +00:00
Volker Lanz 11853a9d68 add a d pointer to the core backend base class and move its ctor and dtor to
the implementation files to make this a little more future proof.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105475
2010-03-20 11:07:52 +00:00
Volker Lanz 669a6f2a62 use KAboutData for plugin name and version information
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1101336
2010-03-09 22:37:23 +00:00
Volker Lanz 2e7510e816 add visibility to the config class
create an instance of the config in main() instead of the main window.

configure the backend plugin to load via the config file

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1101230
2010-03-09 17:13:22 +00:00
Volker Lanz dd9d20345d scan for devices in the backend, not the device scanner thread
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1098235
2010-03-03 09:51:53 +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 1e2a852df9 remove all traces of libparted from the main binary and lib
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097708
2010-03-01 22:42:52 +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 714ded6172 don't include stuff from jobs
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097682
2010-03-01 21:31:52 +00:00
Volker Lanz 02adb06d06 commit changes in the jobs: makes more sense and is required for flags anyway
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097654
2010-03-01 20:10:23 +00:00
Volker Lanz d8a594e226 never hurts to have kdebug.h
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097649
2010-03-01 20:01:18 +00:00
Volker Lanz 5ce08f267c emit progress via CoreBacken::self()
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097612
2010-03-01 18:58:21 +00:00
Volker Lanz 0ab3817d46 clean up the plugin interface a bit.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097594
2010-03-01 18:30:35 +00:00
Volker Lanz 856ef859eb rename msdos_vista to msdos and make sure to use sector-based-alignment instead
of vista. also use cylinder based instead of msdos legacy.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097441
2010-03-01 12:00:07 +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 60e6c1b109 export classes
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097422
2010-03-01 10:53:53 +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 be401e1ca7 completed encapsulating all libparted-specific stuff in a subclass derived from
CoreBackend*

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097216
2010-02-28 17:57:55 +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