Changeset View
Changeset View
Standalone View
Standalone View
krusader/Panel/krsearchbar.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 48 | public: | |||
---|---|---|---|---|---|
55 | }; | 55 | }; | ||
56 | 56 | | |||
57 | public: | 57 | public: | ||
58 | KrSearchBar(KrView *view, QWidget *parent); | 58 | KrSearchBar(KrView *view, QWidget *parent); | ||
59 | /** | 59 | /** | ||
60 | * Set another KrView, old one must not be deleted yet! | 60 | * Set another KrView, old one must not be deleted yet! | ||
61 | */ | 61 | */ | ||
62 | void setView(KrView *view); | 62 | void setView(KrView *view); | ||
63 | /** | ||||
64 | * Hide the search bar if its mode was the search one. | ||||
65 | * | ||||
66 | * This function is normally used to hide bar after a user has quicksearched for something and found it. | ||||
67 | */ | ||||
68 | void hideBarIfSearching(); | ||||
63 | 69 | | |||
64 | public slots: | 70 | public slots: | ||
65 | void showBar(SearchMode mode = MODE_DEFAULT); | 71 | void showBar(SearchMode mode = MODE_DEFAULT); | ||
66 | void hideBar(); | 72 | void hideBar(); | ||
67 | /** | 73 | /** | ||
68 | * Reset search to empty string. | 74 | * Reset search to empty string. | ||
69 | */ | 75 | */ | ||
70 | void resetSearch(); | 76 | void resetSearch(); | ||
Show All 39 Lines |