37b09be6f3
started on a fixed system style. If you try it out make sure to read the new README, as it requires some gradient settings. svn path=/trunk/kdebase/kwin/; revision=30585
31 lines
629 B
C++
31 lines
629 B
C++
#ifndef STDCLIENT_H
|
|
#define STDCLIENT_H
|
|
#include "client.h"
|
|
class QToolButton;
|
|
class QLabel;
|
|
class QSpacerItem;
|
|
|
|
class StdClient : public Client
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
StdClient( Workspace *ws, WId w, QWidget *parent=0, const char *name=0 );
|
|
~StdClient();
|
|
protected:
|
|
void resizeEvent( QResizeEvent* );
|
|
void paintEvent( QPaintEvent* );
|
|
|
|
void mouseDoubleClickEvent( QMouseEvent * );
|
|
void init();
|
|
void captionChange( const QString& name );
|
|
void iconChange();
|
|
void maximizeChange( bool );
|
|
void stickyChange( bool );
|
|
|
|
private:
|
|
QToolButton* button[6];
|
|
QSpacerItem* titlebar;
|
|
};
|
|
|
|
|
|
#endif
|