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

kdeui

  • kdeui
kanimwidget.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2000 Kurt Granroth <granroth@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 #ifndef _KANIMWIDGET_H
19 #define _KANIMWIDGET_H
20 
21 #include <tqframe.h>
22 
23 #include <kdelibs_export.h>
24 
25 class TQStringList;
26 class TQPainter;
27 class TQMouseEvent;
28 
29 class KAnimWidgetPrivate;
55 class KDEUI_EXPORT KAnimWidget : public TQFrame
56 {
57  Q_OBJECT
58  Q_PROPERTY( int size READ size WRITE setSize )
59  Q_PROPERTY( TQString icons READ icons WRITE setIcons )
60 
61 public:
76  KAnimWidget( const TQString& icons, int size = 0,
77  TQWidget *parent = 0L, const char *name = 0L );
78 
82  virtual ~KAnimWidget();
83 
89  void setSize( int size );
90 
95  int size() const;
96 
101  TQString icons() const;
102 
109  void setIcons( const TQString& icons );
110 
111 public slots:
115  void start();
116 
120  void stop();
121 
122 signals:
123  void clicked();
124 
125 protected:
126  virtual void drawContents( TQPainter *p );
127  virtual void leaveEvent( TQEvent *e );
128  virtual void enterEvent( TQEvent *e );
129  virtual void hideEvent( TQHideEvent *e);
130  virtual void showEvent( TQShowEvent *e);
131  virtual void mousePressEvent( TQMouseEvent *e );
132  virtual void mouseReleaseEvent( TQMouseEvent *e );
133 
134 protected slots:
135  void slotTimerUpdate();
136  void updateIcons();
137 
138 protected:
139  virtual void virtual_hook( int id, void* data );
140 private:
141  KAnimWidgetPrivate *d;
142 };
143 
144 #endif // _KANIMWIDGET_H

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeui

Skip menu "kdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.8.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |