~ubuntu-branches/ubuntu/intrepid/digikam/intrepid

« back to all changes in this revision

Viewing changes to digikam/digikam/cameradragobject.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2008-07-17 20:25:39 UTC
  • mfrom: (1.3.2 upstream) (37 hardy)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20080717202539-1bw3w3nrsso7yj4z
* New upstream release
  - digiKam 0.9.4 Release Plan (KDE3) ~ 13 July 08 (Closes: #490144)
* DEB_CONFIGURE_EXTRA_FLAGS := --without-included-sqlite3
* Debhelper compatibility level V7
* Install pixmaps in debian/*.install
* Add debian/digikam.lintian-overrides

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ============================================================
2
 
 * Author: Renchi Raju <renchi@pooh.tam.uiuc.edu>
3
 
 * Date  : 2003-02-18
4
 
 * Description : 
5
 
 * 
6
 
 * Copyright 2003 by Renchi Raju
7
 
 
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)
12
 
 * any later version.
13
 
 * 
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.
18
 
 * 
19
 
 * ============================================================ */
20
 
 
21
 
#ifndef CAMERADRAGOBJECT_H
22
 
#define CAMERADRAGOBJECT_H
23
 
 
24
 
#include <qdragobject.h>
25
 
 
26
 
class QMimeSource;
27
 
class QWidget;
28
 
 
29
 
class CameraType;
30
 
 
31
 
class CameraDragObject : public QStoredDrag {
32
 
 
33
 
public:
34
 
 
35
 
    CameraDragObject(const CameraType& ctype,
36
 
                     QWidget* dragSource=0);
37
 
    ~CameraDragObject();
38
 
 
39
 
    static bool canDecode(const QMimeSource* e);
40
 
    static bool decode(const QMimeSource* e,
41
 
                       CameraType& ctype);
42
 
 
43
 
private:
44
 
 
45
 
    void setCameraType(const CameraType& ctype);
46
 
 
47
 
};
48
 
 
49
 
 
50
 
#endif