• 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.12
  • kdenetwork
  • kopete
  • libkopete
  • private
kopeteutils_private.h
Go to the documentation of this file.
1 /*
2  Kopete Utils.
3 
4  Copyright (c) 2005 Duncan Mac-Vicar Prett <duncan@kde.org>
5 
6  Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org>
7 
8  *************************************************************************
9  * *
10  * This library is free software; you can redistribute it and/or *
11  * modify it under the terms of the GNU Lesser General Public *
12  * License as published by the Free Software Foundation; either *
13  * version 2 of the License, or (at your option) any later version. *
14  * *
15  *************************************************************************
16 */
17 
18 #ifndef KOPETE_UTILS_PRIVATE_H
19 #define KOPETE_UTILS_PRIVATE_H
20 
21 #include "qobject.h"
22 #include "qstring.h"
23 #include "qpixmap.h"
24 
25 class KNotification;
26 
27 namespace Kopete
28 {
29 
30 namespace Utils
31 {
32 
33 typedef struct
34 {
35  QString caption;
36  QString explanation;
37  QString debugInfo;
38 } ErrorNotificationInfo;
39 
40 class NotifyHelper : public QObject
41 {
42 Q_OBJECT
43 public:
44  static NotifyHelper* self();
45  void registerNotification(const KNotification* event, ErrorNotificationInfo error);
46  void unregisterNotification(const KNotification* event);
47 public slots:
48  void slotEventActivated(unsigned int action);
49  void slotEventClosed();
50 private:
51  NotifyHelper();
52  ~NotifyHelper();
53  QMap<const KNotification*, ErrorNotificationInfo> m_events;
54  static NotifyHelper *s_self;
55 };
56 
57 } // end ns Utils
58 } // end ns Kopete
59 
60 #endif
Kopete::Utils::NotifyHelper::slotEventClosed
void slotEventClosed()
Definition: kopeteutils_private.cpp:67
Kopete::Utils::NotifyHelper::slotEventActivated
void slotEventActivated(unsigned int action)
Definition: kopeteutils_private.cpp:52
Kopete::Utils::ErrorNotificationInfo::debugInfo
QString debugInfo
Definition: kopeteutils_private.h:37
QObject
Kopete::Utils::NotifyHelper::unregisterNotification
void unregisterNotification(const KNotification *event)
Definition: kopeteutils_private.cpp:79
Kopete::Utils::ErrorNotificationInfo::explanation
QString explanation
Definition: kopeteutils_private.h:36
Kopete::Utils::ErrorNotificationInfo
Definition: kopeteutils_private.h:33
Kopete::Utils::NotifyHelper
Definition: kopeteutils_private.h:40
Kopete::Utils::NotifyHelper::registerNotification
void registerNotification(const KNotification *event, ErrorNotificationInfo error)
Definition: kopeteutils_private.cpp:74
Kopete::Utils::ErrorNotificationInfo::caption
QString caption
Definition: kopeteutils_private.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:51 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