• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • twin
 

twin

  • twin
notifications.h
1 /*****************************************************************
2  KWin - the KDE window manager
3  This file is part of the KDE project.
4 
5 Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
6 Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org>
7 
8 You can Freely distribute this program under the GNU General Public
9 License. See the file "COPYING" for the exact licensing terms.
10 ******************************************************************/
11 
12 #ifndef KWIN_NOTIFICATIONS_H
13 #define KWIN_NOTIFICATIONS_H
14 
15 #include <stdlib.h>
16 #include <tqstring.h>
17 #include <tqvaluelist.h>
18 
19 namespace KWinInternal
20 {
21 
22 class Client;
23 
24 class Notify
25  {
26  public:
27 
28  enum Event
29  {
30  Activate,
31  Close,
32  Minimize,
33  UnMinimize,
34  Maximize,
35  UnMaximize,
36  OnAllDesktops,
37  NotOnAllDesktops,
38  New,
39  Delete,
40  TransNew,
41  TransDelete,
42  ShadeUp,
43  ShadeDown,
44  MoveStart,
45  MoveEnd,
46  ResizeStart,
47  ResizeEnd,
48  DemandAttentionCurrent,
49  DemandAttentionOther,
50  DesktopChange = 100
51  };
52 
53  static bool raise( Event, const TQString& message = TQString::null, Client* c = NULL );
54  static bool makeDemandAttention( Event );
55  static void sendPendingEvents();
56  private:
57  static TQString eventToName( Event );
58  struct EventData
59  {
60  TQString event;
61  TQString message;
62  long window;
63  };
64  static TQValueList< EventData > pending_events;
65  };
66 
67 } // namespace
68 
69 #endif

twin

Skip menu "twin"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

twin

Skip menu "twin"
  • kate
  • libkonq
  • twin
  •   lib
Generated for twin by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.