~paulbrianstewart/ubuntu/oneiric/tellico/852247-Formatting-Fix

« back to all changes in this revision

Viewing changes to src/core/drophandler.h

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2008-01-31 19:33:05 UTC
  • mfrom: (0.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20080131193305-9l01m5gfhykl6pkl
Tags: 1.3-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control: build-dep on kdepim-dev
  - debian/control: drop versioned python from tellico-data suggests
  - debian/rules: call dh_icons

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
    copyright            : (C) 2007 by Robby Stephenson
 
3
    email                : robby@periapsis.org
 
4
 ***************************************************************************/
 
5
 
 
6
/***************************************************************************
 
7
 *                                                                         *
 
8
 *   This program is free software; you can redistribute it and/or modify  *
 
9
 *   it under the terms of version 2 of the GNU General Public License as  *
 
10
 *   published by the Free Software Foundation;                            *
 
11
 *                                                                         *
 
12
 ***************************************************************************/
 
13
 
 
14
#ifndef TELLICO_DROPHANDLER_H
 
15
#define TELLICO_DROPHANDLER_H
 
16
 
 
17
#include <qobject.h>
 
18
#include <kurl.h>
 
19
 
 
20
namespace Tellico {
 
21
 
 
22
class DropHandler : public QObject {
 
23
Q_OBJECT
 
24
 
 
25
public:
 
26
  DropHandler(QObject* parent);
 
27
  ~DropHandler();
 
28
 
 
29
protected:
 
30
  bool eventFilter(QObject* object, QEvent* event);
 
31
 
 
32
private:
 
33
  bool dragEnter(QDragEnterEvent* event);
 
34
  bool drop(QDropEvent* event);
 
35
  bool handleURL(const KURL::List& urls);
 
36
};
 
37
 
 
38
}
 
39
#endif