Changeset View
Changeset View
Standalone View
Standalone View
autotests/jobtest.h
Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Line(s) | 119 | protected Q_SLOTS: | |||
---|---|---|---|---|---|
122 | void slotDataReq(KIO::Job *, QByteArray &); | 122 | void slotDataReq(KIO::Job *, QByteArray &); | ||
123 | void slotResult(KJob *); | 123 | void slotResult(KJob *); | ||
124 | void slotMimetype(KIO::Job *, const QString &); | 124 | void slotMimetype(KIO::Job *, const QString &); | ||
125 | 125 | | |||
126 | private: | 126 | private: | ||
127 | void enterLoop(); | 127 | void enterLoop(); | ||
128 | enum { AlreadyExists = 1 }; | 128 | enum { AlreadyExists = 1 }; | ||
129 | void copyLocalFile(const QString &src, const QString &dest); | 129 | void copyLocalFile(const QString &src, const QString &dest); | ||
130 | void checkXattrFsSupport(const QString &writeTest); | ||||
131 | void setXattr(const QString &src); | ||||
132 | void compareXattr(const QString &src, const QString &dest); | ||||
130 | void copyLocalDirectory(const QString &src, const QString &dest, int flags = 0); | 133 | void copyLocalDirectory(const QString &src, const QString &dest, int flags = 0); | ||
131 | void moveLocalFile(const QString &src, const QString &dest); | 134 | void moveLocalFile(const QString &src, const QString &dest); | ||
132 | void moveLocalDirectory(const QString &src, const QString &dest); | 135 | void moveLocalDirectory(const QString &src, const QString &dest); | ||
133 | //void copyFileToSystem( bool resolve_local_urls ); | 136 | //void copyFileToSystem( bool resolve_local_urls ); | ||
134 | void deleteSymlink(bool using_fast_path); | 137 | void deleteSymlink(bool using_fast_path); | ||
135 | void deleteManyDirs(bool using_fast_path); | 138 | void deleteManyDirs(bool using_fast_path); | ||
136 | void deleteManyFilesTogether(bool using_fast_path); | 139 | void deleteManyFilesTogether(bool using_fast_path); | ||
137 | void moveDestAlreadyExistsAutoRename(const QString &destDir, bool moveDirs); | 140 | void moveDestAlreadyExistsAutoRename(const QString &destDir, bool moveDirs); | ||
138 | 141 | | |||
139 | int m_result; | 142 | int m_result; | ||
140 | QByteArray m_data; | 143 | QByteArray m_data; | ||
141 | QStringList m_names; | 144 | QStringList m_names; | ||
142 | int m_dataReqCount; | 145 | int m_dataReqCount; | ||
143 | QString m_mimetype; | 146 | QString m_mimetype; | ||
147 | QString m_setXattrCmd; | ||||
148 | QString m_getXattrCmd; | ||||
149 | bool m_SkipXattr = false; | ||||
144 | }; | 150 | }; | ||
145 | 151 | | |||
146 | #endif | 152 | #endif |