An abstract handler for when data is dropped. More...
#include <klfguiutil.h>
Public Types | |
enum | OpenDataError { OpenDataOk = 0, OpenDataFailed = 1, OpenDataCantHandle = 2 } |
Public Member Functions | |
virtual bool | canOpenDropData (const QMimeData *data)=0 |
virtual int | openDropData (const QMimeData *data)=0 |
An abstract handler for when data is dropped.
Definition at line 526 of file klfguiutil.h.
OpenDataOk |
Opened the data Ok. |
OpenDataFailed |
Could handle data format, but failed to open (no further processing) |
OpenDataCantHandle |
Couldn't handle the given data. Try further processing. |
Definition at line 529 of file klfguiutil.h.
virtual bool KLFDropDataHandler::canOpenDropData | ( | const QMimeData * | data | ) | [pure virtual] |
virtual int KLFDropDataHandler::openDropData | ( | const QMimeData * | data | ) | [pure virtual] |
Should return one of OpenDataError codes