kdetrayproxy.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef _KDE_TRAY_PROXY_H_
00021
#define _KDE_TRAY_PROXY_H_
00022
00023
#include <qvaluelist.h>
00024
#include <kmanagerselection.h>
00025
#include <kwinmodule.h>
00026
#include <qwidget.h>
00027
00028
class KDETrayProxy
00029 :
public QWidget
00030 {
00031 Q_OBJECT
00032
public:
00033 KDETrayProxy();
00034
public slots:
00035
void windowAdded( WId );
00036
void newOwner( Window );
00037
protected:
00038
virtual bool x11Event( XEvent* );
00039
private:
00040
void dockWindow( Window w, Window owner );
00041
void withdrawWindow( Window w );
00042
static Atom makeSelectionAtom();
00043
KSelectionWatcher selection;
00044
KWinModule module;
00045
QValueList< Window > pending_windows;
00046
QValueList< Window > tray_windows;
00047
QMap< Window, unsigned long > docked_windows;
00048 };
00049
00050
#endif
This file is part of the documentation for kdeui Library Version 3.3.0.