3 #if !defined(FILETRANSFER1PROXY_H_INCLUDED) 4 #define FILETRANSFER1PROXY_H_INCLUDED 10 #include <tqdbuserror.h> 14 class TQT_DBusConnection;
15 class TQT_DBusDataList;
17 class TQT_DBusMessage;
18 class TQT_DBusObjectPath;
20 class TQT_DBusVariant;
21 template <
typename K,
typename V>
class TQMap;
35 FileTransfer1Proxy(
const TQString& service,
const TQString& path, TQObject* parent = 0,
const char* name = 0);
42 virtual bool ChangeFolder(
const TQString& folder, TQT_DBusError& error);
44 virtual bool CreateFolder(
const TQString& folder, TQT_DBusError& error);
46 virtual bool ListFolder(TQT_DBusDataList& folderinfo, TQT_DBusError& error);
52 virtual bool CopyFile(
const TQString& sourcefile,
const TQString& targetfile, TQT_DBusError& error);
54 virtual bool MoveFile(
const TQString& sourcefile,
const TQString& targetfile, TQT_DBusError& error);
56 virtual bool Delete(
const TQString& file, TQT_DBusError& error);
72 #endif //FILETRANSFER1PROXY_H_INCLUDED virtual bool ChangeFolder(const TQString &folder, TQT_DBusError &error)
TQT_DBusProxy * m_baseProxy
virtual bool Delete(const TQString &file, TQT_DBusError &error)
virtual ~FileTransfer1Proxy()
virtual bool GetFile(const TQString &targetfile, const TQString &sourcefile, TQT_DBusObjectPath &transfer, TQMap< TQString, TQT_DBusVariant > &properties, TQT_DBusError &error)
virtual bool ListFolder(TQT_DBusDataList &folderinfo, TQT_DBusError &error)
virtual bool CopyFile(const TQString &sourcefile, const TQString &targetfile, TQT_DBusError &error)
FileTransfer1Proxy(const TQString &service, const TQString &path, TQObject *parent=0, const char *name=0)
virtual bool PutFile(const TQString &sourcefile, const TQString &targetfile, TQT_DBusObjectPath &transfer, TQMap< TQString, TQT_DBusVariant > &properties, TQT_DBusError &error)
virtual bool MoveFile(const TQString &sourcefile, const TQString &targetfile, TQT_DBusError &error)
FileTransfer1Proxy & operator=(const FileTransfer1Proxy &)
void setConnection(const TQT_DBusConnection &connection)
virtual bool CreateFolder(const TQString &folder, TQT_DBusError &error)