• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KWin

notifications.h

Go to the documentation of this file.
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 This program is free software; you can redistribute it and/or modify
00009 it under the terms of the GNU General Public License as published by
00010 the Free Software Foundation; either version 2 of the License, or
00011 (at your option) any later version.
00012 
00013 This program is distributed in the hope that it will be useful,
00014 but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 GNU General Public License for more details.
00017 
00018 You should have received a copy of the GNU General Public License
00019 along with this program.  If not, see <http://www.gnu.org/licenses/>.
00020 *********************************************************************/
00021 
00022 #ifndef KWIN_NOTIFICATIONS_H
00023 #define KWIN_NOTIFICATIONS_H
00024 
00025 #include <stdlib.h>
00026 #include <QString>
00027 #include <QList>
00028 
00029 namespace KWin
00030 {
00031 
00032 class Client;
00033 
00034 class Notify
00035     {
00036     public:
00037 
00038         enum Event 
00039             {
00040             Activate,
00041             Close,
00042             Minimize,
00043             UnMinimize,
00044             Maximize,
00045             UnMaximize,
00046             OnAllDesktops,
00047             NotOnAllDesktops,
00048             New,
00049             Delete,
00050             TransNew,
00051             TransDelete,
00052             ShadeUp,
00053             ShadeDown,
00054             MoveStart,
00055             MoveEnd,
00056             ResizeStart,
00057             ResizeEnd,
00058             DemandAttentionCurrent,
00059             DemandAttentionOther,
00060             DesktopChange = 100
00061             };
00062 
00063         static bool raise( Event, const QString& message = QString(), Client* c = NULL );
00064         static void sendPendingEvents();
00065     private:
00066         static QString eventToName( Event );
00067         struct EventData
00068             {
00069             QString event;
00070             QString message;
00071             long window;
00072             };
00073         static QList< EventData > pending_events;
00074     };
00075 
00076 } // namespace
00077 
00078 #endif

KWin

Skip menu "KWin"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal