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

kopete/libkopete

  • Kopete
  • UI
  • AvatarWebcamDialog
Public Member Functions | Protected Slots | List of all members
Kopete::UI::AvatarWebcamDialog Class Reference

#include <avatarwebcamdialog.h>

Inheritance diagram for Kopete::UI::AvatarWebcamDialog:
Inheritance graph
[legend]

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();
}
Author
Alex Fiestas alex@.nosp@m.eyeo.nosp@m.s.org

Definition at line 48 of file avatarwebcamdialog.h.

Constructor & Destructor Documentation

Kopete::UI::AvatarWebcamDialog::AvatarWebcamDialog ( QWidget *  parent = 0)

Create a new AvatarFromWebcamDialog.

Parameters
parentParent widget

Definition at line 57 of file avatarwebcamdialog.cpp.

Kopete::UI::AvatarWebcamDialog::~AvatarWebcamDialog ( )
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.

void Kopete::UI::AvatarWebcamDialog::slotButtonClicked ( int  button)
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:
  • avatarwebcamdialog.h
  • avatarwebcamdialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal