From 46bece79dcca69f305298c9ee69dad4b9c33fc02 Mon Sep 17 00:00:00 2001 From: jeena Date: Sun, 18 Nov 2012 10:20:31 +0100 Subject: [PATCH] added HostApp methods --- Linux/Tentia.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Linux/Tentia.py b/Linux/Tentia.py index d9cd5a9..206632d 100755 --- a/Linux/Tentia.py +++ b/Linux/Tentia.py @@ -81,6 +81,31 @@ class Controller(QtCore.QObject): def loggedIn(self): self.app.authentification_succeded() + def unreadMentions(self, count): + i = int(count) + if i == 0: + self.app.timeline.setWindowTitle("Tentia (^" + count + ")") + else: + self.app.timeline.setWindowTitle("Tentia") + + def notificateUserAboutMention(self, text, name, post_id, entity): + print "notificateUserAboutMention is not implemented yet" + + def openNewMessageWidow(self, entity, status_id, string): + print "openNewMessageWidow is not implemented yet" + + def showConversation(self, id, entity): + print "showConversation is not implemented yet" + + def authentificationDidNotSucceed(self, errorMessage): + print "authentificationDidNotSucceed is not implemented yet" + + def alertTitleWithMessage(self, title, message): + print "alertTitleWithMessage is not implemented yet" + + def logout(self, sender): + print "logout is not implemented yet" + class Console(QtCore.QObject):