Changeset View
Changeset View
Standalone View
Standalone View
krusader/Panel/krsearchbar.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 78 | protected slots: | |||
---|---|---|---|---|---|
79 | void onModeChange(); | 79 | void onModeChange(); | ||
80 | void onSearchChange(); | 80 | void onSearchChange(); | ||
81 | /** | 81 | /** | ||
82 | * Save current search string to settings | 82 | * Save current search string to settings | ||
83 | */ | 83 | */ | ||
84 | void saveSearchString(); | 84 | void saveSearchString(); | ||
85 | 85 | | |||
86 | protected: | 86 | protected: | ||
87 | void keyPressEvent(QKeyEvent *) Q_DECL_OVERRIDE; | 87 | void keyPressEvent(QKeyEvent *) override; | ||
88 | /** | 88 | /** | ||
89 | * Filter key events from view widget and text combo box | 89 | * Filter key events from view widget and text combo box | ||
90 | */ | 90 | */ | ||
91 | bool eventFilter(QObject *, QEvent *) Q_DECL_OVERRIDE; | 91 | bool eventFilter(QObject *, QEvent *) override; | ||
92 | 92 | | |||
93 | private: | 93 | private: | ||
94 | /** | 94 | /** | ||
95 | * Handle events when search bar is open or open it. | 95 | * Handle events when search bar is open or open it. | ||
96 | */ | 96 | */ | ||
97 | bool handleKeyPressEvent(QKeyEvent *ke); | 97 | bool handleKeyPressEvent(QKeyEvent *ke); | ||
98 | bool handleUpDownKeyPress(bool); | 98 | bool handleUpDownKeyPress(bool); | ||
99 | bool handleLeftRightKeyPress(QKeyEvent *ke); | 99 | bool handleLeftRightKeyPress(QKeyEvent *ke); | ||
Show All 16 Lines |