summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qdesktopservices.h
blob: aed774239c9dc6251150f1832e2d60e229f0cba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module 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 Technology Preview License Agreement accompanying
** this package.
**
** 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.1, included in the file LGPL_EXCEPTION.txt in this
** package.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
**
**
**
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/

#ifndef QDESKTOPSERVICES_H
#define QDESKTOPSERVICES_H

#include <QtCore/qstring.h>

QT_BEGIN_HEADER

QT_BEGIN_NAMESPACE

QT_MODULE(Gui)

#ifndef QT_NO_DESKTOPSERVICES

class QStringList;
class QUrl;
class QObject;

class Q_GUI_EXPORT QDesktopServices
{
public:
    static bool openUrl(const QUrl &url);
    static void setUrlHandler(const QString &scheme, QObject *receiver, const char *method);
    static void unsetUrlHandler(const QString &scheme);

    enum StandardLocation {
        DesktopLocation,
        DocumentsLocation,
        FontsLocation,
        ApplicationsLocation,
        MusicLocation,
        MoviesLocation,
        PicturesLocation,
        TempLocation,
        HomeLocation,
        DataLocation,
        CacheLocation
    };

    static QString storageLocation(StandardLocation type);
    static QString displayName(StandardLocation type);
};

#endif // QT_NO_DESKTOPSERVICES

QT_END_NAMESPACE

QT_END_HEADER

#endif // QDESKTOPSERVICES_H

44174e'>bug_f4f44174e Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
path: root/compat
Commit message (Expand)AuthorAgeFilesLines
* Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-0221-43/+0
|\
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-0219-38/+0
| |\
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-0124-53/+0
| | * Fixed obvious stupid error. [Bug 1786647]dkf2007-09-061-1/+1
| | * * compat/memcmp.c (memcmp): Fixed the VOID / CONST typo introducedandreas_kupries2007-01-221-2/+2
| | * Fix [Bug 1631017]dkf2007-01-221-4/+5
| | * Bug 1317477Kevin B Kenny2005-11-041-12/+20
| | * * compat/string.h: fixed memchr() protoype for __APPLE__ so that wedas2005-04-261-1/+5
| | * added definition of NULL to strstr.c for Bug 1175161Kevin B Kenny2005-04-121-1/+6
| | * * compat/strftime.c (_conv): Corrected a problem where hour 0Kevin B Kenny2004-09-081-4/+10
| | * * compat/strftime.c (_fmt, ISO8601Week): Kevin B Kenny2004-05-181-21/+77
* | | Implement TIP#162rmax2010-09-282-0/+438
* | | Remove mslu completely, see Feature Req #2819611nijtmans2010-08-143-182/+0
* | | Official build of zlib1.dll 1.2.5 is finally available, so put it innijtmans2010-07-293-0/+148
* | | Include "tcl.h", not <tcl.h>,nijtmans2010-04-295-19/+10
* | | If tclInt.h or tclPort.h is alreadynijtmans2010-04-272-4/+2
* | | Upgrade to zlib 1.2.5nijtmans2010-04-20