summaryrefslogtreecommitdiffstats
path: root/src/komposesystray.h
blob: 0fa6923625002b8e9b609c5fbfcdc6f1f0914ef3 (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 KAction;
class KGlobalAccel;
class KPopupMenu;

/**
@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:
  KPopupMenu *menu;
  TQImage icon;
};

#endif