#ifndef CHANNEL_H #define CHANNEL_H #include "header.h" #include class MainWindow; class MyLabel; class QBuffer; class QHttp; class Channel:public QListView { Q_OBJECT /// public: Channel (QWidget * parent = 0, const char *name = 0, WFlags f = 0); ~Channel (); void toggleChannelSort (); void toggleNullChannel (); void switchChannelColor (int); int Max[N_COLUMNS]; void updateOpenState (); char stateopen[64]; protected: void mouseMoveEvent (QMouseEvent * e); private: MainWindow * mainwindow; QBuffer *bufchannel; QHttp *http; MyLabel *popup; private slots: /// void onListItemClicked (QListViewItem *); void onRightButtonClicked (QListViewItem *, const QPoint &, int); void onMouseMoved (QListViewItem *); void onDataReadProgress (int, int); void httpDone (bool error); public slots: //// void onButtonChannelToggled (bool); }; #endif