From 04b89d8e8bfc4fe43610d2f0c01c23584adb47fd Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 7 Jun 2006 11:27:22 +0000 Subject: [PATCH] Rename the interface to org.kde.KWin, since that's what workspace/kcontrol/xinerama/kcmxinerama.cpp expects svn path=/trunk/KDE/kdebase/workspace/; revision=549084 --- kwinadaptor.cpp | 40 +++++++++++------------ kwinadaptor.h | 12 +++---- org.kde.kwin.Kwin.xml => org.kde.KWin.xml | 2 +- 3 files changed, 27 insertions(+), 27 deletions(-) rename org.kde.kwin.Kwin.xml => org.kde.KWin.xml (98%) diff --git a/kwinadaptor.cpp b/kwinadaptor.cpp index 42263cfee0..a775fda6cf 100644 --- a/kwinadaptor.cpp +++ b/kwinadaptor.cpp @@ -1,6 +1,6 @@ /* * This file was generated by dbusidl2cpp version 0.5 - * when processing input file org.kde.kwin.Kwin.xml + * when processing input file org.kde.KWin.xml * * dbusidl2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved. * @@ -34,7 +34,7 @@ KWinAdaptor::~KWinAdaptor() void KWinAdaptor::cascadeDesktop() { - // handle method call org.kde.kwin.KWin.cascadeDesktop + // handle method call org.kde.KWin.cascadeDesktop QMetaObject::invokeMethod(parent(), "cascadeDesktop"); // Alternative: @@ -43,7 +43,7 @@ void KWinAdaptor::cascadeDesktop() void KWinAdaptor::circulateDesktopApplications() { - // handle method call org.kde.kwin.KWin.circulateDesktopApplications + // handle method call org.kde.KWin.circulateDesktopApplications QMetaObject::invokeMethod(parent(), "circulateDesktopApplications"); // Alternative: @@ -52,7 +52,7 @@ void KWinAdaptor::circulateDesktopApplications() int KWinAdaptor::currentDesktop() { - // handle method call org.kde.kwin.KWin.currentDesktop + // handle method call org.kde.KWin.currentDesktop int out0; QMetaObject::invokeMethod(parent(), "currentDesktop", Q_RETURN_ARG(int, out0)); @@ -63,7 +63,7 @@ int KWinAdaptor::currentDesktop() void KWinAdaptor::doNotManage(const QString &name) { - // handle method call org.kde.kwin.KWin.doNotManage + // handle method call org.kde.KWin.doNotManage QMetaObject::invokeMethod(parent(), "doNotManage", Q_ARG(QString, name)); // Alternative: @@ -72,7 +72,7 @@ void KWinAdaptor::doNotManage(const QString &name) void KWinAdaptor::killWindow() { - // handle method call org.kde.kwin.KWin.killWindow + // handle method call org.kde.KWin.killWindow QMetaObject::invokeMethod(parent(), "killWindow"); // Alternative: @@ -81,7 +81,7 @@ void KWinAdaptor::killWindow() bool KWinAdaptor::kompmgrIsRunning() { - // handle method call org.kde.kwin.KWin.kompmgrIsRunning + // handle method call org.kde.KWin.kompmgrIsRunning bool out0; QMetaObject::invokeMethod(parent(), "kompmgrIsRunning", Q_RETURN_ARG(bool, out0)); @@ -92,7 +92,7 @@ bool KWinAdaptor::kompmgrIsRunning() void KWinAdaptor::nextDesktop() { - // handle method call org.kde.kwin.KWin.nextDesktop + // handle method call org.kde.KWin.nextDesktop QMetaObject::invokeMethod(parent(), "nextDesktop"); // Alternative: @@ -101,7 +101,7 @@ void KWinAdaptor::nextDesktop() void KWinAdaptor::previousDesktop() { - // handle method call org.kde.kwin.KWin.previousDesktop + // handle method call org.kde.KWin.previousDesktop QMetaObject::invokeMethod(parent(), "previousDesktop"); // Alternative: @@ -110,7 +110,7 @@ void KWinAdaptor::previousDesktop() void KWinAdaptor::reconfigure() { - // handle method call org.kde.kwin.KWin.reconfigure + // handle method call org.kde.KWin.reconfigure QMetaObject::invokeMethod(parent(), "reconfigure"); // Alternative: @@ -119,7 +119,7 @@ void KWinAdaptor::reconfigure() void KWinAdaptor::refresh() { - // handle method call org.kde.kwin.KWin.refresh + // handle method call org.kde.KWin.refresh QMetaObject::invokeMethod(parent(), "refresh"); // Alternative: @@ -128,7 +128,7 @@ void KWinAdaptor::refresh() bool KWinAdaptor::setCurrentDesktop(int desktop) { - // handle method call org.kde.kwin.KWin.setCurrentDesktop + // handle method call org.kde.KWin.setCurrentDesktop bool out0; QMetaObject::invokeMethod(parent(), "setCurrentDesktop", Q_RETURN_ARG(bool, out0), Q_ARG(int, desktop)); @@ -139,7 +139,7 @@ bool KWinAdaptor::setCurrentDesktop(int desktop) void KWinAdaptor::setDesktopLayout(int orientation, int x, int y) { - // handle method call org.kde.kwin.KWin.setDesktopLayout + // handle method call org.kde.KWin.setDesktopLayout QMetaObject::invokeMethod(parent(), "setDesktopLayout", Q_ARG(int, orientation), Q_ARG(int, x), Q_ARG(int, y)); // Alternative: @@ -148,7 +148,7 @@ void KWinAdaptor::setDesktopLayout(int orientation, int x, int y) void KWinAdaptor::setOpacity(qulonglong winId, uint opacityPercent) { - // handle method call org.kde.kwin.KWin.setOpacity + // handle method call org.kde.KWin.setOpacity QMetaObject::invokeMethod(parent(), "setOpacity", Q_ARG(qulonglong, winId), Q_ARG(uint, opacityPercent)); // Alternative: @@ -157,7 +157,7 @@ void KWinAdaptor::setOpacity(qulonglong winId, uint opacityPercent) void KWinAdaptor::setShadowSize(qulonglong winId, uint shadowSizePercent) { - // handle method call org.kde.kwin.KWin.setShadowSize + // handle method call org.kde.KWin.setShadowSize QMetaObject::invokeMethod(parent(), "setShadowSize", Q_ARG(qulonglong, winId), Q_ARG(uint, shadowSizePercent)); // Alternative: @@ -166,7 +166,7 @@ void KWinAdaptor::setShadowSize(qulonglong winId, uint shadowSizePercent) void KWinAdaptor::setUnshadowed(qulonglong winId) { - // handle method call org.kde.kwin.KWin.setUnshadowed + // handle method call org.kde.KWin.setUnshadowed QMetaObject::invokeMethod(parent(), "setUnshadowed", Q_ARG(qulonglong, winId)); // Alternative: @@ -175,7 +175,7 @@ void KWinAdaptor::setUnshadowed(qulonglong winId) void KWinAdaptor::showWindowMenuAt(qulonglong winId, int x, int y) { - // handle method call org.kde.kwin.KWin.showWindowMenuAt + // handle method call org.kde.KWin.showWindowMenuAt QMetaObject::invokeMethod(parent(), "showWindowMenuAt", Q_ARG(qulonglong, winId), Q_ARG(int, x), Q_ARG(int, y)); // Alternative: @@ -184,7 +184,7 @@ void KWinAdaptor::showWindowMenuAt(qulonglong winId, int x, int y) void KWinAdaptor::startKompmgr() { - // handle method call org.kde.kwin.KWin.startKompmgr + // handle method call org.kde.KWin.startKompmgr QMetaObject::invokeMethod(parent(), "startKompmgr"); // Alternative: @@ -193,7 +193,7 @@ void KWinAdaptor::startKompmgr() void KWinAdaptor::stopKompmgr() { - // handle method call org.kde.kwin.KWin.stopKompmgr + // handle method call org.kde.KWin.stopKompmgr QMetaObject::invokeMethod(parent(), "stopKompmgr"); // Alternative: @@ -202,7 +202,7 @@ void KWinAdaptor::stopKompmgr() void KWinAdaptor::unclutterDesktop() { - // handle method call org.kde.kwin.KWin.unclutterDesktop + // handle method call org.kde.KWin.unclutterDesktop QMetaObject::invokeMethod(parent(), "unclutterDesktop"); // Alternative: diff --git a/kwinadaptor.h b/kwinadaptor.h index 9b69879e21..285b82f1b3 100644 --- a/kwinadaptor.h +++ b/kwinadaptor.h @@ -1,14 +1,14 @@ /* * This file was generated by dbusidl2cpp version 0.5 - * when processing input file org.kde.kwin.Kwin.xml + * when processing input file org.kde.KWin.xml * * dbusidl2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved. * * This is an auto-generated file. */ -#ifndef KWINADAPTOR_H_87381149673338 -#define KWINADAPTOR_H_87381149673338 +#ifndef KWINADAPTOR_H_289111149679568 +#define KWINADAPTOR_H_289111149679568 #include #include @@ -20,14 +20,14 @@ class QStringList; class QVariant; /* - * Adaptor class for interface org.kde.kwin.KWin + * Adaptor class for interface org.kde.KWin */ class KWinAdaptor: public QDBusAbstractAdaptor { Q_OBJECT - Q_CLASSINFO("D-Bus Interface", "org.kde.kwin.KWin") + Q_CLASSINFO("D-Bus Interface", "org.kde.KWin") Q_CLASSINFO("D-Bus Introspection", "" -" \n" +" \n" " \n" " \n" " \n" diff --git a/org.kde.kwin.Kwin.xml b/org.kde.KWin.xml similarity index 98% rename from org.kde.kwin.Kwin.xml rename to org.kde.KWin.xml index 79a5c96f20..b3b2d0a52d 100644 --- a/org.kde.kwin.Kwin.xml +++ b/org.kde.KWin.xml @@ -1,7 +1,7 @@ - +