2 * dialer - Declarative Dialer UX Main Window.
3 * Copyright (c) 2011, Tom Swindell.
5 * This program is licensed under the terms and conditions of the
6 * Apache License, version 2.0. The full text of the Apache License is at
7 * http://www.apache.org/licenses/LICENSE-2.0
11 #ifndef QMLMAINWINDOW_H
12 #define QMLMAINWINDOW_H
15 #include <QQmlComponent>
16 #include "qmldialer.h"
19 class QMLMainWindowPrivate;
21 class QMLMainWindow : public QQuickView
26 static QMLMainWindow* instance();
27 static QMLMainWindow* instanceP(QQuickView* parent);
36 void setAdapter(QMLDialer *adapter); //TODO: Refactor out
41 void onGeometryChanged();
44 explicit QMLMainWindow(QQuickView *parent = 0);
45 QMLMainWindowPrivate *d;
47 Q_DISABLE_COPY(QMLMainWindow)
50 #endif // QMLMAINWINDOW_H
52 /* Local Variables: */
54 /* c-basic-offset:4 */
55 /* indent-tabs-mode: nil */