remotemgmt_plat/syncml_ds_error_reporting_api/tsrc/QtSyncStatusSpy/qtsyncstatuslogview.h
changeset 60 eb6690d0d439
equal deleted inserted replaced
55:1c556dee8eb1 60:eb6690d0d439
       
     1 #ifndef QTSYNCSTATUSLOGVIEW_H
       
     2 #define QTSYNCSTATUSLOGVIEW_H
       
     3 
       
     4 #include <QObject>
       
     5 #include <hbview.h>
       
     6 #include <QFile>
       
     7 #include <QTextStream>
       
     8 
       
     9 class QGraphicsItem;
       
    10 class HbDataForm;
       
    11 class HbAction;
       
    12 class QtSyncStatusModel;
       
    13 class HbMainWindow;
       
    14 class HbWidget;
       
    15 class HbTextItem;
       
    16 class QGraphicsLinearLayout;
       
    17 class QtSyncStatusLog;
       
    18 
       
    19 
       
    20 class QtSyncStatusLogView : public HbView
       
    21 {
       
    22     Q_OBJECT
       
    23 
       
    24 public:
       
    25     QtSyncStatusLogView(QtSyncStatusLog& log, QGraphicsItem *parent = 0);
       
    26     ~QtSyncStatusLogView();
       
    27     
       
    28 signals:
       
    29     void comingBack();
       
    30     
       
    31 public slots:
       
    32     void activateView();
       
    33     
       
    34 private slots:
       
    35     void updateView();
       
    36     void deleteLog();
       
    37     void goToMainView();
       
    38 
       
    39 private:
       
    40     void createMenu();
       
    41     void openSyncLogFile();
       
    42     virtual void showEvent(QShowEvent * event);
       
    43     void readLog();
       
    44 
       
    45 private:    
       
    46     HbTextItem* mTextItem;
       
    47     QtSyncStatusLog& mSyncLog;
       
    48 };
       
    49 
       
    50 #endif // QTSYNCSTATUSLOGVIEW_H