[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace
From: Chani Armitage <chanika () gmail ! com>
Date: 2008-10-01 22:52:39
Message-ID: 1222901559.812507.10946.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 866804 by chani:
proper interface name here too (is this an ok name? I'm just making stuff up...)
M +1 -0 krunner/lock/lockprocess.h
M +4 -4 plasma/shells/screensaver/containment/desktop.cpp
--- trunk/KDE/kdebase/workspace/krunner/lock/lockprocess.h #866803:866804
@@ -42,6 +42,7 @@
: public QWidget
{
Q_OBJECT
+ Q_CLASSINFO("D-Bus Interface", "org.kde.krunner_lock.LockProcess")
public:
explicit LockProcess(bool child_saver = false, bool useBlankOnly = false);
~LockProcess();
--- trunk/KDE/kdebase/workspace/plasma/shells/screensaver/containment/desktop.cpp #866803:866804
@@ -174,7 +174,7 @@
return; //I'm lazy, I know this'll never happen
}
QDBusInterface lockprocess("org.kde.krunner_lock", "/LockProcess",
- "local.LockProcess", QDBusConnection::sessionBus(), this); //FIXME local??
+ "org.kde.krunner_lock.LockProcess", QDBusConnection::sessionBus(), this);
if (corona()->immutability() == Mutable) {
corona()->setImmutability(UserImmutable);
lockprocess.call(QDBus::NoBlock, "startLock");
@@ -203,14 +203,14 @@
{
//Q_UNUSED(error)
kDebug() << error.errorString(error.type());
- //I don't really give a fuck.
+ //ok, now i care. if it was the quit call and it failed, we should quit immediately. TODO
}
void SaverDesktop::unlockDesktop()
{
QDBusInterface lockprocess("org.kde.krunner_lock", "/LockProcess",
- "local.LockProcess", QDBusConnection::sessionBus(), this); //FIXME local??
- lockprocess.call(QDBus::NoBlock, "quit");
+ "org.kde.krunner_lock.LockProcess", QDBusConnection::sessionBus(), this);
+ lockprocess.call(QDBus::NoBlock, "quit"); //FIXME really need to catch errors here. really really.
}
void SaverDesktop::createConfigurationInterface(KConfigDialog *parent)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic