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

superkaramba

  • superkaramba
  • src
systemtray.h
1 /*
2  ***************************************************************************
3  copyright (C) 2003 Adam Geitgey <adam@rootnode.org>
4  2003 Sven Leiber <s.leiber@web.de>
5  2000-2001 Matthias Ettrich <ettrich@kde.org>
6  2000-2001 Matthias Elter <elter@kde.org>
7  2001 Carsten Pfeiffer <pfeiffer@kde.org>
8  2001 Martijn Klingens <mklingens@yahoo.com>
9  ***************************************************************************
10 
11  ***************************************************************************
12  * *
13  * This program is free software; you can redistribute it and/or modify *
14  * it under the terms of the GNU General Public License as published by *
15  * the Free Software Foundation; either version 2 of the License, or *
16  * (at your option) any later version. *
17  * *
18  ***************************************************************************
19  */
20 
21 #ifndef TESTCARDAPPLET_H
22 #define TESTCARDAPPLET_H
23 
24 #include <tqobject.h>
25 #include <tqpixmap.h>
26 #include <tqptrlist.h>
27 #include <qxembed.h>
28 
29 class KWinModule;
30 
31 typedef long unsigned int Atom;
32 
33 
34 class Systemtray : public TQWidget
35 {
36  TQ_OBJECT
37 
38 public:
39  Systemtray(TQWidget* parent);
40  ~Systemtray();
41 
42  void updateBackgroundPixmap ( const TQPixmap & );
43 
44  int getCurrentWindowCount();
45 
46  virtual void initSystray( void );
47 
48 public slots:
49  void updateTrayWindows();
50  int getTraySize();
51  void systemTrayWindowAdded( WId w );
52  void systemTrayWindowRemoved( WId w );
53  void layoutSystray();
54 
55 signals:
56  void updated();
57 
58 private:
59  KWinModule *twin_module;
60  TQValueList<WId> systemTrayWindows;
61 
62  TQPtrList<QXEmbed> m_Wins;
63 
64  Atom net_system_tray_selection;
65  Atom net_system_tray_opcode;
66 
67  int no_of_systray_windows;
68 };
69 
70 #endif

superkaramba

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

superkaramba

Skip menu "superkaramba"
  • kcalc
  •   knumber
  • superkaramba
Generated for superkaramba by doxygen 1.8.13
This website is maintained by Timothy Pearson.