mirror of
https://github.com/KDE/konsole.git
synced 2026-05-24 22:45:39 -04:00
White space changes - astyle and Qt normalize don't like each other.
Use 'git diff -w --ignore-all-space' to see non-whitespace changes.
This commit is contained in:
@@ -147,7 +147,7 @@ void ViewContainer::addView(QWidget* view , ViewProperties* item, int index)
|
||||
|
||||
_navigation[view] = item;
|
||||
|
||||
connect(view , SIGNAL(destroyed(QObject*)) , this , SLOT(viewDestroyed(QObject*)));
|
||||
connect(view, SIGNAL(destroyed(QObject*)), this, SLOT(viewDestroyed(QObject*)));
|
||||
|
||||
addViewWidget(view, index);
|
||||
|
||||
@@ -179,7 +179,7 @@ void ViewContainer::removeView(QWidget* view)
|
||||
_views.removeAll(view);
|
||||
_navigation.remove(view);
|
||||
|
||||
disconnect(view , SIGNAL(destroyed(QObject*)) , this , SLOT(viewDestroyed(QObject*)));
|
||||
disconnect(view, SIGNAL(destroyed(QObject*)), this, SLOT(viewDestroyed(QObject*)));
|
||||
|
||||
removeViewWidget(view);
|
||||
|
||||
@@ -436,13 +436,13 @@ TabbedViewContainer::TabbedViewContainer(NavigationPosition position , QObject*
|
||||
_tabBar->setFocusPolicy(Qt::NoFocus);
|
||||
_tabBar->setSelectionBehaviorOnRemove(QTabBar::SelectPreviousTab);
|
||||
|
||||
connect(_tabBar , SIGNAL(currentChanged(int)) , this , SLOT(currentTabChanged(int)));
|
||||
connect(_tabBar , SIGNAL(tabDoubleClicked(int)) , this , SLOT(tabDoubleClicked(int)));
|
||||
connect(_tabBar , SIGNAL(newTabRequest()) , this , SIGNAL(newViewRequest()));
|
||||
connect(_tabBar , SIGNAL(wheelDelta(int)) , this , SLOT(wheelScrolled(int)));
|
||||
connect(_tabBar , SIGNAL(initiateDrag(int)) , this , SLOT(startTabDrag(int)));
|
||||
connect(_tabBar, SIGNAL(contextMenu(int, QPoint)), this,
|
||||
SLOT(openTabContextMenu(int, QPoint)));
|
||||
connect(_tabBar, SIGNAL(currentChanged(int)), this, SLOT(currentTabChanged(int)));
|
||||
connect(_tabBar, SIGNAL(tabDoubleClicked(int)), this, SLOT(tabDoubleClicked(int)));
|
||||
connect(_tabBar, SIGNAL(newTabRequest()), this, SIGNAL(newViewRequest()));
|
||||
connect(_tabBar, SIGNAL(wheelDelta(int)), this, SLOT(wheelScrolled(int)));
|
||||
connect(_tabBar, SIGNAL(initiateDrag(int)), this, SLOT(startTabDrag(int)));
|
||||
connect(_tabBar, SIGNAL(contextMenu(int,QPoint)), this,
|
||||
SLOT(openTabContextMenu(int,QPoint)));
|
||||
|
||||
// The context menu of tab bar
|
||||
_contextPopupMenu = new KMenu(_tabBar);
|
||||
@@ -473,8 +473,8 @@ TabbedViewContainer::TabbedViewContainer(NavigationPosition position , QObject*
|
||||
_newTabButton->setHidden(true);
|
||||
_closeTabButton->setHidden(true);
|
||||
|
||||
connect(_newTabButton , SIGNAL(clicked()) , this , SIGNAL(newViewRequest()));
|
||||
connect(_closeTabButton , SIGNAL(clicked()) , this , SLOT(closeCurrentTab()));
|
||||
connect(_newTabButton, SIGNAL(clicked()), this, SIGNAL(newViewRequest()));
|
||||
connect(_closeTabButton, SIGNAL(clicked()), this, SLOT(closeCurrentTab()));
|
||||
|
||||
// Combin tab bar and 'new/close tab' buttons
|
||||
_tabBarLayout = new QHBoxLayout;
|
||||
@@ -748,11 +748,11 @@ void TabbedViewContainer::addViewWidget(QWidget* view , int index)
|
||||
_stackWidget->updateGeometry();
|
||||
|
||||
ViewProperties* item = viewProperties(view);
|
||||
connect(item , SIGNAL(titleChanged(ViewProperties*)) , this ,
|
||||
connect(item, SIGNAL(titleChanged(ViewProperties*)), this ,
|
||||
SLOT(updateTitle(ViewProperties*)));
|
||||
connect(item , SIGNAL(iconChanged(ViewProperties*)) , this ,
|
||||
connect(item, SIGNAL(iconChanged(ViewProperties*)), this ,
|
||||
SLOT(updateIcon(ViewProperties*)));
|
||||
connect(item , SIGNAL(activity(ViewProperties*)) , this ,
|
||||
connect(item, SIGNAL(activity(ViewProperties*)), this ,
|
||||
SLOT(updateActivity(ViewProperties*)));
|
||||
|
||||
_tabBar->insertTab(index , item->icon() , item->title());
|
||||
|
||||
Reference in New Issue
Block a user