1
/* ============================================================
2
* Author: Renchi Raju <renchi@pooh.tam.uiuc.edu>
6
* Copyright 2003 by Renchi Raju
8
* This program is free software; you can redistribute it
9
* and/or modify it under the terms of the GNU General
10
* Public License as published by the Free Software Foundation;
11
* either version 2, or (at your option)
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
19
* ============================================================ */
21
#ifndef CAMERADRAGOBJECT_H
22
#define CAMERADRAGOBJECT_H
24
#include <qdragobject.h>
31
class CameraDragObject : public QStoredDrag {
35
CameraDragObject(const CameraType& ctype,
36
QWidget* dragSource=0);
39
static bool canDecode(const QMimeSource* e);
40
static bool decode(const QMimeSource* e,
45
void setCameraType(const CameraType& ctype);