| 1 | /* |
| 2 | * midisnoop - MIDI monitor and prober |
| 3 | * Copyright (C) 2012 Devin Anderson |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify it |
| 6 | * under the terms of the GNU General Public License as published by the Free |
| 7 | * Software Foundation; either version 2 of the License, or (at your option) |
| 8 | * any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, but WITHOUT |
| 11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 13 | * more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License along with |
| 16 | * this program; if not, write to the Free Software Foundation, Inc., 675 Mass |
| 17 | * Ave, Cambridge, MA 02139, USA. |
| 18 | */ |
| 19 | |
| 20 | #ifndef __VIEW_H__ |
| 21 | #define __VIEW_H__cxx . . $ `src/view.h:21:9`! |
| 22 | |
| 23 | #include <QtWidgets/QWidget> |
| 24 | |
| 25 | #include "closeeventfilter.h"cxx . . $ `<file>/src/closeeventfilter.h`/ |
| 26 | |
| 27 | class Viewcxx . . $ View#: public QObjectcxx . . $ QObject# { |
| 28 | |
| 29 | Q_OBJECTcxx . . $ View#trUtf8(75d9f1c324b4579d). |
| 30 | |
| 31 | public: |
| 32 | |
| 33 | bool |
| 34 | isCloseEnabledcxx . . $ View#isCloseEnabled(50ce9a9e25b4a850).() const; |
| 35 | |
| 36 | bool |
| 37 | isVisiblecxx . . $ View#isVisible(50ce9a9e25b4a850).() const; |
| 38 | |
| 39 | public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 40 | |
| 41 | void |
| 42 | hidecxx . . $ View#hide(49f6e7a06ebc5aa8).(); |
| 43 | |
| 44 | virtual void |
| 45 | setCloseEnabledcxx . . $ View#setCloseEnabled(b45ddcbc8423892c).(bool enabled); |
| 46 | |
| 47 | virtual void |
| 48 | setVisiblecxx . . $ View#setVisible(b45ddcbc8423892c).(bool visible); |
| 49 | |
| 50 | void |
| 51 | showcxx . . $ View#show(49f6e7a06ebc5aa8).(); |
| 52 | |
| 53 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 54 | |
| 55 | void |
| 56 | closeEnabledChangedcxx . . $ View#closeEnabledChanged(b45ddcbc8423892c).(bool enabled); |
| 57 | |
| 58 | void |
| 59 | closeRequestcxx . . $ View#closeRequest(49f6e7a06ebc5aa8).(); |
| 60 | |
| 61 | void |
| 62 | visibilityChangedcxx . . $ View#visibilityChanged(b45ddcbc8423892c).(bool visible); |
| 63 | |
| 64 | protected: |
| 65 | |
| 66 | explicit |
| 67 | Viewcxx . . $ View#View(999d990128f944b).(QWidgetcxx . . $ QWidget# *rootWidget, QObjectcxx . . $ QObject# *parent=0); |
| 68 | |
| 69 | virtual |
| 70 | ~cxx . . $ View#`~View`(ced63f7c635d850d).Viewcxx . . $ View#(); |
| 71 | |
| 72 | const QWidgetcxx . . $ QWidget# * |
| 73 | getRootWidgetcxx . . $ View#getRootWidget(1ca17356d9a777f4).() const; |
| 74 | |
| 75 | QWidgetcxx . . $ QWidget# * |
| 76 | getRootWidgetcxx . . $ View#getRootWidget(9b769eeb00a33a04).(); |
| 77 | |
| 78 | private: |
| 79 | |
| 80 | CloseEventFiltercxx . . $ CloseEventFilter# closeEventFiltercxx . . $ View#closeEventFilter.; |
| 81 | QWidgetcxx . . $ QWidget# *rootWidgetcxx . . $ View#rootWidget.; |
| 82 | |
| 83 | }; |
| 84 | |
| 85 | #endif |