18 #ifndef KRADIO_STATIONSELECTOR_H
19 #define KRADIO_STATIONSELECTOR_H
25 #include <QtCore/QStringList>
26 #include <QtGui/QWidget>
28 #include "radio_interfaces.h"
29 #include "stationselection_interfaces.h"
32 #include "radiostation-listview.h"
34 #ifdef KRADIO_ENABLE_FIXMES
35 #warning "konvert from k3listview to KListWidget"
39 class RadioStationListView;
40 class Ui_StationSelectorUI;
45 public IStationSelectionClient
52 bool connectI (Interface *i);
53 bool disconnectI (Interface *i);
57 bool noticeStationSelectionChanged(
const QStringList &sl);
73 void saveState (KConfigGroup &)
const;
74 void restoreState (KConfigGroup &);
80 void slotButtonToLeft();
81 void slotButtonToRight();
82 void slotMoveToRight(
const QStringList &list);
83 void slotMoveToLeft(
const QStringList &list);
95 QGridLayout *getGridLayout();
97 void moveItem (RadioStationListView *fromListView, QStringList &fromIDList,
98 Q3ListViewItem *item,
int fromIdx,
99 RadioStationListView *toListView, QStringList &toIDList);
101 void updateListViews();
104 QStringList m_stationIDsAvailable,
106 m_stationIDsNotDisplayed,