homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsmainwindow.h
changeset 63 52b0f64eeb51
parent 62 341166945d65
child 69 87476091b3f5
equal deleted inserted replaced
62:341166945d65 63:52b0f64eeb51
    18 #ifndef HS_MAIN_WINDOW_H
    18 #ifndef HS_MAIN_WINDOW_H
    19 #define HS_MAIN_WINDOW_H
    19 #define HS_MAIN_WINDOW_H
    20 
    20 
    21 #include <QObject>
    21 #include <QObject>
    22 #include <QPixmap>
    22 #include <QPixmap>
       
    23 #include "hsmenustates_global.h"
       
    24 
       
    25 HS_STATES_TEST_CLASS(MenuStatesTest)
    23 
    26 
    24 class HsMenuView;
    27 class HsMenuView;
    25 class HsMainWindow: public QObject
    28 class HsMainWindow
    26 {
    29 {
    27     Q_OBJECT
    30 
    28     
       
    29 public:
    31 public:
    30     HsMainWindow();
    32     HsMainWindow();
    31     virtual ~HsMainWindow();
    33     virtual ~HsMainWindow();
    32 
    34 
    33     virtual void setCurrentView(const HsMenuView &menuView);
    35     virtual void setCurrentView(const HsMenuView &menuView);     
    34     virtual QPixmap grabScreenshot();
    36 
    35        
       
    36     public slots:
       
    37     virtual void saveActivity();
       
    38     
       
    39     signals:
       
    40     void viewIsReady();
       
    41     
       
    42     private:
       
    43     /*
       
    44      * not owned
       
    45      * 
       
    46      */
       
    47     QObject* mActivityClient;
       
    48 };
    37 };
    49 
    38 
    50 #endif // HS_MAIN_WINDOW_H
    39 #endif // HS_MAIN_WINDOW_H