Ignore:
Timestamp:
May 16, 2014, 9:51:55 AM (11 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update trunk to latest 0.8.7

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/qtsingleapplication/qtsingleapplication.h

    r128 r165  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/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
    55**
    6 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6** This file is part of the Qt Solutions component.
    77**
    8 ** This file is part of a Qt Solutions component.
    9 **
     8** $QT_BEGIN_LICENSE:BSD$
    109** You may use this file under the terms of the BSD license as follows:
    1110**
     
    1918**     the documentation and/or other materials provided with the
    2019**     distribution.
    21 **   * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
    22 **     the names of its contributors may be used to endorse or promote
    23 **     products derived from this software without specific prior written
    24 **     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**
    2524**
    2625** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     
    3635** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
    3736**
     37** $QT_END_LICENSE$
     38**
    3839****************************************************************************/
    3940
     
    4142#define QTSINGLEAPPLICATION_H
    4243
    43 #include <QtGui/QApplication>
     44#include <QApplication>
    4445
    4546class QtLocalPeer;
    4647
    47 #if defined(Q_WS_WIN)
     48#if defined(Q_OS_WIN)
    4849#  if !defined(QT_QTSINGLEAPPLICATION_EXPORT) && !defined(QT_QTSINGLEAPPLICATION_IMPORT)
    4950#    define QT_QTSINGLEAPPLICATION_EXPORT
     
    6869    QtSingleApplication(int &argc, char **argv, bool GUIenabled = true);
    6970    QtSingleApplication(const QString &id, int &argc, char **argv);
     71#if QT_VERSION < 0x050000
    7072    QtSingleApplication(int &argc, char **argv, Type type);
    71 #if defined(Q_WS_X11)
     73#  if defined(Q_WS_X11)
    7274    QtSingleApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0);
    7375    QtSingleApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0);
    7476    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
    7679
    7780    bool isRunning();
Note: See TracChangeset for help on using the changeset viewer.