qcpix/tsrc/orbitsearch/searchhelper.h
changeset 15 cf5c74390b98
parent 0 671dee74050a
equal deleted inserted replaced
10:afe194b6b1cd 15:cf5c74390b98
    18 #ifndef HELPER_H_
    18 #ifndef HELPER_H_
    19 #define HELPER_H_
    19 #define HELPER_H_
    20 
    20 
    21 #include <QObject>
    21 #include <QObject>
    22 #include "uicontrols.h"
    22 #include "uicontrols.h"
    23 #include <qcpixsearcher.h>
    23 #include <cpixsearcher.h>
    24 #include <QTime>
    24 #include <QTime>
    25 
    25 
    26 class SearchHelper: public QObject
    26 class SearchHelper: public QObject
    27     {
    27     {
    28 Q_OBJECT
    28 Q_OBJECT
    29 public:
    29 public:
    30     SearchHelper(HbLineEdit*, HbPushButton*, HbTextEdit* );
    30     SearchHelper(HbLineEdit*, HbPushButton*, HbTextEdit*, HbLineEdit*, HbLineEdit*, HbPushButton* );
    31     ~SearchHelper();
    31     ~SearchHelper();
    32 
    32 
    33 public slots:
    33 public slots:
    34     void doSearch();
    34     void doSearch();
       
    35     void showdocs();
    35     
    36     
    36 private:
    37 private:
    37     ORBIT_SEARCH_CONTROLS //Not owned.
    38     ORBIT_SEARCH_CONTROLS //Not owned.
    38     QCPixSearcher* searcher;//Owned
    39     CpixSearcher* searcher;//Owned
    39     QTime searchTime;
    40     QTime searchTime;
       
    41     QString resultString;
       
    42     int iHits;
    40     };
    43     };
    41 
    44 
    42 #endif /* HELPER_H_ */
    45 #endif /* HELPER_H_ */