mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
kuiserver: remove unused job view data types
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
2d712df4ad
commit
70982a944a
4 changed files with 0 additions and 20 deletions
|
@ -44,8 +44,6 @@ public:
|
||||||
Icon,
|
Icon,
|
||||||
SizeTotal,
|
SizeTotal,
|
||||||
SizeProcessed,
|
SizeProcessed,
|
||||||
TimeTotal,
|
|
||||||
TimeElapsed,
|
|
||||||
Speed,
|
Speed,
|
||||||
Percent,
|
Percent,
|
||||||
InfoMessage,
|
InfoMessage,
|
||||||
|
|
|
@ -52,16 +52,6 @@ QString ProgressListDelegate::Private::getSizeProcessed(const QModelIndex &index
|
||||||
return index.model()->data(index, JobView::SizeProcessed).toString();
|
return index.model()->data(index, JobView::SizeProcessed).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
qlonglong ProgressListDelegate::Private::getTimeTotal(const QModelIndex &index) const
|
|
||||||
{
|
|
||||||
return index.model()->data(index, JobView::TimeTotal).toLongLong();
|
|
||||||
}
|
|
||||||
|
|
||||||
qlonglong ProgressListDelegate::Private::getTimeProcessed(const QModelIndex &index) const
|
|
||||||
{
|
|
||||||
return index.model()->data(index, JobView::TimeElapsed).toLongLong();
|
|
||||||
}
|
|
||||||
|
|
||||||
QString ProgressListDelegate::Private::getSpeed(const QModelIndex &index) const
|
QString ProgressListDelegate::Private::getSpeed(const QModelIndex &index) const
|
||||||
{
|
{
|
||||||
return index.model()->data(index, JobView::Speed).toString();
|
return index.model()->data(index, JobView::Speed).toString();
|
||||||
|
|
|
@ -55,8 +55,6 @@ public:
|
||||||
QString getIcon(const QModelIndex &index) const;
|
QString getIcon(const QModelIndex &index) const;
|
||||||
QString getSizeTotal(const QModelIndex &index) const;
|
QString getSizeTotal(const QModelIndex &index) const;
|
||||||
QString getSizeProcessed(const QModelIndex &index) const;
|
QString getSizeProcessed(const QModelIndex &index) const;
|
||||||
qlonglong getTimeTotal(const QModelIndex &index) const;
|
|
||||||
qlonglong getTimeProcessed(const QModelIndex &index) const;
|
|
||||||
QString getSpeed(const QModelIndex &index) const;
|
QString getSpeed(const QModelIndex &index) const;
|
||||||
int getPercent(const QModelIndex &index) const;
|
int getPercent(const QModelIndex &index) const;
|
||||||
QString getInfoMessage(const QModelIndex &index) const;
|
QString getInfoMessage(const QModelIndex &index) const;
|
||||||
|
|
|
@ -113,12 +113,6 @@ QVariant ProgressListModel::data(const QModelIndex &index, int role) const
|
||||||
break;
|
break;
|
||||||
case JobView::SizeProcessed:
|
case JobView::SizeProcessed:
|
||||||
result = jobView->sizeProcessed();
|
result = jobView->sizeProcessed();
|
||||||
break;
|
|
||||||
case JobView::TimeTotal:
|
|
||||||
|
|
||||||
break;
|
|
||||||
case JobView::TimeElapsed:
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case JobView::Speed:
|
case JobView::Speed:
|
||||||
result = jobView->speed();
|
result = jobView->speed();
|
||||||
|
|
Loading…
Add table
Reference in a new issue