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

superkaramba

  • superkaramba
  • src
clickarea.h
1/*
2 * Copyright (C) 2003 Hans Karlsson <karlsson.h@home.se>
3 * Copyright (C) 2003-2004 Adam Geitgey <adam@rootnode.org>
4 * Copyright (c) 2005 Ryan Nickell <p0z3r@earthlink.net>
5 *
6 * This file is part of SuperKaramba.
7 *
8 * SuperKaramba is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * SuperKaramba is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with SuperKaramba; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 ****************************************************************************/
22#ifndef CLICKAREA_H
23#define CLICKAREA_H
24
25#include <tqstring.h>
26#include <tqrect.h>
27#include <tqevent.h>
28#include <tqregexp.h>
29
30#include <tdeprocess.h>
31#include <tdeprocio.h>
32#include <krun.h>
33
34#include <meter.h>
35#include "clickable.h"
40class ClickArea : public Meter
41{
42 TQ_OBJECT
43
44public:
45 ClickArea(karamba* k, int x, int y, int w, int h );
46
47 ~ClickArea();
48
49 virtual bool click( TQMouseEvent* );
50 void setOnClick( TQString );
51 void setServiceOnClick( TQString , TQString, TQString);
52 void setOnMiddleClick( TQString );
53
54
55 TQRect getRectangle();
56
57 void mUpdate( TQPainter* );
58 void setValue( long );
59 void setValue( TQString );
60
61 TQRect rect;
62 TQString onClick;
63 TQString svc_onClick;
64 TQString svc_name;
65 TQString svc_icon;
66 TQString onMiddleClick;
67 TQString value;
68};
69
70#endif
ClickArea
Hans Karlsson.
Definition: clickarea.h:41

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.9.4
This website is maintained by Timothy Pearson.