Changeset View
Changeset View
Standalone View
Standalone View
src/SpectacleCore.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 43 | { | |||
---|---|---|---|---|---|
64 | void setFilename(const QString &filename); | 64 | void setFilename(const QString &filename); | ||
65 | 65 | | |||
66 | Q_SIGNALS: | 66 | Q_SIGNALS: | ||
67 | 67 | | |||
68 | void errorMessage(const QString &errString); | 68 | void errorMessage(const QString &errString); | ||
69 | void allDone(); | 69 | void allDone(); | ||
70 | void filenameChanged(const QString &filename); | 70 | void filenameChanged(const QString &filename); | ||
71 | void grabFailed(); | 71 | void grabFailed(); | ||
72 | void screenConfigurationReceived(const KScreen::ConfigPtr mScreenConfiguration); | ||||
72 | 73 | | |||
73 | public Q_SLOTS: | 74 | public Q_SLOTS: | ||
74 | 75 | | |||
75 | void takeNewScreenshot(Spectacle::CaptureMode theCaptureMode, int theTimeout, bool theIncludePointer, bool theIncludeDecorations); | 76 | void takeNewScreenshot(Spectacle::CaptureMode theCaptureMode, int theTimeout, bool theIncludePointer, bool theIncludeDecorations); | ||
76 | void showErrorMessage(const QString &theErrString); | 77 | void showErrorMessage(const QString &theErrString); | ||
77 | void screenshotUpdated(const QPixmap &thePixmap); | 78 | void screenshotUpdated(const QPixmap &thePixmap); | ||
78 | void screenshotFailed(); | 79 | void screenshotFailed(); | ||
79 | void dbusStartAgent(); | 80 | void dbusStartAgent(); | ||
Show All 14 Lines | |||||
94 | QUrl mFileNameUrl; | 95 | QUrl mFileNameUrl; | ||
95 | PlatformPtr mPlatform; | 96 | PlatformPtr mPlatform; | ||
96 | MainWindowPtr mMainWindow; | 97 | MainWindowPtr mMainWindow; | ||
97 | EditorPtr mQuickEditor; | 98 | EditorPtr mQuickEditor; | ||
98 | bool mIsGuiInited; | 99 | bool mIsGuiInited; | ||
99 | bool mCopyToClipboard; | 100 | bool mCopyToClipboard; | ||
100 | bool mCopyImageToClipboard; | 101 | bool mCopyImageToClipboard; | ||
101 | KWayland::Client::PlasmaShell *mWaylandPlasmashell; | 102 | KWayland::Client::PlasmaShell *mWaylandPlasmashell; | ||
103 | KScreen::ConfigPtr mScreenConfiguration = nullptr; | ||||
102 | }; | 104 | }; |