phonesettings/cpphonesettingsplugins/divertplugin/src/cpdivertplugingroup.h
changeset 30 ebdbd102c78a
parent 27 2f8f8080a020
child 51 f39ed5e045e0
--- a/phonesettings/cpphonesettingsplugins/divertplugin/src/cpdivertplugingroup.h	Mon May 03 12:31:11 2010 +0300
+++ b/phonesettings/cpphonesettingsplugins/divertplugin/src/cpdivertplugingroup.h	Fri May 14 15:51:57 2010 +0300
@@ -34,6 +34,8 @@
 class PSCallDivertingCommand;
 class HbListWidget;
 class CpDivertItemData;
+class QEventLoop; 
+class HbLineEdit; 
 
 using namespace CpTelephonyUtils;
 
@@ -101,6 +103,11 @@
      Slot which handles item updating when it is needed.
      */
     void itemShown(const QModelIndex& item);
+    
+    void voiceNumberListQueryClosed(HbAction* action);
+    void popUpNumberEditorClosed(HbAction* action);
+    void popUpTimerQueryClosed(HbAction* action);
+    
 private:     
     
     /**
@@ -133,7 +140,7 @@
     /**
      Show to user number query.
      */
-    bool popUpNumberEditor(
+    void popUpNumberEditor(
             const QString& heading, QString& result);
     
     
@@ -145,7 +152,7 @@
     /**
      Show to user divert time out query list.
      */
-    bool popUpTimerQuery(int &timeout) const;
+    bool popUpTimerQuery(int &timeout);
     
     /**
      Desides which bsc parameters to use.
@@ -245,7 +252,7 @@
     CpDivertItemData *m_DataItemVideoIfNotAnswered;
     CpDivertItemData *m_DataItemVideoIfOutOfReach;
     CpDivertItemData *m_DataItemVideoIfNotAvailable;
-    
+
     int m_activeNoteId;
     int m_activeProgressNoteId;
 
@@ -258,8 +265,17 @@
     QQueue<CpDivertRequestQueueItem> m_divertRequestQueue;
 
     CpItemDataHelper &m_helper;
+    
+    int m_divertTimeout;
+    
+    HbListWidget *m_voiceNumberList;
+    HbListWidget *m_popupTimerList; 
+    QString m_divertNumber; 
+    HbLineEdit *m_voiceNumberEditor; 
+    QEventLoop *m_eventLoop; 
+    
 };
 
 #endif // CPDIVERTPLUGINGROUP_H
 
-// end of file
+