Back to index

salome-gui  6.5.0
Public Member Functions | Private Attributes
QtxPagePrefItem::Listener Class Reference
Inheritance diagram for QtxPagePrefItem::Listener:
Inheritance graph
[legend]
Collaboration diagram for QtxPagePrefItem::Listener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Listener (QtxPagePrefItem *)
virtual ~Listener ()
virtual bool eventFilter (QObject *, QEvent *)

Private Attributes

QtxPagePrefItemmyItem

Detailed Description

Definition at line 229 of file QtxPagePrefMgr.cxx.


Constructor & Destructor Documentation

Definition at line 241 of file QtxPagePrefMgr.cxx.

: QObject( 0 ),
  myItem( item )
{
}

Definition at line 247 of file QtxPagePrefMgr.cxx.

{
}

Member Function Documentation

bool QtxPagePrefItem::Listener::eventFilter ( QObject o,
QEvent *  e 
) [virtual]

Definition at line 251 of file QtxPagePrefMgr.cxx.

{
  if ( !myItem || myItem->widget() != o )
    return false;

  if ( e->type() == QEvent::Show || e->type() == QEvent::ShowToParent )
    myItem->widgetShown();
  if ( e->type() == QEvent::Hide || e->type() == QEvent::HideToParent )
    myItem->widgetHided();

  return false;
}

Member Data Documentation

Definition at line 238 of file QtxPagePrefMgr.cxx.


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