summaryrefslogtreecommitdiffstats
path: root/src/komposesystray.h
blob: e5d34e37cc91fed34459fd7a8d82164f59fdddb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//
// C++ Interface: komposesystray
//
// Description:
//
//
// Author: Hans Oischinger <hans.oischinger@kde-mail.net>, (C) 2004
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef KOMPOSESYSTRAY_H
#define KOMPOSESYSTRAY_H

#include <ksystemtray.h>

#include <tqimage.h>

class TDEAction;
class TDEGlobalAccel;
class TDEPopupMenu;

/**
@author Hans Oischinger
*/
class KomposeSysTray : public KSystemTray
{
  Q_OBJECT
public:
  KomposeSysTray(TQWidget *parent = 0, const char *name = 0);
  ~KomposeSysTray();

  void currentDesktopChanged(int desktop);

protected:
  void mouseReleaseEvent (TQMouseEvent *);
  void mousePressEvent (TQMouseEvent *);

protected slots:
  void slotConfigChanged();

private:
  TDEPopupMenu *menu;
  TQImage icon;
};

#endif