File: com.deepin.filemanager.filedialogmanagerAdaptor.cpp

package info (click to toggle)
dde-qt5integration 5.7.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,528 kB
  • sloc: cpp: 12,089; xml: 154; sh: 13; makefile: 10
file content (73 lines) | stat: -rw-r--r-- 2,528 bytes parent folder | download
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
/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp ./qt5integration/platformthemeplugin/xmls/com.deepin.filemanager.filedialogmanager.xml -a ./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor -i ./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanager.h
 *
 * qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

/*
 * Implementation of adaptor class FiledialogmanagerAdaptor
 */

FiledialogmanagerAdaptor::FiledialogmanagerAdaptor(QObject *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

FiledialogmanagerAdaptor::~FiledialogmanagerAdaptor()
{
    // destructor
}

QDBusObjectPath FiledialogmanagerAdaptor::createDialog(const QString &key)
{
    // handle method call com.deepin.filemanager.filedialogmanager.createDialog
    QDBusObjectPath path;
    QMetaObject::invokeMethod(parent(), "createDialog", Q_RETURN_ARG(QDBusObjectPath, path), Q_ARG(QString, key));
    return path;
}

void FiledialogmanagerAdaptor::destroyDialog(const QDBusObjectPath &path)
{
    // handle method call com.deepin.filemanager.filedialogmanager.destroyDialog
    QMetaObject::invokeMethod(parent(), "destroyDialog", Q_ARG(QDBusObjectPath, path));
}

QList<QDBusObjectPath> FiledialogmanagerAdaptor::dialogs()
{
    // handle method call com.deepin.filemanager.filedialogmanager.dialogs
    QList<QDBusObjectPath> dialogObjectList;
    QMetaObject::invokeMethod(parent(), "dialogs", Q_RETURN_ARG(QList<QDBusObjectPath>, dialogObjectList));
    return dialogObjectList;
}

QString FiledialogmanagerAdaptor::errorString()
{
    // handle method call com.deepin.filemanager.filedialogmanager.errorString
    QString error;
    QMetaObject::invokeMethod(parent(), "errorString", Q_RETURN_ARG(QString, error));
    return error;
}

bool FiledialogmanagerAdaptor::isUseFileChooserDialog()
{
    // handle method call com.deepin.filemanager.filedialogmanager.isUseFileChooserDialog
    bool ok;
    QMetaObject::invokeMethod(parent(), "isUseFileChooserDialog", Q_RETURN_ARG(bool, ok));
    return ok;
}