• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

superkaramba

  • sources
  • kde-4.12
  • kdeutils
  • superkaramba
  • src
systemtray.h
Go to the documentation of this file.
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 SYSTEMTRAY_H
22 #define SYSTEMTRAY_H
23 
24 #include <qobject.h>
25 #include <qpixmap.h>
26 
27 #include <QList>
28 #include <QWidget>
29 
30 class KWinModule;
31 
32 typedef long unsigned int Atom;
33 
34 
35 class Systemtray : public QWidget
36 {
37  Q_OBJECT
38 public:
39  Systemtray(QWidget* parent);
40  ~Systemtray();
41 
42  void updateBackgroundPixmap(const QPixmap &);
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 *kwin_module;
60  QList<WId> systemTrayWindows;
61 
62  //QList<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 // SYSTEMTRAY_H
Systemtray::Systemtray
Systemtray(QWidget *parent)
Definition: systemtray.cpp:39
Systemtray::updateTrayWindows
void updateTrayWindows()
Definition: systemtray.cpp:146
Systemtray::systemTrayWindowAdded
void systemTrayWindowAdded(WId w)
Definition: systemtray.cpp:193
QWidget
Atom
long unsigned int Atom
Definition: systemtray.h:30
Systemtray::getTraySize
int getTraySize()
Definition: systemtray.cpp:50
Systemtray::initSystray
virtual void initSystray(void)
Definition: systemtray.cpp:78
Systemtray
Definition: systemtray.h:35
Systemtray::getCurrentWindowCount
int getCurrentWindowCount()
Definition: systemtray.cpp:222
Systemtray::updateBackgroundPixmap
void updateBackgroundPixmap(const QPixmap &)
Definition: systemtray.cpp:56
Systemtray::systemTrayWindowRemoved
void systemTrayWindowRemoved(WId w)
Definition: systemtray.cpp:215
Systemtray::~Systemtray
~Systemtray()
Definition: systemtray.cpp:44
Systemtray::layoutSystray
void layoutSystray()
Definition: systemtray.cpp:160
Systemtray::updated
void updated()
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

superkaramba

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal