~timo-jyrinki/ubuntu/trusty/maliit-framework/fix_qt52

« back to all changes in this revision

Viewing changes to src/mimxapplication.h

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo, Sergio Schvezov, Ricardo Salveti de Araujo
  • Date: 2013-07-23 19:47:04 UTC
  • mfrom: (1.1.2) (1.2.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130723194704-1lsy1kmlda069cea
Tags: 0.99.0+git20130615+97e8335-0ubuntu1
[ Sergio Schvezov ]
* New build from HEAD 97e8335.
* Packaging import from lp:phablet-extras/maliit-framework.

[ Ricardo Salveti de Araujo ]
* debian/control: adding vcs and fixing dependencies
* General package cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef MIMXAPPLICATION_H
2
 
#define MIMXAPPLICATION_H
3
 
 
4
 
#include <QApplication>
5
 
 
6
 
#include "mimxserverlogic.h"
7
 
 
8
 
/*! \ingroup maliitserver
9
 
 * \brief Application abstraction for X applications.
10
 
 */
11
 
class MImXApplication : public QApplication
12
 
{
13
 
    Q_OBJECT
14
 
public:
15
 
 
16
 
    MImXApplication(int &argc, char** argv, const MImServerXOptions &options);
17
 
    virtual ~MImXApplication();
18
 
    static MImXApplication *instance();
19
 
 
20
 
    bool x11EventFilter(XEvent *ev);
21
 
 
22
 
    MImXServerLogic *serverLogic() const;
23
 
 
24
 
private:
25
 
    QScopedPointer<MImXServerLogic> mServerLogic;
26
 
 
27
 
    friend class Ut_PassthroughServer;
28
 
};
29
 
 
30
 
#endif // MIMXAPPLICATION_H