kopete/kopete
KAnimatedSystemTrayIcon Class Reference
#include <kanimatedsystemtrayicon.h>
Detailed Description
Definition at line 34 of file kanimatedsystemtrayicon.h.
Public Slots | |
| void | startMovie () |
| void | stopMovie () |
Public Member Functions | |
| KAnimatedSystemTrayIcon (QWidget *parent=0) | |
| KAnimatedSystemTrayIcon (const QString &movie, QWidget *parent=0) | |
| KAnimatedSystemTrayIcon (QMovie *movie, QWidget *parent=0) | |
| ~KAnimatedSystemTrayIcon () | |
| void | setMovie (QMovie *movie) |
| const QMovie * | movie () const |
| bool | isPlaying () const |
Constructor & Destructor Documentation
| KAnimatedSystemTrayIcon::KAnimatedSystemTrayIcon | ( | QWidget * | parent = 0 |
) | [explicit] |
Construct a system tray icon.
The parent widget parent has a special meaning: Besides owning the tray window, the parent widget will dissappear from taskbars when it is iconified while the tray window is visible. This is the desired behavior. After all, the tray window is the parent's taskbar icon.
Furthermore, the parent widget is shown or raised respectively when the user clicks on the tray window with the left mouse button.
Definition at line 44 of file kanimatedsystemtrayicon.cpp.
| KAnimatedSystemTrayIcon::KAnimatedSystemTrayIcon | ( | const QString & | movie, | |
| QWidget * | parent = 0 | |||
| ) | [explicit] |
Same as above but allows one to define the movie by name that should be used for the system tray icon.
Definition at line 50 of file kanimatedsystemtrayicon.cpp.
| KAnimatedSystemTrayIcon::KAnimatedSystemTrayIcon | ( | QMovie * | movie, | |
| QWidget * | parent = 0 | |||
| ) | [explicit] |
Same as above but allows one to define the movie by QMovie that should be used for the system tray icon.
Memory management for the movie will be handled by KAnimatedSystemTrayIcon.
Definition at line 57 of file kanimatedsystemtrayicon.cpp.
| KAnimatedSystemTrayIcon::~KAnimatedSystemTrayIcon | ( | ) |
Definition at line 64 of file kanimatedsystemtrayicon.cpp.
Member Function Documentation
| void KAnimatedSystemTrayIcon::setMovie | ( | QMovie * | movie | ) |
Set the movie to use.
To manipulate the movie (start, stop, pause), call
- See also:
- movie() and make calls on the QMovie* that it returns.
Definition at line 69 of file kanimatedsystemtrayicon.cpp.
| const QMovie * KAnimatedSystemTrayIcon::movie | ( | ) | const |
Get a pointer to the movie.
Use this pointer to manipulate the movie (start, stop, pause). Will return null if no movie has been set
Definition at line 75 of file kanimatedsystemtrayicon.cpp.
| bool KAnimatedSystemTrayIcon::isPlaying | ( | ) | const |
Is the movie playing?
- Returns:
- Whether or not the movie is playing.
Definition at line 96 of file kanimatedsystemtrayicon.cpp.
| void KAnimatedSystemTrayIcon::startMovie | ( | ) | [slot] |
Start the movie.
Will do nothing if no movie has been set.
Definition at line 80 of file kanimatedsystemtrayicon.cpp.
| void KAnimatedSystemTrayIcon::stopMovie | ( | ) | [slot] |
Stop the movie Will do nothing if no movie has been set.
Definition at line 89 of file kanimatedsystemtrayicon.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference