You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-style-baghira/starter/baghiralinkdrag.h

25 lines
678 B

#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