1
/***************************************************************************
2
kstplotimagedrag.h: class for drag objects
5
copyright : (C) 2005 The University of Toronto
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
18
#ifndef KSTPLOTIMAGEDRAG_H
19
#define KSTPLOTIMAGEDRAG_H
22
#include "kstviewobject.h"
24
class KstPlotImageDrag : public KstDrag {
26
KstPlotImageDrag(QWidget *dragSource);
27
virtual ~KstPlotImageDrag();
29
virtual const char *format(int i = 0) const;
30
void setPlots(const KstViewObjectList& l);
31
virtual QByteArray encodedData(const char *mimeType) const;
32
virtual bool provides(const char *mimeType) const;
35
mutable KstViewObjectList _plots; // hmm, not sure if this is good
36
QStringList _mimeTypes;