Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/KSMainWindow.h
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 37 | { | |||
---|---|---|---|---|---|
49 | private slots: | 49 | private slots: | ||
50 | 50 | | |||
51 | void captureScreenshot(ImageGrabber::GrabMode mode, int timeout, bool includePointer, bool includeDecorations); | 51 | void captureScreenshot(ImageGrabber::GrabMode mode, int timeout, bool includePointer, bool includeDecorations); | ||
52 | void showPrintDialog(); | 52 | void showPrintDialog(); | ||
53 | void showPreferencesDialog(); | 53 | void showPreferencesDialog(); | ||
54 | void showImageSharedFeedback(bool error, const QString &message); | 54 | void showImageSharedFeedback(bool error, const QString &message); | ||
55 | void sendToClipboard(); | 55 | void sendToClipboard(); | ||
56 | void init(); | 56 | void init(); | ||
57 | void buildSaveMenu(); | 57 | void setDefaultSaveAction(); | ||
58 | void save(); | 58 | void save(); | ||
59 | void saveAs(); | 59 | void saveAs(); | ||
60 | int windowWidth(const QPixmap &pixmap) const; | 60 | int windowWidth(const QPixmap &pixmap) const; | ||
61 | 61 | | |||
62 | public slots: | 62 | public slots: | ||
63 | 63 | | |||
64 | void setScreenshotAndShow(const QPixmap &pixmap); | 64 | void setScreenshotAndShow(const QPixmap &pixmap); | ||
65 | void setScreenshotWindowTitle(QUrl location); | 65 | void setScreenshotWindowTitle(QUrl location); | ||
Show All 13 Lines | |||||
79 | QFrame *mDivider; | 79 | QFrame *mDivider; | ||
80 | QDialogButtonBox *mDialogButtonBox; | 80 | QDialogButtonBox *mDialogButtonBox; | ||
81 | QToolButton *mConfigureButton; | 81 | QToolButton *mConfigureButton; | ||
82 | QPushButton *mToolsButton; | 82 | QPushButton *mToolsButton; | ||
83 | QPushButton *mSendToButton; | 83 | QPushButton *mSendToButton; | ||
84 | QToolButton *mClipboardButton; | 84 | QToolButton *mClipboardButton; | ||
85 | QToolButton *mSaveButton; | 85 | QToolButton *mSaveButton; | ||
86 | QMenu *mSaveMenu; | 86 | QMenu *mSaveMenu; | ||
87 | QAction *mSaveAsAction; | ||||
88 | QAction *mSaveAction; | ||||
87 | KMessageWidget *mMessageWidget; | 89 | KMessageWidget *mMessageWidget; | ||
88 | QMenu *mToolsMenu; | 90 | QMenu *mToolsMenu; | ||
89 | ExportMenu *mExportMenu; | 91 | ExportMenu *mExportMenu; | ||
90 | bool mOnClickAvailable; | 92 | bool mOnClickAvailable; | ||
91 | }; | 93 | }; | ||
92 | 94 | | |||
93 | #endif // KSMAINWINDOW_H | 95 | #endif // KSMAINWINDOW_H |