VR-Forces 4.2 Class Documentation
dragObject.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999-2002 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: dragObject.h,v $ $Revision: 1.4 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DRAGOBJECT_H_
13 #define DRAGOBJECT_H_
14 
15 #include <QtCore/QMimeData>
16 #include <QtGui/QKeyEvent>
17 #include <QtGui/QDragMoveEvent>
18 
19 #include "tmqt/tmqtDefines.h"
21 {
22 Q_OBJECT
23 
24 public:
25 
26  DtDragObject(const QString& entityId, QString drag = dragType());
27 
28  virtual ~DtDragObject();
29 
30  static bool canDecode ( QDragMoveEvent* event, QString drag = dragType() );
31 
32  static bool decode( QDropEvent* event, QString& id, QString drag = dragType());
33  static bool decode(QByteArray& rawData, QString& items);
34 
35  static QString dragType();
36 };
37 
38 #endif //DRAGOBJECT_H_

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)