void DownloadView::on_itemClicked(QTreeWidgetItem * item, int column)
-{/*
+{
+ /*
qDebug() << "DownloadView::on_itemClicked(()" << item << "," << column;
qDebug() << "current item" << currentItem();
{
switch (status) {
case QTorrentHandle::QUEUED_FOR_CHECKING :
- return "Queued";
+ return tr("Queued");
case QTorrentHandle::CHECKING_FILES :
- return "Checking";
+ return tr("Checking");
case QTorrentHandle::DOWNLOADING_METADATA :
- return "DL meta";
+ return tr("DL meta");
case QTorrentHandle::DOWNLOADING :
- return "Downloading";
+ return tr("Downloading");
case QTorrentHandle::FINISHED :
- return "Finished";
+ return tr("Finished");
case QTorrentHandle::SEEDING :
- return "Seeding";
+ return tr("Seeding");
case QTorrentHandle::ALLOCATING :
- return "Allocating";
+ return tr("Allocating");
default:
- return "N/A";
+ return tr("N/A");
}
}
default:
return QColor();
}
-
}
\ No newline at end of file