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

« back to all changes in this revision

Viewing changes to src/mimserver.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:
20
20
 
21
21
class MInputContextConnection;
22
22
class MImServerPrivate;
23
 
class QWidget;
24
 
 
25
 
class MImAbstractServerLogic;
 
23
 
 
24
 
 
25
namespace Maliit
 
26
{
 
27
 
 
28
class AbstractPlatform;
 
29
 
 
30
} // namespace Maliit
26
31
 
27
32
/* MImServer: The Maliit Input Method Server
28
33
 *
29
34
 * Consumers of MImServer are responsible for creating a QApplication (for the mainloop),
30
35
 * and an MInputContextConnection for communication with clients, and for starting the mainloop.
31
36
 * Everything else is handled by the server.
32
 
 *
33
 
 * Note: For X11, MImServer MUST be used together with MImXApplication.
34
37
 */
35
38
class MImServer : public QObject
36
39
{
43
46
    };
44
47
 
45
48
public:
46
 
    explicit MImServer(const QSharedPointer<MImAbstractServerLogic> &serverLogic,
47
 
                       const QSharedPointer<MInputContextConnection> &icConnection,
 
49
    explicit MImServer(const QSharedPointer<MInputContextConnection> &icConnection,
 
50
                       const QSharedPointer<Maliit::AbstractPlatform> &platform,
48
51
                       QObject *parent = 0);
49
52
    ~MImServer();
50
53
 
51
54
    static void configureSettings(MImServer::SettingsType settingsType);
52
55
 
53
56
private:
54
 
    void connectComponents();
55
 
 
56
57
    Q_DISABLE_COPY(MImServer)
57
58
    Q_DECLARE_PRIVATE(MImServer)
 
59
 
58
60
    const QScopedPointer<MImServerPrivate> d_ptr;
59
61
};
60
62