summaryrefslogtreecommitdiffstats
path: root/kradio3/src/include/radiostation-listview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/src/include/radiostation-listview.h')
-rw-r--r--kradio3/src/include/radiostation-listview.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/kradio3/src/include/radiostation-listview.h b/kradio3/src/include/radiostation-listview.h
index 1f3fb6a..43bf535 100644
--- a/kradio3/src/include/radiostation-listview.h
+++ b/kradio3/src/include/radiostation-listview.h
@@ -31,20 +31,21 @@ class StationList;
class RadioStationListView : public KListView
{
Q_OBJECT
+ TQ_OBJECT
public:
- RadioStationListView(QWidget *parent=0, const char *name=0);
+ RadioStationListView(TQWidget *tqparent=0, const char *name=0);
virtual ~RadioStationListView();
- QListViewItem *getItemForIndex(int idx) const;
- int getIndexForItem(QListViewItem *) const;
+ TQListViewItem *getItemForIndex(int idx) const;
+ int getIndexForItem(TQListViewItem *) 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 takeItem(TQListViewItem *item, int idx);
+ void insertItem(TQListViewItem *item, const TQString &stationid, int idx);
void setCurrentStation(int idx);
int currentStationIndex() const;
@@ -57,26 +58,26 @@ public:
protected:
- QDragObject *dragObject();
- void dragEnterEvent(QDragEnterEvent* event);
- void dropEvent(QDropEvent* event);
- void contentsDragEnterEvent(QDragEnterEvent* event);
- void contentsDragMoveEvent(QDragMoveEvent* event);
- void contentsDropEvent(QDropEvent* event);
+ TQDragObject *dragObject();
+ void dragEnterEvent(TQDragEnterEvent* event);
+ void dropEvent(TQDropEvent* event);
+ void contentsDragEnterEvent(TQDragEnterEvent* event);
+ void contentsDragMoveEvent(TQDragMoveEvent* event);
+ void contentsDropEvent(TQDropEvent* event);
protected slots:
- void slotStationActivation(QListViewItem *);
- void slotCurrentStationChanged(QListViewItem *);
+ void slotStationActivation(TQListViewItem *);
+ void slotCurrentStationChanged(TQListViewItem *);
signals:
void sigStationActivated(int idx);
void sigCurrentStationChanged(int idx);
- void sigStationsReceived(const QStringList &stationIDs);
+ void sigStationsReceived(const TQStringList &stationIDs);
protected:
- QStringList m_StationIDs;
+ TQStringList m_StationIDs;
};