MvcCore/views/abstractview.h File Reference

#include "mvcbase.h"
#include <QPointer>
#include "viewevents.h"

Go to the source code of this file.

Classes

class  AbstractView
 The AbstractView class provides an abstract base for all views in the Model-View-Controller system. More...

Defines

#define DEFINE_CUSTOM_VIEWEVENT_HANDLER


Define Documentation

#define DEFINE_CUSTOM_VIEWEVENT_HANDLER

Value:

inline virtual void customEvent( QEvent* e ) {          \
    VEvent* ve = dynamic_cast<VEvent*>(e); /* slow :-( */       \
    if ( ve != 0 ) dispatchEvent(ve);                           \
  }


Generated on Mon Jul 30 09:46:50 2007 for Digest by  doxygen 1.5.2