1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : drag and drop camera management
9
* Copyright (C) 2003-2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
10
* Copyright (C) 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
12
* This program is free software; you can redistribute it
13
* and/or modify it under the terms of the GNU General
14
* Public License as published by the Free Software Foundation;
15
* either version 2, or (at your option)
18
* This program is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
23
* ============================================================ */
25
#ifndef CAMERADRAGOBJECT_H
26
#define CAMERADRAGOBJECT_H
30
#include <qdragobject.h>
40
class CameraDragObject : public QStoredDrag
45
CameraDragObject(const CameraType& ctype, QWidget* dragSource=0);
48
static bool canDecode(const QMimeSource* e);
49
static bool decode(const QMimeSource* e, CameraType& ctype);
53
void setCameraType(const CameraType& ctype);
57
} // namespace Digikam
59
#endif // CAMERADRAGOBJECT_H