| 1 | /**************************************************************************** |
| 2 | ** |
| 3 | ** Copyright (C) 2006-2008 fullmetalcoder <[email protected]> |
| 4 | ** |
| 5 | ** This file is part of the Edyuk project <http://edyuk.org> |
| 6 | ** |
| 7 | ** This file may be used under the terms of the GNU General Public License |
| 8 | ** version 2 as published by the Free Software Foundation and appearing in the |
| 9 | ** file GPL.txt included in the packaging of this file. |
| 10 | ** |
| 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
| 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 13 | ** |
| 14 | ****************************************************************************/ |
| 15 | |
| 16 | #ifndef _QSINGLE_APPLICATION_H_ |
| 17 | #define _QSINGLE_APPLICATION_H_cxx . . $ `gui/src/qcumber/qsingleapplication.h:17:9`! |
| 18 | |
| 19 | #include "qcumber.h"cxx . . $ `<file>/gui/src/qcumber/qcumber.h`/ |
| 20 | |
| 21 | /*! |
| 22 | \file qsingleapplication.h |
| 23 | |
| 24 | \brief Definition of the QSingleApplication class. |
| 25 | */ |
| 26 | |
| 27 | #include <QApplication> |
| 28 | |
| 29 | class QInterProcessChannelcxx . . $ QInterProcessChannel#; |
| 30 | |
| 31 | class QCUMBER_EXPORTcxx . . $ `gui/src/qcumber/qcumber.h:20:9`! QSingleApplicationcxx . . $ QSingleApplication# : public QApplicationcxx . . $ QApplication# { |
| 32 | Q_OBJECTcxx . . $ QSingleApplication#tr(75d9f1c324b4579d). |
| 33 | |
| 34 | public: |
| 35 | enum InstanciationPolicycxx . . $ QSingleApplication#InstanciationPolicy# { Nonecxx . . $ QSingleApplication#None., ForwardArgumentscxx . . $ QSingleApplication#ForwardArguments. }; |
| 36 | |
| 37 | enum MessagingPolicycxx . . $ QSingleApplication#MessagingPolicy# { Ignorecxx . . $ QSingleApplication#Ignore., Eventscxx . . $ QSingleApplication#Events., Signalscxx . . $ QSingleApplication#Signals. }; |
| 38 | |
| 39 | QSingleApplicationcxx . . $ QSingleApplication#QSingleApplication(75dd2bf67067255f).(int& argc, char** argv, bool useGui, |
| 40 | const QStringcxx . . $ QString#& appName); |
| 41 | virtual ~cxx . . $ QSingleApplication#`~QSingleApplication`(49f6e7a06ebc5aa8).QSingleApplicationcxx . . $ QSingleApplication#(); |
| 42 | |
| 43 | bool isInstanceAllowedcxx . . $ QSingleApplication#isInstanceAllowed(50ce9a9e25b4a850).() const; |
| 44 | |
| 45 | MessagingPolicycxx . . $ QSingleApplication#MessagingPolicy# messagingPolicycxx . . $ QSingleApplication#messagingPolicy(f8827169ed3197aa).() const; |
| 46 | void setMessagingPolicycxx . . $ QSingleApplication#setMessagingPolicy(6cf37042f7b77ecb).(MessagingPolicycxx . . $ QSingleApplication#MessagingPolicy# p); |
| 47 | |
| 48 | InstanciationPolicycxx . . $ QSingleApplication#InstanciationPolicy# instanciationPolicycxx . . $ QSingleApplication#instanciationPolicy(b4b68f5a20f4fdae).() const; |
| 49 | void setInstanciationPolicycxx . . $ QSingleApplication#setInstanciationPolicy(8bc40f5d94cff0bf).(InstanciationPolicycxx . . $ QSingleApplication#InstanciationPolicy# p); |
| 50 | |
| 51 | public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 52 | virtual int execcxx . . $ QSingleApplication#exec(b126dc7c1de90089).(); |
| 53 | |
| 54 | void sendRequestcxx . . $ QSingleApplication#sendRequest(3520e46b33348bf6).(const QStringcxx . . $ QString#& s); |
| 55 | void sendRequestcxx . . $ QSingleApplication#sendRequest(631c0101495f0328).(const QStringListcxx . . $ QStringList#& l); |
| 56 | |
| 57 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 58 | void requestcxx . . $ QSingleApplication#request(3520e46b33348bf6).(const QStringcxx . . $ QString#& s); |
| 59 | |
| 60 | protected: |
| 61 | virtual bool eventcxx . . $ QSingleApplication#event(f123fa2ce489f0bd).(QEventcxx . . $ QEvent#* e); |
| 62 | |
| 63 | protected slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 64 | virtual void messagecxx . . $ QSingleApplication#message(3520e46b33348bf6).(const QStringcxx . . $ QString#& msg); |
| 65 | virtual void requestcxx . . $ QSingleApplication#request(631c0101495f0328).(const QStringListcxx . . $ QStringList#& r); |
| 66 | |
| 67 | private: |
| 68 | QInterProcessChannelcxx . . $ QInterProcessChannel#* pChannelcxx . . $ QSingleApplication#pChannel.; |
| 69 | |
| 70 | MessagingPolicycxx . . $ QSingleApplication#MessagingPolicy# m_messagingcxx . . $ QSingleApplication#m_messaging.; |
| 71 | InstanciationPolicycxx . . $ QSingleApplication#InstanciationPolicy# m_instanciationcxx . . $ QSingleApplication#m_instanciation.; |
| 72 | }; |
| 73 | |
| 74 | #endif // !_QSINGLE_APPLICATION_H_ |