summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoasessionmanager.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-07-13 13:43:49 +0200
committerOlivier Goffart <ogoffart@woboq.com>2014-07-13 13:48:19 +0200
commit12a4db710e0e663741e239d76ffe4625e94dace2 (patch)
treea8265beb2afb55be429c2811b1434936548bb459 /src/plugins/platforms/cocoa/qcocoasessionmanager.cpp
parentff7fdf78efb7287af6347c710ac00a0d17d9dfc1 (diff)
Revert "Session management for OS X"
Broke tst_QMenu::statusTip by closing the menu while it should not. (and therefore, a QTimer::singleShot that fires while following test are running is making the test fail) This reverts commit 50c04d631858639c630e85456e7e003a80e33493. Change-Id: Ib4ef8190f945b915fe268745cc64d471994c5e2d Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoasessionmanager.cpp')
-rw-r--r--src/plugins/platforms/cocoa/qcocoasessionmanager.cpp70
1 files changed, 0 insertions, 70 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoasessionmanager.cpp b/src/plugins/platforms/cocoa/qcocoasessionmanager.cpp
deleted file mode 100644
index 9d0df65bc8..0000000000
--- a/src/plugins/platforms/cocoa/qcocoasessionmanager.cpp
+++ /dev/null
@@ -1,70 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2013 Samuel Gaist <samuel.gaist@edeltech.ch>
-** Contact: http://www.qt-project.org/legal
-**
-** This file is part of the plugins of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Digia. For licensing terms and
-** conditions see http://qt.digia.com/licensing. For further information
-** use the contact form at http://qt.digia.com/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Digia gives you certain additional
-** rights. These rights are described in the Digia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3.0 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU General Public License version 3.0 requirements will be
-** met: http://www.gnu.org/copyleft/gpl.html.
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QT_NO_SESSIONMANAGER
-#include <qcocoasessionmanager.h>
-#include <qstring.h>
-
-QT_BEGIN_NAMESPACE
-
-QCocoaSessionManager::QCocoaSessionManager(const QString &id, const QString &key)
- : QPlatformSessionManager(id, key),
- m_canceled(false)
-{
-}
-
-QCocoaSessionManager::~QCocoaSessionManager()
-{
-}
-
-void QCocoaSessionManager::cancel()
-{
- m_canceled = true;
-}
-
-bool QCocoaSessionManager::wasCanceled() const
-{
- return m_canceled;
-}
-
-QT_END_NAMESPACE
-
-#endif // QT_NO_SESSIONMANAGER