~boiko/messaging-app/uri_handler

« back to all changes in this revision

Viewing changes to src/messagingapplication.h

  • Committer: Gustavo Pichorim Boiko
  • Date: 2013-10-04 20:41:34 UTC
  • Revision ID: gustavo.boiko@canonical.com-20131004204134-thvjohvtjwcd2nt2
Change the messaging-app to use the new URL dispatcher mechanism.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <QQuickView>
24
24
#include <QGuiApplication>
25
25
 
26
 
class MessagingAppDBus;
27
 
 
28
26
class MessagingApplication : public QGuiApplication
29
27
{
30
28
    Q_OBJECT
37
35
 
38
36
public Q_SLOTS:
39
37
    void activateWindow();
40
 
 
41
 
private:
42
38
    void parseArgument(const QString &arg);
43
39
 
44
40
private Q_SLOTS:
45
 
    void onMessageReceived(const QString &message);
46
41
    void onViewStatusChanged(QQuickView::Status status);
47
42
    void onApplicationReady();
48
 
    void onMessageSendRequested(const QString &phoneNumber, const QString &message);
49
43
 
50
44
private:
51
45
    QQuickView *m_view;
52
 
    MessagingAppDBus *m_dbus;
53
46
    QString m_arg;
54
47
    bool m_applicationIsReady;
55
48
};