Code Review
/
staging
/
HomeScreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix highlight on Shortcut area
[staging/HomeScreen.git]
/
HomeScreen
/
src2
/
applicationlauncher.h
diff --git
a/HomeScreen/src2/applicationlauncher.h
b/HomeScreen/src2/applicationlauncher.h
index
14acae8
..
00fbbe8
100644
(file)
--- a/
HomeScreen/src2/applicationlauncher.h
+++ b/
HomeScreen/src2/applicationlauncher.h
@@
-25,18
+25,24
@@
class ApplicationLauncher : public QObject
{
Q_OBJECT
class ApplicationLauncher : public QObject
{
Q_OBJECT
+ Q_PROPERTY(QString current READ current WRITE setCurrent NOTIFY currentChanged)
public:
explicit ApplicationLauncher(QObject *parent = NULL);
~ApplicationLauncher();
public:
explicit ApplicationLauncher(QObject *parent = NULL);
~ApplicationLauncher();
+ QString current() const;
+
signals:
void newAppRequestsToBeVisible(int pid);
signals:
void newAppRequestsToBeVisible(int pid);
+ void currentChanged(const QString ¤t);
public slots:
int launch(const QString &application);
public slots:
int launch(const QString &application);
+ void setCurrent(const QString ¤t);
private:
org::agl::appframework *mp_dBusAppFrameworkProxy;
private:
org::agl::appframework *mp_dBusAppFrameworkProxy;
+ QString m_current;
};
#endif // APPLICATIONLAUNCHER_H
};
#endif // APPLICATIONLAUNCHER_H