Changeset View
Changeset View
Standalone View
Standalone View
smb/kio_smb_internal.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | |||||
58 | class SMBUrl : public QUrl | 58 | class SMBUrl : public QUrl | ||
59 | { | 59 | { | ||
60 | 60 | | |||
61 | 61 | | |||
62 | public: | 62 | public: | ||
63 | SMBUrl(); | 63 | SMBUrl(); | ||
64 | SMBUrl(const SMBUrl&); | 64 | SMBUrl(const SMBUrl&); | ||
65 | SMBUrl(const QUrl & kurl); | 65 | SMBUrl(const QUrl & kurl); | ||
66 | ~SMBUrl(); | ||||
66 | 67 | | |||
67 | SMBUrl& operator=(const SMBUrl&); | 68 | SMBUrl& operator=(const SMBUrl&); | ||
68 | 69 | | |||
69 | /** | 70 | /** | ||
70 | * Appends the specified file and dir to this SMBUrl | 71 | * Appends the specified file and dir to this SMBUrl | ||
71 | * "smb://server/share" --> "smb://server/share/filedir" | 72 | * "smb://server/share" --> "smb://server/share/filedir" | ||
72 | */ | 73 | */ | ||
73 | void addPath(const QString &filedir); | 74 | void addPath(const QString &filedir); | ||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | 112 | private: | |||
116 | 117 | | |||
117 | void updateCache(); | 118 | void updateCache(); | ||
118 | QByteArray m_surl; | 119 | QByteArray m_surl; | ||
119 | 120 | | |||
120 | /** | 121 | /** | ||
121 | * Type of URL | 122 | * Type of URL | ||
122 | * @see _SMBUrlType | 123 | * @see _SMBUrlType | ||
123 | */ | 124 | */ | ||
124 | mutable SMBUrlType m_type; | 125 | mutable SMBUrlType m_type = SMBURLTYPE_UNKNOWN; | ||
125 | }; | 126 | }; | ||
126 | 127 | | |||
127 | 128 | | |||
128 | #endif | 129 | #endif | ||
129 | 130 | |