blob: 3aca9ec6ccbc75db4d67449877ccd4b13b207bcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef _BAGHIRALINKDRAG_H_
#define _BAGHIRALINKDRAG_H_
#include <qdragobject.h>
#include <qstring.h>
class BaghiraLinkDrag : public QDragObject
{
// Q_OBJECT
public:
BaghiraLinkDrag(QString title, QString command, QString icon, int index = -1, QWidget* dragSource = 0);
~BaghiraLinkDrag();
static bool decode( const QMimeSource * e, QString * title, QString * command, QString * icon, int * index);
static bool canDecode( const QMimeSource * e);
static void setAccepted( );
virtual const char * format ( int i = 0 ) const;
virtual QByteArray encodedData ( const char * ) const;
static bool accepted( );
private:
QByteArray a;
};
#endif
|