phoneuis/bubblemanager2/tsrc/bubbletest2/bubbletestview.cpp
changeset 27 2f8f8080a020
parent 22 6bb1b21d2484
child 51 f39ed5e045e0
equal deleted inserted replaced
22:6bb1b21d2484 27:2f8f8080a020
    73     mLabelMap.insert("OnHold", "on hold" );
    73     mLabelMap.insert("OnHold", "on hold" );
    74 }
    74 }
    75 
    75 
    76 BubbleTestView::~BubbleTestView()
    76 BubbleTestView::~BubbleTestView()
    77 {
    77 {
       
    78     toolBar()->clearActions();
    78     delete mBubbleTester;
    79     delete mBubbleTester;
    79 }
    80 }
    80 
    81 
    81 void BubbleTestView::keyPressEvent(QKeyEvent *event)
    82 void BubbleTestView::keyPressEvent(QKeyEvent *event)
    82 {
    83 {
   866 
   867 
   867     mUnmute = new HbAction(HbIcon("qtg_mono_mic_unmute"), "", this);
   868     mUnmute = new HbAction(HbIcon("qtg_mono_mic_unmute"), "", this);
   868     connect( mUnmute, SIGNAL(triggered()), this, SLOT(setMuted()), Qt::QueuedConnection );
   869     connect( mUnmute, SIGNAL(triggered()), this, SLOT(setMuted()), Qt::QueuedConnection );
   869 
   870 
   870     // not connected to anywhere
   871     // not connected to anywhere
   871     mActivateLoudspeaker = new HbAction(HbIcon("qtg_mono_loudspeaker"), "", this);
   872     mActivateLoudspeaker = new HbAction(HbIcon("qtg_mono_speaker"), "", this);
   872     mActivateHandset = new HbAction(HbIcon("qtg_mono_mobile"), "", this);
   873     mActivateHandset = new HbAction(HbIcon("qtg_mono_mobile"), "", this);
   873     mSendMessage = new HbAction(HbIcon("qtg_mono_send"), "", this);
   874     mSendMessage = new HbAction(HbIcon("qtg_mono_send"), "", this);
   874     mSilence = new HbAction(HbIcon("qtg_mono_speaker_off"), "", this);
   875     mSilence = new HbAction(HbIcon("qtg_mono_speaker_off"), "", this);
   875     mOpenDialer = new HbAction(HbIcon("qtg_mono_dialer"), "", this);
   876     mOpenDialer = new HbAction(HbIcon("qtg_mono_dialer"), "", this);
   876     mOpenContacts = new HbAction(HbIcon("qtg_mono_contacts"), "", this);
   877     mOpenContacts = new HbAction(HbIcon("qtg_mono_contacts"), "", this);