LeechCraft
0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
Toggle main menu visibility
Loading...
Searching...
No Matches
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
Interface for tabs supporting Drag'n'Drop on tab level.
Definition
idndtab.h:27
IDNDTab::FillMimeData
virtual void FillMimeData(QMimeData *data)=0
Called when this tab starts being dragged.
IDNDTab::~IDNDTab
virtual ~IDNDTab()
Definition
idndtab.h:29
IDNDTab::HandleDrop
virtual void HandleDrop(QDropEvent *event)=0
Called when something is dropped over this tab.
IDNDTab::HandleDragEnter
virtual void HandleDragEnter(QDragMoveEvent *event)=0
Called when something is being dragged over this tab.
src
interfaces
idndtab.h
Generated by
1.17.0