2000-03-24 22:23:02 +00:00
|
|
|
/*****************************************************************
|
|
|
|
kwin - the KDE window manager
|
|
|
|
|
|
|
|
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
|
|
|
|
******************************************************************/
|
1999-08-19 23:26:42 +00:00
|
|
|
#ifndef MAIN_H
|
|
|
|
#define MAIN_H
|
|
|
|
|
1999-11-01 23:41:44 +00:00
|
|
|
#include <kapp.h>
|
1999-08-19 23:26:42 +00:00
|
|
|
#include "workspace.h"
|
|
|
|
|
1999-11-01 23:41:44 +00:00
|
|
|
class Application : public KApplication
|
1999-08-19 23:26:42 +00:00
|
|
|
{
|
|
|
|
public:
|
2000-01-12 15:08:42 +00:00
|
|
|
Application();
|
1999-08-19 23:26:42 +00:00
|
|
|
~Application();
|
|
|
|
|
2000-03-24 22:23:02 +00:00
|
|
|
void commitData( QSessionManager& sm );
|
|
|
|
void saveState( QSessionManager& sm );
|
|
|
|
|
1999-08-19 23:26:42 +00:00
|
|
|
protected:
|
|
|
|
bool x11EventFilter( XEvent * );
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|