• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • superkaramba
 

superkaramba

clickable.h

00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Ralph M. Churchill                              *
00003  *   mrchucho@yahoo.com                                                    *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 
00011 #ifndef CLICKABLE_H
00012 #define CLICKABLE_H
00013 
00014 #include <tqstring.h>
00015 #include <tqrect.h>
00016 #include <tqevent.h>
00017 
00018 
00023 class Clickable
00024 {
00025 public:
00026     Clickable(int x, int y, int w, int h );
00027 
00028     virtual ~Clickable();
00029 
00030     virtual void click( TQMouseEvent* ) = 0;
00031     /*
00032     void setOnClick( TQString );
00033     void setOnMiddleClick( TQString );
00034     */
00035 
00036     virtual TQRect getBoundingBox();
00037 
00038 protected:
00039     TQRect boundingBox;
00040     /*
00041     TQString onClick;
00042     TQString onMiddleClick;
00043     */
00044 };
00045 
00046 #endif

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

superkaramba

Skip menu "superkaramba"
  • kcalc
  •   knumber
  • superkaramba
Generated for superkaramba by doxygen 1.7.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |