|
1 /**************************************************************************** |
|
2 ** |
|
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
4 ** All rights reserved. |
|
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
6 ** |
|
7 ** This file is part of the Qt Mobility Components. |
|
8 ** |
|
9 ** $QT_BEGIN_LICENSE:LGPL$ |
|
10 ** No Commercial Usage |
|
11 ** This file contains pre-release code and may not be distributed. |
|
12 ** You may use this file in accordance with the terms and conditions |
|
13 ** contained in the Technology Preview License Agreement accompanying |
|
14 ** this package. |
|
15 ** |
|
16 ** GNU Lesser General Public License Usage |
|
17 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
18 ** General Public License version 2.1 as published by the Free Software |
|
19 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
20 ** packaging of this file. Please review the following information to |
|
21 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
23 ** |
|
24 ** In addition, as a special exception, Nokia gives you certain additional |
|
25 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
27 ** |
|
28 ** If you have questions regarding the use of this file, please contact |
|
29 ** Nokia at qt-info@nokia.com. |
|
30 ** |
|
31 ** |
|
32 ** |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** $QT_END_LICENSE$ |
|
39 ** |
|
40 ****************************************************************************/ |
|
41 #include "qmessagecontentcontainer.h" |
|
42 |
|
43 QTM_BEGIN_NAMESPACE |
|
44 |
|
45 QMessageContentContainer::QMessageContentContainer() |
|
46 { |
|
47 } |
|
48 |
|
49 QMessageContentContainer::QMessageContentContainer(const QMessageContentContainer &other) |
|
50 { |
|
51 Q_UNUSED(other) |
|
52 } |
|
53 |
|
54 QMessageContentContainer& QMessageContentContainer::operator=(const QMessageContentContainer& other) |
|
55 { |
|
56 Q_UNUSED(other) |
|
57 return *this; // stub |
|
58 } |
|
59 |
|
60 QMessageContentContainer::~QMessageContentContainer() |
|
61 { |
|
62 } |
|
63 |
|
64 QByteArray QMessageContentContainer::contentType() const |
|
65 { |
|
66 return QByteArray(); // stub |
|
67 } |
|
68 |
|
69 QByteArray QMessageContentContainer::contentSubType() const |
|
70 { |
|
71 return QByteArray(); // stub |
|
72 } |
|
73 |
|
74 QByteArray QMessageContentContainer::contentCharset() const |
|
75 { |
|
76 return QByteArray(); // stub |
|
77 } |
|
78 |
|
79 QByteArray QMessageContentContainer::suggestedFileName() const |
|
80 { |
|
81 return QByteArray(); // stub |
|
82 } |
|
83 |
|
84 bool QMessageContentContainer::isContentAvailable() const |
|
85 { |
|
86 return false; |
|
87 } |
|
88 |
|
89 int QMessageContentContainer::size() const |
|
90 { |
|
91 return 0; |
|
92 } |
|
93 |
|
94 QString QMessageContentContainer::textContent() const |
|
95 { |
|
96 return QString(); |
|
97 } |
|
98 |
|
99 QByteArray QMessageContentContainer::content() const |
|
100 { |
|
101 return QByteArray(); // stub |
|
102 } |
|
103 |
|
104 void QMessageContentContainer::writeTextContent(QTextStream& out) const |
|
105 { |
|
106 Q_UNUSED(out) |
|
107 } |
|
108 |
|
109 void QMessageContentContainer::writeContent(QDataStream& out) const |
|
110 { |
|
111 Q_UNUSED(out) |
|
112 } |
|
113 |
|
114 QMessageContentContainerIdList QMessageContentContainer::contentIds() const |
|
115 { |
|
116 return QMessageContentContainerIdList(); // stub |
|
117 } |
|
118 |
|
119 QMessageContentContainer QMessageContentContainer::find(const QMessageContentContainerId &id) const |
|
120 { |
|
121 Q_UNUSED(id) |
|
122 return QMessageContentContainer(); // stub |
|
123 } |
|
124 |
|
125 bool QMessageContentContainer::contains(const QMessageContentContainerId &id) const |
|
126 { |
|
127 Q_UNUSED(id) |
|
128 return false; // stub |
|
129 } |
|
130 |
|
131 QString QMessageContentContainer::headerFieldValue(const QByteArray &name) const |
|
132 { |
|
133 Q_UNUSED(name) |
|
134 return QString(); // stub |
|
135 } |
|
136 |
|
137 QStringList QMessageContentContainer::headerFieldValues(const QByteArray &name) const |
|
138 { |
|
139 Q_UNUSED(name) |
|
140 return QStringList(); // stub |
|
141 } |
|
142 |
|
143 QList<QByteArray> QMessageContentContainer::headerFields() const |
|
144 { |
|
145 return QList<QByteArray>(); // stub |
|
146 } |
|
147 |
|
148 void QMessageContentContainer::setDerivedMessage(QMessage *derived) |
|
149 { |
|
150 Q_UNUSED(derived) |
|
151 } |
|
152 |
|
153 QTM_END_NAMESPACE |