source: trunk/src/gui/kernel/qdnd_pm.cpp@ 284

Last change on this file since 284 was 107, checked in by Dmitry A. Kuminov, 16 years ago

configure.cmd: Added QT_NO_DRAGANDDROP (no DnD yet).

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Date Revision Author Id
File size: 3.5 KB
Line 
1/****************************************************************************
2**
3** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
4** Contact: Qt Software Information ([email protected])
5**
6** Copyright (C) 2009 netlabs.org. OS/2 parts.
7**
8** This file is part of the QtGui module of the Qt Toolkit.
9**
10** $QT_BEGIN_LICENSE:LGPL$
11** Commercial Usage
12** Licensees holding valid Qt Commercial licenses may use this file in
13** accordance with the Qt Commercial License Agreement provided with the
14** Software or, alternatively, in accordance with the terms contained in
15** a written agreement between you and Nokia.
16**
17** GNU Lesser General Public License Usage
18** Alternatively, this file may be used under the terms of the GNU Lesser
19** General Public License version 2.1 as published by the Free Software
20** Foundation and appearing in the file LICENSE.LGPL included in the
21** packaging of this file. Please review the following information to
22** ensure the GNU Lesser General Public License version 2.1 requirements
23** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24**
25** In addition, as a special exception, Nokia gives you certain
26** additional rights. These rights are described in the Nokia Qt LGPL
27** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
28** package.
29**
30** GNU General Public License Usage
31** Alternatively, this file may be used under the terms of the GNU
32** General Public License version 3.0 as published by the Free Software
33** Foundation and appearing in the file LICENSE.GPL included in the
34** packaging of this file. Please review the following information to
35** ensure the GNU General Public License version 3.0 requirements will be
36** met: http://www.gnu.org/copyleft/gpl.html.
37**
38** If you are unsure which license is appropriate for your use, please
39** contact the sales department at [email protected].
40** $QT_END_LICENSE$
41**
42****************************************************************************/
43
44#include "qapplication.h"
45
46#include "qapplication_p.h"
47#include "qevent.h"
48#include "qpainter.h"
49#include "qwidget.h"
50#include "qbuffer.h"
51#include "qdatastream.h"
52#include "qcursor.h"
53#include "qt_os2.h"
54#include "qdnd_p.h"
55#include "qdebug.h"
56
57QT_BEGIN_NAMESPACE
58
59#if !defined(QT_NO_DRAGANDDROP) && !defined(QT_NO_CLIPBOARD)
60
61//---------------------------------------------------------------------
62// QDropData
63//---------------------------------------------------------------------
64
65bool QDropData::hasFormat_sys(const QString &mimeType) const
66{
67 // @todo implement
68 return false;
69}
70
71QStringList QDropData::formats_sys() const
72{
73 QStringList fmts;
74 // @todo implement
75 return fmts;
76}
77
78QVariant QDropData::retrieveData_sys(const QString &mimeType, QVariant::Type type) const
79{
80 QVariant result;
81 // @todo implement
82 return result;
83}
84
85Qt::DropAction QDragManager::drag(QDrag *o)
86
87{
88#ifdef QDND_DEBUG
89 qDebug("QDragManager::drag(QDrag *drag)");
90#endif
91
92 // @todo implement
93 return Qt::IgnoreAction;
94}
95
96void QDragManager::cancel(bool /* deleteSource */)
97{
98 // @todo implement
99}
100
101void QDragManager::updatePixmap()
102{
103 // not used in PM implementation
104}
105
106bool QDragManager::eventFilter(QObject *, QEvent *)
107{
108 // not used in PM implementation
109 return false;
110}
111
112void QDragManager::timerEvent(QTimerEvent*)
113{
114 // not used in PM implementation
115}
116
117void QDragManager::move(const QPoint &)
118{
119 // not used in PM implementation
120}
121
122void QDragManager::drop()
123{
124 // not used in PM implementation
125}
126
127QT_END_NAMESPACE
128
129#endif // QT_NO_DRAGANDDROP
Note: See TracBrowser for help on using the repository browser.