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