Main Page Class Hierarchy Compound List File List Compound Members File Members
KMoodWidget Class Reference
The emotion widget.
More...
#include <KMoodWidget.hh>
Inheritance diagram for KMoodWidget:
[legend]Collaboration diagram for KMoodWidget:
[legend]List of all members.
Detailed Description
The emotion widget.
The widget representing an emotion. This is the view/control part of the users emotions. It's used in the StatusBar applet and in the main window when showing mood of other users.
- Author:
-
Andreas Baumann <andreas_baumann@users.sourceforge.net>
- Version:
-
- ProjectMajorVersion:
-
0
Constructor & Destructor Documentation
| KMoodWidget::KMoodWidget |
( |
QWidget * |
parent = 0, |
|
|
const char * |
name = 0, |
|
|
KMood * |
mood = 0, |
|
|
bool |
changeable = false |
|
) |
|
|
| KMoodWidget::~KMoodWidget |
( |
|
) |
|
|
Member Function Documentation
| void KMoodWidget::adaptMenuTicks |
( |
|
) |
[protected] |
|
| void KMoodWidget::addEmotionsToMenu |
( |
|
) |
[protected] |
|
| QImage KMoodWidget::loadEmoticon |
( |
|
) |
[private] |
|
| QString KMoodWidget::mood2filename |
( |
KMood * |
mood |
) |
[private] |
|
| void KMoodWidget::mousePressEvent |
( |
QMouseEvent * |
e |
) |
[protected, virtual] |
|
| void KMoodWidget::paintEvent |
( |
QPaintEvent * |
e |
) |
[protected, virtual] |
|
| void KMoodWidget::renderEmoticon |
( |
|
) |
[protected, virtual] |
|
| void KMoodWidget::resizeEvent |
( |
QResizeEvent * |
e |
) |
[protected, virtual] |
|
| void KMoodWidget::setAge |
( |
int |
minutesAge |
) |
|
|
|
|
Sets the age of the emoticon. This is the set depending on how long the user didn't change the state of the emoticon. It is also used in the settings dialog to test the fading of the emoticons. - Parameters:
-
| minutes |
the age of the emoticon in minutes. |
|
| void KMoodWidget::setModel |
( |
KMood * |
mood |
) |
|
|
| void KMoodWidget::slotMoodChanged |
( |
KMood * |
mood |
) |
[protected, virtual, slot] |
|
Member Data Documentation
bool KMoodWidget::m_changeable [protected]
|
|
int KMoodWidget::m_minutesAge [protected]
|
|
KMood* KMoodWidget::m_mood [protected]
|
|
KPopupMenu* KMoodWidget::m_popup [protected]
|
|
The documentation for this class was generated from the following files:
Generated on Wed Oct 8 21:52:29 2003 for kmood by
1.2.18