From 17349f776ead82efe418947453c227f4d004d37b Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 7 Jun 2006 09:43:03 +0000 Subject: [PATCH] Now I know how to define a unsigned long and unsigned int svn path=/trunk/KDE/kdebase/workspace/; revision=549052 --- kwinadaptor.cpp | 16 ++++++++-------- kwinadaptor.h | 24 ++++++++++++------------ org.kde.kwin.Kwin.xml | 12 ++++++------ 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/kwinadaptor.cpp b/kwinadaptor.cpp index ca32961a4f..42263cfee0 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(int winId, int opacityPercent) +void KWinAdaptor::setOpacity(qulonglong winId, uint opacityPercent) { // handle method call org.kde.kwin.KWin.setOpacity - QMetaObject::invokeMethod(parent(), "setOpacity", Q_ARG(int, winId), Q_ARG(int, opacityPercent)); + QMetaObject::invokeMethod(parent(), "setOpacity", Q_ARG(qulonglong, winId), Q_ARG(uint, opacityPercent)); // Alternative: //static_cast(parent())->setOpacity(winId, opacityPercent); } -void KWinAdaptor::setShadowSize(int winId, int shadowSizePercent) +void KWinAdaptor::setShadowSize(qulonglong winId, uint shadowSizePercent) { // handle method call org.kde.kwin.KWin.setShadowSize - QMetaObject::invokeMethod(parent(), "setShadowSize", Q_ARG(int, winId), Q_ARG(int, shadowSizePercent)); + QMetaObject::invokeMethod(parent(), "setShadowSize", Q_ARG(qulonglong, winId), Q_ARG(uint, shadowSizePercent)); // Alternative: //static_cast(parent())->setShadowSize(winId, shadowSizePercent); } -void KWinAdaptor::setUnshadowed(int winId) +void KWinAdaptor::setUnshadowed(qulonglong winId) { // handle method call org.kde.kwin.KWin.setUnshadowed - QMetaObject::invokeMethod(parent(), "setUnshadowed", Q_ARG(int, winId)); + QMetaObject::invokeMethod(parent(), "setUnshadowed", Q_ARG(qulonglong, winId)); // Alternative: //static_cast(parent())->setUnshadowed(winId); } -void KWinAdaptor::showWindowMenuAt(int winId, int x, int y) +void KWinAdaptor::showWindowMenuAt(qulonglong winId, int x, int y) { // handle method call org.kde.kwin.KWin.showWindowMenuAt - QMetaObject::invokeMethod(parent(), "showWindowMenuAt", Q_ARG(int, winId), Q_ARG(int, x), Q_ARG(int, y)); + QMetaObject::invokeMethod(parent(), "showWindowMenuAt", Q_ARG(qulonglong, 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 e7148a63ff..9b69879e21 100644 --- a/kwinadaptor.h +++ b/kwinadaptor.h @@ -7,8 +7,8 @@ * This is an auto-generated file. */ -#ifndef KWINADAPTOR_H_93481149670720 -#define KWINADAPTOR_H_93481149670720 +#ifndef KWINADAPTOR_H_87381149673338 +#define KWINADAPTOR_H_87381149673338 #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" " \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(int winId, int opacityPercent); - void setShadowSize(int winId, int shadowSizePercent); - void setUnshadowed(int winId); - void showWindowMenuAt(int winId, 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 startKompmgr(); void stopKompmgr(); Q_ASYNC void unclutterDesktop(); diff --git a/org.kde.kwin.Kwin.xml b/org.kde.kwin.Kwin.xml index 836f4f2cbd..79a5c96f20 100644 --- a/org.kde.kwin.Kwin.xml +++ b/org.kde.kwin.Kwin.xml @@ -19,7 +19,7 @@ - + @@ -44,15 +44,15 @@ - - + + - - + + - +