Changeset View
Changeset View
Standalone View
Standalone View
ksirkskineditor/ksirkskineditortextitem.h
Show All 35 Lines | |||||
36 | class TextItem : public QGraphicsTextItem | 36 | class TextItem : public QGraphicsTextItem | ||
37 | { | 37 | { | ||
38 | Q_OBJECT | 38 | Q_OBJECT | ||
39 | 39 | | |||
40 | public: | 40 | public: | ||
41 | /** | 41 | /** | ||
42 | * Create the window and initializes its members | 42 | * Create the window and initializes its members | ||
43 | */ | 43 | */ | ||
44 | TextItem(QGraphicsItem* parent=0); | 44 | explicit TextItem(QGraphicsItem* parent=0); | ||
45 | 45 | | |||
46 | /** | 46 | /** | ||
47 | * Deletes the background and the pool | 47 | * Deletes the background and the pool | ||
48 | */ | 48 | */ | ||
49 | ~TextItem() override; | 49 | ~TextItem() override; | ||
50 | 50 | | |||
51 | Q_SIGNALS: | 51 | Q_SIGNALS: | ||
52 | void pressed(QGraphicsItem*,const QPointF&); | 52 | void pressed(QGraphicsItem*,const QPointF&); | ||
Show All 12 Lines |