mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32: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,
|
||||
SizeTotal,
|
||||
SizeProcessed,
|
||||
TimeTotal,
|
||||
TimeElapsed,
|
||||
Speed,
|
||||
Percent,
|
||||
InfoMessage,
|
||||
|
|
|
@ -52,16 +52,6 @@ QString ProgressListDelegate::Private::getSizeProcessed(const QModelIndex &index
|
|||
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
|
||||
{
|
||||
return index.model()->data(index, JobView::Speed).toString();
|
||||
|
|
|
@ -55,8 +55,6 @@ public:
|
|||
QString getIcon(const QModelIndex &index) const;
|
||||
QString getSizeTotal(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;
|
||||
int getPercent(const QModelIndex &index) const;
|
||||
QString getInfoMessage(const QModelIndex &index) const;
|
||||
|
|
|
@ -113,12 +113,6 @@ QVariant ProgressListModel::data(const QModelIndex &index, int role) const
|
|||
break;
|
||||
case JobView::SizeProcessed:
|
||||
result = jobView->sizeProcessed();
|
||||
break;
|
||||
case JobView::TimeTotal:
|
||||
|
||||
break;
|
||||
case JobView::TimeElapsed:
|
||||
|
||||
break;
|
||||
case JobView::Speed:
|
||||
result = jobView->speed();
|
||||
|
|
Loading…
Add table
Reference in a new issue