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

krfb

  • sources
  • kde-4.12
  • kdenetwork
  • krfb
  • krfb
invitationmanager.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2007 Alessandro Praduroux <pradu@pradu.it>
3 
4  This program is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 */
9 #ifndef INVITATIONMANAGER_H
10 #define INVITATIONMANAGER_H
11 
12 #include "invitation.h"
13 
14 #include <QtCore/QList>
15 #include <QtCore/QObject>
16 
17 class InvitationManagerPrivate;
21 class InvitationManager : public QObject
22 {
23  Q_OBJECT
24  friend class InvitationManagerPrivate;
25 public:
26  static InvitationManager *self();
27 
28  ~InvitationManager();
29 
30  Invitation addInvitation();
31 
32  int activeInvitations();
33 
34  void removeInvitation(const Invitation &inv);
35  void removeAllInvitations();
36 
37  const QList<Invitation> &invitations();
38 
39 signals:
40  void invitationNumChanged(int);
41 
42 public Q_SLOTS:
43 
44  void loadInvitations();
45  void saveInvitations();
46 
47 private:
48 
49  void invalidateOldInvitations();
50  InvitationManager();
51  static InvitationManager *_self;
52 
53  QList<Invitation> invitationList;
54 
55 
56 };
57 
58 #endif
InvitationManager::activeInvitations
int activeInvitations()
Definition: invitationmanager.cpp:112
InvitationManager::invitations
const QList< Invitation > & invitations()
Definition: invitationmanager.cpp:92
InvitationManager
Definition: invitationmanager.h:21
QObject
invitation.h
Invitation
Definition: invitation.h:29
InvitationManager::removeInvitation
void removeInvitation(const Invitation &inv)
Definition: invitationmanager.cpp:118
InvitationManager::saveInvitations
void saveInvitations()
Definition: invitationmanager.cpp:97
InvitationManager::InvitationManagerPrivate
friend class InvitationManagerPrivate
Definition: invitationmanager.h:24
InvitationManager::loadInvitations
void loadInvitations()
Definition: invitationmanager.cpp:60
InvitationManager::addInvitation
Invitation addInvitation()
Definition: invitationmanager.cpp:83
InvitationManager::invitationNumChanged
void invitationNumChanged(int)
InvitationManager::removeAllInvitations
void removeAllInvitations()
Definition: invitationmanager.cpp:125
InvitationManager::~InvitationManager
~InvitationManager()
Definition: invitationmanager.cpp:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

krfb

Skip menu "krfb"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • 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