diff --git a/pykde4/docs/html/plasma/Plasma.GLApplet.html b/pykde4/docs/html/plasma/Plasma.GLApplet.html deleted file mode 100644 index 966872e1..00000000 --- a/pykde4/docs/html/plasma/Plasma.GLApplet.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - Plasma.GLApplet - - - - - - -
- - -
-
- - - - -
-
-
- -
-
- - - diff --git a/pykde4/examples/kpartsExamples/katepart.py b/pykde4/examples/kpartsExamples/katepart.py index e907ee63..c3c98347 100644 --- a/pykde4/examples/kpartsExamples/katepart.py +++ b/pykde4/examples/kpartsExamples/katepart.py @@ -14,7 +14,7 @@ class MainWindow (KMainWindow): self.resize(640, 480) - factory = KLibLoader.self().factory("katepart") + factory = KLibrary("katepart").factory() part = factory.create(self, "KatePart") self.setCentralWidget(part.widget()) diff --git a/pykde4/sip/plasma/abstractrunner.sip b/pykde4/sip/plasma/abstractrunner.sip index 374faf4e..6b99d3fb 100644 --- a/pykde4/sip/plasma/abstractrunner.sip +++ b/pykde4/sip/plasma/abstractrunner.sip @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include @@ -227,8 +226,6 @@ protected: sipType = sipType_Plasma_AppletProtectedThunk; else if (dynamic_cast(sipCpp)) sipType = sipType_Plasma_Containment; - else if (dynamic_cast(sipCpp)) - sipType = sipType_Plasma_GLApplet; else if (dynamic_cast(sipCpp)) sipType = sipType_Plasma_PopupApplet; } diff --git a/pykde4/sip/plasma/animation.sip b/pykde4/sip/plasma/animation.sip index 17c22123..656eb39d 100644 --- a/pykde4/sip/plasma/animation.sip +++ b/pykde4/sip/plasma/animation.sip @@ -110,8 +110,6 @@ protected: sipType = sipType_Plasma_AppletProtectedThunk; else if (dynamic_cast(sipCpp)) sipType = sipType_Plasma_Containment; - else if (dynamic_cast(sipCpp)) - sipType = sipType_Plasma_GLApplet; else if (dynamic_cast(sipCpp)) sipType = sipType_Plasma_PopupApplet; } @@ -231,7 +229,6 @@ public: #include #include #include -#include #include #include #include diff --git a/pykde4/sip/plasma/glapplet.sip b/pykde4/sip/plasma/glapplet.sip deleted file mode 100644 index 15dbd476..00000000 --- a/pykde4/sip/plasma/glapplet.sip +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2008 Simon Edwards - -// 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. - -//force - -%Feature PyKDE_GLuint - -%If (PyKDE_GLuint) -typedef unsigned int GLuint; -typedef unsigned int GLenum; -%End - -namespace Plasma -{ - -//force -class GLApplet : Plasma::Applet -{ -//force -%TypeHeaderCode -#include -%End -public: - GLApplet (QGraphicsItem* parent, const QString& serviceId, int appletId); - GLApplet (QObject* parent /TransferThis/, const QVariantList& args); - - -//mt undefined symbol: GLenum target -- need mapped type? -//mt undefined symbol: GLuint None -- need mapped type? -//mt GLuint bindTexture (const QImage& image, GLenum target = GL_TEXTURE_2D); - - - - -//mt undefined symbol: GLuint texture_id -- need mapped type? -//mt void deleteTexture (GLuint texture_id); - - - virtual void paintGLInterface (QPainter* painter, const QStyleOptionGraphicsItem* option); - void makeCurrent (); - ~GLApplet (); - GLuint bindTexture (const QImage& image, GLenum target = GL_TEXTURE_2D); - void deleteTexture (GLuint texture_id); - -private: - virtual void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*); - virtual void paintInterface(QPainter*, const QStyleOptionGraphicsItem*, const QRect&); -//end -}; -// GLApplet - -//end -}; -// Plasma - - -//end diff --git a/pykde4/sip/plasma/package.sip b/pykde4/sip/plasma/package.sip index 4dc92e6a..a15b8c96 100644 --- a/pykde4/sip/plasma/package.sip +++ b/pykde4/sip/plasma/package.sip @@ -54,10 +54,6 @@ private: //end public: //ig void publish (Plasma::AnnouncementMethods methods, const QString& name); -//FIXME missing implementation -//ig void unpublish (const QString& name = QString()); -//ig bool isPublished () const; - QString contentsHash () const; explicit Package (); }; // Package diff --git a/pykde4/sip/plasma/plasmamod.sip b/pykde4/sip/plasma/plasmamod.sip index 3f92c0f6..0134f867 100644 --- a/pykde4/sip/plasma/plasmamod.sip +++ b/pykde4/sip/plasma/plasmamod.sip @@ -56,7 +56,6 @@ %Include extendergroup.sip %Include extenderitem.sip %Include framesvg.sip -%Include glapplet.sip %Include package.sip %Include packagemetadata.sip %Include packagestructure.sip