-rw-r--r-- | kabc/vcard/NValue.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/kabc/vcard/NValue.cpp b/kabc/vcard/NValue.cpp index cdec621..6c0f365 100644 --- a/kabc/vcard/NValue.cpp +++ b/kabc/vcard/NValue.cpp @@ -18,13 +18,15 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <qstrlist.h> +#include <q3strlist.h> +//Added by qt3to4: +#include <Q3CString> #include <VCardRToken.h> #include <VCardNValue.h> #include <VCardValue.h> #include <VCardDefines.h> @@ -43,13 +45,13 @@ NValue::NValue(const NValue & x) middle_ (x.middle_), prefix_ (x.prefix_), suffix_ (x.suffix_) { } -NValue::NValue(const QCString & s) +NValue::NValue(const Q3CString & s) : Value(s) { vDebug("ctor"); } NValue & @@ -65,13 +67,13 @@ NValue::operator = (NValue & x) Value::operator = (x); return *this; } NValue & -NValue::operator = (const QCString & s) +NValue::operator = (const Q3CString & s) { Value::operator = (s); return *this; } bool @@ -97,13 +99,13 @@ NValue::clone() return new NValue( *this ); } void NValue::_parse() { - QStrList l; + Q3StrList l; RTokenise(strRep_, ";", l); for (unsigned int i = 0; i < l.count(); i++) { switch (i) { case 0: family_ = l.at(0); break; |