Commit 9efe24c2 authored by David Faure's avatar David Faure

Port away from deprecated KTabWidget API

What's left is to port the other plugins away from KArrowButton and from knewstuff2,
I'm stopping here.
parent cf376658
......@@ -94,6 +94,8 @@ m_curResultTree(0)
QWidget *container = new QWidget(m_toolView);
m_ui.setupUi(container);
m_ui.resultTabWidget->tabBar()->setSelectionBehaviorOnRemove(QTabBar::SelectLeftTab);
m_ui.displayOptions->setIcon(KIcon("arrow-down-double"));
m_ui.searchButton->setIcon(KIcon("edit-find"));
m_ui.stopButton->setIcon(KIcon("process-stop"));
......
......@@ -136,13 +136,10 @@
</property>
<item>
<widget class="KTabWidget" name="resultTabWidget">
<property name="tabReorderingEnabled">
<property name="movable">
<bool>true</bool>
</property>
<property name="closeButtonEnabled">
<bool>true</bool>
</property>
<property name="tabCloseActivatePrevious">
<property name="tabsClosable">
<bool>true</bool>
</property>
<property name="automaticResizeTabs">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment