Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/KSMainWindow.cpp
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | 55 | KSMainWindow::KSMainWindow(bool onClickAvailable, QWidget *parent) : | |||
---|---|---|---|---|---|
58 | mDivider(new QFrame), | 58 | mDivider(new QFrame), | ||
59 | mDialogButtonBox(new QDialogButtonBox), | 59 | mDialogButtonBox(new QDialogButtonBox), | ||
60 | mConfigureButton(new QToolButton), | 60 | mConfigureButton(new QToolButton), | ||
61 | mToolsButton(new QPushButton), | 61 | mToolsButton(new QPushButton), | ||
62 | mSendToButton(new QPushButton), | 62 | mSendToButton(new QPushButton), | ||
63 | mClipboardButton(new QToolButton), | 63 | mClipboardButton(new QToolButton), | ||
64 | mSaveButton(new QToolButton), | 64 | mSaveButton(new QToolButton), | ||
65 | mSaveMenu(new QMenu), | 65 | mSaveMenu(new QMenu), | ||
66 | mSaveAsAction(new QAction), | 66 | mSaveAsAction(new QAction(nullptr)), | ||
67 | mSaveAction(new QAction), | 67 | mSaveAction(new QAction(nullptr)), | ||
68 | mMessageWidget(new KMessageWidget), | 68 | mMessageWidget(new KMessageWidget), | ||
69 | mToolsMenu(new QMenu), | 69 | mToolsMenu(new QMenu), | ||
70 | mScreenRecorderToolsMenu(new QMenu), | 70 | mScreenRecorderToolsMenu(new QMenu), | ||
71 | mExportMenu(new ExportMenu(this)), | 71 | mExportMenu(new ExportMenu(this)), | ||
72 | mOnClickAvailable(onClickAvailable) | 72 | mOnClickAvailable(onClickAvailable) | ||
73 | { | 73 | { | ||
74 | // before we do anything, we need to set a window property | 74 | // before we do anything, we need to set a window property | ||
75 | // that skips the close/hide window animation on kwin. this | 75 | // that skips the close/hide window animation on kwin. this | ||
▲ Show 20 Lines • Show All 328 Lines • Show Last 20 Lines |