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

« back to all changes in this revision

Viewing changes to kde/plasma/plasmoid/CallItem.h

  • Committer: Package Import Robot
  • Author(s): Francois Marier
  • Date: 2012-02-18 21:47:09 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120218214709-6362d71gqdsdkrj5
Tags: 1.0.2-1
* New upstream release
  - remove logging patch (applied upstream)
  - update s390 patch since it was partially applied upstream
* Include the Evolution plugin as a separate binary package

* Fix compilation issues on SH4 (closes: #658987)
* Merge Ubuntu's binutils-gold linking fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef PLASMOID_CALL_ITEM
 
2
#define PLASMOID_CALL_ITEM
 
3
 
 
4
#include <Plasma/Svg>
 
5
#include <QGraphicsGridLayout>
 
6
#include <Plasma/Frame>
 
7
#include "ViewItem.h"
 
8
 
 
9
class CallItem : public Plasma::Frame, public ViewItem
 
10
{
 
11
   Q_OBJECT
 
12
   public:
 
13
      CallItem();
 
14
      QString getCallId();
 
15
      void setCallId(QString _callId);
 
16
      bool isChanged();
 
17
      void setCallerName(QString value);
 
18
      void setCallerNumber(QString value);
 
19
      void setState(int state);
 
20
      void setDate(int date);
 
21
      ViewItem* parent();
 
22
      void setParent(ViewItem* parent);
 
23
      bool isConference()
 
24
      {
 
25
         return false;
 
26
      }
 
27
   private:
 
28
      Plasma::Frame* frmCallerName;
 
29
      Plasma::Frame* frmCallerNumber;
 
30
      Plasma::Frame* frmDate;
 
31
      Plasma::Frame* frmStateIcon;
 
32
      bool changed;
 
33
      QString callId;
 
34
      ViewItem* parentItem;
 
35
      QGraphicsGridLayout* mainLayout;
 
36
 
 
37
};
 
38
 
 
39
#endif