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

tdeui

  • tdeui
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 <tdelibs_export.h>
24
25class TQStringList;
26class TQPainter;
27class TQMouseEvent;
28
29class KAnimWidgetPrivate;
55class TDEUI_EXPORT KAnimWidget : public TQFrame
56{
57 TQ_OBJECT
58 TQ_PROPERTY( int size READ size WRITE setSize )
59 TQ_PROPERTY( TQString icons READ icons WRITE setIcons )
60
61public:
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
111public slots:
115 void start();
116
120 void stop();
121
122signals:
123 void clicked();
124
125protected:
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
134protected slots:
135 void slotTimerUpdate();
136 void updateIcons();
137
138protected:
139 virtual void virtual_hook( int id, void* data );
140private:
141 KAnimWidgetPrivate *d;
142};
143
144#endif // _KANIMWIDGET_H
KAnimWidget
Standard "About KDE" dialog box.
Definition: kanimwidget.h:56

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.