kwin/main.h

31 lines
638 B
C
Raw Normal View History

/*****************************************************************
kwin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/
#ifndef MAIN_H
#define MAIN_H
#include <kapp.h>
#include "workspace.h"
typedef QValueList<Workspace*> WorkspaceList;
class Application : public KApplication
{
public:
Application();
~Application();
void commitData( QSessionManager& sm );
void saveState( QSessionManager& sm );
protected:
bool x11EventFilter( XEvent * );
private:
WorkspaceList workspaces;
};
#endif