summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib')
-rw-r--r--korundum/rubylib/examples/mimetype.rb4
-rw-r--r--korundum/rubylib/examples/uimodules/uimisc.rb2
-rw-r--r--korundum/rubylib/korundum/kdehandlers.cpp6
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);