kopete/libkopete
Kopete::UI::AvatarWebcamDialog Class Reference
#include <avatarwebcamdialog.h>
Inheritance diagram for Kopete::UI::AvatarWebcamDialog:
Public Member Functions | |
AvatarWebcamDialog (QWidget *parent=0) | |
virtual | ~AvatarWebcamDialog () |
QPixmap & | getLastPixmap () |
Protected Slots | |
virtual void | slotButtonClicked (int button) |
Detailed Description
Dialog to get a pixmap from the webcam to be set as avatar.
Using AvatarFromWebcamDialog is very simple
Kopete::UI::AvatarFromWebcamDialog *dialog = new Kopete::UI::AvatarFromWebcamDialog();
int result = dialog->exec();
if( result == KDialog::Ok ) {
QPixmap pixmap = dialog->getLastPixmap();
}
Definition at line 48 of file avatarwebcamdialog.h.
Constructor & Destructor Documentation
Kopete::UI::AvatarWebcamDialog::AvatarWebcamDialog | ( | QWidget * | parent = 0 | ) |
Create a new AvatarFromWebcamDialog.
- Parameters
-
parent Parent widget
Definition at line 57 of file avatarwebcamdialog.cpp.
|
virtual |
Clean-up resource of AvatarFromWebcamDialog.
Definition at line 109 of file avatarwebcamdialog.cpp.
Member Function Documentation
QPixmap & Kopete::UI::AvatarWebcamDialog::getLastPixmap | ( | ) |
Return the last captured pixmap.
Definition at line 96 of file avatarwebcamdialog.cpp.
|
protectedvirtualslot |
A button has been clicked. Reimplemented from KDialog::slotButtonClicked()
Definition at line 101 of file avatarwebcamdialog.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.