examples/network/googlesuggest/searchbox.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    40 ****************************************************************************/
    40 ****************************************************************************/
    41 
    41 
    42 #ifndef SEARCHBOX_H
    42 #ifndef SEARCHBOX_H
    43 #define SEARCHBOX_H
    43 #define SEARCHBOX_H
    44 
    44 
       
    45 //! [1]
    45 #include <QLineEdit>
    46 #include <QLineEdit>
    46 
    47 
    47 class GSuggestCompletion;
    48 class GSuggestCompletion;
    48 
    49 
    49 class SearchBox: public QLineEdit
    50 class SearchBox: public QLineEdit
    56 protected slots:
    57 protected slots:
    57     void doSearch();
    58     void doSearch();
    58 
    59 
    59 private:
    60 private:
    60     GSuggestCompletion *completer;
    61     GSuggestCompletion *completer;
       
    62 //! [1]
    61 };
    63 };
    62 
    64 
    63 
    65 
    64 #endif // SEARCHBOX_H
    66 #endif // SEARCHBOX_H