Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/KSWidget.h
Show All 37 Lines | |||||
38 | class SmartSpinBox; | 38 | class SmartSpinBox; | ||
39 | 39 | | |||
40 | class KSWidget : public QWidget | 40 | class KSWidget : public QWidget | ||
41 | { | 41 | { | ||
42 | Q_OBJECT | 42 | Q_OBJECT | ||
43 | 43 | | |||
44 | public: | 44 | public: | ||
45 | 45 | | |||
46 | explicit KSWidget(QWidget *parent = nullptr); | 46 | explicit KSWidget(const QVector<ImageGrabber::GrabMode>& supportedModes, QWidget *parent = nullptr); | ||
47 | 47 | | |||
48 | int imagePaddingWidth() const; | 48 | int imagePaddingWidth() const; | ||
49 | 49 | | |||
50 | Q_SIGNALS: | 50 | Q_SIGNALS: | ||
51 | 51 | | |||
52 | void dragInitiated(); | 52 | void dragInitiated(); | ||
53 | void newScreenshotRequest(ImageGrabber::GrabMode mode, int captureDelay, bool capturePointer, bool captureDecorations); | 53 | void newScreenshotRequest(ImageGrabber::GrabMode mode, int captureDelay, bool capturePointer, bool captureDecorations); | ||
54 | 54 | | |||
Show All 32 Lines |