Started work on the new RSS feed downloader (WIP)

This commit is contained in:
Christophe Dumez
2010-10-31 12:35:07 +00:00
parent a2c19302cb
commit 6b7af5b464
94 changed files with 8342 additions and 4909 deletions

View File

@@ -43,6 +43,7 @@ using namespace libtorrent;
class DownloadedPiecesBar: public QWidget {
Q_OBJECT
Q_DISABLE_COPY(DownloadedPiecesBar)
private:
QPixmap pixmap;

View File

@@ -54,6 +54,7 @@ class PropertiesWidget;
class PeerListWidget : public QTreeView {
Q_OBJECT
Q_DISABLE_COPY(PeerListWidget)
public:
PeerListWidget(PropertiesWidget *parent);

View File

@@ -42,6 +42,7 @@
class PieceAvailabilityBar: public QWidget {
Q_OBJECT
Q_DISABLE_COPY(PieceAvailabilityBar)
private:
QPixmap pixmap;

View File

@@ -52,6 +52,8 @@ class PropTabBar;
class PropertiesWidget : public QWidget, private Ui::PropertiesWidget {
Q_OBJECT
Q_DISABLE_COPY(PropertiesWidget)
public:
enum SlideState {REDUCED, VISIBLE};

View File

@@ -37,22 +37,23 @@ class QButtonGroup;
class PropTabBar : public QHBoxLayout
{
Q_OBJECT
Q_OBJECT
Q_DISABLE_COPY(PropTabBar)
public:
enum PropertyTab {MAIN_TAB, TRACKERS_TAB, PEERS_TAB, URLSEEDS_TAB, FILES_TAB};
public:
explicit PropTabBar(QWidget *parent = 0);
~PropTabBar();
int currentIndex() const;
explicit PropTabBar(QWidget *parent = 0);
~PropTabBar();
int currentIndex() const;
signals:
void tabChanged(int index);
void visibilityToggled(bool visible);
public slots:
void setCurrentIndex(int index);
void setCurrentIndex(int index);
private:
QButtonGroup *m_btnGroup;

View File

@@ -43,6 +43,7 @@ enum TrackerListColumn {COL_URL, COL_STATUS, COL_PEERS, COL_MSG};
class TrackerList: public QTreeWidget {
Q_OBJECT
Q_DISABLE_COPY(TrackerList)
private:
PropertiesWidget *properties;