MagicSmoke  $VERSION$
sclock.h
Go to the documentation of this file.
1 //
2 // C++ Interface: overview
3 //
4 // Description:
5 //
6 //
7 // Author: Konrad Rosenbaum <konrad@silmor.de>, (C) 2007-2011
8 //
9 // Copyright: See README/COPYING.GPL files that come with this distribution
10 //
11 //
12 
13 #ifndef MAGICSMOKE_SCLOCK_H
14 #define MAGICSMOKE_SCLOCK_H
15 
16 #include <QLabel>
17 
18 #include "commonexport.h"
19 
20 class QMenu;
21 class QAction;
22 
23 
25 {
26  Q_OBJECT
27  public:
28  MServerClock();
29  private slots:
30  void updateClock();
31  void contextMenu(const QPoint&);
32  void showInfo();
33  protected:
34  virtual void mouseDoubleClickEvent ( QMouseEvent * event );
35  private:
36  QMenu*contextmenu;
37  QAction*showfull,*showtime,*showdate,*showiso;
38 };
39 
40 #endif
#define MAGICSMOKE_COMMON_EXPORT
Definition: commonexport.h:7
Definition: sclock.h:24