Changeset View
Changeset View
Standalone View
Standalone View
src/dcc/whiteboardpaintarea.h
Show All 29 Lines | |||||
30 | { | 30 | { | ||
31 | namespace DCC | 31 | namespace DCC | ||
32 | { | 32 | { | ||
33 | class WhiteBoardPaintArea : public QWidget | 33 | class WhiteBoardPaintArea : public QWidget | ||
34 | { | 34 | { | ||
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | 36 | | |||
37 | public: | 37 | public: | ||
38 | explicit WhiteBoardPaintArea(QWidget* parent = 0); | 38 | explicit WhiteBoardPaintArea(QWidget* parent = nullptr); | ||
39 | ~WhiteBoardPaintArea(); | 39 | ~WhiteBoardPaintArea() override; | ||
40 | 40 | | |||
41 | public Q_SLOTS: | 41 | public Q_SLOTS: | ||
42 | void setTool(Konversation::DCC::WhiteBoardGlobals::WhiteBoardTool tool); | 42 | void setTool(Konversation::DCC::WhiteBoardGlobals::WhiteBoardTool tool); | ||
43 | void setForegroundColor(const QColor& color); | 43 | void setForegroundColor(const QColor& color); | ||
44 | void setBackgroundColor(const QColor& color); | 44 | void setBackgroundColor(const QColor& color); | ||
45 | void swapColors(const QColor& newForeground, const QColor& newBackground); | 45 | void swapColors(const QColor& newForeground, const QColor& newBackground); | ||
46 | void setPenWidth(int width); | 46 | void setPenWidth(int width); | ||
47 | void setFont(const QFont& font); | 47 | void setFont(const QFont& font); | ||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |