Wt::Object Class Reference

#include <object.h>

Inherited by Wt::Application, Wt::Layout, Wt::Timer, and Wt::Widget.

List of all members.

Public Types

typedef std::list< Object * > List

Public Member Functions

 Object (Object *parent=0, const std::string &name="Object::anon")
virtual ~Object ()
Objectparent () const
const Listchildren () const
Listchildren ()
bool isDescendant (const Object *p) const
virtual void insertChild (Object *obj)
virtual void removeChild (Object *obj)
void reparent (Object *new_parent)
template<typename T>
void deleteFirstChild ()
template<typename T>
void deleteLastChild ()
template<typename T>
void deleteAllChildren ()
ObjecttopParent () const
 returns top level parent: it may return itself
const std::string & name () const
void installEventFilter (const Object *filterObj)
void removeEventFilter (const Object *obj)
virtual bool eventFilter (Object *, Event *)
int startTimer (int interval)
void killTimer (int id)
void killTimers ()
virtual bool event (Event *e)
 event handling

Public Attributes

Signal01< void, const Object * > destroyed

Protected Member Functions

virtual void childEvent (ChildEvent *)
 event handling specialization
virtual void customEvent (CustomEvent *)
virtual void timerEvent (TimerEvent *)
bool filterEvent (Event *)

Member Typedef Documentation

typedef std::list<Object*> Wt::Object::List

Constructor & Destructor Documentation

Wt::Object::Object ( Object parent = 0,
const std::string &  name = "Object::anon" 

Wt::Object::~Object (  )  [virtual]

Member Function Documentation

virtual void Wt::Object::childEvent ( ChildEvent  )  [inline, protected, virtual]

event handling specialization

Reimplemented in Wt::Window::Frame.

List& Wt::Object::children (  )  [inline]

const List& Wt::Object::children (  )  const [inline]

virtual void Wt::Object::customEvent ( CustomEvent  )  [inline, protected, virtual]

template<typename T>
void Wt::Object::deleteAllChildren (  )  [inline]

template<typename T>
void Wt::Object::deleteFirstChild (  )  [inline]

template<typename T>
void Wt::Object::deleteLastChild (  )  [inline]

bool Wt::Object::event ( Event e  )  [virtual]

event handling

Reimplemented in Wt::Application, and Wt::Widget.

virtual bool Wt::Object::eventFilter ( Object ,
) [inline, virtual]

Reimplemented in Wt::Layout.

bool Wt::Object::filterEvent ( Event  )  [protected]

void Wt::Object::insertChild ( Object obj  )  [virtual]

void Wt::Object::installEventFilter ( const Object filterObj  ) 

bool Wt::Object::isDescendant ( const Object p  )  const

void Wt::Object::killTimer ( int  id  ) 

void Wt::Object::killTimers (  ) 

const std::string& Wt::Object::name (  )  const [inline]

Object* Wt::Object::parent (  )  const [inline]

void Wt::Object::removeChild ( Object obj  )  [virtual]

void Wt::Object::removeEventFilter ( const Object obj  ) 

void Wt::Object::reparent ( Object new_parent  ) 

int Wt::Object::startTimer ( int  interval  ) 

virtual void Wt::Object::timerEvent ( TimerEvent  )  [inline, protected, virtual]

Object * Wt::Object::topParent (  )  const

returns top level parent: it may return itself

Member Data Documentation

Signal01<void, const Object *> Wt::Object::destroyed


The documentation for this class was generated from the following files:

Generated Fri Jul 28 19:22:38 2006.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.