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_IconPushButton_H
14
#define QTR_IconPushButton_H
16
#include <QPushButton>
20
class TrIconPushButton: public QPushButton
25
TrIconPushButton( QWidget * parent = 0 );
26
TrIconPushButton( const QIcon&, QWidget * parent = 0 );
27
virtual ~TrIconPushButton( ) { }
28
QSize sizeHint () const;
31
void paintEvent( QPaintEvent * event );
34
#endif // QTR_IconPushButton_H