2000-03-24 22:23:02 +00:00
|
|
|
/*****************************************************************
|
2003-09-16 19:28:03 +00:00
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
|
|
|
|
2000-03-24 22:23:02 +00:00
|
|
|
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
|
2003-09-16 19:28:03 +00:00
|
|
|
Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org>
|
|
|
|
|
|
|
|
You can Freely distribute this program under the GNU General Public
|
|
|
|
License. See the file "COPYING" for the exact licensing terms.
|
2000-03-24 22:23:02 +00:00
|
|
|
******************************************************************/
|
2003-09-16 19:28:03 +00:00
|
|
|
|
1999-08-19 23:26:42 +00:00
|
|
|
#ifndef MAIN_H
|
|
|
|
#define MAIN_H
|
|
|
|
|
2002-05-14 09:31:40 +00:00
|
|
|
#include <kapplication.h>
|
1999-08-19 23:26:42 +00:00
|
|
|
#include "workspace.h"
|
2003-09-16 19:28:03 +00:00
|
|
|
#include "utils.h"
|
1999-08-19 23:26:42 +00:00
|
|
|
|
2007-04-05 12:07:35 +00:00
|
|
|
namespace KWin
|
2003-09-16 19:28:03 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
class Application : public KApplication
|
2003-01-24 15:39:52 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2003-09-16 19:28:03 +00:00
|
|
|
Application();
|
|
|
|
~Application();
|
|
|
|
|
2003-01-24 15:39:52 +00:00
|
|
|
protected:
|
2003-09-16 19:28:03 +00:00
|
|
|
bool x11EventFilter( XEvent * );
|
|
|
|
private slots:
|
|
|
|
void lostSelection();
|
2005-01-15 17:07:48 +00:00
|
|
|
|
2003-01-24 15:39:52 +00:00
|
|
|
private:
|
2003-09-16 19:28:03 +00:00
|
|
|
KWinSelectionOwner owner;
|
2003-01-24 15:39:52 +00:00
|
|
|
};
|
|
|
|
|
2003-09-16 19:28:03 +00:00
|
|
|
} // namespace
|
1999-08-19 23:26:42 +00:00
|
|
|
|
|
|
|
#endif
|