Changeset View
Changeset View
Standalone View
Standalone View
src/util/externalcommandhelper.h
Show All 36 Lines | 36 | { | |||
---|---|---|---|---|---|
37 | Q_OBJECT | 37 | Q_OBJECT | ||
38 | Q_CLASSINFO("D-Bus Interface", "org.kde.kpmcore.externalcommand") | 38 | Q_CLASSINFO("D-Bus Interface", "org.kde.kpmcore.externalcommand") | ||
39 | 39 | | |||
40 | Q_SIGNALS: | 40 | Q_SIGNALS: | ||
41 | void progress(int); | 41 | void progress(int); | ||
42 | void quit(); | 42 | void quit(); | ||
43 | 43 | | |||
44 | public: | 44 | public: | ||
45 | bool readData(const QString& sourceDevice, QByteArray& buffer, qint64 offset, qint64 size); | 45 | bool readData(const QString& sourceDevice, QByteArray& buffer, const qint64 offset, const qint64 size); | ||
46 | bool writeData(const QString& targetDevice, const QByteArray& buffer, qint64 offset); | 46 | bool writeData(const QString& targetDevice, const QByteArray& buffer, const qint64 offset); | ||
47 | 47 | | |||
48 | public Q_SLOTS: | 48 | public Q_SLOTS: | ||
49 | ActionReply init(const QVariantMap& args); | 49 | ActionReply init(const QVariantMap& args); | ||
50 | Q_SCRIPTABLE quint64 getNonce(); | 50 | Q_SCRIPTABLE quint64 getNonce(); | ||
51 | Q_SCRIPTABLE QVariantMap start(const QByteArray& signature, const quint64 nonce, const QString& command, const QStringList& arguments, const QByteArray& input, const int processChannelMode); | 51 | Q_SCRIPTABLE QVariantMap start(const QByteArray& signature, const quint64 nonce, const QString& command, const QStringList& arguments, const QByteArray& input, const int processChannelMode); | ||
52 | Q_SCRIPTABLE QVariantMap copyblocks(const QByteArray& signature, const quint64 nonce, const QString& sourceDevice, const qint64 sourceFirstByte, const qint64 sourceLength, const QString& targetDevice, const qint64 targetFirstByte, const qint64 blockSize); | 52 | Q_SCRIPTABLE QVariantMap copyblocks(const QByteArray& signature, const quint64 nonce, const QString& sourceDevice, const qint64 sourceFirstByte, const qint64 sourceLength, const QString& targetDevice, const qint64 targetFirstByte, const qint64 blockSize); | ||
53 | Q_SCRIPTABLE bool writeData(const QByteArray& signature, const quint64 nonce, const QByteArray& buffer, const QString& targetDevice, const qint64 targetFirstByte); | 53 | Q_SCRIPTABLE bool writeData(const QByteArray& signature, const quint64 nonce, const QByteArray& buffer, const QString& targetDevice, const qint64 targetFirstByte); | ||
54 | Q_SCRIPTABLE void exit(const QByteArray& signature, const quint64 nonce); | 54 | Q_SCRIPTABLE void exit(const QByteArray& signature, const quint64 nonce); | ||
Show All 17 Lines |