summaryrefslogtreecommitdiffabout
path: root/kabc/vcard/AdrValue.cpp
Side-by-side diff
Diffstat (limited to 'kabc/vcard/AdrValue.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/AdrValue.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/kabc/vcard/AdrValue.cpp b/kabc/vcard/AdrValue.cpp
index 7ecef33..51ca12a 100644
--- a/kabc/vcard/AdrValue.cpp
+++ b/kabc/vcard/AdrValue.cpp
@@ -20,16 +20,19 @@
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 <VCardRToken.h>
#include <VCardAdrValue.h>
#include <VCardValue.h>
#include <VCardDefines.h>
+//Added by qt3to4:
+#include <Q3StrList>
+#include <Q3CString>
using namespace VCARD;
AdrValue::AdrValue()
: Value()
{
}
@@ -40,17 +43,17 @@ AdrValue::AdrValue(const AdrValue & x)
street_ (x.street_),
locality_ (x.locality_),
region_ (x.region_),
postCode_ (x.postCode_),
countryName_ (x.countryName_)
{
}
-AdrValue::AdrValue(const QCString & s)
+AdrValue::AdrValue(const Q3CString & s)
: Value(s)
{
}
AdrValue &
AdrValue::operator = (AdrValue & x)
{
if (*this == x) return *this;
@@ -63,17 +66,17 @@ AdrValue::operator = (AdrValue & x)
postCode_ = x.postCode_;
countryName_ = x.countryName_;
Value::operator = (x);
return *this;
}
AdrValue &
-AdrValue::operator = (const QCString & s)
+AdrValue::operator = (const Q3CString & s)
{
Value::operator = (s);
return *this;
}
bool
AdrValue::operator == (AdrValue & x)
{
@@ -100,17 +103,17 @@ AdrValue::clone()
return new AdrValue( *this );
}
void
AdrValue::_parse()
{
vDebug("AdrValue::_parse()");
- QStrList l;
+ Q3StrList l;
RTokenise(strRep_, ";", l);
for (unsigned int i = 0; i < l.count(); i++) {
switch (i) {
case 0: poBox_ = l.at(0); break;
case 1: extAddress_ = l.at(1); break;