~ubuntu-branches/ubuntu/vivid/youker-assistant/vivid

« back to all changes in this revision

Viewing changes to src/youker-application.h

  • Committer: Package Import Robot
  • Author(s): Kobe Lee (kylinkobe)
  • Date: 2013-09-18 16:22:14 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130918162214-6nqyjyf3cd3ynqky
Tags: 0.2.1-0ubuntu1
* Modify the mouse events of MonitorBall.
* Add reset button for clear pages.
* Add policykit for apt clear in sudodbus.
* Fixed the bug about software status and add masklayer.
* Rewrite the code of system information.
* Add some signals and slots.
* Fixed the bug about Software signals(LP: #1226389).
* Modify KThread and add base.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <QApplication>
21
21
#include <QMouseEvent>
22
22
#include "QPoint"
23
 
#include <QBoxLayout>
24
 
#include <QStackedWidget>
25
23
#include "tray.h"
26
 
#include "handler.h"
 
24
#include "alertdialog.h"
27
25
#include <QDBusInterface>
28
26
#include <QDBusConnection>
 
27
#include <QtGui>
29
28
class IhuApplication : public QApplication
30
29
{
31
30
    Q_OBJECT
34
33
    virtual ~IhuApplication();
35
34
    bool setup();
36
35
private:
 
36
    //关联QML界面
37
37
    QDeclarativeView *viewer;
38
 
    QDeclarativeView *viewer_float;
39
 
    QDeclarativeView *viewer_small;
40
 
    QDeclarativeView *viewer_widget;
 
38
    //系统托盘
41
39
    Tray *tray;
42
 
    Handler *handler;
 
40
public slots:
 
41
    //主界面显示和隐藏
 
42
    void showOrHideMainPage();
43
43
};
44
44
#endif // SYSTEMAPPLICATION_H