summaryrefslogtreecommitdiffstats
path: root/starter/baghiralinkdrag.h
blob: 23dc9c073d549ca56aea3e228264f825e3397ba7 (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 <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