Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(572)

Side by Side Diff: debugger/QT/SkListWidget.h

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « debugger/QT/SkGLWidget.cpp ('k') | debugger/QT/SkRasterWidget.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SKLISTWIDGET_H_ 10 #ifndef SKLISTWIDGET_H_
11 #define SKLISTWIDGET_H_ 11 #define SKLISTWIDGET_H_
12 12
13 #include <QAbstractItemDelegate> 13 #include <QAbstractItemDelegate>
14 #include <QPainter> 14 #include <QPainter>
15 15
16 /** \class SkListWidget 16 /** \class SkListWidget
17 17
18 This widget contains the draw commands. 18 This widget contains the draw commands.
19 */ 19 */
20 class SkListWidget : public QAbstractItemDelegate { 20 class SkListWidget : public QAbstractItemDelegate {
21 public: 21 public:
22 /** 22 /**
23 Constructs the list widget with the specified parent for layout purposes . 23 Constructs the list widget with the specified parent for layout purposes .
24 @param parent The parent container of this widget 24 @param parent The parent container of this widget
25 */ 25 */
26 SkListWidget(QObject* parent = NULL) {} 26 SkListWidget(QObject* parent = nullptr) {}
27 27
28 virtual ~SkListWidget() {} 28 virtual ~SkListWidget() {}
29 29
30 /** 30 /**
31 Draws the current state of the widget. Overriden from QWidget. 31 Draws the current state of the widget. Overriden from QWidget.
32 */ 32 */
33 void paint(QPainter* painter, const QStyleOptionViewItem& option, 33 void paint(QPainter* painter, const QStyleOptionViewItem& option,
34 const QModelIndex& index ) const; 34 const QModelIndex& index ) const;
35 35
36 /** 36 /**
37 Returns the default size of the widget. Overriden from QWidget. 37 Returns the default size of the widget. Overriden from QWidget.
38 */ 38 */
39 QSize sizeHint(const QStyleOptionViewItem& option, 39 QSize sizeHint(const QStyleOptionViewItem& option,
40 const QModelIndex& index) const; 40 const QModelIndex& index) const;
41 }; 41 };
42 42
43 #endif 43 #endif
OLDNEW
« no previous file with comments | « debugger/QT/SkGLWidget.cpp ('k') | debugger/QT/SkRasterWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698