mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-23 18:32:51 +00:00
pykde4: fix build of plasma bindings
This commit is contained in:
parent
78660aef84
commit
1fbf1f5dec
19 changed files with 0 additions and 487 deletions
|
@ -25,23 +25,16 @@
|
|||
#include <plasma/abstractdialogmanager.h>
|
||||
#include <plasma/abstractrunner.h>
|
||||
#include <plasma/abstracttoolbox.h>
|
||||
#include <plasma/accessappletjob.h>
|
||||
#include <plasma/accessmanager.h>
|
||||
#include <plasma/animation.h>
|
||||
#include <plasma/animationdriver.h>
|
||||
#include <plasma/animator.h>
|
||||
#include <plasma/applet.h>
|
||||
#include <plasma/scripting/appletscript.h>
|
||||
#include <plasma/authorizationmanager.h>
|
||||
#include <plasma/authorizationrule.h>
|
||||
#include <plasma/widgets/busywidget.h>
|
||||
#include <plasma/widgets/checkbox.h>
|
||||
#include <plasma/clientpinrequest.h>
|
||||
#include <plasma/widgets/combobox.h>
|
||||
#include <plasma/configloader.h>
|
||||
#include <plasma/containment.h>
|
||||
#include <plasma/containmentactions.h>
|
||||
#include <plasma/context.h>
|
||||
#include <plasma/corona.h>
|
||||
#include <plasma/datacontainer.h>
|
||||
#include <plasma/dataengine.h>
|
||||
|
@ -76,7 +69,6 @@
|
|||
#include <plasma/widgets/scrollwidget.h>
|
||||
#include <plasma/widgets/separator.h>
|
||||
#include <plasma/service.h>
|
||||
#include <plasma/serviceaccessjob.h>
|
||||
#include <plasma/servicejob.h>
|
||||
#include <plasma/widgets/signalplotter.h>
|
||||
#include <plasma/widgets/slider.h>
|
||||
|
@ -172,32 +164,16 @@ protected:
|
|||
|
||||
if (dynamic_cast<Plasma::ConfigLoader*>(sipCpp))
|
||||
sipType = sipType_Plasma_ConfigLoader;
|
||||
else if (dynamic_cast<Plasma::AccessAppletJob*>(sipCpp))
|
||||
sipType = sipType_Plasma_AccessAppletJob;
|
||||
else if (dynamic_cast<Plasma::ServiceAccessJob*>(sipCpp))
|
||||
sipType = sipType_Plasma_ServiceAccessJob;
|
||||
else if (dynamic_cast<Plasma::ServiceJob*>(sipCpp))
|
||||
sipType = sipType_Plasma_ServiceJob;
|
||||
else if (dynamic_cast<Plasma::AbstractDialogManager*>(sipCpp))
|
||||
sipType = sipType_Plasma_AbstractDialogManager;
|
||||
else if (dynamic_cast<Plasma::AbstractRunner*>(sipCpp))
|
||||
sipType = sipType_Plasma_AbstractRunner;
|
||||
else if (dynamic_cast<Plasma::AccessManager*>(sipCpp))
|
||||
sipType = sipType_Plasma_AccessManager;
|
||||
else if (dynamic_cast<Plasma::AnimationDriver*>(sipCpp))
|
||||
sipType = sipType_Plasma_AnimationDriver;
|
||||
else if (dynamic_cast<Plasma::Animator*>(sipCpp))
|
||||
sipType = sipType_Plasma_Animator;
|
||||
else if (dynamic_cast<Plasma::AuthorizationManager*>(sipCpp))
|
||||
sipType = sipType_Plasma_AuthorizationManager;
|
||||
else if (dynamic_cast<Plasma::AuthorizationRule*>(sipCpp))
|
||||
sipType = sipType_Plasma_AuthorizationRule;
|
||||
else if (dynamic_cast<Plasma::ClientPinRequest*>(sipCpp))
|
||||
sipType = sipType_Plasma_ClientPinRequest;
|
||||
else if (dynamic_cast<Plasma::ContainmentActions*>(sipCpp))
|
||||
sipType = sipType_Plasma_ContainmentActions;
|
||||
else if (dynamic_cast<Plasma::Context*>(sipCpp))
|
||||
sipType = sipType_Plasma_Context;
|
||||
else if (dynamic_cast<Plasma::DataContainer*>(sipCpp))
|
||||
sipType = sipType_Plasma_DataContainer;
|
||||
else if (dynamic_cast<Plasma::DataEngine*>(sipCpp))
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
// Copyright 2009 Simon Edwards <simon@simonzone.com>
|
||||
|
||||
// Generated by twine2
|
||||
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Library General Public License as
|
||||
// published by the Free Software Foundation; either version 2, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details
|
||||
|
||||
// You should have received a copy of the GNU Library General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc.,
|
||||
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
class AccessAppletJob : KJob
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <plasma/accessappletjob.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
~AccessAppletJob ();
|
||||
Plasma::Applet* applet () const;
|
||||
protected:
|
||||
AccessAppletJob (const KUrl& location, QObject* parent /TransferThis/ = 0);
|
||||
void start ();
|
||||
private:
|
||||
AccessAppletJob ();
|
||||
};
|
||||
};
|
|
@ -1,41 +0,0 @@
|
|||
// Copyright 2009 Simon Edwards <simon@simonzone.com>
|
||||
|
||||
// Generated by twine2
|
||||
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Library General Public License as
|
||||
// published by the Free Software Foundation; either version 2, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details
|
||||
|
||||
// You should have received a copy of the GNU Library General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc.,
|
||||
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
class AccessManager : QObject
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <plasma/accessmanager.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
static Plasma::AccessManager* self ();
|
||||
Plasma::AccessAppletJob* accessRemoteApplet (const KUrl& location) const;
|
||||
QList<Plasma::PackageMetadata> remoteApplets () const;
|
||||
static QStringList supportedProtocols ();
|
||||
signals:
|
||||
void finished (Plasma::AccessAppletJob*);
|
||||
void remoteAppletAnnounced (Plasma::PackageMetadata metadata);
|
||||
void remoteAppletUnannounced (Plasma::PackageMetadata metadata);
|
||||
private:
|
||||
AccessManager ();
|
||||
~AccessManager ();
|
||||
};
|
||||
};
|
|
@ -47,32 +47,16 @@ protected:
|
|||
|
||||
if (dynamic_cast<Plasma::ConfigLoader*>(sipCpp))
|
||||
sipType = sipType_Plasma_ConfigLoader;
|
||||
else if (dynamic_cast<Plasma::AccessAppletJob*>(sipCpp))
|
||||
sipType = sipType_Plasma_AccessAppletJob;
|
||||
else if (dynamic_cast<Plasma::ServiceAccessJob*>(sipCpp))
|
||||
sipType = sipType_Plasma_ServiceAccessJob;
|
||||
else if (dynamic_cast<Plasma::ServiceJob*>(sipCpp))
|
||||
sipType = sipType_Plasma_ServiceJob;
|
||||
else if (dynamic_cast<Plasma::AbstractDialogManager*>(sipCpp))
|
||||
sipType = sipType_Plasma_AbstractDialogManager;
|
||||
else if (dynamic_cast<Plasma::AbstractRunner*>(sipCpp))
|
||||
sipType = sipType_Plasma_AbstractRunner;
|
||||
else if (dynamic_cast<Plasma::AccessManager*>(sipCpp))
|
||||
sipType = sipType_Plasma_AccessManager;
|
||||
else if (dynamic_cast<Plasma::AnimationDriver*>(sipCpp))
|
||||
sipType = sipType_Plasma_AnimationDriver;
|
||||
else if (dynamic_cast<Plasma::Animator*>(sipCpp))
|
||||
sipType = sipType_Plasma_Animator;
|
||||
else if (dynamic_cast<Plasma::AuthorizationManager*>(sipCpp))
|
||||
sipType = sipType_Plasma_AuthorizationManager;
|
||||
else if (dynamic_cast<Plasma::AuthorizationRule*>(sipCpp))
|
||||
sipType = sipType_Plasma_AuthorizationRule;
|
||||
else if (dynamic_cast<Plasma::ClientPinRequest*>(sipCpp))
|
||||
sipType = sipType_Plasma_ClientPinRequest;
|
||||
else if (dynamic_cast<Plasma::ContainmentActions*>(sipCpp))
|
||||
sipType = sipType_Plasma_ContainmentActions;
|
||||
else if (dynamic_cast<Plasma::Context*>(sipCpp))
|
||||
sipType = sipType_Plasma_Context;
|
||||
else if (dynamic_cast<Plasma::DataContainer*>(sipCpp))
|
||||
sipType = sipType_Plasma_DataContainer;
|
||||
else if (dynamic_cast<Plasma::DataEngine*>(sipCpp))
|
||||
|
@ -223,23 +207,16 @@ public:
|
|||
#include <plasma/abstractdialogmanager.h>
|
||||
#include <plasma/abstractrunner.h>
|
||||
#include <plasma/abstracttoolbox.h>
|
||||
#include <plasma/accessappletjob.h>
|
||||
#include <plasma/accessmanager.h>
|
||||
#include <plasma/animation.h>
|
||||
#include <plasma/animationdriver.h>
|
||||
#include <plasma/animator.h>
|
||||
#include <plasma/applet.h>
|
||||
#include <plasma/scripting/appletscript.h>
|
||||
#include <plasma/authorizationmanager.h>
|
||||
#include <plasma/authorizationrule.h>
|
||||
#include <plasma/widgets/busywidget.h>
|
||||
#include <plasma/widgets/checkbox.h>
|
||||
#include <plasma/clientpinrequest.h>
|
||||
#include <plasma/widgets/combobox.h>
|
||||
#include <plasma/configloader.h>
|
||||
#include <plasma/containment.h>
|
||||
#include <plasma/containmentactions.h>
|
||||
#include <plasma/context.h>
|
||||
#include <plasma/corona.h>
|
||||
#include <plasma/datacontainer.h>
|
||||
#include <plasma/dataengine.h>
|
||||
|
@ -274,7 +251,6 @@ public:
|
|||
#include <plasma/widgets/scrollwidget.h>
|
||||
#include <plasma/widgets/separator.h>
|
||||
#include <plasma/service.h>
|
||||
#include <plasma/serviceaccessjob.h>
|
||||
#include <plasma/servicejob.h>
|
||||
#include <plasma/widgets/signalplotter.h>
|
||||
#include <plasma/widgets/slider.h>
|
||||
|
|
|
@ -1,55 +0,0 @@
|
|||
// Copyright 2008 Simon Edwards <simon@simonzone.com>
|
||||
|
||||
// Generated by twine
|
||||
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Library General Public License as
|
||||
// published by the Free Software Foundation; either version 2, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details
|
||||
|
||||
// You should have received a copy of the GNU Library General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc.,
|
||||
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
|
||||
class AnimationDriver : QObject
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <plasma/animationdriver.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
explicit AnimationDriver (QObject* parent /TransferThis/ = 0);
|
||||
virtual int animationFps (Plasma::Animator::Animation) const;
|
||||
virtual int movementAnimationFps (Plasma::Animator::Movement) const;
|
||||
virtual int elementAnimationFps (Plasma::Animator::Animation) const;
|
||||
virtual int animationDuration (Plasma::Animator::Animation) const;
|
||||
virtual int movementAnimationDuration (Plasma::Animator::Movement) const;
|
||||
virtual int elementAnimationDuration (Plasma::Animator::Animation) const;
|
||||
virtual Plasma::Animator::CurveShape animationCurve (Plasma::Animator::Animation) const;
|
||||
virtual Plasma::Animator::CurveShape movementAnimationCurve (Plasma::Animator::Movement) const;
|
||||
virtual Plasma::Animator::CurveShape elementAnimationCurve (Plasma::Animator::Animation) const;
|
||||
virtual QPixmap elementAppear (qreal progress, const QPixmap& pixmap);
|
||||
virtual QPixmap elementDisappear (qreal progress, const QPixmap& pixmap);
|
||||
virtual void itemAppear (qreal progress, QGraphicsItem* item);
|
||||
virtual void itemDisappear (qreal progress, QGraphicsItem* item);
|
||||
virtual void itemActivated (qreal progress, QGraphicsItem* item);
|
||||
virtual void itemSlideIn (qreal progress, QGraphicsItem* item, const QPoint& start, const QPoint& destination);
|
||||
virtual void itemSlideOut (qreal progress, QGraphicsItem* item, const QPoint& start, const QPoint& destination);
|
||||
~AnimationDriver ();
|
||||
};
|
||||
// AnimationDriver
|
||||
|
||||
};
|
||||
// Plasma
|
||||
|
||||
|
|
@ -66,19 +66,6 @@ public:
|
|||
FastSlideOutMovement
|
||||
};
|
||||
|
||||
static Plasma::Animator* self ();
|
||||
int animateItem (QGraphicsItem* item, Plasma::Animator::Animation anim);
|
||||
void stopItemAnimation (int id);
|
||||
int moveItem (QGraphicsItem* item, Plasma::Animator::Movement movement, const QPoint& destination);
|
||||
void stopItemMovement (int id);
|
||||
int customAnimation (int frames, int duration, Plasma::Animator::CurveShape curve, QObject* receiver, const char* method);
|
||||
void stopCustomAnimation (int id);
|
||||
int animateElement (QGraphicsItem* obj, Plasma::Animator::Animation);
|
||||
void stopElementAnimation (int id);
|
||||
void setInitialPixmap (int id, const QPixmap& pixmap);
|
||||
QPixmap currentPixmap (int id);
|
||||
bool isAnimating () const;
|
||||
|
||||
signals:
|
||||
void animationFinished (QGraphicsItem* item, Plasma::Animator::Animation anim);
|
||||
void movementFinished (QGraphicsItem* item);
|
||||
|
@ -93,8 +80,6 @@ private:
|
|||
~Animator ();
|
||||
public:
|
||||
//ig static AbstractAnimation* create (Plasma::Animator::Animation type, QObject* parent /Transfer/ = 0);
|
||||
void registerScrollingManager (QGraphicsWidget* widget);
|
||||
void unregisterScrollingManager (QGraphicsWidget* widget);
|
||||
signals:
|
||||
void scrollStateChanged (QGraphicsWidget* widget, QAbstractAnimation::State newState, QAbstractAnimation::State oldState);
|
||||
public:
|
||||
|
|
|
@ -88,7 +88,6 @@ public:
|
|||
void updateConstraints (Plasma::Constraints constraints = Plasma::AllConstraints);
|
||||
virtual Plasma::FormFactor formFactor () const;
|
||||
virtual Plasma::Location location () const;
|
||||
Plasma::Context* context () const;
|
||||
Plasma::AspectRatioMode aspectRatioMode () const;
|
||||
void setAspectRatioMode (Plasma::AspectRatioMode);
|
||||
static KPluginInfo::List listAppletInfo (const QString& category = QString(), const QString& parentApp = QString());
|
||||
|
@ -211,8 +210,6 @@ public:
|
|||
Plasma::ItemStatus status () const;
|
||||
void setStatus (const Plasma::ItemStatus stat);
|
||||
//ig void publish (Plasma::AnnouncementMethods methods, const QString& resourceName);
|
||||
void unpublish ();
|
||||
bool isPublished () const;
|
||||
void runAssociatedApplication ();
|
||||
void showConfigurationInterface (QWidget* widget);
|
||||
bool isUserConfiguring () const;
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
// Copyright 2009 Simon Edwards <simon@simonzone.com>
|
||||
|
||||
// Generated by twine2
|
||||
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Library General Public License as
|
||||
// published by the Free Software Foundation; either version 2, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details
|
||||
|
||||
// You should have received a copy of the GNU Library General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc.,
|
||||
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
class AuthorizationInterface
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <plasma/authorizationinterface.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
virtual ~AuthorizationInterface ();
|
||||
virtual void authorizationRequest (Plasma::AuthorizationRule& rule)=0;
|
||||
virtual void clientPinRequest (Plasma::ClientPinRequest& request)=0;
|
||||
protected:
|
||||
AuthorizationInterface ();
|
||||
};
|
||||
};
|
|
@ -1,45 +0,0 @@
|
|||
// Copyright 2009 Simon Edwards <simon@simonzone.com>
|
||||
|
||||
// Generated by twine2
|
||||
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Library General Public License as
|
||||
// published by the Free Software Foundation; either version 2, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details
|
||||
|
||||
// You should have received a copy of the GNU Library General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc.,
|
||||
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
class AuthorizationManager : QObject
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <plasma/authorizationmanager.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum AuthorizationPolicy
|
||||
{
|
||||
DenyAll,
|
||||
TrustedOnly,
|
||||
PinPairing,
|
||||
Custom
|
||||
};
|
||||
static Plasma::AuthorizationManager* self ();
|
||||
void setAuthorizationPolicy (Plasma::AuthorizationManager::AuthorizationPolicy policy);
|
||||
void setAuthorizationInterface (Plasma::AuthorizationInterface* interface);
|
||||
signals:
|
||||
void readyForRemoteAccess ();
|
||||
private:
|
||||
AuthorizationManager ();
|
||||
~AuthorizationManager ();
|
||||
};
|
||||
};
|
|
@ -1,65 +0,0 @@
|
|||
// Copyright 2009 Simon Edwards <simon@simonzone.com>
|
||||
|
||||
// Generated by twine2
|
||||
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Library General Public License as
|
||||
// published by the Free Software Foundation; either version 2, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details
|
||||
|
||||
// You should have received a copy of the GNU Library General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc.,
|
||||
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
class AuthorizationRule : QObject
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <plasma/authorizationrule.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
~AuthorizationRule ();
|
||||
enum Policy
|
||||
{
|
||||
Deny,
|
||||
Allow,
|
||||
PinRequired
|
||||
};
|
||||
enum Persistence
|
||||
{
|
||||
Transient,
|
||||
Persistent
|
||||
};
|
||||
enum Target
|
||||
{
|
||||
Default,
|
||||
AllUsers,
|
||||
AllServices
|
||||
};
|
||||
//ig typedef QFlags<Target> Targets;
|
||||
QString description () const;
|
||||
void setPolicy (Plasma::AuthorizationRule::Policy policy);
|
||||
Plasma::AuthorizationRule::Policy policy ();
|
||||
void setPersistence (Plasma::AuthorizationRule::Persistence persistence);
|
||||
Plasma::AuthorizationRule::Persistence persistence ();
|
||||
//ig void setTargets (Plasma::AuthorizationRule::Targets targets);
|
||||
//ig Plasma::AuthorizationRule::Targets targets ();
|
||||
void setPin (const QString& pin);
|
||||
QString pin () const;
|
||||
//ig Credentials credentials () const;
|
||||
QString serviceName () const;
|
||||
signals:
|
||||
void changed (Plasma::AuthorizationRule*);
|
||||
private:
|
||||
AuthorizationRule ();
|
||||
AuthorizationRule (const QString& serviceName, const QString& identityID);
|
||||
};
|
||||
};
|
|
@ -1,39 +0,0 @@
|
|||
// Copyright 2009 Simon Edwards <simon@simonzone.com>
|
||||
|
||||
// Generated by twine2
|
||||
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Library General Public License as
|
||||
// published by the Free Software Foundation; either version 2, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details
|
||||
|
||||
// You should have received a copy of the GNU Library General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc.,
|
||||
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
class ClientPinRequest : QObject
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <plasma/clientpinrequest.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
QString description () const;
|
||||
void setPin (const QString& pin);
|
||||
QString pin () const;
|
||||
signals:
|
||||
void changed (Plasma::ClientPinRequest*);
|
||||
private:
|
||||
ClientPinRequest ();
|
||||
//ig ClientPinRequest (RemoteService* service);
|
||||
~ClientPinRequest ();
|
||||
};
|
||||
};
|
|
@ -93,8 +93,6 @@ public:
|
|||
bool drawWallpaper ();
|
||||
void setWallpaper (const QString& pluginName, const QString& mode = QString());
|
||||
Plasma::Wallpaper* wallpaper () const;
|
||||
void setActivity (const QString& activity);
|
||||
QString activity () const;
|
||||
void showContextMenu (const QPointF& containmentPos, const QPoint& screenPos);
|
||||
virtual void showDropZone (const QPoint pos);
|
||||
|
||||
|
@ -108,7 +106,6 @@ signals:
|
|||
void showAddWidgetsInterface (const QPointF& pos);
|
||||
void screenChanged (int wasScreen, int isScreen, Plasma::Containment* containment);
|
||||
void configureRequested (Plasma::Containment* containment);
|
||||
void contextChanged (Plasma::Context* context);
|
||||
|
||||
public:
|
||||
void setLocation (Plasma::Location location);
|
||||
|
@ -136,7 +133,6 @@ protected:
|
|||
void dragMoveEvent (QGraphicsSceneDragDropEvent* event);
|
||||
void dropEvent (QGraphicsSceneDragDropEvent* event);
|
||||
void resizeEvent (QGraphicsSceneResizeEvent* event);
|
||||
const QGraphicsItem* toolBoxItem () const;
|
||||
|
||||
|
||||
public:
|
||||
|
@ -154,7 +150,6 @@ protected:
|
|||
private:
|
||||
Containment (const QString& packagePath, uint appletId, const QVariantList& args);
|
||||
public:
|
||||
Plasma::Context* context () const;
|
||||
int lastScreen () const;
|
||||
int lastDesktop () const;
|
||||
bool isToolBoxOpen () const;
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
// Copyright 2008 Simon Edwards <simon@simonzone.com>
|
||||
|
||||
// Generated by twine
|
||||
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Library General Public License as
|
||||
// published by the Free Software Foundation; either version 2, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details
|
||||
|
||||
// You should have received a copy of the GNU Library General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc.,
|
||||
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
|
||||
class Context : QObject
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <plasma/context.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
explicit Context (QObject* parent /TransferThis/ = 0);
|
||||
void createActivity (const QString& name);
|
||||
QStringList listActivities () const;
|
||||
void setCurrentActivity (const QString& name);
|
||||
QString currentActivity () const;
|
||||
|
||||
signals:
|
||||
void changed (Plasma::Context* context);
|
||||
void activityChanged (Plasma::Context* context);
|
||||
void locationChanged (Plasma::Context* context);
|
||||
public:
|
||||
~Context ();
|
||||
void setCurrentActivityId (const QString& id);
|
||||
QString currentActivityId () const;
|
||||
};
|
||||
// Context
|
||||
|
||||
};
|
||||
// Plasma
|
||||
|
||||
|
|
@ -82,7 +82,6 @@ public:
|
|||
Plasma::ContainmentActionsPluginsConfig containmentActionsDefaults (Plasma::Containment::Type containmentType);
|
||||
void setDialogManager (Plasma::AbstractDialogManager* manager);
|
||||
Plasma::AbstractDialogManager* dialogManager ();
|
||||
QList<Plasma::Containment*> importLayout (const KConfigBase& config);
|
||||
void layoutContainments ();
|
||||
protected:
|
||||
void mapAnimation (Plasma::Animator::Animation from, Plasma::Animator::Animation to);
|
||||
|
|
|
@ -54,7 +54,6 @@ public:
|
|||
void write (KConfigBase* config) const;
|
||||
virtual bool installPackage (const QString& archivePath, const QString& packageRoot);
|
||||
virtual bool uninstallPackage (const QString& packageName, const QString& packageRoot);
|
||||
virtual void createNewWidgetBrowser (QWidget* parent /Transfer/ = 0);
|
||||
QString contentsPrefix () const;
|
||||
QString defaultPackageRoot () const;
|
||||
QString servicePrefix () const;
|
||||
|
|
|
@ -39,21 +39,13 @@
|
|||
%Include abstractdialogmanager.sip
|
||||
%Include abstractrunner.sip
|
||||
%Include abstracttoolbox.sip
|
||||
%Include accessappletjob.sip
|
||||
%Include accessmanager.sip
|
||||
%Include animation.sip
|
||||
%Include animationdriver.sip
|
||||
%Include animator.sip
|
||||
%Include applet.sip
|
||||
%Include authorizationinterface.sip
|
||||
%Include authorizationmanager.sip
|
||||
%Include authorizationrule.sip
|
||||
%Include clientpinrequest.sip
|
||||
%Include configloader.sip
|
||||
%Include containment.sip
|
||||
%Include containmentactions.sip
|
||||
%Include containmentactionspluginsconfig.sip
|
||||
%Include context.sip
|
||||
%Include corona.sip
|
||||
%Include datacontainer.sip
|
||||
%Include dataengine.sip
|
||||
|
@ -80,7 +72,6 @@
|
|||
%Include scriptengine.sip
|
||||
%Include wallpaperscript.sip
|
||||
%Include service.sip
|
||||
%Include serviceaccessjob.sip
|
||||
%Include servicejob.sip
|
||||
%Include svg.sip
|
||||
%Include theme.sip
|
||||
|
|
|
@ -49,8 +49,6 @@ public:
|
|||
~ScrollWidget ();
|
||||
void ensureRectVisible (const QRectF& rect);
|
||||
void ensureItemVisible (QGraphicsItem* item);
|
||||
void registerAsDragHandle (QGraphicsWidget* item);
|
||||
void unregisterAsDragHandle (QGraphicsWidget* item);
|
||||
QRectF viewportGeometry () const;
|
||||
QSizeF contentsSize () const;
|
||||
void setScrollPosition (const QPointF& position);
|
||||
|
|
|
@ -54,7 +54,6 @@ protected:
|
|||
void setOperationEnabled (const QString& operation, bool enable);
|
||||
public:
|
||||
~Service ();
|
||||
static Plasma::Service* access (const KUrl& url, QObject* parent /Transfer/ = 0);
|
||||
QMap<QString,QVariant> parametersFromDescription (const KConfigGroup& description);
|
||||
signals:
|
||||
void serviceReady (Plasma::Service* service);
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
// Copyright 2009 Simon Edwards <simon@simonzone.com>
|
||||
|
||||
// Generated by twine2
|
||||
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Library General Public License as
|
||||
// published by the Free Software Foundation; either version 2, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details
|
||||
|
||||
// You should have received a copy of the GNU Library General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc.,
|
||||
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
class ServiceAccessJob : KJob
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <plasma/serviceaccessjob.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
~ServiceAccessJob ();
|
||||
Plasma::Service* service () const;
|
||||
protected:
|
||||
ServiceAccessJob (KUrl location, QObject* parent /TransferThis/ = 0);
|
||||
void start ();
|
||||
};
|
||||
};
|
Loading…
Add table
Reference in a new issue