Commit 554ce8d7 authored by armin's avatar armin
Browse files

corrected invalid signatures

parent 9e87ce6e
......@@ -32,7 +32,7 @@ ApplePushNotifications::ApplePushNotifications()
connect( mNotificationInstance, &IosNotificationReceiver::switchChannelByName, this, &ApplePushNotifications::onSwitchRequest );
}
void ApplePushNotifications::receiveMessage( QString pServer, QString pRid, QString pName, QString pType )
void ApplePushNotifications::receiveMessage(const QString &pServer, const QString &pRid,const QString &pName,const QString &pType )
{
emit messageReceived( pServer, pRid, pName, pType );
}
......@@ -60,7 +60,7 @@ void ApplePushNotifications::checkForPendingMessages()
emit switchChannelByName( mRoomName );
}
void ApplePushNotifications::onSwitchRequest( QString pName )
void ApplePushNotifications::onSwitchRequest( const QString &pName )
{
mRoomName = pName;
emit switchChannelByName( pName );
......
......@@ -46,7 +46,7 @@ class NotificationAbstract : public QObject
signals:
void tokenReceived( QString pToken );
void messageReceived( QString pServer, QString pRid, QString pName, QString pType );
void switchChannelByName( QString &pChannel );
void switchChannelByName( QString pChannel );
};
......
Supports Markdown
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