@@ -113,20 +113,20 @@ class LLFlatListView : public LLScrollContainer, public LLEditMenuHandler
113
113
};
114
114
115
115
// disable traversal when finding widget to hand focus off to
116
- /* virtual*/ bool canFocusChildren () const { return false ; }
116
+ /* virtual*/ bool canFocusChildren () const override { return false ; }
117
117
118
118
/* *
119
119
* Connects callback to signal called when Return key is pressed.
120
120
*/
121
121
boost::signals2::connection setReturnCallback ( const commit_signal_t ::slot_type& cb ) { return mOnReturnSignal .connect (cb); }
122
122
123
123
/* * Overridden LLPanel's reshape, height is ignored, the list sets its height to accommodate all items */
124
- virtual void reshape (S32 width, S32 height, bool called_from_parent = true );
124
+ virtual void reshape (S32 width, S32 height, bool called_from_parent = true ) override ;
125
125
126
126
/* * Returns full rect of child panel */
127
127
const LLRect& getItemsRect () const ;
128
128
129
- LLRect getRequiredRect () const { return getItemsRect (); }
129
+ LLRect getRequiredRect () override { return getItemsRect (); }
130
130
131
131
/* * Returns distance between items */
132
132
const S32 getItemsPad () const { return mItemPad ; }
@@ -270,7 +270,7 @@ class LLFlatListView : public LLScrollContainer, public LLEditMenuHandler
270
270
U32 size (const bool only_visible_items = true ) const ;
271
271
272
272
/* * Removes all items from the list */
273
- virtual void clear ();
273
+ virtual void clear () override ;
274
274
275
275
/* *
276
276
* Removes all items that can be detached from the list but doesn't destroy
@@ -297,7 +297,7 @@ class LLFlatListView : public LLScrollContainer, public LLEditMenuHandler
297
297
void selectFirstItem ();
298
298
void selectLastItem ();
299
299
300
- virtual S32 notify (const LLSD& info) ;
300
+ virtual S32 notify (const LLSD& info) override ;
301
301
302
302
virtual ~LLFlatListView ();
303
303
@@ -346,8 +346,8 @@ class LLFlatListView : public LLScrollContainer, public LLEditMenuHandler
346
346
347
347
virtual bool selectNextItemPair (bool is_up_direction, bool reset_selection);
348
348
349
- virtual bool canSelectAll () const ;
350
- virtual void selectAll ();
349
+ virtual bool canSelectAll () const override ;
350
+ virtual void selectAll () override ;
351
351
352
352
virtual bool isSelected (item_pair_t * item_pair) const ;
353
353
@@ -364,15 +364,15 @@ class LLFlatListView : public LLScrollContainer, public LLEditMenuHandler
364
364
*/
365
365
void notifyParentItemsRectChanged ();
366
366
367
- virtual bool handleKeyHere (KEY key, MASK mask);
367
+ virtual bool handleKeyHere (KEY key, MASK mask) override ;
368
368
369
- virtual bool postBuild ();
369
+ virtual bool postBuild () override ;
370
370
371
- virtual void onFocusReceived ();
371
+ virtual void onFocusReceived () override ;
372
372
373
- virtual void onFocusLost ();
373
+ virtual void onFocusLost () override ;
374
374
375
- virtual void draw ();
375
+ virtual void draw () override ;
376
376
377
377
LLRect getLastSelectedItemRect ();
378
378
0 commit comments