23 #ifndef __WADSEEKERSITESTABLE_H__ 24 #define __WADSEEKERSITESTABLE_H__ 26 #include <QSignalMapper> 27 #include "gui/widgets/tablewidgetmouseaware.h" 34 static const int IDX_URL_COLUMN = 0;
35 static const int IDX_PROGRESS_COLUMN = 1;
36 static const int IDX_ABORT_COLUMN = 2;
40 void addUrl(
const QUrl& url);
41 void removeUrl(
const QUrl& url);
44 void addService(
const QString &service);
45 void removeService(
const QString &service);
46 void setUrlProgress(
const QUrl& url, qint64 current, qint64 total);
49 void serviceAbortRequested(
const QString &service);
50 void urlAbortRequested(
const QUrl &url);
53 void showEvent(QShowEvent* pEvent);
59 bool bAlreadyShownOnce;
60 QSignalMapper serviceAborter;
61 QSignalMapper urlAborter;
66 int findRow(
const QString &text);
67 int findRow(
const QUrl &url);
70 void requestUrlAbort(
const QString &urlAsString);