[Kde-bindings] KDE/kdebase/workspace/plasma/scriptengines/ruby
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Mon Nov 17 20:10:00 UTC 2008
SVN commit 885726 by rdale:
2008-11-17 Richard Dale <richard.j.dale at gmail.com>
* Fixed missing constructor bug in Qt::GraphicsProxyWidget reported by David
Palacio. Thanks to David for reporting the bug.
* Improved the names of the Ruby applet and dataengine examples
CCMAIL: kde-bindings at kde.org
M +5 -0 ChangeLog
M +22 -0 applet.rb
D examples/applets/plasma_applet_ruby_clock (directory)
D examples/applets/plasma_applet_ruby_webapplet (directory)
AM examples/applets/ruby_clock (directory) examples/applets/plasma_applet_ruby_clock#884369
M +4 -4 examples/applets/ruby_clock/metadata.desktop
AM examples/applets/ruby_tiger (directory) examples/applets/tiger#884369
M +2 -2 examples/applets/ruby_tiger/metadata.desktop
AM examples/applets/ruby_webapplet (directory) examples/applets/plasma_applet_ruby_webapplet#884369
M +3 -3 examples/applets/ruby_webapplet/metadata.desktop
D examples/applets/tiger (directory)
D examples/dataengines/ruby_time (directory)
A examples/dataengines/time (directory) examples/dataengines/ruby_time#884369
M +4 -4 examples/dataengines/time/metadata.desktop
--- trunk/KDE/kdebase/workspace/plasma/scriptengines/ruby/ChangeLog #885725:885726
@@ -1,3 +1,8 @@
+2008-11-17 Richard Dale <richard.j.dale at gmail.com>
+* Fixed missing constructor bug in Qt::GraphicsProxyWidget reported by David
+ Palacio. Thanks to David for reporting the bug.
+* Improved the names of the Ruby applet and dataengine examples
+
2008-11-05 Richard Dale <richard.j.dale at gmail.com>
* Fixed some bugs in the DataEngineScript class. The expected path was
'plasma/engines' whereas the plasmapkg tool installs them in
--- trunk/KDE/kdebase/workspace/plasma/scriptengines/ruby/applet.rb #885725:885726
@@ -512,6 +512,28 @@
end
module Qt
+ class GraphicsProxyWidget < Qt::Base
+ def initialize(parent = nil, wFlags = nil)
+ if parent.kind_of?(PlasmaScripting::Applet)
+ super(parent.applet_script.applet, wFlags)
+ else
+ super
+ end
+ end
+
+ def parentItem=(item)
+ setParentItem(item)
+ end
+
+ def setParentItem(item)
+ if item.kind_of?(PlasmaScripting::Applet)
+ super(item.applet_script.applet)
+ else
+ super
+ end
+ end
+ end
+
class GraphicsWidget < Qt::Base
def initialize(parent = nil, wFlags = nil)
if parent.kind_of?(PlasmaScripting::Applet)
** trunk/KDE/kdebase/workspace/plasma/scriptengines/ruby/examples/applets/ruby_clock #property svn:mergeinfo
+
--- trunk/KDE/kdebase/workspace/plasma/scriptengines/ruby/examples/applets/ruby_clock/metadata.desktop #884369:885726
@@ -77,10 +77,10 @@
ServiceTypes=Plasma/Applet
X-Plasma-API=ruby-script
-X-KDE-PluginInfo-Author=The Plasma Team
-X-KDE-PluginInfo-Email=panel-devel at kde.org
-X-KDE-PluginInfo-Name=plasma_applet_ruby_clock
-X-KDE-PluginInfo-Version=pre0.1
+X-KDE-PluginInfo-Author=Richard Dale
+X-KDE-PluginInfo-Email=richard.j.dale at gmail.com
+X-KDE-PluginInfo-Name=ruby-clock
+X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-Website=http://plasma.kde.org/
X-KDE-PluginInfo-Category=Date and Time
X-KDE-PluginInfo-Depends=
** trunk/KDE/kdebase/workspace/plasma/scriptengines/ruby/examples/applets/ruby_tiger #property svn:mergeinfo
+
--- trunk/KDE/kdebase/workspace/plasma/scriptengines/ruby/examples/applets/ruby_tiger/metadata.desktop #884369:885726
@@ -27,8 +27,8 @@
ServiceTypes=Plasma/Applet
X-KDE-PluginInfo-Author=Richard Dale
-X-KDE-PluginInfo-Email=panel-devel at kde.org
-X-KDE-PluginInfo-Name=tiger
+X-KDE-PluginInfo-Email=richard.j.dale at gmail.com
+X-KDE-PluginInfo-Name=ruby-tiger
X-KDE-PluginInfo-Version=pre0.1
X-KDE-PluginInfo-Website=http://plasma.kde.org/
X-KDE-PluginInfo-Category=Examples
** trunk/KDE/kdebase/workspace/plasma/scriptengines/ruby/examples/applets/ruby_webapplet #property svn:mergeinfo
+
--- trunk/KDE/kdebase/workspace/plasma/scriptengines/ruby/examples/applets/ruby_webapplet/metadata.desktop #884369:885726
@@ -19,9 +19,9 @@
ServiceTypes=Plasma/Applet
X-KDE-PluginInfo-Author=Richard Dale
-X-KDE-PluginInfo-Email=panel-devel at kde.org
-X-KDE-PluginInfo-Name=plasma_applet_ruby_webapplet
-X-KDE-PluginInfo-Version=pre0.1
+X-KDE-PluginInfo-Email=richard.j.dale at gmail.com
+X-KDE-PluginInfo-Name=ruby-webapplet
+X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-Website=http://plasma.kde.org/
X-KDE-PluginInfo-Category=Examples
X-KDE-PluginInfo-Depends=
--- trunk/KDE/kdebase/workspace/plasma/scriptengines/ruby/examples/dataengines/time/metadata.desktop #884369:885726
@@ -86,10 +86,10 @@
ServiceTypes=Plasma/DataEngine
X-Plasma-API=ruby-script
-X-KDE-PluginInfo-Author=The Plasma Team
-X-KDE-PluginInfo-Email=panel-devel at kde.org
-X-KDE-PluginInfo-Name=ruby_time
-X-KDE-PluginInfo-Version=pre0.1
+X-KDE-PluginInfo-Author=Richard Dale
+X-KDE-PluginInfo-Email=richard.j.dale at gmail.com
+X-KDE-PluginInfo-Name=ruby-time
+X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-Website=http://plasma.kde.org/
X-KDE-PluginInfo-Category=Date and Time
X-KDE-PluginInfo-Depends=
More information about the Kde-bindings
mailing list