KParts

openurlarguments.h
1 /* This file is part of the KDE project
2  Copyright (C) 1999 Simon Hausmann <[email protected]>
3  (C) 1999 David Faure <[email protected]>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef _KPARTS_OPENURLARGUMENTS_H
22 #define _KPARTS_OPENURLARGUMENTS_H
23 
24 #include <kparts/kparts_export.h>
25 
26 #include <QSharedDataPointer>
27 #include <QString>
28 #include <QMap>
29 
30 
31 namespace KParts
32 {
33 
34 
35 class OpenUrlArgumentsPrivate;
36 
49 class KPARTS_EXPORT OpenUrlArguments
50 {
51 public:
53  OpenUrlArguments(const OpenUrlArguments &other);
54  OpenUrlArguments &operator=(const OpenUrlArguments &other);
56 
61  bool reload() const;
66  void setReload(bool b);
67 
73  int xOffset() const;
74  void setXOffset(int x);
75 
81  int yOffset() const;
82  void setYOffset(int y);
83 
87  QString mimeType() const;
88  void setMimeType(const QString &mime);
89 
97  bool actionRequestedByUser() const;
98  void setActionRequestedByUser(bool userRequested);
99 
105  QMap<QString, QString> &metaData();
106  const QMap<QString, QString> &metaData() const;
107 
108 private:
110 };
111 
112 } // namespace
113 
114 #endif
The KParts namespace,.
OpenUrlArguments is the set of arguments that specify how a URL should be opened by KParts::ReadOnlyP...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jul 10 2020 22:52:55 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.