diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:34:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:34:05 -0600 |
commit | 03ae68d4191e4bbcda82846552ad8c65202b4347 (patch) | |
tree | 0d4064314907975700a43fe88b4b6521976b4fb0 /korundum/rubylib | |
parent | 4b98ad659d2ff415fc48e3f1d3b4a6076861f0ca (diff) | |
download | tdebindings-03ae68d4191e4bbcda82846552ad8c65202b4347.tar.gz tdebindings-03ae68d4191e4bbcda82846552ad8c65202b4347.zip |
Rename KShared
Diffstat (limited to 'korundum/rubylib')
-rw-r--r-- | korundum/rubylib/examples/mimetype.rb | 4 | ||||
-rw-r--r-- | korundum/rubylib/examples/uimodules/uimisc.rb | 2 | ||||
-rw-r--r-- | korundum/rubylib/korundum/kdehandlers.cpp | 6 |
3 files changed, 6 insertions, 6 deletions
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<KService> *ptr = new KSharedPtr<KService>(*(KSharedPtr<KService>*)m->item().s_voidp); + TDESharedPtr<KService> *ptr = new TDESharedPtr<KService>(*(TDESharedPtr<KService>*)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<KService> *ptr = new KSharedPtr<KService>(*it); + TDESharedPtr<KService> *ptr = new TDESharedPtr<KService>(*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<KService> *ptr = new KSharedPtr<KService>(*it); + TDESharedPtr<KService> *ptr = new TDESharedPtr<KService>(*it); KService * currentOffer = ptr->data(); VALUE obj = getPointerObject(currentOffer); |