30. dubna 2009
27. dubna 2009
KDM fingerprint greeter plugin
This plugin allows login with fingerprint in KDM and unlock kscreensaver. Tested in Fedora Core 10, 64bit. There is some bug in KDM and I must force UI repaint (UI thread is locked in some call or what).
Git repository:
Gitweb:
Git repository:
- git://repo.or.cz/KDMFprintPlugin.git
- http://repo.or.cz/r/KDMFprintPlugin.git
Gitweb:
- http://repo.or.cz/w/KDMFprintPlugin.git
23. dubna 2009
18. dubna 2009
3. dubna 2009
Czech translation for KFingerManager
KFingerManager build system is now (since git commit
42d46d2c7be5a1fd17b228256b4cbc6dbd9e306b) able to compile and install translations files for KFingerManager. Filename should be kcmkfingermanager_XX.po, where XX is language code. For example kcmkfingermanager_cs.po.
Štítky:
Fedora,
fingerprint,
GUI,
i18n,
KDE,
KFingerManager,
manager
2. dubna 2009
31. března 2009
Qt vs D-Bus: access to properties with dash in name
For properties without dash you should simple use:
But if property name contains dash, you must use different approach:
Service, path, bus, interface are same for both examples. See bug #20948 on bugs.freedesktop.org.
QDBusInterface *iface = new QDBusInterface(service, path, interface, bus);
if (iface) {
if (iface->isValid()) {
int s = iface->property("property_name").toInt();
}
delete iface;
}But if property name contains dash, you must use different approach:
QDBusInterface *iface = new QDBusInterface(service,
path,
"org.freedesktop.DBus.Properties",
bus);
if (iface) {
if (iface->isValid()) {
QDBusReply< QVariant> r = iface->call("Get",
interface,
"property-with-dash-in-name");
int s = r.value().toInt();
}
delete iface;
}Service, path, bus, interface are same for both examples. See bug #20948 on bugs.freedesktop.org.
Přihlásit se k odběru:
Příspěvky (Atom)





