- Timestamp:
- May 16, 2014, 9:51:55 AM (11 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 163
- Property svn:mergeinfo changed
-
smplayer/trunk/src/qtsingleapplication/qtsingleapplication.h
r128 r165 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0 Nokia Corporationand/or its subsidiary(-ies).4 ** All rights reserved.3 ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 5 5 ** 6 ** Contact: Nokia Corporation (qt-info@nokia.com)6 ** This file is part of the Qt Solutions component. 7 7 ** 8 ** This file is part of a Qt Solutions component. 9 ** 8 ** $QT_BEGIN_LICENSE:BSD$ 10 9 ** You may use this file under the terms of the BSD license as follows: 11 10 ** … … 19 18 ** the documentation and/or other materials provided with the 20 19 ** distribution. 21 ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor22 ** the names of its contributors may be used to endorse or promote23 ** products derived from this software without specific prior written24 ** permission.20 ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 ** of its contributors may be used to endorse or promote products derived 22 ** from this software without specific prior written permission. 23 ** 25 24 ** 26 25 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS … … 36 35 ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 37 36 ** 37 ** $QT_END_LICENSE$ 38 ** 38 39 ****************************************************************************/ 39 40 … … 41 42 #define QTSINGLEAPPLICATION_H 42 43 43 #include <Q tGui/QApplication>44 #include <QApplication> 44 45 45 46 class QtLocalPeer; 46 47 47 #if defined(Q_ WS_WIN)48 #if defined(Q_OS_WIN) 48 49 # if !defined(QT_QTSINGLEAPPLICATION_EXPORT) && !defined(QT_QTSINGLEAPPLICATION_IMPORT) 49 50 # define QT_QTSINGLEAPPLICATION_EXPORT … … 68 69 QtSingleApplication(int &argc, char **argv, bool GUIenabled = true); 69 70 QtSingleApplication(const QString &id, int &argc, char **argv); 71 #if QT_VERSION < 0x050000 70 72 QtSingleApplication(int &argc, char **argv, Type type); 71 # if defined(Q_WS_X11)73 # if defined(Q_WS_X11) 72 74 QtSingleApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0); 73 75 QtSingleApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0); 74 76 QtSingleApplication(Display* dpy, const QString &appId, int argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0); 75 #endif 77 # endif // Q_WS_X11 78 #endif // QT_VERSION < 0x050000 76 79 77 80 bool isRunning();
Note:
See TracChangeset
for help on using the changeset viewer.