~ubuntu-branches/ubuntu/feisty/k3b/feisty-backports

« back to all changes in this revision

Viewing changes to libk3b/tools/k3blistviewitemanimator.cpp

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2007-09-05 10:00:13 UTC
  • mfrom: (28.1.11 gutsy)
  • Revision ID: james.westby@ubuntu.com-20070905100013-h0ey1jtz2xvd8dq2
Tags: 1.0.3-0ubuntu3~feisty1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* 
 
1
/*
2
2
 *
3
 
 * $Id: k3blistviewitemanimator.cpp 619556 2007-01-03 17:38:12Z trueg $
 
3
 * $Id: k3blistviewitemanimator.cpp 689561 2007-07-18 15:19:38Z trueg $
4
4
 * Copyright (C) 2004 Sebastian Trueg <trueg@k3b.org>
5
5
 *
6
6
 * This file is part of the K3b project.
42
42
}
43
43
 
44
44
 
 
45
QListViewItem* K3bListViewItemAnimator::item() const
 
46
{
 
47
    return m_item;
 
48
}
 
49
 
 
50
 
45
51
void K3bListViewItemAnimator::init()
46
52
{
47
53
  m_item = 0;
109
115
    KPixmap pix( m_pixmap );
110
116
    m_item->setPixmap( m_column, KPixmapEffect::fade( pix, val, m_fadeColor ) );;
111
117
  }
112
 
  
 
118
 
113
119
  if( m_animationBack ) {
114
120
    --m_animationStep;
115
121
    if( m_animationStep < 0 ) {