phoneuis/bubblemanager2/bubblecore/src/bubblehandler.cpp
changeset 37 ba76fc04e6c2
child 51 f39ed5e045e0
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     1 /*!
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Base class for bubble handlers.
       
    15 *
       
    16 */
       
    17 
       
    18 #include <QtGui>
       
    19 #include "bubblehandler.h"
       
    20 #include "bubbleheader.h"
       
    21 
       
    22 BubbleHandler::BubbleHandler(
       
    23     BubbleWidgetManager& widgetManager,
       
    24     BubbleWidgetManager::View view,
       
    25     BubbleWidgetManager::Container container,
       
    26     QObject* parent )
       
    27     : QObject( parent ), mWidgetManager(widgetManager),
       
    28       mView(view), mContainer(container)
       
    29 {
       
    30 }
       
    31 
       
    32 BubbleHandler::~BubbleHandler()
       
    33 {
       
    34 }
       
    35 
       
    36 QGraphicsWidget* BubbleHandler::widget(
       
    37     BubbleWidgetManager::Widget widget) const
       
    38 {
       
    39     return mWidgetManager.widget(mView,mContainer,widget);
       
    40 }
       
    41 
       
    42 void BubbleHandler::conferenceMemberRemoved(int bubbleId)
       
    43 {
       
    44     Q_UNUSED(bubbleId);
       
    45 }
       
    46 
       
    47 void BubbleHandler::conferenceRemoved()
       
    48 {
       
    49 }