VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dragObject.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
8 #pragma once
9 
11 
12 #include <QtCore/QMimeData>
13 #include <QtGui/QKeyEvent>
14 #include <QtGui/QDragMoveEvent>
15 
16 namespace makVrf
17 {
19  {
20  public:
21 
22  DtDragObject(const QString& entityId, QString drag = dragType());
23 
24  virtual ~DtDragObject();
25 
26  static bool canDecode ( QDragMoveEvent* event, QString drag = dragType() );
27 
28  static bool decode( QDropEvent* event, QString& id, QString drag = dragType());
29  static bool decode(QByteArray& rawData, QString& items);
30 
31  static QString dragType();
32  };
33 }
#define DT_DLL_VRFGUICOMMONQT
Definition: vrfGuiCommonQt.h:20
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
Definition: dragObject.h:18

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)