Code Review
/
staging
/
HomeScreen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Integrate HomeScreen D-Bus API
[staging/HomeScreen.git]
/
sample-qml
/
calledbyqml.h
1
#ifndef CALLEDBYQML_H
2
#define CALLEDBYQML_H
3
#include <QObject>
4
5
class CalledByQml : public QObject
6
{
7
Q_OBJECT
8
9
public:
10
explicit CalledByQml(QObject *parent = 0);
11
Q_INVOKABLE int consoleout();
12
Q_INVOKABLE int showup();
13
14
signals:
15
16
public slots:
17
void refresh() {
18
qDebug("Called the C++ slot");
19
}
20
};
21
22
#endif // CALLEDBYQML_H