Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d1369c34 authored by Kurt Hindenburg's avatar Kurt Hindenburg

normalize that last remaining old Qt slot/signals

parent 2a2a56d7
......@@ -245,8 +245,8 @@ void Part::activeViewChanged(SessionController *controller)
connect(controller, &Konsole::SessionController::currentDirectoryChanged, this,
&Konsole::Part::currentDirectoryChanged);
const char *displaySignal = SIGNAL(overrideShortcutCheck(QKeyEvent *,bool&));
const char *partSlot = SLOT(overrideTerminalShortcut(QKeyEvent *,bool&));
const char *displaySignal = SIGNAL(overrideShortcutCheck(QKeyEvent*,bool&));
const char *partSlot = SLOT(overrideTerminalShortcut(QKeyEvent*,bool&));
disconnect(controller->view(), displaySignal, this, partSlot);
connect(controller->view(), displaySignal, this, partSlot);
......
......@@ -92,9 +92,9 @@ void ViewSplitter::registerContainer(ViewContainer *container)
// syntax works.
//connect(container , static_cast<void(ViewContainer::*)(ViewContainer*)>(&Konsole::ViewContainer::destroyed) , this , &Konsole::ViewSplitter::containerDestroyed);
//connect(container , &Konsole::ViewContainer::empty , this , &Konsole::ViewSplitter::containerEmpty);
connect(container, SIGNAL(destroyed(ViewContainer *)), this,
SLOT(containerDestroyed(ViewContainer *)));
connect(container, SIGNAL(empty(ViewContainer *)), this, SLOT(containerEmpty(ViewContainer *)));
connect(container, SIGNAL(destroyed(ViewContainer*)), this,
SLOT(containerDestroyed(ViewContainer*)));
connect(container, SIGNAL(empty(ViewContainer*)), this, SLOT(containerEmpty(ViewContainer*)));
}
void ViewSplitter::unregisterContainer(ViewContainer *container)
......
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