Go to the documentation of this file.00001
00002
00003
00004
00005
00008
00009 #ifndef lgrDropFileEvent_H_
00010 #define lgrDropFileEvent_H_
00011
00012 #include "lgrGui.h"
00013 #include <QtGui/QtEvents>
00014
00015 #include <vlutil/vlString.h>
00016
00017 struct tagMSG;
00018
00019 namespace MAKLogger
00020 {
00022 class DT_DLL_LGRGUI DtLgrDropFileEvent : public QEvent
00023 {
00024 public:
00025
00027 DtLgrDropFileEvent(const char* filename);
00028
00030 virtual ~DtLgrDropFileEvent();
00031
00033 const DtString& filename() const;
00034
00035 static bool winEventFilter(tagMSG *msg, long *result);
00036
00038 static void setDropEventHandler(QObject* object);
00039
00041 static QObject* dropEventHandler();
00042
00044 static const QEvent::Type theLgrAppEventId = (QEvent::Type)(QEvent::User + 100);
00045
00046 protected:
00047 DtString myFilename;
00048 static QObject* theEventHandler;
00049
00050 };
00051 }
00052
00053 #endif