~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to kde/src/widgets/tips/tipcollection.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (C) 2012-2013 by Savoir-Faire Linux                         *
 
2
 *   Copyright (C) 2012-2014 by Savoir-Faire Linux                         *
3
3
 *   Author : Emmanuel Lepage Valle <emmanuel.lepage@savoirfairelinux.com >*
4
4
 *                                                                         *
5
5
 *   This program is free software; you can redistribute it and/or modify  *
18
18
#ifndef TIP_COLLECTION_H
19
19
#define TIP_COLLECTION_H
20
20
 
21
 
class DialPadTip;
 
21
#include <QtCore/QHash>
 
22
 
 
23
#include <canvasobjectmanager.h>
 
24
 
 
25
//Qt
 
26
class QWidget;
 
27
 
 
28
//SFLPhone
22
29
class Tip;
23
30
class TipManager;
24
31
class ConnectionLostTip;
26
33
 
27
34
class TipCollection {
28
35
public:
 
36
   //CanvasManager
 
37
   static Tip*       canvasObjectToTip(CanvasObjectManager::Object obj);
 
38
 
29
39
   //Tutorial mode
30
 
   static DialPadTip* dialPad    ();
 
40
   static Tip*        dialPad    ();
31
41
   static Tip*        conference ();
32
42
   static Tip*        dragAndDrop();
33
 
   
 
43
 
34
44
   //Call related
35
45
   static Tip*        endCall();
36
46
   static Tip*        endBusy();
37
 
   static Tip*        rigging();
38
 
   
 
47
   static Tip*        ringing();
 
48
   static Tip*        removeConference();
 
49
 
39
50
   //Account related
40
51
   static Tip*        connectionLost();
41
 
   
 
52
 
42
53
   //Network related
43
54
   static Tip*        networkLost();
44
 
   
 
55
 
45
56
   //Manager
46
57
   static TipManager* manager();
47
58
   static void setManager(TipManager* manager);
 
59
 
 
60
   //Widgets
 
61
   static QWidget*    canvasWidgetsToTip(CanvasObjectManager::Object obj);
 
62
 
48
63
private:
49
64
   //Tutorial mode
50
 
   static DialPadTip* m_spDialPad;
 
65
   static Tip* m_spDialPad;
51
66
   static ConfTip*    m_spConf   ;
52
 
   
 
67
 
53
68
   //Call related
54
69
   static Tip*        m_spEndCall;
55
70
   static Tip*        m_spEndBusy;
56
 
   static Tip*        m_spRigging;
57
 
   
 
71
   static Tip*        m_spRinging;
 
72
   static Tip*        m_spRemoveConference;
 
73
 
58
74
   //Account related
59
75
   static ConnectionLostTip* m_spConnectionLost;
60
 
   
 
76
 
61
77
   //Network related
62
78
   static Tip*        m_spNetworkLost;
63
 
   
 
79
 
64
80
   //Global manager
65
81
   static TipManager* m_spManager;
66
82
};