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

kdeui

  • kdeui
kwindowlistmenu.h
1 /*****************************************************************
2 
3 Copyright (c) 2000 Matthias Elter <elter@kde.org>
4  Matthias Ettrich <ettrich@kde.org>
5 
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
12 
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15 
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 
23 ******************************************************************/
24 
25 #ifndef __kwindowlistmenu_h__
26 #define __kwindowlistmenu_h__
27 
28 #include <kpopupmenu.h>
29 #include <tqmap.h>
30 
31 #ifdef Q_MOC_RUN
32 #define Q_WS_X11
33 #endif // Q_MOC_RUN
34 
35 #ifdef Q_WS_X11 // not yet available for non-X11
36 
37 class KWinModule;
38 class KWindowListMenuPrivate;
39 
40 class KDEUI_EXPORT KWindowListMenu : public KPopupMenu
41 {
42  Q_OBJECT
43 
44 public:
45  KWindowListMenu( TQWidget *parent = 0, const char *name = 0 );
46  virtual ~KWindowListMenu();
47 
48  void init();
49 
50 public slots:
56  void selectActiveWindow();
57 
58 protected slots:
59  void slotExec(int id);
60  void slotUnclutterWindows();
61  void slotCascadeWindows();
62 
63 private:
64  KWinModule* kwin_module;
65  TQMap<int,WId> map;
66 protected:
67  virtual void virtual_hook( int id, void* data );
68 private:
69  KWindowListMenuPrivate *d;
70 };
71 
72 #endif // Q_WS_X11
73 
74 #endif
KPopupMenu
A menu with title items.
Definition: kpopupmenu.h:123
KWinModule

kdeui

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

kdeui

Skip menu "kdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.8.8
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |