~noskcaj/ubuntu/saucy/sflphone/merge-1.2.3-2

« back to all changes in this revision

Viewing changes to kde/src/lib/call.h

  • Committer: Jackson Doak
  • Date: 2013-07-10 21:04:46 UTC
  • mfrom: (20.1.3 sid)
  • Revision ID: noskcaj@ubuntu.com-20130710210446-y8f587vza807icr9
Properly merged from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/****************************************************************************
2
 
 *   Copyright (C) 2009 by Savoir-Faire Linux                               *
 
2
 *   Copyright (C) 2009-2013 by Savoir-Faire Linux                          *
3
3
 *   Author : Jérémy Quentin <jeremy.quentin@savoirfairelinux.com>          *
4
4
 *            Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> *
5
5
 *                                                                          *
24
24
//Qt
25
25
class QString;
26
26
class QDateTime;
27
 
class QLabel;
28
 
class QWidget;
29
27
 
30
28
//SFLPhone
31
29
#include "sflphone_const.h"
128
126
   
129
127
   //Getters
130
128
   call_state           getState            () const;
131
 
   const QString&       getCallId           () const;
132
 
   const QString&       getPeerPhoneNumber  () const;
133
 
   const QString&       getPeerName         () const;
 
129
   const QString        getCallId           () const;
 
130
   const QString        getPeerPhoneNumber  () const;
 
131
   const QString        getPeerName         () const;
134
132
   call_state           getCurrentState     () const;
135
133
   history_state        getHistoryState     () const;
136
134
   bool                 getRecording        () const;
142
140
   bool                 isSecure            () const;
143
141
   bool                 isConference        () const;
144
142
   bool                 isSelected          () const;
145
 
   const QString&       getConfId           () const;
146
 
   const QString&       getTransferNumber   () const;
147
 
   const QString&       getCallNumber       () const;
148
 
   const QString&       getRecordingPath    () const;
 
143
   const QString        getConfId           () const;
 
144
   const QString        getTransferNumber   () const;
 
145
   const QString        getCallNumber       () const;
 
146
   const QString        getRecordingPath    () const;
149
147
   const QString        toHumanStateName    () const;
150
148
   Contact*             getContact          ()      ;
151
149
   VideoRenderer*       getVideoRenderer    ()      ;
259
257
   QDateTime* setStartTime_private(QDateTime* time);
260
258
   QDateTime* setStopTime_private(QDateTime* time);
261
259
 
262
 
public slots:
 
260
public Q_SLOTS:
263
261
   void playRecording();
264
262
   void stopRecording();
265
263
   void seekRecording(double position);
266
264
 
267
 
private slots:
 
265
private Q_SLOTS:
268
266
   void stopPlayback(QString filePath);
269
267
   void updatePlayback(int position,int size);
270
268
   void contactBackendChanged();
271
269
 
272
 
signals:
 
270
Q_SIGNALS:
273
271
   ///Emitted when a call change (state or details)
274
272
   void changed();
 
273
   void changed(Call* self);
275
274
   ///Emitted when the call is over
276
275
   void isOver(Call*);
277
276
   void playbackPositionChanged(int,int);