Not used.

svn path=/trunk/KDE/kdebase/workspace/; revision=581402
This commit is contained in:
Luboš Luňák 2006-09-06 10:37:46 +00:00
parent 083016d55b
commit 1b9baf8447
5 changed files with 1 additions and 101 deletions

View file

@ -3,7 +3,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/workspace/kwin/lib )
########### next target ###############
set(kcm_kwindecoration_PART_SRCS kwindecorationadaptor.cpp kwindecoration.cpp buttons.cpp preview.cpp )
set(kcm_kwindecoration_PART_SRCS kwindecoration.cpp buttons.cpp preview.cpp )
kde4_automoc(${kcm_kwindecoration_PART_SRCS})

View file

@ -62,8 +62,6 @@
#include <kdecoration_plugins_p.h>
#include <kdecorationfactory.h>
#include <kvbox.h>
#include "kwindecorationadaptor.h"
#include <QtDBus/QtDBus>
// KCModule plugin interface
// =========================
@ -75,8 +73,6 @@ KWinDecorationModule::KWinDecorationModule(QWidget* parent, const QStringList &)
kwinConfig("kwinrc"),
pluginObject(0)
{
new DecorationAdaptor(this);
QDBusConnection::sessionBus().registerObject("/KWinClientDecoration", this);
kwinConfig.setGroup("Style");
plugins = new KDecorationPreviewPlugins( &kwinConfig );

View file

@ -1,45 +0,0 @@
/*
* This file was generated by dbusidl2cpp version 0.5
* when processing input file org.kde.kwin.Decoration.xml
*
* dbusidl2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved.
*
* This is an auto-generated file.
*/
#include "kwindecorationadaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
/*
* Implementation of adaptor class DecorationAdaptor
*/
DecorationAdaptor::DecorationAdaptor(QObject *parent)
: QDBusAbstractAdaptor(parent)
{
// constructor
setAutoRelaySignals(true);
}
DecorationAdaptor::~DecorationAdaptor()
{
// destructor
}
void DecorationAdaptor::dcopUpdateClientList()
{
// handle method call org.kde.kwin.Decoration.dcopUpdateClientList
QMetaObject::invokeMethod(parent(), "dcopUpdateClientList");
// Alternative:
//static_cast<YourObjectType *>(parent())->dcopUpdateClientList();
}
#include "kwindecorationadaptor.moc"

View file

@ -1,44 +0,0 @@
/*
* This file was generated by dbusidl2cpp version 0.5
* when processing input file org.kde.kwin.Decoration.xml
*
* dbusidl2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved.
*
* This is an auto-generated file.
*/
#ifndef KWINDECORATIONADAPTOR_H_55611149668415
#define KWINDECORATIONADAPTOR_H_55611149668415
#include <QtCore/QObject>
#include <QtDBus/QtDBus>
class QByteArray;
template<class T> class QList;
template<class Key, class Value> class QMap;
class QString;
class QStringList;
class QVariant;
/*
* Adaptor class for interface org.kde.kwin.Decoration
*/
class DecorationAdaptor: public QDBusAbstractAdaptor
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.kde.kwin.Decoration")
Q_CLASSINFO("D-Bus Introspection", ""
" <interface name=\"org.kde.kwin.Decoration\" >\n"
" <method name=\"dcopUpdateClientList\" />\n"
" </interface>\n"
"")
public:
DecorationAdaptor(QObject *parent);
virtual ~DecorationAdaptor();
public: // PROPERTIES
public Q_SLOTS: // METHODS
void dcopUpdateClientList();
Q_SIGNALS: // SIGNALS
};
#endif

View file

@ -1,7 +0,0 @@
<!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.kwin.Decoration">
<method name="dcopUpdateClientList"/>
</interface>
</node>