Use qlonglong for wid
svn path=/trunk/KDE/kdebase/workspace/; revision=549099
This commit is contained in:
parent
04b89d8e8b
commit
53b85f444f
3 changed files with 22 additions and 22 deletions
|
@ -146,37 +146,37 @@ void KWinAdaptor::setDesktopLayout(int orientation, int x, int y)
|
|||
//static_cast<YourObjectType *>(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<YourObjectType *>(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<YourObjectType *>(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<YourObjectType *>(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<YourObjectType *>(parent())->showWindowMenuAt(winId, x, y);
|
||||
|
|
|
@ -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 <QtCore/QObject>
|
||||
#include <dbus/qdbus.h>
|
||||
|
@ -45,7 +45,7 @@ class KWinAdaptor: public QDBusAbstractAdaptor
|
|||
" <arg direction=\"in\" type=\"s\" name=\"name\" />\n"
|
||||
" </method>\n"
|
||||
" <method name=\"showWindowMenuAt\" >\n"
|
||||
" <arg direction=\"in\" type=\"t\" name=\"winId\" />\n"
|
||||
" <arg direction=\"in\" type=\"x\" name=\"winId\" />\n"
|
||||
" <arg direction=\"in\" type=\"i\" name=\"x\" />\n"
|
||||
" <arg direction=\"in\" type=\"i\" name=\"y\" />\n"
|
||||
" </method>\n"
|
||||
|
@ -70,15 +70,15 @@ class KWinAdaptor: public QDBusAbstractAdaptor
|
|||
" <arg direction=\"out\" type=\"b\" />\n"
|
||||
" </method>\n"
|
||||
" <method name=\"setOpacity\" >\n"
|
||||
" <arg direction=\"in\" type=\"t\" name=\"winId\" />\n"
|
||||
" <arg direction=\"in\" type=\"x\" name=\"winId\" />\n"
|
||||
" <arg direction=\"in\" type=\"u\" name=\"opacityPercent\" />\n"
|
||||
" </method>\n"
|
||||
" <method name=\"setShadowSize\" >\n"
|
||||
" <arg direction=\"in\" type=\"t\" name=\"winId\" />\n"
|
||||
" <arg direction=\"in\" type=\"x\" name=\"winId\" />\n"
|
||||
" <arg direction=\"in\" type=\"u\" name=\"shadowSizePercent\" />\n"
|
||||
" </method>\n"
|
||||
" <method name=\"setUnshadowed\" >\n"
|
||||
" <arg direction=\"in\" type=\"t\" name=\"winId\" />\n"
|
||||
" <arg direction=\"in\" type=\"x\" name=\"winId\" />\n"
|
||||
" </method>\n"
|
||||
" <signal name=\"kompmgrStarted\" />\n"
|
||||
" <signal name=\"kompmgrStopped\" />\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();
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<arg name="name" type="s" direction="in"/>
|
||||
</method>
|
||||
<method name="showWindowMenuAt">
|
||||
<arg name="winId" type="t" direction="in"/>
|
||||
<arg name="winId" type="x" direction="in"/>
|
||||
<arg name="x" type="i" direction="in"/>
|
||||
<arg name="y" type="i" direction="in"/>
|
||||
</method>
|
||||
|
@ -44,15 +44,15 @@
|
|||
<arg type="b" direction="out"/>
|
||||
</method>
|
||||
<method name="setOpacity">
|
||||
<arg name="winId" type="t" direction="in"/>
|
||||
<arg name="winId" type="x" direction="in"/>
|
||||
<arg name="opacityPercent" type="u" direction="in"/>
|
||||
</method>
|
||||
<method name="setShadowSize">
|
||||
<arg name="winId" type="t" direction="in"/>
|
||||
<arg name="winId" type="x" direction="in"/>
|
||||
<arg name="shadowSizePercent" type="u" direction="in"/>
|
||||
</method>
|
||||
<method name="setUnshadowed">
|
||||
<arg name="winId" type="t" direction="in"/>
|
||||
<arg name="winId" type="x" direction="in"/>
|
||||
</method>
|
||||
<signal name="kompmgrStarted"/>
|
||||
<signal name="kompmgrStopped"/>
|
||||
|
|
Loading…
Reference in a new issue