| 1 | /* |
| 2 | * Copyright (C) 2013 Canonical Ltd. |
| 3 | * |
| 4 | * Contact: Alberto Mardegan <[email protected]> |
| 5 | * |
| 6 | * This file is part of lomiri-online-accounts-ui |
| 7 | * |
| 8 | * This program is free software: you can redistribute it and/or modify it |
| 9 | * under the terms of the GNU General Public License version 3, as published |
| 10 | * by the Free Software Foundation. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranties of |
| 14 | * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
| 15 | * PURPOSE. See the GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License along |
| 18 | * with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #ifndef WINDOW_WATCHER_H |
| 22 | #define WINDOW_WATCHER_Hcxx . . $ `tests/online-accounts-ui/tst_signonui_request/window-watcher.h:22:9`! |
| 23 | |
| 24 | #include <QObject> |
| 25 | #include <QWindow> |
| 26 | |
| 27 | class WindowWatchercxx . . $ WindowWatcher#: public QObjectcxx . . $ QObject# |
| 28 | { |
| 29 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 30 | |
| 31 | public: |
| 32 | static WindowWatchercxx . . $ WindowWatcher# *instancecxx . . $ WindowWatcher#instance(67e9f289a7ed84bf).() { |
| 33 | if (!m_instancecxx . . $ WindowWatcher#m_instance.) { |
| 34 | m_instancecxx . . $ WindowWatcher#m_instance. = new WindowWatchercxx . . $ WindowWatcher#WindowWatcher(49f6e7a06ebc5aa8).; |
| 35 | } |
| 36 | return m_instancecxx . . $ WindowWatcher#m_instance.; |
| 37 | } |
| 38 | |
| 39 | void emitWindowShowncxx . . $ WindowWatcher#emitWindowShown(35681b993d9a3c79).(QWindowcxx . . $ QWindow# *w) { |
| 40 | Q_EMITcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:95:10`! windowShowncxx . . $ WindowWatcher#windowShown(749de1b6ae65bddd).(w); |
| 41 | } |
| 42 | |
| 43 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 44 | void windowShowncxx . . $ WindowWatcher#windowShown(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *); |
| 45 | |
| 46 | protected: |
| 47 | WindowWatchercxx . . $ WindowWatcher#WindowWatcher(49f6e7a06ebc5aa8).(): QObjectcxx . . $ QObject#QObject(749de1b6ae65bddd).() {} |
| 48 | |
| 49 | private: |
| 50 | static WindowWatchercxx . . $ WindowWatcher# *m_instancecxx . . $ WindowWatcher#m_instance.; |
| 51 | }; |
| 52 | |
| 53 | #endif // WINDOW_WATCHER_H |