LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
idndtab.h
Go to the documentation of this file.
1 /**********************************************************************
2  * LeechCraft - modular cross-platform feature rich internet client.
3  * Copyright (C) 2006-2014 Georg Rudoy
4  *
5  * Distributed under the Boost Software License, Version 1.0.
6  * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7  **********************************************************************/
8 
9 #pragma once
10 
11 #include <QtPlugin>
12 
13 class QDropEvent;
14 class QDragMoveEvent;
15 class QMimeData;
16 
26 class Q_DECL_EXPORT IDNDTab
27 {
28 public:
29  virtual ~IDNDTab () {}
30 
38  virtual void FillMimeData (QMimeData *data) = 0;
39 
53  virtual void HandleDragEnter (QDragMoveEvent *event) = 0;
54 
65  virtual void HandleDrop (QDropEvent *event) = 0;
66 };
67 
68 Q_DECLARE_INTERFACE (IDNDTab, "org.Deviant.LeechCraft.IDNDTab/1.0")
IDNDTab::~IDNDTab
virtual ~IDNDTab()
Definition: idndtab.h:29
IDNDTab
Interface for tabs supporting Drag'n'Drop on tab level.
Definition: idndtab.h:26