~ubuntu-branches/ubuntu/saucy/kvirc/saucy-proposed

« back to all changes in this revision

Viewing changes to src/kvirc/kvs/object/KviKvsObject.cpp

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-05-18 19:36:33 UTC
  • mfrom: (24.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130518193633-d2caq4677ihxc93h
Tags: 4:4.2.0-2
Upload to unstable 

Show diffs side-by-side

added added

removed removed

Lines of Context:
373
373
 
374
374
                The above class is named "helloworld". It inherits the [class]object[/class] class.
375
375
                This means that it acquires all the [class]object[/class] functions: [classfnc:object]$name[/classfnc](),
376
 
                [classfnc:object]$class[/class](), [classfnc:object]$children[/classfnc]()...
 
376
                [classfnc:object]$class[/classfnc](), [classfnc:object]$children[/classfnc]()...
377
377
                Additionally, it has the $sayhello() function, that "echoes Hello world" to the console.
378
378
                Now you can create an instance of this class:
379
379
                [example]