equal
deleted
inserted
replaced
40 ****************************************************************************/ |
40 ****************************************************************************/ |
41 |
41 |
42 #ifndef GOOGLESUGGEST_H |
42 #ifndef GOOGLESUGGEST_H |
43 #define GOOGLESUGGEST_H |
43 #define GOOGLESUGGEST_H |
44 |
44 |
|
45 #include <QtGui> |
|
46 #include <QtNetwork> |
45 #include <QObject> |
47 #include <QObject> |
46 #include <QNetworkAccessManager> |
|
47 |
48 |
48 QT_BEGIN_NAMESPACE |
49 QT_BEGIN_NAMESPACE |
49 class QLineEdit; |
50 class QLineEdit; |
50 class QNetworkReply; |
51 class QNetworkReply; |
51 class QTimer; |
52 class QTimer; |
52 class QTreeWidget; |
53 class QTreeWidget; |
53 QT_END_NAMESPACE |
54 QT_END_NAMESPACE |
54 |
55 |
|
56 //! [1] |
55 class GSuggestCompletion : public QObject |
57 class GSuggestCompletion : public QObject |
56 { |
58 { |
57 Q_OBJECT |
59 Q_OBJECT |
58 |
60 |
59 public: |
61 public: |
73 QLineEdit *editor; |
75 QLineEdit *editor; |
74 QTreeWidget *popup; |
76 QTreeWidget *popup; |
75 QTimer *timer; |
77 QTimer *timer; |
76 QNetworkAccessManager networkManager; |
78 QNetworkAccessManager networkManager; |
77 }; |
79 }; |
78 |
80 //! [1] |
79 #endif // GOOGLESUGGEST_H |
81 #endif // GOOGLESUGGEST_H |
80 |
82 |