~ubuntu-branches/ubuntu/intrepid/kdebluetooth/intrepid-proposed

« back to all changes in this revision

Viewing changes to kdebluetooth/kbtobexclient/dndfileview.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2008-08-07 09:49:47 UTC
  • mto: This revision was merged to the branch mainline in revision 56.
  • Revision ID: james.westby@ubuntu.com-20080807094947-pj6q3uxwuv7l844q
Tags: upstream-0.1
ImportĀ upstreamĀ versionĀ 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
                          dndfileview.h  -  description
3
 
                             -------------------
4
 
    begin                : Sat Sep 20 2003
5
 
    copyright            : (C) 2003 by Simone Gotti
6
 
                From the original version of Sebastian Trueg <trueg@k3b.org>
7
 
    email                : simone.gotti@email.it
8
 
 ***************************************************************************/
9
 
 
10
 
/***************************************************************************
11
 
 *                                                                         *
12
 
 *   This program is free software; you can redistribute it and/or modify  *
13
 
 *   it under the terms of the GNU General Public License as published by  *
14
 
 *   the Free Software Foundation; either version 2 of the License, or     *
15
 
 *   (at your option) any later version.                                   *
16
 
 *                                                                         *
17
 
 ***************************************************************************/
18
 
 
19
 
 
20
 
#ifndef DNDFILEVIEW_H
21
 
#define DNDFILEVIEW_H
22
 
 
23
 
#include <kfiledetailview.h>
24
 
#include <kfileiconview.h>
25
 
 
26
 
class QListViewItem;
27
 
class QIconViewItem;
28
 
 
29
 
 
30
 
/**
31
 
 * adds Drag'n'Drop support
32
 
  * @author Sebastian Trueg
33
 
  */
34
 
class DndFileDetailView : public KFileDetailView
35
 
{
36
 
  Q_OBJECT
37
 
 
38
 
 public: 
39
 
  DndFileDetailView( QWidget* parent, const char* name );
40
 
  ~DndFileDetailView();
41
 
 
42
 
 protected slots:
43
 
   void slotSelected( QListViewItem* item );
44
 
 
45
 
 protected:
46
 
  QDragObject* dragObject();
47
 
};
48
 
 
49
 
 
50
 
class DndFileIconView : public KFileIconView
51
 
{
52
 
  Q_OBJECT
53
 
 
54
 
 public:
55
 
  DndFileIconView( QWidget* parent = 0, const char* name = 0);
56
 
  ~DndFileIconView();
57
 
 
58
 
 protected slots:
59
 
   void slotSelected( QIconViewItem* item );
60
 
 
61
 
 protected:
62
 
  QDragObject* dragObject();
63
 
};
64
 
 
65
 
#endif