|
|
|
|
@ -56,10 +56,8 @@
|
|
|
|
|
connect(m_manager, TQ_SIGNAL(activePartChanged(KParts::Part*)),
|
|
|
|
|
this, TQ_SLOT(createGUI(KParts::Part*)) );
|
|
|
|
|
|
|
|
|
|
#if KDE_IS_VERSION(3, 3, 0)
|
|
|
|
|
setToolviewStyle( KMdi::TextAndIcon );
|
|
|
|
|
tabWidget()->setHoverCloseButton( false );
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
setMenuForSDIModeSysButtons( menuBar() );
|
|
|
|
|
setManagedDockPositionModeEnabled(true);
|
|
|
|
|
@ -85,7 +83,6 @@
|
|
|
|
|
addToolWindow( m_console, KDockWidget::DockBottom, getMainDockWidget(), 20 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if KDE_IS_VERSION(3, 3, 0)
|
|
|
|
|
if (Settings::showCloseTabsButton())
|
|
|
|
|
{
|
|
|
|
|
TQToolButton *but = new TQToolButton(tabWidget());
|
|
|
|
|
@ -95,7 +92,6 @@
|
|
|
|
|
connect(but, TQ_SIGNAL(clicked()), actionCollection()->action( "file_close" ), TQ_SIGNAL(activated()));
|
|
|
|
|
tabWidget()->setCornerWidget(but, TopRight);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// apply the saved mainwindow settings, if any, and ask the mainwindow
|
|
|
|
|
// to automatically save settings if changed: window size, toolbar
|
|
|
|
|
|