diff options
Diffstat (limited to 'korundum/rubylib/examples')
-rw-r--r-- | korundum/rubylib/examples/kludgeror.rb | 2 | ||||
-rw-r--r-- | korundum/rubylib/examples/rbTDEHTMLPart.rb (renamed from korundum/rubylib/examples/rbKHTMLPart.rb) | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/korundum/rubylib/examples/kludgeror.rb b/korundum/rubylib/examples/kludgeror.rb index 35a42d7e..ae6db564 100644 --- a/korundum/rubylib/examples/kludgeror.rb +++ b/korundum/rubylib/examples/kludgeror.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby # A tquick and dirty web browser demonstrating the direct instantiation -# of a KHTML part. Needless to say: this is NOT a programming paragon :) +# of a TDEHTML part. Needless to say: this is NOT a programming paragon :) # -- gg. # AK - ported to ruby diff --git a/korundum/rubylib/examples/rbKHTMLPart.rb b/korundum/rubylib/examples/rbTDEHTMLPart.rb index f0451610..827dc157 100644 --- a/korundum/rubylib/examples/rbKHTMLPart.rb +++ b/korundum/rubylib/examples/rbTDEHTMLPart.rb @@ -9,7 +9,7 @@ This is a ruby version of Jim Bublitz's pytde program, translated by Richard Dal =begin This is an extemely simple and crude example of using -a KHTMLPart - I put it together mostly to make sure +a TDEHTMLPart - I put it together mostly to make sure the openURL method worked correctly after some modifications done in KParts::ReadOnlyPart. It took exactly four lines added to a basic Korundum app framework to display a URL @@ -37,7 +37,7 @@ NOTE!!! For this to work, you (obviously) need to have a route to the internet established or specify a local URL - PyKDE/KDE will take care of everything else. -Perceptive users will notice the KHTMLPart code is +Perceptive users will notice the TDEHTMLPart code is lifted from the KDE classref. =end @@ -92,7 +92,7 @@ class RbPartsMW < KParts::MainWindow w.view().setGeometry(30, 55, 500, 400) -# self.v = KHTMLView (self.w, self) +# self.v = TDEHTMLView (self.w, self) # self.setCentralWidget (self.v) @@ -181,12 +181,12 @@ end #------------- main ---------------------------- # A Human readable description of your program -description = "KHTMLPart - simple example" +description = "TDEHTMLPart - simple example" # The version version = "0.1" # stuff for the "About" menu -aboutData = KDE::AboutData.new("rbKHTMLPart", "rbHTMLPart", +aboutData = KDE::AboutData.new("rbTDEHTMLPart", "rbHTMLPart", version, description, KDE::AboutData::License_GPL, "(c) 2002, Jim Bublitz") |