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

superkaramba

systemtray.h
00001 /*
00002  ***************************************************************************
00003     copyright (C) 2003      Adam Geitgey <adam@rootnode.org>
00004                   2003      Sven Leiber <s.leiber@web.de>
00005                   2000-2001 Matthias Ettrich <ettrich@kde.org>
00006                   2000-2001 Matthias Elter   <elter@kde.org>
00007                   2001      Carsten Pfeiffer <pfeiffer@kde.org>
00008                   2001      Martijn Klingens <mklingens@yahoo.com>
00009  ***************************************************************************
00010 
00011  ***************************************************************************
00012  *                                                                         *
00013  *   This program is free software; you can redistribute it and/or modify  *
00014  *   it under the terms of the GNU General Public License as published by  *
00015  *   the Free Software Foundation; either version 2 of the License, or     *
00016  *   (at your option) any later version.                                   *
00017  *                                                                         *
00018  ***************************************************************************
00019  */
00020 
00021 #ifndef TESTCARDAPPLET_H
00022 #define TESTCARDAPPLET_H
00023 
00024 #include <tqobject.h>
00025 #include <tqpixmap.h>
00026 #include <tqptrlist.h>
00027 #include <qxembed.h>
00028 
00029 class KWinModule;
00030 
00031 typedef long unsigned int Atom;
00032 
00033 
00034 class Systemtray : public TQWidget
00035 {
00036     Q_OBJECT
00037     TQ_OBJECT
00038 public:
00039     Systemtray(TQWidget* parent);
00040     ~Systemtray();
00041     
00042     void updateBackgroundPixmap ( const TQPixmap & );
00043 
00044     int getCurrentWindowCount();
00045 
00046     virtual void initSystray( void );
00047 
00048 public slots:
00049     void updateTrayWindows();
00050     int getTraySize();
00051     void systemTrayWindowAdded( WId w );
00052     void systemTrayWindowRemoved( WId w );
00053     void layoutSystray();
00054     
00055 signals:
00056     void updated();
00057 
00058 private:
00059     KWinModule *kwin_module;
00060     TQValueList<WId> systemTrayWindows;
00061 
00062     TQPtrList<QXEmbed> m_Wins;
00063 
00064     Atom net_system_tray_selection;
00065     Atom net_system_tray_opcode;
00066 
00067     int no_of_systray_windows;
00068 };
00069 
00070 #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.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |