[Kde-bindings] KDE/kdebindings/ruby
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Sat Jun 16 17:27:39 UTC 2007
SVN commit 676338 by rdale:
* Make korundum build by default
CCMAIL: kde-bindings at kde.org
M +1 -1 CMakeLists.txt
M +0 -4 korundum/src/kdehandlers.cpp
M +4 -3 qtruby/examples/graphicsview/collidingmice/mouse.rb
--- trunk/KDE/kdebindings/ruby/CMakeLists.txt #676337:676338
@@ -4,7 +4,7 @@
# QtRuby/Korundum
OPTION(ENABLE_QTRUBY "build QtRuby" ON)
-OPTION(ENABLE_KORUNDUM "build Korundum" OFF)
+OPTION(ENABLE_KORUNDUM "build Korundum" ON)
set(QTRUBY_ENABLED "no")
set(KORUNDUM_ENABLED "no")
--- trunk/KDE/kdebindings/ruby/korundum/src/kdehandlers.cpp #676337:676338
@@ -22,7 +22,6 @@
#include <ktrader.h>
#include <kservicegroup.h>
#include <kservice.h>
-#include <kserviceoffer.h>
#include <ksycocatype.h>
#include <kmainwindow.h>
#include <kfile.h>
@@ -889,7 +888,6 @@
DEF_VALUELIST_MARSHALLER( KIOCopyInfoList, QList<KIO::CopyInfo>, KIO::CopyInfo )
DEF_VALUELIST_MARSHALLER( KPartsPluginPluginInfoList, QList<KParts::Plugin::PluginInfo>, KParts::Plugin::PluginInfo )DEF_VALUELIST_MARSHALLER( KUserList, QList<KUser>, KUser )
DEF_VALUELIST_MARSHALLER( KUserGroupList, QList<KUserGroup>, KUserGroup )
-DEF_VALUELIST_MARSHALLER( KServiceOfferList, QList<KServiceOffer>, KServiceOffer )
DEF_VALUELIST_MARSHALLER( KUrlList, QList<KUrl>, KUrl )
/*
@@ -1025,8 +1023,6 @@
{ "QList<KParts::Plugin::PluginInfo>&", marshall_KPartsPluginPluginInfoList },
{ "QList<KParts::ReadOnlyPart*>", marshall_KPartsReadOnlyPartList },
{ "QList<KPluginInfo*>&", marshall_KPluginInfoList },
- { "QList<KServiceOffer>&", marshall_KServiceOfferList },
- { "KServiceOfferList", marshall_KServiceOfferList },
{ "QList<KToolBar*>", marshall_KToolBarList },
{ "QList<KUser>", marshall_KUserList },
{ "QList<KUser>&", marshall_KUserList },
--- trunk/KDE/kdebindings/ruby/qtruby/examples/graphicsview/collidingmice/mouse.rb #676337:676338
@@ -59,14 +59,15 @@
@mouseEyeDirection = 0.0
@color = Qt::Color.new(rand(256), rand(256), rand(256))
rotate(rand(360 * 16))
+ adjust = 0.5
+ @boundingRect = Qt::RectF.new(-20 - adjust, -22 - adjust,
+ 40 + adjust, 83 + adjust)
@timer = MouseTimer.new(self)
@timer.startTimer(1000 / 33)
end
def boundingRect
- adjust = 0.5
- return Qt::RectF.new(-20 - adjust, -22 - adjust,
- 40 + adjust, 83 + adjust)
+ return @boundingRect
end
def shape
More information about the Kde-bindings
mailing list