2
* This file Copyright (C) 2009 Charles Kerr <charles@transmissionbt.com>
4
* This file is licensed by the GPL version 2. Works owned by the
5
* Transmission project are granted a special exemption to clause 2(b)
6
* so that the bulk of its code can remain under the MIT license.
7
* This exemption does not extend to derived works not owned by
8
* the Transmission project.
13
#ifndef QTR_TORRENT_DELEGATE_MIN_H
14
#define QTR_TORRENT_DELEGATE_MIN_H
17
#include "torrent-delegate.h"
19
class QStyleOptionViewItem;
24
class TorrentDelegateMin: public TorrentDelegate
29
virtual QSize sizeHint( const QStyleOptionViewItem&, const Torrent& ) const;
30
void drawTorrent( QPainter* painter, const QStyleOptionViewItem& option, const Torrent& ) const;
33
explicit TorrentDelegateMin( QObject * parent=0 ): TorrentDelegate(parent) { }
34
virtual ~TorrentDelegateMin( ) { }