if those document formats where anything close to relevant why is there
no C/C++ library for rendering them like there is for PDF, Postcript,
etc.?
anyway, I will not support such (see kdelibs/kimgio/README)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
prone to breakage, should be rewritten as KCM module and use `useradd`,
`usermod`, etc. aswell as KUser and KUserGroup instead
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
requires changes to defaults or configuration changes from the user
to function properly on any BSD, journalctl is what Linux uses (i.e.
requires major rewrite)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
requires funcitonal cron which some Linux distributions do not even
have by default, can be reimplemented as KDED module
note that ktimer can execute commands after certain time (i.e. it is
simplified version of cron)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
due to some Linux kernel issues (see LibPartedPartitionTable::commit())
even after partition table (re)creation the filesystem may still exist.
note the same is done for btrfs, ntfs and some other filesystem types
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
soliduiserver uses the same method - instead of piping it sets the key to
stdin and writes the password to it, bonus points for simplifying the
internal command runner (ExternalCommand class) aswell
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
note that it is not checked for by okular itself, it's just being parsed
and stored in memory by anything using KService and such
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
if you are not doing full rebuild (to catch API changes) atleast on
every new release then you are doing something wrong anyway
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
once upon a time kdeinit used to call kdemain() function, with it rewritten
by me its hacks are in the past
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
ark is not unique application, i.e. it uses KApplicaiton and provides
org.kde.ark-<pid> D-Bus interface
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
QTextCodec::codecForUtfText() can detect only unicode signatures (on
purpose) while QTextCodec::codecForText() can detect more
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KUrl has QVariant operator meaning it should be QVariant from QVariant
(i.e. copy constructor) but the testModel() function (see the history model
test) explicitly converts it to KUrl while the StartMainPage class was
converting it to QUrl (via QVariant::toUrl()).
qVariantFromValue<T>() has type before QVariant specialization
side note, try compiling the following (with proper Makefile):
#include <qurl.h>
#include <qvariant.h>
#include <qdebug.h>
#include <kurl.h>
int main (int argc, char** argv)
{
QVariant v(QUrl());
qDebug() << v.type() << v.userType();
QVariant v2(KUrl());
qDebug() << v2.type() << v2.userType();
return 0;
}
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
also the loaded state does not have to be tracked and a new attempt to load
it (in case of temporary resource failure) may succeed (failures are
neither tracked nor reported by the video widget class)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>