• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/kopete

kanimatedsystemtrayicon.h

Go to the documentation of this file.
00001 /*
00002     kanimatedsystemtrayicon.cpp  -  System Tray Icon that can play movies
00003                     Designed for Kopete but usable anywhere
00004 
00005     Copyright (c) 2007      by Charles Connell <charles@connells.org>
00006 
00007     Kopete    (c) 2002-2007 by the Kopete developers  <kopete-devel@kde.org>
00008 
00009     *************************************************************************
00010     *                                                                       *
00011     * This program is free software; you can redistribute it and/or modify  *
00012     * it under the terms of the GNU General Public License as published by  *
00013     * the Free Software Foundation; either version 2 of the License, or     *
00014     * (at your option) any later version.                                   *
00015     *                                                                       *
00016     *************************************************************************
00017 */
00018 
00019 #ifndef KANIMATEDSYSTEMTRAYICON_H
00020 #define KANIMATEDSYSTEMTRAYICON_H
00021 
00022 #include <ksystemtrayicon.h>
00023 
00032 class QMovie;
00033 
00034 class KAnimatedSystemTrayIcon : public KSystemTrayIcon
00035 {
00036         Q_OBJECT
00037     public:
00038 
00052         explicit KAnimatedSystemTrayIcon ( QWidget* parent = 0 );
00053 
00058         explicit KAnimatedSystemTrayIcon ( const QString& movie, QWidget* parent = 0 );
00059 
00065         explicit KAnimatedSystemTrayIcon ( QMovie* movie, QWidget* parent = 0 );
00066 
00067 
00068         ~KAnimatedSystemTrayIcon();
00069         
00074         void setMovie (QMovie * movie);
00075         
00081         const QMovie * movie() const;
00082         
00087         bool isPlaying () const;
00088         
00089     public slots:
00094         void startMovie ();
00095         
00100         void stopMovie ();
00101         
00102     private slots:
00103         void slotNewFrame();
00104 
00105     private:
00106         class Private;
00107         KAnimatedSystemTrayIcon::Private* d;
00108 };
00109 
00110 #endif

kopete/kopete

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

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork 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