Changeset View
Changeset View
Standalone View
Standalone View
src/dolphinmainwindow.cpp
Show All 15 Lines | |||||
16 | * You should have received a copy of the GNU General Public License * | 16 | * You should have received a copy of the GNU General Public License * | ||
17 | * along with this program; if not, write to the * | 17 | * along with this program; if not, write to the * | ||
18 | * Free Software Foundation, Inc., * | 18 | * Free Software Foundation, Inc., * | ||
19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * | 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * | ||
20 | ***************************************************************************/ | 20 | ***************************************************************************/ | ||
21 | 21 | | |||
22 | #include "dolphinmainwindow.h" | 22 | #include "dolphinmainwindow.h" | ||
23 | 23 | | |||
24 | #include "dolphinmainwindowadaptor.h" | ||||
24 | #include "config-terminal.h" | 25 | #include "config-terminal.h" | ||
25 | #include "global.h" | 26 | #include "global.h" | ||
26 | #include "dolphinbookmarkhandler.h" | 27 | #include "dolphinbookmarkhandler.h" | ||
27 | #include "dolphindockwidget.h" | 28 | #include "dolphindockwidget.h" | ||
28 | #include "dolphincontextmenu.h" | 29 | #include "dolphincontextmenu.h" | ||
29 | #include "dolphinnewfilemenu.h" | 30 | #include "dolphinnewfilemenu.h" | ||
30 | #include "dolphinrecenttabsmenu.h" | 31 | #include "dolphinrecenttabsmenu.h" | ||
31 | #include "dolphinviewcontainer.h" | 32 | #include "dolphinviewcontainer.h" | ||
▲ Show 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | 102 | DolphinMainWindow::DolphinMainWindow() : | |||
113 | m_lastHandleUrlStatJob(nullptr), | 114 | m_lastHandleUrlStatJob(nullptr), | ||
114 | m_terminalPanel(nullptr), | 115 | m_terminalPanel(nullptr), | ||
115 | m_placesPanel(nullptr), | 116 | m_placesPanel(nullptr), | ||
116 | m_tearDownFromPlacesRequested(false), | 117 | m_tearDownFromPlacesRequested(false), | ||
117 | m_backAction(nullptr), | 118 | m_backAction(nullptr), | ||
118 | m_forwardAction(nullptr) | 119 | m_forwardAction(nullptr) | ||
119 | { | 120 | { | ||
120 | Q_INIT_RESOURCE(dolphin); | 121 | Q_INIT_RESOURCE(dolphin); | ||
122 | | ||||
123 | new MainWindowAdaptor(this); | ||||
124 | | ||||
121 | #ifndef Q_OS_WIN | 125 | #ifndef Q_OS_WIN | ||
122 | setWindowFlags(Qt::WindowContextHelpButtonHint); | 126 | setWindowFlags(Qt::WindowContextHelpButtonHint); | ||
123 | #endif | 127 | #endif | ||
124 | setComponentName(QStringLiteral("dolphin"), QGuiApplication::applicationDisplayName()); | 128 | setComponentName(QStringLiteral("dolphin"), QGuiApplication::applicationDisplayName()); | ||
125 | setObjectName(QStringLiteral("Dolphin#")); | 129 | setObjectName(QStringLiteral("Dolphin#")); | ||
126 | 130 | | |||
127 | connect(&DolphinNewFileMenuObserver::instance(), &DolphinNewFileMenuObserver::errorMessage, | 131 | connect(&DolphinNewFileMenuObserver::instance(), &DolphinNewFileMenuObserver::errorMessage, | ||
128 | this, &DolphinMainWindow::showErrorMessage); | 132 | this, &DolphinMainWindow::showErrorMessage); | ||
▲ Show 20 Lines • Show All 2226 Lines • Show Last 20 Lines |