diff --git a/kwinadaptor.cpp b/kwinadaptor.cpp index a775fda6cf..1da53cf279 100644 --- a/kwinadaptor.cpp +++ b/kwinadaptor.cpp @@ -146,37 +146,37 @@ void KWinAdaptor::setDesktopLayout(int orientation, int x, int y) //static_cast(parent())->setDesktopLayout(orientation, x, y); } -void KWinAdaptor::setOpacity(qulonglong winId, uint opacityPercent) +void KWinAdaptor::setOpacity(qlonglong winId, uint opacityPercent) { // handle method call org.kde.KWin.setOpacity - QMetaObject::invokeMethod(parent(), "setOpacity", Q_ARG(qulonglong, winId), Q_ARG(uint, opacityPercent)); + QMetaObject::invokeMethod(parent(), "setOpacity", Q_ARG(qlonglong, winId), Q_ARG(uint, opacityPercent)); // Alternative: //static_cast(parent())->setOpacity(winId, opacityPercent); } -void KWinAdaptor::setShadowSize(qulonglong winId, uint shadowSizePercent) +void KWinAdaptor::setShadowSize(qlonglong winId, uint shadowSizePercent) { // handle method call org.kde.KWin.setShadowSize - QMetaObject::invokeMethod(parent(), "setShadowSize", Q_ARG(qulonglong, winId), Q_ARG(uint, shadowSizePercent)); + QMetaObject::invokeMethod(parent(), "setShadowSize", Q_ARG(qlonglong, winId), Q_ARG(uint, shadowSizePercent)); // Alternative: //static_cast(parent())->setShadowSize(winId, shadowSizePercent); } -void KWinAdaptor::setUnshadowed(qulonglong winId) +void KWinAdaptor::setUnshadowed(qlonglong winId) { // handle method call org.kde.KWin.setUnshadowed - QMetaObject::invokeMethod(parent(), "setUnshadowed", Q_ARG(qulonglong, winId)); + QMetaObject::invokeMethod(parent(), "setUnshadowed", Q_ARG(qlonglong, winId)); // Alternative: //static_cast(parent())->setUnshadowed(winId); } -void KWinAdaptor::showWindowMenuAt(qulonglong winId, int x, int y) +void KWinAdaptor::showWindowMenuAt(qlonglong winId, int x, int y) { // handle method call org.kde.KWin.showWindowMenuAt - QMetaObject::invokeMethod(parent(), "showWindowMenuAt", Q_ARG(qulonglong, winId), Q_ARG(int, x), Q_ARG(int, y)); + QMetaObject::invokeMethod(parent(), "showWindowMenuAt", Q_ARG(qlonglong, winId), Q_ARG(int, x), Q_ARG(int, y)); // Alternative: //static_cast(parent())->showWindowMenuAt(winId, x, y); diff --git a/kwinadaptor.h b/kwinadaptor.h index 285b82f1b3..74ea0452f3 100644 --- a/kwinadaptor.h +++ b/kwinadaptor.h @@ -7,8 +7,8 @@ * This is an auto-generated file. */ -#ifndef KWINADAPTOR_H_289111149679568 -#define KWINADAPTOR_H_289111149679568 +#ifndef KWINADAPTOR_H_187881149684785 +#define KWINADAPTOR_H_187881149684785 #include #include @@ -45,7 +45,7 @@ class KWinAdaptor: public QDBusAbstractAdaptor " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" @@ -70,15 +70,15 @@ class KWinAdaptor: public QDBusAbstractAdaptor " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" @@ -103,10 +103,10 @@ public Q_SLOTS: // METHODS void refresh(); bool setCurrentDesktop(int desktop); void setDesktopLayout(int orientation, int x, int y); - void setOpacity(qulonglong winId, uint opacityPercent); - void setShadowSize(qulonglong winId, uint shadowSizePercent); - void setUnshadowed(qulonglong winId); - void showWindowMenuAt(qulonglong winId, int x, int y); + void setOpacity(qlonglong winId, uint opacityPercent); + void setShadowSize(qlonglong winId, uint shadowSizePercent); + void setUnshadowed(qlonglong winId); + void showWindowMenuAt(qlonglong winId, int x, int y); void startKompmgr(); void stopKompmgr(); Q_ASYNC void unclutterDesktop(); diff --git a/org.kde.KWin.xml b/org.kde.KWin.xml index b3b2d0a52d..a2ab1a53e7 100644 --- a/org.kde.KWin.xml +++ b/org.kde.KWin.xml @@ -19,7 +19,7 @@ - + @@ -44,15 +44,15 @@ - + - + - +