[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">
<node>
<interface name="org.kde.screensaver">
<!-- start in plasma setup mode -->
<method name="setupPlasma" />
<!-- Re-read configuration -->
<method name="configure" />
<!-- Private API. Don't use. -->

@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "powerdevilpolicyagent.h"
// KDE
#include <KIdleTime>
#include <KProcess>
#include <KRandom>
// Qt
#include <QtDBus/QDBusConnection>
@ -202,18 +201,6 @@ void Interface::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()
{
// unused

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

Loading…
Cancel
Save