all the desktop/netbook scripting stuff is in the WorkspaceScripting namespace now

svn path=/trunk/KDE/kdebase/workspace/; revision=1128578
This commit is contained in:
Marco Martin 2010-05-19 17:13:29 +00:00
parent de2f7ef846
commit 6f4dc1cc4f
12 changed files with 57 additions and 0 deletions

View File

@ -28,6 +28,9 @@
#include "scriptengine.h"
namespace WorkspaceScripting
{
AppInterface::AppInterface(Plasma::Corona *corona, QObject *parent)
: QObject(parent),
m_corona(corona)
@ -137,5 +140,7 @@ QStringList AppInterface::knownContainmentTypes(const QString &type) const
return containments;
}
}
#include "appinterface.moc"

View File

@ -32,6 +32,9 @@ namespace Plasma
class Corona;
} // namespace Plasma
namespace WorkspaceScripting
{
class PLASMAGENERICSHELL_EXPORT AppInterface : public QObject
{
Q_OBJECT
@ -71,5 +74,7 @@ private:
Plasma::Corona *m_corona;
};
}
#endif

View File

@ -29,6 +29,9 @@
#include <Plasma/Containment>
#include <Plasma/Corona>
namespace WorkspaceScripting
{
class Applet::Private
{
public:
@ -250,5 +253,7 @@ Plasma::Applet *Applet::applet() const
return 0;
}
}
#include "applet.moc"

View File

@ -32,6 +32,9 @@ namespace Plasma
class Applet;
} // namespace Plasma
namespace WorkspaceScripting
{
class PLASMAGENERICSHELL_EXPORT Applet : public QObject
{
Q_OBJECT
@ -74,6 +77,7 @@ private:
Private * const d;
};
}
#endif

View File

@ -28,6 +28,9 @@
#include "scriptengine.h"
#include "widget.h"
namespace WorkspaceScripting
{
class Containment::Private
{
public:
@ -299,5 +302,7 @@ Plasma::Containment *Containment::containment() const
return d->containment.data();
}
}
#include "containment.moc"

View File

@ -36,6 +36,9 @@ namespace Plasma
class Widget;
class PanelView;
namespace WorkspaceScripting
{
class PLASMAGENERICSHELL_EXPORT Containment : public Applet
{
Q_OBJECT
@ -104,5 +107,7 @@ private:
Private * const d;
};
}
#endif

View File

@ -19,6 +19,9 @@
#include "layouttemplatepackagestructure.h"
namespace WorkspaceScripting
{
LayoutTemplatePackageStructure::LayoutTemplatePackageStructure(QObject *parent)
: Plasma::PackageStructure(parent)
{
@ -33,5 +36,7 @@ LayoutTemplatePackageStructure::~LayoutTemplatePackageStructure()
}
}
#include "layouttemplatepackagestructure.moc"

View File

@ -23,6 +23,9 @@
#include <Plasma/PackageStructure>
#include "../plasmagenericshell_export.h"
namespace WorkspaceScripting
{
class PLASMAGENERICSHELL_EXPORT LayoutTemplatePackageStructure : public Plasma::PackageStructure
{
Q_OBJECT
@ -32,6 +35,7 @@ public:
~LayoutTemplatePackageStructure();
};
}
#endif

View File

@ -40,6 +40,9 @@
QScriptValue constructQRectFClass(QScriptEngine *engine);
namespace WorkspaceScripting
{
ScriptEngine::ScriptEngine(Plasma::Corona *corona, QObject *parent)
: QScriptEngine(parent),
m_corona(corona)
@ -427,5 +430,7 @@ QStringList ScriptEngine::defaultLayoutScripts()
return scriptPaths;
}
}
#include "scriptengine.moc"

View File

@ -32,6 +32,9 @@ namespace Plasma
class Corona;
} // namespace Plasma
namespace WorkspaceScripting
{
class Containment;
class PLASMAGENERICSHELL_EXPORT ScriptEngine : public QScriptEngine
@ -85,5 +88,7 @@ private:
QScriptValue m_scriptSelf;
};
}
#endif

View File

@ -26,6 +26,9 @@
#include <Plasma/Containment>
#include <Plasma/Corona>
namespace WorkspaceScripting
{
class Widget::Private
{
public:
@ -167,6 +170,7 @@ void Widget::showConfigurationInterface()
}
}
}
#include "widget.moc"

View File

@ -31,6 +31,9 @@ namespace Plasma
class Applet;
} // namespace Plasma
namespace WorkspaceScripting
{
class PLASMAGENERICSHELL_EXPORT Widget : public Applet
{
Q_OBJECT
@ -83,5 +86,7 @@ private:
Private * const d;
};
}
#endif