Changeset View
Changeset View
Standalone View
Standalone View
src/kiosvn/kiosvn.h
Show All 26 Lines | |||||
27 | #include <kio/global.h> | 27 | #include <kio/global.h> | ||
28 | #include <kio/slavebase.h> | 28 | #include <kio/slavebase.h> | ||
29 | 29 | | |||
30 | #include <sys/stat.h> | 30 | #include <sys/stat.h> | ||
31 | 31 | | |||
32 | namespace svn | 32 | namespace svn | ||
33 | { | 33 | { | ||
34 | class DirEntry; | 34 | class DirEntry; | ||
35 | class Path; | ||||
35 | } | 36 | } | ||
36 | 37 | | |||
37 | namespace KIO | 38 | namespace KIO | ||
38 | { | 39 | { | ||
39 | 40 | | |||
40 | class KioSvnData; | 41 | class KioSvnData; | ||
41 | 42 | | |||
42 | /** | 43 | /** | ||
▲ Show 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 69 | protected: | |||
110 | }; | 111 | }; | ||
111 | 112 | | |||
112 | void notify(const QString &text); | 113 | void notify(const QString &text); | ||
113 | void extraError(int _errid, const QString &text); | 114 | void extraError(int _errid, const QString &text); | ||
114 | 115 | | |||
115 | private: | 116 | private: | ||
116 | KioSvnData *m_pData; | 117 | KioSvnData *m_pData; | ||
117 | static bool createUDSEntry(const QString &filename, const QString &user, long long int size, bool isdir, time_t mtime, KIO::UDSEntry &entry); | 118 | static bool createUDSEntry(const QString &filename, const QString &user, long long int size, bool isdir, time_t mtime, KIO::UDSEntry &entry); | ||
118 | QUrl makeSvnUrl(const QUrl &url, bool check_wc = true) const; | 119 | svn::Path makeSvnPath(const QUrl &url) const; | ||
119 | bool checkWc(const QUrl &url) const; | 120 | bool checkWc(const svn::Path &localPath) const; | ||
120 | bool getLogMsg(QString &); | 121 | bool getLogMsg(QString &); | ||
121 | 122 | | |||
122 | void registerToDaemon(); | 123 | void registerToDaemon(); | ||
123 | void unregisterFromDaemon(); | 124 | void unregisterFromDaemon(); | ||
124 | void startOp(qulonglong max, const QString &title); | 125 | void startOp(qulonglong max, const QString &title); | ||
125 | void stopOp(const QString &message); | 126 | void stopOp(const QString &message); | ||
126 | 127 | | |||
127 | protected: | 128 | protected: | ||
128 | QString getDefaultLog(); | 129 | QString getDefaultLog(); | ||
129 | bool supportOverwrite()const; | 130 | bool supportOverwrite()const; | ||
130 | bool useKioprogress()const; | 131 | bool useKioprogress()const; | ||
131 | }; | 132 | }; | ||
132 | 133 | | |||
133 | } | 134 | } | ||
134 | 135 | | |||
135 | #endif | 136 | #endif |