Skip to content

Commit b52ec45

Browse files
committed
feat:Add files generated by qdbusXML2cpp and DCONG2cpp
Add files generated by qdbusXML2cpp and DCONG2cpp Log: Add files generated by qdbusXML2cpp and DCONG2cpp
1 parent c6dcb4a commit b52ec45

6 files changed

+797
-0
lines changed
Lines changed: 367 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,367 @@
1+
/*
2+
* This file was generated by qdbusxml2cpp version 0.8
3+
* Command line was: qdbusxml2cpp ./qt6integration/platformthemeplugin/xmls/com.deepin.filemanager.filedialog.xml -a ./qt6integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor -i ./qt6integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialog.h
4+
*
5+
* qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
6+
*
7+
* This is an auto-generated file.
8+
* Do not edit! All changes made to it will be lost.
9+
*/
10+
11+
#include "./qt6integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor.h"
12+
#include <QtCore/QMetaObject>
13+
#include <QtCore/QByteArray>
14+
#include <QtCore/QList>
15+
#include <QtCore/QMap>
16+
#include <QtCore/QString>
17+
#include <QtCore/QStringList>
18+
#include <QtCore/QVariant>
19+
20+
/*
21+
* Implementation of adaptor class FiledialogAdaptor
22+
*/
23+
24+
FiledialogAdaptor::FiledialogAdaptor(QObject *parent)
25+
: QDBusAbstractAdaptor(parent)
26+
{
27+
// constructor
28+
setAutoRelaySignals(true);
29+
}
30+
31+
FiledialogAdaptor::~FiledialogAdaptor()
32+
{
33+
// destructor
34+
}
35+
36+
int FiledialogAdaptor::acceptMode() const
37+
{
38+
// get the value of property acceptMode
39+
return qvariant_cast< int >(parent()->property("acceptMode"));
40+
}
41+
42+
void FiledialogAdaptor::setAcceptMode(int value)
43+
{
44+
// set the value of property acceptMode
45+
parent()->setProperty("acceptMode", QVariant::fromValue(value));
46+
}
47+
48+
QString FiledialogAdaptor::directory() const
49+
{
50+
// get the value of property directory
51+
return qvariant_cast< QString >(parent()->property("directory"));
52+
}
53+
54+
void FiledialogAdaptor::setDirectory(const QString &value)
55+
{
56+
// set the value of property directory
57+
parent()->setProperty("directory", QVariant::fromValue(value));
58+
}
59+
60+
QString FiledialogAdaptor::directoryUrl() const
61+
{
62+
// get the value of property directoryUrl
63+
return qvariant_cast< QString >(parent()->property("directoryUrl"));
64+
}
65+
66+
void FiledialogAdaptor::setDirectoryUrl(const QString &value)
67+
{
68+
// set the value of property directoryUrl
69+
parent()->setProperty("directoryUrl", QVariant::fromValue(value));
70+
}
71+
72+
int FiledialogAdaptor::filter() const
73+
{
74+
// get the value of property filter
75+
return qvariant_cast< int >(parent()->property("filter"));
76+
}
77+
78+
void FiledialogAdaptor::setFilter(int value)
79+
{
80+
// set the value of property filter
81+
parent()->setProperty("filter", QVariant::fromValue(value));
82+
}
83+
84+
int FiledialogAdaptor::heartbeatInterval() const
85+
{
86+
// get the value of property heartbeatInterval
87+
return qvariant_cast< int >(parent()->property("heartbeatInterval"));
88+
}
89+
90+
void FiledialogAdaptor::setHeartbeatInterval(int value)
91+
{
92+
// set the value of property heartbeatInterval
93+
parent()->setProperty("heartbeatInterval", QVariant::fromValue(value));
94+
}
95+
96+
bool FiledialogAdaptor::hideOnAccept() const
97+
{
98+
// get the value of property hideOnAccept
99+
return qvariant_cast< bool >(parent()->property("hideOnAccept"));
100+
}
101+
102+
void FiledialogAdaptor::setHideOnAccept(bool value)
103+
{
104+
// set the value of property hideOnAccept
105+
parent()->setProperty("hideOnAccept", QVariant::fromValue(value));
106+
}
107+
108+
QStringList FiledialogAdaptor::nameFilters() const
109+
{
110+
// get the value of property nameFilters
111+
return qvariant_cast< QStringList >(parent()->property("nameFilters"));
112+
}
113+
114+
void FiledialogAdaptor::setNameFilters(const QStringList &value)
115+
{
116+
// set the value of property nameFilters
117+
parent()->setProperty("nameFilters", QVariant::fromValue(value));
118+
}
119+
120+
int FiledialogAdaptor::viewMode() const
121+
{
122+
// get the value of property viewMode
123+
return qvariant_cast< int >(parent()->property("viewMode"));
124+
}
125+
126+
void FiledialogAdaptor::setViewMode(int value)
127+
{
128+
// set the value of property viewMode
129+
parent()->setProperty("viewMode", QVariant::fromValue(value));
130+
}
131+
132+
bool FiledialogAdaptor::windowActive() const
133+
{
134+
// get the value of property windowActive
135+
return qvariant_cast< bool >(parent()->property("windowActive"));
136+
}
137+
138+
uint FiledialogAdaptor::windowFlags() const
139+
{
140+
// get the value of property windowFlags
141+
return qvariant_cast< uint >(parent()->property("windowFlags"));
142+
}
143+
144+
void FiledialogAdaptor::setWindowFlags(uint value)
145+
{
146+
// set the value of property windowFlags
147+
parent()->setProperty("windowFlags", QVariant::fromValue(value));
148+
}
149+
150+
void FiledialogAdaptor::accept()
151+
{
152+
// handle method call com.deepin.filemanager.filedialog.accept
153+
QMetaObject::invokeMethod(parent(), "accept");
154+
}
155+
156+
void FiledialogAdaptor::activateWindow()
157+
{
158+
// handle method call com.deepin.filemanager.filedialog.activateWindow
159+
QMetaObject::invokeMethod(parent(), "activateWindow");
160+
}
161+
162+
void FiledialogAdaptor::addCustomWidget(int type, const QString &data)
163+
{
164+
// handle method call com.deepin.filemanager.filedialog.addCustomWidget
165+
QMetaObject::invokeMethod(parent(), "addCustomWidget", Q_ARG(int, type), Q_ARG(QString, data));
166+
}
167+
168+
void FiledialogAdaptor::addDisableUrlScheme(const QString &type)
169+
{
170+
// handle method call com.deepin.filemanager.filedialog.addDisableUrlScheme
171+
QMetaObject::invokeMethod(parent(), "addDisableUrlScheme", Q_ARG(QString, type));
172+
}
173+
174+
QMap<QString,QVariant> FiledialogAdaptor::allCustomWidgetsValue(int type)
175+
{
176+
// handle method call com.deepin.filemanager.filedialog.allCustomWidgetsValue
177+
QMap<QString,QVariant> values;
178+
QMetaObject::invokeMethod(parent(), "allCustomWidgetsValue", Q_RETURN_ARG(QMap<QString,QVariant>, values), Q_ARG(int, type));
179+
return values;
180+
}
181+
182+
void FiledialogAdaptor::beginAddCustomWidget()
183+
{
184+
// handle method call com.deepin.filemanager.filedialog.beginAddCustomWidget
185+
QMetaObject::invokeMethod(parent(), "beginAddCustomWidget");
186+
}
187+
188+
void FiledialogAdaptor::deleteLater()
189+
{
190+
// handle method call com.deepin.filemanager.filedialog.deleteLater
191+
QMetaObject::invokeMethod(parent(), "deleteLater");
192+
}
193+
194+
void FiledialogAdaptor::endAddCustomWidget()
195+
{
196+
// handle method call com.deepin.filemanager.filedialog.endAddCustomWidget
197+
QMetaObject::invokeMethod(parent(), "endAddCustomWidget");
198+
}
199+
200+
QDBusVariant FiledialogAdaptor::getCustomWidgetValue(int type, const QString &text)
201+
{
202+
// handle method call com.deepin.filemanager.filedialog.getCustomWidgetValue
203+
QDBusVariant value;
204+
QMetaObject::invokeMethod(parent(), "getCustomWidgetValue", Q_RETURN_ARG(QDBusVariant, value), Q_ARG(int, type), Q_ARG(QString, text));
205+
return value;
206+
}
207+
208+
void FiledialogAdaptor::hide()
209+
{
210+
// handle method call com.deepin.filemanager.filedialog.hide
211+
QMetaObject::invokeMethod(parent(), "hide");
212+
}
213+
214+
QString FiledialogAdaptor::labelText(int label)
215+
{
216+
// handle method call com.deepin.filemanager.filedialog.labelText
217+
QString text;
218+
QMetaObject::invokeMethod(parent(), "labelText", Q_RETURN_ARG(QString, text), Q_ARG(int, label));
219+
return text;
220+
}
221+
222+
void FiledialogAdaptor::makeHeartbeat()
223+
{
224+
// handle method call com.deepin.filemanager.filedialog.makeHeartbeat
225+
QMetaObject::invokeMethod(parent(), "makeHeartbeat");
226+
}
227+
228+
void FiledialogAdaptor::open()
229+
{
230+
// handle method call com.deepin.filemanager.filedialog.open
231+
QMetaObject::invokeMethod(parent(), "open");
232+
}
233+
234+
int FiledialogAdaptor::options()
235+
{
236+
// handle method call com.deepin.filemanager.filedialog.options
237+
int options;
238+
QMetaObject::invokeMethod(parent(), "options", Q_RETURN_ARG(int, options));
239+
return options;
240+
}
241+
242+
void FiledialogAdaptor::reject()
243+
{
244+
// handle method call com.deepin.filemanager.filedialog.reject
245+
QMetaObject::invokeMethod(parent(), "reject");
246+
}
247+
248+
void FiledialogAdaptor::selectFile(const QString &filename)
249+
{
250+
// handle method call com.deepin.filemanager.filedialog.selectFile
251+
QMetaObject::invokeMethod(parent(), "selectFile", Q_ARG(QString, filename));
252+
}
253+
254+
void FiledialogAdaptor::selectNameFilter(const QString &filter)
255+
{
256+
// handle method call com.deepin.filemanager.filedialog.selectNameFilter
257+
QMetaObject::invokeMethod(parent(), "selectNameFilter", Q_ARG(QString, filter));
258+
}
259+
260+
void FiledialogAdaptor::selectNameFilterByIndex(int index)
261+
{
262+
// handle method call com.deepin.filemanager.filedialog.selectNameFilterByIndex
263+
QMetaObject::invokeMethod(parent(), "selectNameFilterByIndex", Q_ARG(int, index));
264+
}
265+
266+
void FiledialogAdaptor::selectUrl(const QString &url)
267+
{
268+
// handle method call com.deepin.filemanager.filedialog.selectUrl
269+
QMetaObject::invokeMethod(parent(), "selectUrl", Q_ARG(QString, url));
270+
}
271+
272+
QStringList FiledialogAdaptor::selectedFiles()
273+
{
274+
// handle method call com.deepin.filemanager.filedialog.selectedFiles
275+
QStringList filelist;
276+
QMetaObject::invokeMethod(parent(), "selectedFiles", Q_RETURN_ARG(QStringList, filelist));
277+
return filelist;
278+
}
279+
280+
QString FiledialogAdaptor::selectedNameFilter()
281+
{
282+
// handle method call com.deepin.filemanager.filedialog.selectedNameFilter
283+
QString filter;
284+
QMetaObject::invokeMethod(parent(), "selectedNameFilter", Q_RETURN_ARG(QString, filter));
285+
return filter;
286+
}
287+
288+
int FiledialogAdaptor::selectedNameFilterIndex()
289+
{
290+
// handle method call com.deepin.filemanager.filedialog.selectedNameFilterIndex
291+
int index;
292+
QMetaObject::invokeMethod(parent(), "selectedNameFilterIndex", Q_RETURN_ARG(int, index));
293+
return index;
294+
}
295+
296+
QStringList FiledialogAdaptor::selectedUrls()
297+
{
298+
// handle method call com.deepin.filemanager.filedialog.selectedUrls
299+
QStringList urllist;
300+
QMetaObject::invokeMethod(parent(), "selectedUrls", Q_RETURN_ARG(QStringList, urllist));
301+
return urllist;
302+
}
303+
304+
void FiledialogAdaptor::setAllowMixedSelection(bool on)
305+
{
306+
// handle method call com.deepin.filemanager.filedialog.setAllowMixedSelection
307+
QMetaObject::invokeMethod(parent(), "setAllowMixedSelection", Q_ARG(bool, on));
308+
}
309+
310+
void FiledialogAdaptor::setCurrentInputName(const QString &name)
311+
{
312+
// handle method call com.deepin.filemanager.filedialog.setCurrentInputName
313+
QMetaObject::invokeMethod(parent(), "setCurrentInputName", Q_ARG(QString, name));
314+
}
315+
316+
void FiledialogAdaptor::setFileMode(int fileMode)
317+
{
318+
// handle method call com.deepin.filemanager.filedialog.setFileMode
319+
QMetaObject::invokeMethod(parent(), "setFileMode", Q_ARG(int, fileMode));
320+
}
321+
322+
void FiledialogAdaptor::setLabelText(int label, const QString &text)
323+
{
324+
// handle method call com.deepin.filemanager.filedialog.setLabelText
325+
QMetaObject::invokeMethod(parent(), "setLabelText", Q_ARG(int, label), Q_ARG(QString, text));
326+
}
327+
328+
void FiledialogAdaptor::setOption(int option, bool on)
329+
{
330+
// handle method call com.deepin.filemanager.filedialog.setOption
331+
QMetaObject::invokeMethod(parent(), "setOption", Q_ARG(int, option), Q_ARG(bool, on));
332+
}
333+
334+
void FiledialogAdaptor::setOptions(int options)
335+
{
336+
// handle method call com.deepin.filemanager.filedialog.setOptions
337+
QMetaObject::invokeMethod(parent(), "setOptions", Q_ARG(int, options));
338+
}
339+
340+
void FiledialogAdaptor::setWindowTitle(const QString &title)
341+
{
342+
// handle method call com.deepin.filemanager.filedialog.setWindowTitle
343+
QMetaObject::invokeMethod(parent(), "setWindowTitle", Q_ARG(QString, title));
344+
}
345+
346+
void FiledialogAdaptor::show()
347+
{
348+
// handle method call com.deepin.filemanager.filedialog.show
349+
QMetaObject::invokeMethod(parent(), "show");
350+
}
351+
352+
bool FiledialogAdaptor::testOption(int option)
353+
{
354+
// handle method call com.deepin.filemanager.filedialog.testOption
355+
bool on;
356+
QMetaObject::invokeMethod(parent(), "testOption", Q_RETURN_ARG(bool, on), Q_ARG(int, option));
357+
return on;
358+
}
359+
360+
qulonglong FiledialogAdaptor::winId()
361+
{
362+
// handle method call com.deepin.filemanager.filedialog.winId
363+
qulonglong windowId;
364+
QMetaObject::invokeMethod(parent(), "winId", Q_RETURN_ARG(qulonglong, windowId));
365+
return windowId;
366+
}
367+

0 commit comments

Comments
 (0)