Changeset View
Changeset View
Standalone View
Standalone View
ui/searchlineedit.h
Show All 9 Lines | |||||
10 | 10 | | |||
11 | #ifndef _OKULAR_SEARCHLINEEDIT_H_ | 11 | #ifndef _OKULAR_SEARCHLINEEDIT_H_ | ||
12 | #define _OKULAR_SEARCHLINEEDIT_H_ | 12 | #define _OKULAR_SEARCHLINEEDIT_H_ | ||
13 | 13 | | |||
14 | #include "core/document.h" | 14 | #include "core/document.h" | ||
15 | 15 | | |||
16 | #include <klineedit.h> | 16 | #include <klineedit.h> | ||
17 | 17 | | |||
18 | class KBusyIndicatorWidget; | ||||
18 | class QTimer; | 19 | class QTimer; | ||
19 | class KPixmapSequenceWidget; | | |||
20 | 20 | | |||
21 | /** | 21 | /** | ||
22 | * @short A line edit for find-as-you-type search. Outputs to the Document. | 22 | * @short A line edit for find-as-you-type search. Outputs to the Document. | ||
23 | */ | 23 | */ | ||
24 | class SearchLineEdit : public KLineEdit | 24 | class SearchLineEdit : public KLineEdit | ||
25 | { | 25 | { | ||
26 | Q_OBJECT | 26 | Q_OBJECT | ||
27 | public: | 27 | public: | ||
▲ Show 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | 78 | { | |||
84 | 84 | | |||
85 | private Q_SLOTS: | 85 | private Q_SLOTS: | ||
86 | void slotSearchStarted(); | 86 | void slotSearchStarted(); | ||
87 | void slotSearchStopped(); | 87 | void slotSearchStopped(); | ||
88 | void slotTimedout(); | 88 | void slotTimedout(); | ||
89 | 89 | | |||
90 | private: | 90 | private: | ||
91 | SearchLineEdit *m_edit; | 91 | SearchLineEdit *m_edit; | ||
92 | KPixmapSequenceWidget* m_anim; | 92 | KBusyIndicatorWidget* m_anim; | ||
93 | QTimer *m_timer; | 93 | QTimer *m_timer; | ||
94 | }; | 94 | }; | ||
95 | 95 | | |||
96 | #endif | 96 | #endif |