Lines Matching refs:mw2
804 TestXmlGuiWindow mw2(xml, "kxmlgui_unittest.rc"); in testAutoSaveSettings() local
805 mw2.show(); in testAutoSaveSettings()
806 mw2.setAutoSaveSettings(cg); in testAutoSaveSettings()
809 QCOMPARE(mw2.size(), QSize(800, 600)); in testAutoSaveSettings()
811 mw2.createActions(QStringList() << QStringLiteral("go_up")); in testAutoSaveSettings()
812 mw2.createGUI(); in testAutoSaveSettings()
815 mw2.reallyResize(800, 600); in testAutoSaveSettings()
819 KToolBar *mainToolBar = mw2.toolBarByName(QStringLiteral("mainToolBar")); in testAutoSaveSettings()
820 QCOMPARE(mw2.toolBarArea(mainToolBar), Qt::TopToolBarArea); in testAutoSaveSettings()
821 KToolBar *secondToolBar = mw2.toolBarByName(QStringLiteral("secondToolBar")); in testAutoSaveSettings()
822 QCOMPARE(mw2.toolBarArea(secondToolBar), Qt::BottomToolBarArea); in testAutoSaveSettings()
823 mw2.applyMainWindowSettings(mw2.autoSaveConfigGroup()); in testAutoSaveSettings()
824 QCOMPARE(mw2.toolBarArea(secondToolBar), Qt::BottomToolBarArea); in testAutoSaveSettings()