4
#include <Plasma/Frame>
6
#include <QGraphicsLinearLayout>
7
#include <Plasma/Frame>
8
#include <plasma/theme.h>
9
#include <plasma/widgets/tabbar.h>
10
//#include <plasma/animations/animation.h>
11
#include <Plasma/ScrollWidget>
12
#include <Plasma/DataEngine>
13
#include <Plasma/ExtenderItem>
18
#include "ConferenceItem.h"
25
class MainWidget : public Plasma::Frame
30
void dataUpdated(const QString& source, const Plasma::DataEngine::Data &data);
34
QGraphicsLinearLayout* m_mainLayout;
35
QGraphicsLinearLayout* mainLayout();
36
Plasma::Frame* frmCalls;
37
Plasma::Frame* frmContact;
38
Plasma::Frame* frmHistory;
39
QGraphicsLinearLayout* callLayout;
40
QGraphicsLinearLayout* historyLayout;
41
QHash<QString, CallItem*> callWidgetList;
42
QHash<QString, ViewItem*> topLevelItems;
43
QHash<QString, CallItem*> historyWidgetList;
44
Plasma::ScrollWidget* callScrollArea;
45
Plasma::ScrollWidget* historyScrollArea;
46
Plasma::ScrollWidget* contactScrollArea;
47
Plasma::ScrollWidget* newScrollArea;
49
QString currentAccountId;
50
Plasma::TabBar* mainTabs;
54
void call(QString number);
57
void requierAttention();