~macslow/unity8/fix-snap-decision-proxy-model-hack

« back to all changes in this revision

Viewing changes to tests/mocks/Unity/Notifications/MockNotification.cpp

  • Committer: Mirco Müller
  • Date: 2015-01-20 16:01:14 UTC
  • Revision ID: mirco.mueller@ubuntu.com-20150120160114-7m3q4ene6jghwoo2
Phew... now it works.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <QDebug>
23
23
 
24
24
struct MockNotificationPrivate {
25
 
    unsigned int id;
 
25
    int id;
26
26
    QString summary;
27
27
    QString body;
28
28
    int value;
65
65
    }
66
66
}
67
67
 
68
 
unsigned int MockNotification::getID() const {
 
68
int MockNotification::getID() const {
69
69
    return p->id;
70
70
}
71
71
 
72
 
void MockNotification::setID(const unsigned int id) {
 
72
void MockNotification::setID(const int id) {
 
73
    qDebug() << "id: " << id;
73
74
    p->id = id;
 
75
    qDebug() << "id: " << p->id;
74
76
}
75
77
 
76
78
int MockNotification::getValue() const {