phoneapp/phoneuiview2/inc/phoneuiqtview.h
changeset 30 ebdbd102c78a
parent 27 2f8f8080a020
child 51 f39ed5e045e0
equal deleted inserted replaced
27:2f8f8080a020 30:ebdbd102c78a
    20 
    20 
    21 #include <QObject>
    21 #include <QObject>
    22 #include <hbview.h>
    22 #include <hbview.h>
    23 #include "phoneuiqtviewif.h"
    23 #include "phoneuiqtviewif.h"
    24 #include <bubblemanagerif.h>
    24 #include <bubblemanagerif.h>
       
    25 #include <qsysteminfo.h>
    25 
    26 
    26 class BubbleManager;
    27 class BubbleManager;
    27 class HbAction;
    28 class HbAction;
    28 class QSignalMapper;
    29 class QSignalMapper;
    29 class HbToolBar;
    30 class HbToolBar;
    35 #define PHONEUIQTVIEW_EXPORT Q_DECL_EXPORT
    36 #define PHONEUIQTVIEW_EXPORT Q_DECL_EXPORT
    36 #else
    37 #else
    37 #define PHONEUIQTVIEW_EXPORT Q_DECL_IMPORT
    38 #define PHONEUIQTVIEW_EXPORT Q_DECL_IMPORT
    38 #endif
    39 #endif
    39 
    40 
       
    41 using namespace QtMobility;
       
    42 
       
    43 
    40 class PHONEUIQTVIEW_EXPORT PhoneUIQtView : public HbView, public PhoneUIQtViewIF
    44 class PHONEUIQTVIEW_EXPORT PhoneUIQtView : public HbView, public PhoneUIQtViewIF
    41 {
    45 {
    42     Q_OBJECT
    46     Q_OBJECT
    43 
    47 
    44 public:
    48 public:
   263         
   267         
   264         Shutdown phone application.
   268         Shutdown phone application.
   265     */
   269     */
   266     void shutdownPhoneApp();
   270     void shutdownPhoneApp();
   267     
   271     
       
   272     /*!
       
   273         \fn void PhoneUIQtView::networkNameChanged(QSystemNetworkInfo::NetworkMode mode, const QString &netName)
       
   274         
       
   275         Network name change is informed via this method.
       
   276     */
       
   277     void networkNameChanged(QSystemNetworkInfo::NetworkMode mode, const QString &netName);
       
   278     
   268    
   279    
   269 signals:
   280 signals:
   270 
   281 
   271     /*!
   282     /*!
   272         \fn void keyPressed (QKeyEvent *event)
   283         \fn void keyPressed (QKeyEvent *event)
   294         
   305         
   295         This signal is emitted when dialpad is about to close.
   306         This signal is emitted when dialpad is about to close.
   296     */
   307     */
   297     void dialpadIsAboutToClose();
   308     void dialpadIsAboutToClose();
   298     
   309     
       
   310     /*!
       
   311          \fn void windowActivated();
       
   312          
       
   313          This signal is emitted when window is activated
       
   314      */
       
   315     void windowActivated();
       
   316     
       
   317     /*!
       
   318          \fn void windowDeactivated();
       
   319          
       
   320          This signal is emitted when window is deactivated
       
   321      */
       
   322     void windowDeactivated();
   299     
   323     
   300 protected:
   324 protected:
   301 
   325 
   302     /*!
   326     /*!
   303         \fn void eventFilter(int command)
   327         \fn void eventFilter(int command)
   344     int                 m_volumeCommandId;
   368     int                 m_volumeCommandId;
   345     HbAction            *m_backAction;
   369     HbAction            *m_backAction;
   346     Dialpad             *m_dialpad;
   370     Dialpad             *m_dialpad;
   347     QSignalMapper       *m_menuSignalMapper;
   371     QSignalMapper       *m_menuSignalMapper;
   348     XqKeyCapture        *m_keyCapture;
   372     XqKeyCapture        *m_keyCapture;
       
   373     QSystemNetworkInfo  *m_networkInfo;
   349 };
   374 };
   350 
   375 
   351 #endif // PHONEUIQTVIEW_H
   376 #endif // PHONEUIQTVIEW_H