kopete/libkopete
Kopete::AwayAction Class Reference
#include <kopeteawayaction.h>
Inheritance diagram for Kopete::AwayAction:

Detailed Description
Kopete::AwayAction is a KAction that lets you select an away message from the list of predefined away messages, or enter a custom one.
Definition at line 41 of file kopeteawayaction.h.
Signals | |
| void | awayMessageSelected (const QString &) |
| void | awayMessageSelected (const Kopete::OnlineStatus &, const Kopete::StatusMessage &) |
Public Member Functions | |
| AwayAction (const OnlineStatus &status, const QString &text, const QIcon &pix, const KShortcut &cut, QObject *parent, const QObject *receiver, const char *slot) | |
| ~AwayAction () | |
Constructor & Destructor Documentation
| Kopete::AwayAction::AwayAction | ( | const OnlineStatus & | status, | |
| const QString & | text, | |||
| const QIcon & | pix, | |||
| const KShortcut & | cut, | |||
| QObject * | parent, | |||
| const QObject * | receiver, | |||
| const char * | slot | |||
| ) |
Constructor.
- Parameters:
-
status the OnlineStatus that appears in the signal slot must have the following signature: ( const OnlineStatus &, const QString & ) text,pix,cut,receiverandslotare all handled by KSelectAction
Definition at line 43 of file kopeteawayaction.cpp.
| Kopete::AwayAction::~AwayAction | ( | ) |
Member Function Documentation
| void Kopete::AwayAction::awayMessageSelected | ( | const QString & | ) | [signal] |
Emits when the user selects an away message.
| void Kopete::AwayAction::awayMessageSelected | ( | const Kopete::OnlineStatus & | , | |
| const Kopete::StatusMessage & | ||||
| ) | [signal] |
same as above, but with the saved status
The documentation for this class was generated from the following files:
KDE 4.0 API Reference