1999-08-19 23:26:42 +00:00
|
|
|
#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 );
|
1999-11-10 16:07:19 +00:00
|
|
|
void activeChange( bool );
|
1999-08-19 23:26:42 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
QToolButton* button[6];
|
|
|
|
QSpacerItem* titlebar;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|