From 03ae68d4191e4bbcda82846552ad8c65202b4347 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 00:34:05 -0600 Subject: Rename KShared --- korundum/ChangeLog | 2 +- korundum/rubylib/examples/mimetype.rb | 4 ++-- korundum/rubylib/examples/uimodules/uimisc.rb | 2 +- korundum/rubylib/korundum/kdehandlers.cpp | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'korundum') diff --git a/korundum/ChangeLog b/korundum/ChangeLog index 3e60a6d6..404bc6c9 100644 --- a/korundum/ChangeLog +++ b/korundum/ChangeLog @@ -530,7 +530,7 @@ CCMAIL: kde-bindings@kde.org 2004-07-02 Richard Dale * Translated some pytde example programs from python to ruby - * Added various marshallers for the KSharedPtr related methods/classes + * Added various marshallers for the TDESharedPtr related methods/classes 2004-07-02 Richard Dale diff --git a/korundum/rubylib/examples/mimetype.rb b/korundum/rubylib/examples/mimetype.rb index 170bf461..e2860f0e 100644 --- a/korundum/rubylib/examples/mimetype.rb +++ b/korundum/rubylib/examples/mimetype.rb @@ -3,7 +3,7 @@ This is a ruby version of Jim Bublitz's pytde program, translated by Richard Dal =end =begin -This program tests/demos some of the KSharedPtr related classes and +This program tests/demos some of the TDESharedPtr related classes and methods (KMimeType, KService, etc). It generally tests the *::List methods for these classes (eg KService::List) since that also tests the *::Ptr mapped type code (eg KService::Ptr) at the same time. @@ -270,7 +270,7 @@ end #-------------------- main ------------------------------------------------ -description = "Test/demo KSharedPtr related methods/classes" +description = "Test/demo TDESharedPtr related methods/classes" version = "1.0" aboutData = KDE::AboutData.new("mimetype", "MimeType", version, description, KDE::AboutData.License_GPL, diff --git a/korundum/rubylib/examples/uimodules/uimisc.rb b/korundum/rubylib/examples/uimodules/uimisc.rb index 88903594..be186409 100644 --- a/korundum/rubylib/examples/uimodules/uimisc.rb +++ b/korundum/rubylib/examples/uimodules/uimisc.rb @@ -247,7 +247,7 @@ def UIMisc.miscKPixmapIO(parent) parent.currentPageObj = PageNotImpl.new(parent) end -def UIMisc.miscKSharedPixmap(parent) +def UIMisc.miscTDESharedPixmap(parent) parent.currentPageObj = PageNotImpl.new(parent) end diff --git a/korundum/rubylib/korundum/kdehandlers.cpp b/korundum/rubylib/korundum/kdehandlers.cpp index 56d7d11b..d22adf53 100644 --- a/korundum/rubylib/korundum/kdehandlers.cpp +++ b/korundum/rubylib/korundum/kdehandlers.cpp @@ -399,7 +399,7 @@ void marshall_KServicePtr(Marshall *m) { break; case Marshall::ToVALUE: { - KSharedPtr *ptr = new KSharedPtr(*(KSharedPtr*)m->item().s_voidp); + TDESharedPtr *ptr = new TDESharedPtr(*(TDESharedPtr*)m->item().s_voidp); if(ptr == 0) { *(m->var()) = Qnil; break; @@ -447,7 +447,7 @@ void marshall_KServiceList(Marshall *m) { for(KService::List::Iterator it = offerList->begin(); it != offerList->end(); ++it) { - KSharedPtr *ptr = new KSharedPtr(*it); + TDESharedPtr *ptr = new TDESharedPtr(*it); KService * currentOffer = ptr->data(); VALUE obj = getPointerObject(currentOffer); @@ -789,7 +789,7 @@ void marshall_KTraderOfferList(Marshall *m) { for(KTrader::OfferList::Iterator it = offerList->begin(); it != offerList->end(); ++it) { - KSharedPtr *ptr = new KSharedPtr(*it); + TDESharedPtr *ptr = new TDESharedPtr(*it); KService * currentOffer = ptr->data(); VALUE obj = getPointerObject(currentOffer); -- cgit v1.2.1