Changeset View
Changeset View
Standalone View
Standalone View
smb/kio_smb_internal.h
Show All 24 Lines | 62 | public: | |||
---|---|---|---|---|---|
79 | * SMBURLTYPE_WORKGROUP_OR_SERVER - "smb:/mygroup" or "smb:/myserver" | 79 | * SMBURLTYPE_WORKGROUP_OR_SERVER - "smb:/mygroup" or "smb:/myserver" | ||
80 | * URLTYPE_SHARE_OR_PATH - "smb:/mygroupe/mymachine/myshare/mydir" | 80 | * URLTYPE_SHARE_OR_PATH - "smb:/mygroupe/mymachine/myshare/mydir" | ||
81 | */ | 81 | */ | ||
82 | SMBUrlType getType() const; | 82 | SMBUrlType getType() const; | ||
83 | 83 | | |||
84 | void setPass( const QString& _txt ) { QUrl::setPassword(_txt); updateCache(); } | 84 | void setPass( const QString& _txt ) { QUrl::setPassword(_txt); updateCache(); } | ||
85 | void setUser( const QString& _txt ) { QUrl::setUserName(_txt); updateCache(); } | 85 | void setUser( const QString& _txt ) { QUrl::setUserName(_txt); updateCache(); } | ||
86 | void setHost( const QString& _txt ) { QUrl::setHost(_txt); updateCache(); } | 86 | void setHost( const QString& _txt ) { QUrl::setHost(_txt); updateCache(); } | ||
87 | void setFileName(const QString& _txt) | 87 | void setPath( const QString& _txt ) { QUrl::setPath(_txt); updateCache(); } | ||
88 | { | | |||
89 | QUrl::adjusted(QUrl::RemoveFilename); | | |||
90 | QUrl::setPath(path() + _txt); | | |||
91 | updateCache(); | | |||
92 | } | | |||
93 | 88 | | |||
94 | /** | 89 | /** | ||
95 | * Returns the workgroup if it given in url | 90 | * Returns the workgroup if it given in url | ||
96 | */ | 91 | */ | ||
97 | // QString getWorkgroup() const; | 92 | // QString getWorkgroup() const; | ||
98 | 93 | | |||
99 | /** | 94 | /** | ||
100 | * Returns path after workgroup | 95 | * Returns path after workgroup | ||
Show All 24 Lines |