


	// ***** AUTOGENERATED CODE, DO NOT EDIT *****
    
        #ifndef RECMASHELLEVENTHANDLER_H
        #define RECMASHELLEVENTHANDLER_H

        #include <QScriptEngine>
        #include <QScriptValue>
        #include <QScriptContextInfo>
        #include <QDebug>

        
                #include "REventHandler.h"
            

        /**
         * \ingroup scripting_ecmaapi
         */
        class REcmaShellEventHandler : public REventHandler {

        public:
      
    // Destructor:
    
            ~REcmaShellEventHandler();
        static REventHandler* getSelf(const QString& fName, QScriptContext* context)
    ;static REcmaShellEventHandler* getSelfShell(const QString& fName, QScriptContext* context)
    ;
    
    
    // Constructors:
    
      REcmaShellEventHandler(
                QWidget * widget
        = NULL, RDocumentInterface * documentInterface
        = NULL
            );
        
    
    
      bool isUrl(
                const QString & urlString
            );
        
    
    
      QList < QUrl > getUrlsFromMimeData(
                QMimeData * mimeData
            );
        
    
    
      void drawInfoLabel(
                QPainter * painter, const RTextLabel & textLabel
            );
        
    
    
      void drawSnapLabel(
                QPainter * painter, const RVector & pos, const RVector & posRestriction, const QString & text
            );
        
    
    
      void dragEnter(
                QDragEnterEvent * event
            );
        
    
    
      void updateTextLabel(
                QPainter * painter, const RTextLabel & textLabel
            );
        
    
    
      void updateSnapInfo(
                QPainter * painter, RSnap * snap, RSnapRestriction * restriction
            );
        
    
    
      void viewportChanged(
                
            );
        
    
    
      void horizontalScrolled(
                double pos
            );
        
    
    
      void verticalScrolled(
                double pos
            );
        
    
  

    // protected methods (only available for ECMA shell classes) (generated by xsl2xpp.xsl):
	QScriptValue __qtscript_self;
            };
            Q_DECLARE_METATYPE(REcmaShellEventHandler*)
        
	#endif
    