Commit ea7da1c6 authored by David Edmundson's avatar David Edmundson
Browse files

port old style connects

parent d873d5dd
...@@ -125,7 +125,7 @@ KWrited::KWrited() : QObject() ...@@ -125,7 +125,7 @@ KWrited::KWrited() : QObject()
setegid(getgid()); setegid(getgid());
#endif #endif
connect(pty, SIGNAL(readyRead()), this, SLOT(block_in())); connect(pty, &QIODevice::readyRead, this, &KWrited::block_in);
//qDebug() << "listening on device" << pty->ttyName(); //qDebug() << "listening on device" << pty->ttyName();
} }
...@@ -162,7 +162,7 @@ void KWrited::block_in() ...@@ -162,7 +162,7 @@ void KWrited::block_in()
#endif #endif
notification->setText( msg ); notification->setText( msg );
notification->setFlags( KNotification::SkipGrouping ); notification->setFlags( KNotification::SkipGrouping );
connect(notification, SIGNAL(closed()), notification, SLOT(deleteLater()) ); connect(notification, &KNotification::closed, notification, &QObject::deleteLater );
notification->sendEvent(); notification->sendEvent();
} }
......
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