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

kopete/kopete

  • sources
  • kde-4.14
  • kdenetwork
  • kopete
  • kopete
kopeteidentitystatusbaricon.h
Go to the documentation of this file.
1 /*
2  kopeteidentitystatusbaricon.h - Kopete Identity StatusBar Dock Icon
3 
4  Copyright (c) 2007 by Gustavo Pichorim Boiko <gustavo.boiko@kdemail.net>
5  Copyright (c) 2001-2003 by Duncan Mac-Vicar Prett <duncan@kde.org>
6 
7  Kopete (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
8 
9  *************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  *************************************************************************
17 */
18 
19 #ifndef KOPETEIDENTITYSTATUSBARICON_H
20 #define KOPETEIDENTITYSTATUSBARICON_H
21 
22 #include <QEvent>
23 #include <QLabel>
24 #include <QPoint>
25 #include <QMouseEvent>
26 
27 namespace Kopete
28 {
29 class Identity;
30 class StatusRootAction;
31 }
32 
36 class KopeteIdentityStatusBarIcon : public QLabel
37 {
38  Q_OBJECT
39 
40 public:
44  KopeteIdentityStatusBarIcon( Kopete::Identity *identity, QWidget *parent );
45 
46 signals:
47  void leftClicked( Kopete::Identity *identity, const QPoint &p );
48 
49 protected:
50  virtual void mousePressEvent( QMouseEvent *me );
51 
52 private slots:
53  void updateMessage( Kopete::StatusRootAction *statusRootAction );
54 
55 private:
56  Kopete::Identity *m_identity;
57 };
58 
59 #endif
60 
61 // vim: set noet ts=4 sts=4 sw=4:
62 
QWidget
Kopete::StatusRootAction
Definition: kopetestatusrootaction.h:43
QPoint
QMouseEvent
KopeteIdentityStatusBarIcon::leftClicked
void leftClicked(Kopete::Identity *identity, const QPoint &p)
KopeteIdentityStatusBarIcon::KopeteIdentityStatusBarIcon
KopeteIdentityStatusBarIcon(Kopete::Identity *identity, QWidget *parent)
Create a statusbar icon.
Definition: kopeteidentitystatusbaricon.cpp:27
KopeteIdentityStatusBarIcon::mousePressEvent
virtual void mousePressEvent(QMouseEvent *me)
Definition: kopeteidentitystatusbaricon.cpp:38
QLabel
QObject::parent
QObject * parent() const
KopeteIdentityStatusBarIcon
Definition: kopeteidentitystatusbaricon.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/kopete

Skip menu "kopete/kopete"
  • 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