~ubuntu-branches/ubuntu/gutsy/kdebase-workspace/gutsy

« back to all changes in this revision

Viewing changes to kwin/clients/keramik/keramik.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-10-11 14:04:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071011140448-v0eb7lxbb24zagca
Tags: 3.94.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#ifndef __KERAMIK_H
25
25
#define __KERAMIK_H
26
26
 
27
 
#include <Q3Button>
 
27
#include <QAbstractButton>
28
28
#include <kdecoration.h>
29
29
#include <kdecorationfactory.h>
30
30
 
108
108
        }; // class KeramikHandler
109
109
 
110
110
        class KeramikClient;
111
 
        class KeramikButton : public Q3Button
 
111
        class KeramikButton : public QAbstractButton
112
112
        {
113
113
                public:
114
114
                        KeramikButton( KeramikClient *, const char *, Button, const QString &, const int realizeBtns = Qt::LeftButton );
121
121
                        void leaveEvent( QEvent * );
122
122
                        void mousePressEvent( QMouseEvent * );
123
123
                        void mouseReleaseEvent( QMouseEvent * );
124
 
                        void drawButton( QPainter * );
 
124
                        void paintEvent( QPaintEvent * );
125
125
 
126
126
                private:
127
127
                        KeramikClient *client;