summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib')
-rw-r--r--korundum/rubylib/examples/mimetype.rb2
-rw-r--r--korundum/rubylib/korundum/kdehandlers.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/korundum/rubylib/examples/mimetype.rb b/korundum/rubylib/examples/mimetype.rb
index e2860f0e..848b46cc 100644
--- a/korundum/rubylib/examples/mimetype.rb
+++ b/korundum/rubylib/examples/mimetype.rb
@@ -89,7 +89,7 @@ class OfferListTab < TQt::Widget
trader = KDE::Trader.self()
slist = trader.query("image/jpeg", "Type == 'Application'")
-# print "KTrader returned:" + slist
+# print "TDETrader returned:" + slist
slist.each do |s|
lvi = TQt::ListViewItem.new(lv, s.type(), s.name(), s.exec(), s.library())
end
diff --git a/korundum/rubylib/korundum/kdehandlers.cpp b/korundum/rubylib/korundum/kdehandlers.cpp
index d22adf53..632d5379 100644
--- a/korundum/rubylib/korundum/kdehandlers.cpp
+++ b/korundum/rubylib/korundum/kdehandlers.cpp
@@ -770,7 +770,7 @@ void marshall_KActionPtrList(Marshall *m) {
}
}
-void marshall_KTraderOfferList(Marshall *m) {
+void marshall_TDETraderOfferList(Marshall *m) {
switch(m->action()) {
case Marshall::FromVALUE:
{
@@ -778,7 +778,7 @@ void marshall_KTraderOfferList(Marshall *m) {
break;
case Marshall::ToVALUE:
{
- KTrader::OfferList *offerList = (KTrader::OfferList*)m->item().s_voidp;
+ TDETrader::OfferList *offerList = (TDETrader::OfferList*)m->item().s_voidp;
if(!offerList) {
*(m->var()) = Qnil;
break;
@@ -786,7 +786,7 @@ void marshall_KTraderOfferList(Marshall *m) {
VALUE av = rb_ary_new();
- for(KTrader::OfferList::Iterator it = offerList->begin();
+ for(TDETrader::OfferList::Iterator it = offerList->begin();
it != offerList->end();
++it) {
TDESharedPtr<KService> *ptr = new TDESharedPtr<KService>(*it);
@@ -1405,7 +1405,7 @@ TypeHandler KDE_handlers[] = {
{ "TQValueList<TDEConfigSkeleton::ItemEnum::Choice>&", marshall_ChoicesList },
#endif
{ "KServiceType::List", marshall_KServiceTypeList },
- { "KTrader::OfferList", marshall_KTraderOfferList },
+ { "TDETrader::OfferList", marshall_TDETraderOfferList },
{ "KURL::List", marshall_KURLList },
{ "KURL::List&", marshall_KURLList },
{ "KFileItemList", marshall_KFileItemList },