~ubuntu-branches/ubuntu/saucy/minitube/saucy-proposed

« back to all changes in this revision

Viewing changes to src/refinesearchbutton.h

  • Committer: Package Import Robot
  • Author(s): Jakob Haufe
  • Date: 2012-09-29 02:43:53 UTC
  • mfrom: (2.1.10)
  • Revision ID: package-import@ubuntu.com-20120929024353-cvsvqeewq4p93pb4
Tags: 1.9-1
* New upstream version (Closes: #673696).
* Refresh disable-update-check.
* Refresh proper-tempfiles.
* Use hardening-wrapper.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef REFINESEARCHBUTTON_H
 
2
#define REFINESEARCHBUTTON_H
 
3
 
 
4
#include <QtGui>
 
5
 
 
6
class RefineSearchButton : public QPushButton
 
7
{
 
8
    Q_OBJECT
 
9
public:
 
10
    RefineSearchButton(QWidget *parent = 0);
 
11
 
 
12
protected:
 
13
    void paintEvent(QPaintEvent *);
 
14
    void enterEvent(QEvent *);
 
15
    void leaveEvent(QEvent *);
 
16
    
 
17
private:
 
18
    void paintBackground() const;
 
19
    bool hovered;
 
20
 
 
21
};
 
22
 
 
23
#endif // REFINESEARCHBUTTON_H