station-drag-object.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef KRADIO_STATION_DRAG_OBJECT_H
00019 #define KRADIO_STATION_DRAG_OBJECT_H
00020
00021 #ifdef KRADIO_ENABLE_FIXMES
00022 #warning "Port drag&drop to QT4"
00023 #endif
00024 #include <Qt3Support/Q3DragObject>
00025
00026 #include <kdemacros.h>
00027
00028 class KDE_EXPORT StationDragObject : public Q3StoredDrag
00029 {
00030 public:
00031 StationDragObject(const QStringList &stationIDs, QWidget *dragSource = NULL, const char * name = NULL);
00032 StationDragObject(QWidget *dragSource = NULL, const char * name = NULL);
00033 virtual ~StationDragObject();
00034
00035 const char *format(int i = 0) const;
00036
00037 void setStations(const QStringList &stationIDs);
00038
00039 static bool canDecode (const QMimeSource *e);
00040 static bool decode (const QMimeSource *e, QStringList &stationIDs);
00041 };
00042
00043 #endif
00044