Main Page   Class Hierarchy   Compound List   File List   Compound Members  

qtvisionsystray.h

00001 /***************************************************************************
00002                           qtvisionsystray.h  -  description
00003                              -------------------
00004     begin                : Sun Jul 21 2002
00005     copyright            : (C) 2002 by Kevin Hessels
00006     email                : khessels@shaw.ca
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef __QTVISIONSYSTRAY_H
00019 #define __QTVISIONSYSTRAY_H
00020 
00021 #include <ksystemtray.h>
00022 
00023 class MainWindow;
00024 class KPopupMenu;
00025 class QtVisionActions;
00026 
00027 
00032 class QtVisionSysTray : public KSystemTray
00033 {
00034 
00035 Q_OBJECT
00036 
00037 public: 
00038         QtVisionSysTray(MainWindow *parent = 0, const char *name = 0, QtVisionActions *a = 0);
00039         ~QtVisionSysTray();
00040 
00041 protected:
00042         virtual void mouseDoubleClickEvent(QMouseEvent *);
00043         virtual void mousePressEvent(QMouseEvent *);
00044 #ifndef QT_NO_WHEELEVENT
00045         virtual void wheelEvent(QWheelEvent *);
00046 #endif
00047         
00048 private:
00049         QtVisionActions *actions;
00050         MainWindow *mainWin;
00051         KPopupMenu *menu;
00052 
00053 signals:
00054         void doubleClicked();
00055         void leftClicked();
00056 };
00057 
00058 #endif

Generated at Thu Jan 30 02:56:02 2003 for QtVision by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001