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.
|
|
|
#ifndef _BAGHIRALINKDRAG_H_
|
|
|
|
#define _BAGHIRALINKDRAG_H_
|
|
|
|
|
|
|
|
#include <tqdragobject.h>
|
|
|
|
#include <tqstring.h>
|
|
|
|
|
|
|
|
class BaghiraLinkDrag : public TQDragObject
|
|
|
|
{
|
|
|
|
// Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
BaghiraLinkDrag(TQString title, TQString command, TQString icon, int index = -1, TQWidget* dragSource = 0);
|
|
|
|
~BaghiraLinkDrag();
|
|
|
|
static bool decode( const TQMimeSource * e, TQString * title, TQString * command, TQString * icon, int * index);
|
|
|
|
static bool canDecode( const TQMimeSource * e);
|
|
|
|
static void setAccepted( );
|
|
|
|
virtual const char * format ( int i = 0 ) const;
|
|
|
|
virtual TQByteArray encodedData ( const char * ) const;
|
|
|
|
static bool accepted( );
|
|
|
|
private:
|
|
|
|
TQByteArray a;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|