~ubuntu-branches/ubuntu/quantal/gwenview/quantal-proposed

« back to all changes in this revision

Viewing changes to app/splitter.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac, Philip Muškovac, Scott Kitterman
  • Date: 2011-12-24 18:54:55 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111224185455-zxffs6i6m5cwwuze
Tags: 4:4.7.95-0ubuntu1
[ Philip Muškovac ]
* New upstream release candiate

[ Scott Kitterman ]
* Fix Ubuntu Vcs- header in debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
{
32
32
public:
33
33
    SplitterHandle(Qt::Orientation orientation, QSplitter* parent)
34
 
        : QSplitterHandle(orientation, parent) {}
 
34
        : QSplitterHandle(orientation, parent)
 
35
        {}
35
36
 
36
37
protected:
37
 
    virtual void paintEvent(QPaintEvent* event) {
 
38
    virtual void paintEvent(QPaintEvent* event)
 
39
    {
38
40
        QSplitterHandle::paintEvent(event);
39
41
 
40
42
        QPainter painter(this);
57
59
{
58
60
public:
59
61
    Splitter(Qt::Orientation orientation, QWidget* parent)
60
 
        : QSplitter(orientation, parent) {
 
62
        : QSplitter(orientation, parent)
 
63
        {
61
64
        setHandleWidth(handleWidth() + 2);
62
65
    }
63
66
 
64
67
protected:
65
 
    virtual QSplitterHandle* createHandle() {
 
68
    virtual QSplitterHandle* createHandle()
 
69
    {
66
70
        return new SplitterHandle(orientation(), this);
67
71
    }
68
72
};