diff options
Diffstat (limited to 'twin/main.h')
-rw-r--r-- | twin/main.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/twin/main.h b/twin/main.h new file mode 100644 index 000000000..5ac38a61a --- /dev/null +++ b/twin/main.h @@ -0,0 +1,40 @@ +/***************************************************************** + KWin - the KDE window manager + This file is part of the KDE project. + +Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org> +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. +******************************************************************/ + +#ifndef MAIN_H +#define MAIN_H + +#include <kapplication.h> +#include "workspace.h" +#include "utils.h" + +namespace KWinInternal +{ + +class Application : public KApplication + { + Q_OBJECT + public: + Application(); + ~Application(); + + protected: + bool x11EventFilter( XEvent * ); + private slots: + void lostSelection(); + + private: + KWinSelectionOwner owner; + }; + +} // namespace + +#endif |