summaryrefslogtreecommitdiffstats
path: root/util/install/win/shell.h
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-05-12 12:22:52 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-05-12 12:22:52 (GMT)
commitbcbe1c3438f38087b16465f5b5aeac5d54a42d40 (patch)
treed939e5eb97c676fd8202595f405bcd8b0170175c /util/install/win/shell.h
parent1099908428c594d67fe1da740126f4acfcdc8a0a (diff)
parentc711885b5694a51f0c22908e57e74c60188bd879 (diff)
downloadQt-bcbe1c3438f38087b16465f5b5aeac5d54a42d40.zip
Qt-bcbe1c3438f38087b16465f5b5aeac5d54a42d40.tar.gz
Qt-bcbe1c3438f38087b16465f5b5aeac5d54a42d40.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into kinetic-declarativeui
Diffstat (limited to 'util/install/win/shell.h')
-rw-r--r--util/install/win/shell.h87
1 files changed, 0 insertions, 87 deletions
diff --git a/util/install/win/shell.h b/util/install/win/shell.h
deleted file mode 100644
index 4d5f9af..0000000
--- a/util/install/win/shell.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the utils of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the either Technology Preview License Agreement or the
-** Beta Release License Agreement.
-**
-** 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, Nokia gives you certain
-** additional rights. These rights are described in the Nokia Qt LGPL
-** Exception version 1.0, 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.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-#ifndef SHELL_H
-#define SHELL_H
-
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qpixmap.h>
-#if defined(Q_OS_WIN32)
-#include <windows.h>
-#include <shlobj.h>
-#endif
-
-class WinShell
-{
-public:
- WinShell();
- ~WinShell();
-
-private:
- bool createDir( QString fullPath );
-#if defined(Q_OS_WIN32)
- QString OLESTR2QString( LPOLESTR str );
-#endif
-public:
- QString localProgramsFolderName;
- QString commonProgramsFolderName;
- QString windowsFolderName;
- QString selectFolder( QString folderName, bool common );
-
- QString createFolder( QString folderName, bool common );
-
-#if defined(Q_OS_WIN32)
- HRESULT createShortcut( QString folderName, bool common, QString shortcutName, QString target, QString description = QString(), QString arguments = QString(), QString wrkDir = QString() );
- void createInternetShortcut( QString folderName, bool common, QString shortcutName, QString url );
-#endif
-
- static QPixmap* getOpenFolderImage();
- static QPixmap* getClosedFolderImage();
- static QPixmap* getFileImage();
- static QPixmap* getInfoImage();
-#if defined(Q_OS_WIN32)
- static ULARGE_INTEGER dirFreeSpace( QString dirPath );
-#elif defined(Q_OS_MAC)
- static long dirFreeSpace( QString dirPath );
-#endif
-};
-
-#endif