source: trunk/qt/triconpushbutton.h @ 14241

Last change on this file since 14241 was 14241, checked in by jordan, 9 years ago

Copyedit the license's revised text: (1) remove unnecessary repitition use of the word 'license' from the top of the header and source files (2) add the standard 'we hope it's useful, but no warranty' clause to COPYING (3) make explicit that linking OpenSSL is allowed (see https://people.gnome.org/~markmc/openssl-and-the-gpl.html for background) (4) sync the Qt and GTK+ clients' license popups with COPYING's revised text

  • Property svn:keywords set to Date Rev Author Id
File size: 604 bytes
Line 
1/*
2 * This file Copyright (C) 2009-2014 Mnemosyne LLC
3 *
4 * It may be used under the GNU GPL versions 2 or 3
5 * or any future license endorsed by Mnemosyne LLC.
6 *
7 * $Id: triconpushbutton.h 14241 2014-01-21 03:10:30Z jordan $
8 */
9
10#ifndef QTR_IconPushButton_H
11#define QTR_IconPushButton_H
12
13#include <QPushButton>
14
15class QIcon;
16
17class TrIconPushButton: public QPushButton
18{
19    Q_OBJECT
20
21  public:
22    TrIconPushButton (QWidget * parent = 0);
23    TrIconPushButton (const QIcon&, QWidget * parent = 0);
24    virtual ~TrIconPushButton () {}
25    QSize sizeHint () const;
26
27  protected:
28    void paintEvent (QPaintEvent * event);
29};
30
31#endif // QTR_IconPushButton_H
Note: See TracBrowser for help on using the repository browser.