~ubuntu-branches/ubuntu/saucy/kopete/saucy-proposed

« back to all changes in this revision

Viewing changes to protocols/skype/skypeconference.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-06-21 02:22:39 UTC
  • Revision ID: package-import@ubuntu.com-20130621022239-63l3zc8p0nf26pt6
Tags: upstream-4.10.80
Import upstream version 4.10.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*  This file is part of the KDE project
 
2
    Copyright (C) 2005 Michal Vaner <michal.vaner@kdemail.net>
 
3
    Copyright (C) 2008-2009 Pali Rohár <pali.rohar@gmail.com>
 
4
 
 
5
    This library is free software; you can redistribute it and/or
 
6
    modify it under the terms of the GNU Library General Public
 
7
    License version 2 as published by the Free Software Foundation.
 
8
 
 
9
    This library is distributed in the hope that it will be useful,
 
10
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
    Library General Public License for more details.
 
13
 
 
14
    You should have received a copy of the GNU Library General Public License
 
15
    along with this library; see the file COPYING.LIB.  If not, write to
 
16
    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
17
    Boston, MA 02111-1307, USA.
 
18
 
 
19
*/
 
20
#ifndef SKYPECONFERENCE_H
 
21
#define SKYPECONFERENCE_H
 
22
 
 
23
#include <kdialog.h>
 
24
 
 
25
class SkypeConferencePrivate;
 
26
class SkypeCallDialog;
 
27
 
 
28
class QString;
 
29
 
 
30
/**
 
31
 * @author Michal Vaner
 
32
 * @author Pali Rohár
 
33
 * @short Dialog to group calls
 
34
 * This dialog can group calls that belongs
 
35
 */
 
36
class SkypeConference : public KDialog
 
37
{
 
38
        Q_OBJECT
 
39
        private:
 
40
                ///Here are stored the private things, just for better readibility
 
41
                SkypeConferencePrivate *d;
 
42
        protected:
 
43
                ///Make a suicide when closed
 
44
                virtual void closeEvent(QCloseEvent *e);
 
45
        public:
 
46
                /**
 
47
                 * Constructor, also shows itself
 
48
                 * @param id My ID
 
49
                 */
 
50
                SkypeConference(const QString &id);
 
51
                ///Destrucotr
 
52
                ~SkypeConference();
 
53
                /**
 
54
                 * Add a call to this group
 
55
                 * @param dialog What to add there
 
56
                 */
 
57
                void embedCall(SkypeCallDialog *dialog);
 
58
        signals:
 
59
                /**
 
60
                 * The conference is being removed right now
 
61
                 * @param conferenceId what conference
 
62
                 */
 
63
                void removeConference(const QString &conferenceId);
 
64
};
 
65
 
 
66
#endif