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

kopete/libkopete

  • sources
  • kde-4.14
  • kdenetwork
  • kopete
  • libkopete
  • ui
webcamwidget.h
Go to the documentation of this file.
1 /*
2  webcamwidget.h - A simple widget for displaying webcam frames
3 
4  Copyright (c) 2006 by Gustavo Pichorim Boiko <gustavo.boiko@kdemail.net>
5  Kopete (c) 2002-2006 by the Kopete developers <kopete-devel@kde.org>
6 
7  *************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  *************************************************************************
15 */
16 
17 #ifndef WEBCAMWIDGET_H
18 #define WEBCAMWIDGET_H
19 
20 #include <qwidget.h>
21 #include <qpixmap.h>
22 #include <qstring.h>
23 
24 #include "kopete_export.h"
25 
26 namespace Kopete
27 {
31 class KOPETE_EXPORT WebcamWidget : public QWidget
32 {
33  Q_OBJECT
34 public:
39  WebcamWidget(QWidget* parent = 0);
40  ~WebcamWidget();
41 
46  void updatePixmap(const QPixmap& pixmap);
47 
51  void clear();
52 
57  void setText(const QString& text);
58 protected slots:
59  void paintEvent(QPaintEvent* event);
60 
61 private:
62  QPixmap mPixmap;
63  QString mText;
64 };
65 
66 } // end namespace Kopete
67 #endif
KOPETE_EXPORT
#define KOPETE_EXPORT
Definition: kopete_export.h:27
QWidget
kopete_export.h
QString
QPixmap
Kopete::WebcamWidget
A simple widget to display webcam frames.
Definition: webcamwidget.h:31
QPaintEvent
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