diff --git a/plugins/remotekeyboard/remotekeyboardplugin.h b/plugins/remotekeyboard/remotekeyboardplugin.h --- a/plugins/remotekeyboard/remotekeyboardplugin.h +++ b/plugins/remotekeyboard/remotekeyboardplugin.h @@ -66,8 +66,8 @@ Q_SIGNALS: Q_SCRIPTABLE void keyPressReceived(const QString& key, int specialKey = 0, bool shift = false, bool ctrl = false, - bool alt = false) const; - Q_SCRIPTABLE void remoteStateChanged(bool state) const; + bool alt = false); + Q_SCRIPTABLE void remoteStateChanged(bool state); }; #endif diff --git a/plugins/sms/conversationsdbusinterface.h b/plugins/sms/conversationsdbusinterface.h --- a/plugins/sms/conversationsdbusinterface.h +++ b/plugins/sms/conversationsdbusinterface.h @@ -76,8 +76,8 @@ Q_SIGNALS: Q_SCRIPTABLE void conversationCreated(const QVariantMap& msg); Q_SCRIPTABLE void conversationRemoved(const QString& threadID); - Q_SCRIPTABLE void conversationUpdated(const QVariantMap& msg) const; - Q_SCRIPTABLE void conversationMessageReceived(const QVariantMap& msg, int pos) const; + Q_SCRIPTABLE void conversationUpdated(const QVariantMap& msg); + Q_SCRIPTABLE void conversationMessageReceived(const QVariantMap& msg, int pos); private /*methods*/: QString newId(); //Generates successive identifitiers to use as public ids