• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDEUI

kanimatedbutton.h

Go to the documentation of this file.
00001 /* This file is part of the KDE libraries
00002    Copyright (C) 2000 Kurt Granroth <granroth@kde.org>
00003    Copyright (C) 2006 Hamish Rodda <rodda@kde.org>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License version 2 as published by the Free Software Foundation.
00008 
00009    This library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this library; see the file COPYING.LIB.  If not, write to
00016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017    Boston, MA 02110-1301, USA.
00018 */
00019 #ifndef KANIMATEDBUTTON_H
00020 #define KANIMATEDBUTTON_H
00021 
00022 #include <kdeui_export.h>
00023 #include <QtGui/QToolButton>
00024 
00038 class KDEUI_EXPORT KAnimatedButton : public QToolButton
00039 {
00040   Q_OBJECT
00041   Q_PROPERTY( QString icons READ icons WRITE setIcons )
00042 
00043 public:
00049   explicit KAnimatedButton(QWidget *parent = 0L);
00050 
00054   virtual ~KAnimatedButton();
00055 
00059   int iconDimensions() const;
00060 
00064   QString icons() const;
00065 
00072   void setIcons( const QString& icons );
00073 
00074 public Q_SLOTS:
00078   void start();
00079 
00083   void stop();
00084 
00091   void updateIcons();
00092 
00093 Q_SIGNALS:
00094   void clicked();
00095 
00096 protected Q_SLOTS:
00097   void slotTimerUpdate();
00098 
00099 private:
00100   class KAnimatedButtonPrivate *const d;
00101 
00102     Q_DISABLE_COPY(KAnimatedButton)
00103 };
00104 
00105 #endif //  KANIMATEDBUTTON_H

KDEUI

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal