mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:31:16 -07:00
- removed old libvncserver, we will depend on external lib - removed krfb, srvloc, krfb_http subdirs, now everything is in krfb main dir instead svn path=/trunk/KDE/kdenetwork/krfb/; revision=649168
50 lines
920 B
C++
50 lines
920 B
C++
/* This file is part of the KDE project
|
|
Copyright (C) 2007 Alessandro Praduroux <pradu@pradu.it>
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public
|
|
License as published by the Free Software Foundation; version 2
|
|
of the License.
|
|
*/
|
|
#ifndef INVITATIONMANAGER_H
|
|
#define INVITATIONMANAGER_H
|
|
|
|
#include <QObject>
|
|
#include <QList>
|
|
#include "invitation.h"
|
|
|
|
|
|
class InvitationManager;
|
|
/**
|
|
@author Alessandro Praduroux <pradu@pradu.it>
|
|
*/
|
|
class InvitationManager : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
static InvitationManager *self();
|
|
|
|
~InvitationManager();
|
|
|
|
Invitation addInvitation();
|
|
|
|
signals:
|
|
void invitationNumChanged(int);
|
|
|
|
public Q_SLOTS:
|
|
|
|
void loadInvitations();
|
|
|
|
private:
|
|
|
|
void invalidateOldInvitations();
|
|
InvitationManager();
|
|
static InvitationManager *_self;
|
|
|
|
QList<Invitation> invitationList;
|
|
|
|
|
|
};
|
|
|
|
#endif
|