[screenlocker] Remove setupPlasma from org.kde.screensaver interface

We don't have the plasma-overlay anymore, so let's remove it.
wilder-5.14
Martin Gräßlin 12 years ago
parent c4401f2f6a
commit fcdcc7a2e3
  1. 2
      ksmserver/screenlocker/dbus/org.kde.screensaver.xml
  2. 13
      ksmserver/screenlocker/interface.cpp
  3. 1
      ksmserver/screenlocker/interface.h

@ -1,8 +1,6 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node> <node>
<interface name="org.kde.screensaver"> <interface name="org.kde.screensaver">
<!-- start in plasma setup mode -->
<method name="setupPlasma" />
<!-- Re-read configuration --> <!-- Re-read configuration -->
<method name="configure" /> <method name="configure" />
<!-- Private API. Don't use. --> <!-- Private API. Don't use. -->

@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "powerdevilpolicyagent.h" #include "powerdevilpolicyagent.h"
// KDE // KDE
#include <KIdleTime> #include <KIdleTime>
#include <KProcess>
#include <KRandom> #include <KRandom>
// Qt // Qt
#include <QtDBus/QDBusConnection> #include <QtDBus/QDBusConnection>
@ -202,18 +201,6 @@ void Interface::configure()
m_daemon->configure(); m_daemon->configure();
} }
void Interface::setupPlasma()
{
KProcess *plasmaProc = new KProcess;
plasmaProc->setProgram(QLatin1String( "plasma-overlay" ));
*plasmaProc << QLatin1String( "--setup" );
//make sure it goes away when it's done (and not before)
connect(plasmaProc, SIGNAL(finished(int,QProcess::ExitStatus)), plasmaProc, SLOT(deleteLater()));
plasmaProc->start();
}
void Interface::saverLockReady() void Interface::saverLockReady()
{ {
// unused // unused

@ -102,7 +102,6 @@ public Q_SLOTS:
void UnThrottle(uint cookie); void UnThrottle(uint cookie);
// org.kde.screensvar // org.kde.screensvar
void setupPlasma();
void configure(); void configure();
void saverLockReady(); void saverLockReady();

Loading…
Cancel
Save