[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Types | Public Member Functions
KLFDropDataHandler Class Reference

An abstract handler for when data is dropped. More...

#include <klfguiutil.h>

List of all members.

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

Detailed Description

An abstract handler for when data is dropped.

Definition at line 526 of file klfguiutil.h.


Member Enumeration Documentation

Enumerator:
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.


Member Function Documentation

virtual bool KLFDropDataHandler::canOpenDropData ( const QMimeData data) [pure virtual]
virtual int KLFDropDataHandler::openDropData ( const QMimeData data) [pure virtual]

Should return one of OpenDataError codes


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

Generated by doxygen 1.7.6.1. The KLatexFormula website is hosted on sourceforge.net