main.h
00001 /***************************************************************** 00002 KWin - the KDE window manager 00003 This file is part of the KDE project. 00004 00005 Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org> 00006 Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org> 00007 00008 You can Freely distribute this program under the GNU General Public 00009 License. See the file "COPYING" for the exact licensing terms. 00010 ******************************************************************/ 00011 00012 #ifndef MAIN_H 00013 #define MAIN_H 00014 00015 #include <tdeapplication.h> 00016 #include "workspace.h" 00017 #include "utils.h" 00018 00019 namespace KWinInternal 00020 { 00021 00022 class Application : public TDEApplication 00023 { 00024 Q_OBJECT 00025 public: 00026 Application(); 00027 ~Application(); 00028 00029 protected: 00030 bool x11EventFilter( XEvent * ); 00031 private slots: 00032 void lostSelection(); 00033 00034 private: 00035 KWinSelectionOwner owner; 00036 }; 00037 00038 } // namespace 00039 00040 #endif