station-drag-object.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           station-drag-object.h  -  description
00003                              -------------------
00004     begin                : Sun Aug 28 2005
00005     copyright            : (C) 2005 by Martin Witte
00006     email                : witte@kawo1.rwth-aachen.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef KRADIO_STATION_DRAG_OBJECT_H
00019 #define KRADIO_STATION_DRAG_OBJECT_H
00020 
00021 #include <qdragobject.h>
00022 
00023 class StationDragObject : public QStoredDrag
00024 {
00025 public:
00026     StationDragObject(const QStringList &stationIDs, QWidget *dragSource = NULL, const char * name = NULL);
00027     StationDragObject(QWidget *dragSource = NULL, const char * name = NULL);
00028     virtual ~StationDragObject();
00029 
00030     const char *format(int i = 0) const;
00031 
00032     void setStations(const QStringList &stationIDs);
00033 
00034     static bool canDecode (const QMimeSource *e);
00035     static bool decode (const QMimeSource *e, QStringList &stationIDs);
00036 };
00037 
00038 #endif
00039 

Generated on Fri Jan 28 16:42:13 2011 for kradio by  doxygen 1.4.7