#include <radiostation-listview.h>
Signals | |
void | sigStationActivated (int idx) |
void | sigCurrentStationChanged (int idx) |
void | sigStationsReceived (const QStringList &stationIDs) |
Public Member Functions | |
RadioStationListView (QWidget *parent=0, const char *name=0) | |
virtual | ~RadioStationListView () |
QListViewItem * | getItemForIndex (int idx) const |
int | getIndexForItem (QListViewItem *) const |
void | setStation (int idx, const RadioStation &, int nr=-1) |
void | appendStation (const RadioStation &, int nr=-1) |
void | setStations (const StationList &) |
void | removeStation (int idx) |
void | takeItem (QListViewItem *item, int idx) |
void | insertItem (QListViewItem *item, const QString &stationid, int idx) |
void | setCurrentStation (int idx) |
int | currentStationIndex () const |
int | count () const |
void | saveState (KConfig *) const |
void | restoreState (KConfig *) |
Protected Slots | |
void | slotStationActivation (QListViewItem *) |
void | slotCurrentStationChanged (QListViewItem *) |
Protected Member Functions | |
QDragObject * | dragObject () |
void | dragEnterEvent (QDragEnterEvent *event) |
void | dropEvent (QDropEvent *event) |
void | contentsDragEnterEvent (QDragEnterEvent *event) |
void | contentsDragMoveEvent (QDragMoveEvent *event) |
void | contentsDropEvent (QDropEvent *event) |
Protected Attributes | |
QStringList | m_StationIDs |
Definition at line 31 of file radiostation-listview.h.
RadioStationListView::RadioStationListView | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
virtual RadioStationListView::~RadioStationListView | ( | ) | [virtual] |
void RadioStationListView::appendStation | ( | const RadioStation & | , | |
int | nr = -1 | |||
) |
void RadioStationListView::contentsDragEnterEvent | ( | QDragEnterEvent * | event | ) | [protected] |
void RadioStationListView::contentsDragMoveEvent | ( | QDragMoveEvent * | event | ) | [protected] |
void RadioStationListView::contentsDropEvent | ( | QDropEvent * | event | ) | [protected] |
int RadioStationListView::count | ( | ) | const [inline] |
Definition at line 52 of file radiostation-listview.h.
int RadioStationListView::currentStationIndex | ( | ) | const |
void RadioStationListView::dragEnterEvent | ( | QDragEnterEvent * | event | ) | [protected] |
QDragObject* RadioStationListView::dragObject | ( | ) | [protected] |
void RadioStationListView::dropEvent | ( | QDropEvent * | event | ) | [protected] |
int RadioStationListView::getIndexForItem | ( | QListViewItem * | ) | const |
QListViewItem* RadioStationListView::getItemForIndex | ( | int | idx | ) | const |
void RadioStationListView::insertItem | ( | QListViewItem * | item, | |
const QString & | stationid, | |||
int | idx | |||
) |
void RadioStationListView::removeStation | ( | int | idx | ) |
void RadioStationListView::restoreState | ( | KConfig * | ) |
void RadioStationListView::saveState | ( | KConfig * | ) | const |
void RadioStationListView::setCurrentStation | ( | int | idx | ) |
void RadioStationListView::setStation | ( | int | idx, | |
const RadioStation & | , | |||
int | nr = -1 | |||
) |
void RadioStationListView::setStations | ( | const StationList & | ) |
void RadioStationListView::sigCurrentStationChanged | ( | int | idx | ) | [signal] |
void RadioStationListView::sigStationActivated | ( | int | idx | ) | [signal] |
void RadioStationListView::sigStationsReceived | ( | const QStringList & | stationIDs | ) | [signal] |
void RadioStationListView::slotCurrentStationChanged | ( | QListViewItem * | ) | [protected, slot] |
void RadioStationListView::slotStationActivation | ( | QListViewItem * | ) | [protected, slot] |
void RadioStationListView::takeItem | ( | QListViewItem * | item, | |
int | idx | |||
) |
QStringList RadioStationListView::m_StationIDs [protected] |
Definition at line 79 of file radiostation-listview.h.