diff options
Diffstat (limited to 'kabc/vcard')
110 files changed, 461 insertions, 461 deletions
diff --git a/kabc/vcard/AdrParam.cpp b/kabc/vcard/AdrParam.cpp index fa46499c3..5ad56f4fb 100644 --- a/kabc/vcard/AdrParam.cpp +++ b/kabc/vcard/AdrParam.cpp @@ -38,7 +38,7 @@ AdrParam::AdrParam(const AdrParam & x) { } -AdrParam::AdrParam(const QCString & s) +AdrParam::AdrParam(const TQCString & s) : Param(s) { } @@ -56,7 +56,7 @@ AdrParam::operator = (AdrParam & x) } AdrParam & -AdrParam::operator = (const QCString & s) +AdrParam::operator = (const TQCString & s) { Param::operator = (s); @@ -77,7 +77,7 @@ AdrParam::operator == (AdrParam & x) if (x.adrTypeList().count() != adrTypeList_.count()) return false; - QStrListIterator it(x.adrTypeList_); + TQStrListIterator it(x.adrTypeList_); for (; it.current(); ++it) if (!adrTypeList_.find(it.current())) @@ -114,7 +114,7 @@ AdrParam::_assemble() return; } - QStrListIterator it(adrTypeList_); + TQStrListIterator it(adrTypeList_); for (; it.current(); ++it) { diff --git a/kabc/vcard/AdrValue.cpp b/kabc/vcard/AdrValue.cpp index 7ecef332a..535ba6980 100644 --- a/kabc/vcard/AdrValue.cpp +++ b/kabc/vcard/AdrValue.cpp @@ -45,7 +45,7 @@ AdrValue::AdrValue(const AdrValue & x) { } -AdrValue::AdrValue(const QCString & s) +AdrValue::AdrValue(const TQCString & s) : Value(s) { } @@ -68,7 +68,7 @@ AdrValue::operator = (AdrValue & x) } AdrValue & -AdrValue::operator = (const QCString & s) +AdrValue::operator = (const TQCString & s) { Value::operator = (s); return *this; @@ -105,7 +105,7 @@ AdrValue::_parse() { vDebug("AdrValue::_parse()"); - QStrList l; + TQStrList l; RTokenise(strRep_, ";", l); for (unsigned int i = 0; i < l.count(); i++) { diff --git a/kabc/vcard/AgentParam.cpp b/kabc/vcard/AgentParam.cpp index 5625e0071..9e4531b02 100644 --- a/kabc/vcard/AgentParam.cpp +++ b/kabc/vcard/AgentParam.cpp @@ -39,7 +39,7 @@ AgentParam::AgentParam(const AgentParam & x) { } -AgentParam::AgentParam(const QCString & s) +AgentParam::AgentParam(const TQCString & s) : Param(s) { } @@ -57,7 +57,7 @@ AgentParam::operator = (AgentParam & x) } AgentParam & -AgentParam::operator = (const QCString & s) +AgentParam::operator = (const TQCString & s) { Param::operator = (s); return *this; diff --git a/kabc/vcard/AgentValue.cpp b/kabc/vcard/AgentValue.cpp index bccde80cf..7d356f8d7 100644 --- a/kabc/vcard/AgentValue.cpp +++ b/kabc/vcard/AgentValue.cpp @@ -37,7 +37,7 @@ AgentValue::AgentValue(const AgentValue & x) { } -AgentValue::AgentValue(const QCString & s) +AgentValue::AgentValue(const TQCString & s) : Value(s) { } @@ -52,7 +52,7 @@ AgentValue::operator = (AgentValue & x) } AgentValue & -AgentValue::operator = (const QCString & s) +AgentValue::operator = (const TQCString & s) { Value::operator = (s); return *this; diff --git a/kabc/vcard/ClassValue.cpp b/kabc/vcard/ClassValue.cpp index f01e5a65b..3dd65aecd 100644 --- a/kabc/vcard/ClassValue.cpp +++ b/kabc/vcard/ClassValue.cpp @@ -40,7 +40,7 @@ ClassValue::ClassValue(const ClassValue & x) { } -ClassValue::ClassValue(const QCString & s) +ClassValue::ClassValue(const TQCString & s) : Value(s) { } @@ -58,7 +58,7 @@ ClassValue::operator = (ClassValue & x) } ClassValue & -ClassValue::operator = (const QCString & s) +ClassValue::operator = (const TQCString & s) { Value::operator = (s); return *this; diff --git a/kabc/vcard/ContentLine.cpp b/kabc/vcard/ContentLine.cpp index 566eb6a79..52bcdf4f5 100644 --- a/kabc/vcard/ContentLine.cpp +++ b/kabc/vcard/ContentLine.cpp @@ -21,9 +21,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <qcstring.h> -#include <qstrlist.h> -#include <qregexp.h> +#include <tqcstring.h> +#include <tqstrlist.h> +#include <tqregexp.h> #include <kdebug.h> @@ -85,7 +85,7 @@ ContentLine::ContentLine(const ContentLine & x) { } -ContentLine::ContentLine(const QCString & s) +ContentLine::ContentLine(const TQCString & s) : Entity(s), value_(0), paramType_( ParamUnknown ), @@ -107,7 +107,7 @@ ContentLine::operator = (ContentLine & x) } ContentLine & -ContentLine::operator = (const QCString & s) +ContentLine::operator = (const TQCString & s) { Entity::operator = (s); delete value_; @@ -120,7 +120,7 @@ ContentLine::operator == (ContentLine & x) { x.parse(); - QPtrListIterator<Param> it(x.paramList()); + TQPtrListIterator<Param> it(x.paramList()); if (!paramList_.find(it.current())) return false; @@ -140,7 +140,7 @@ ContentLine::_parse() vDebug("parse"); // Unqote newlines - strRep_ = strRep_.replace( QRegExp( "\\\\n" ), "\n" ); + strRep_ = strRep_.replace( TQRegExp( "\\\\n" ), "\n" ); int split = strRep_.find(':'); @@ -149,8 +149,8 @@ ContentLine::_parse() return; } - QCString firstPart(strRep_.left(split)); - QCString valuePart(strRep_.mid(split + 1)); + TQCString firstPart(strRep_.left(split)); + TQCString valuePart(strRep_.mid(split + 1)); split = firstPart.find('.'); @@ -165,7 +165,7 @@ ContentLine::_parse() // Now we have the group, the name and param list together and the value. - QStrList l; + TQStrList l; RTokenise(firstPart, ";", l); @@ -187,11 +187,11 @@ ContentLine::_parse() // For each parameter, create a new parameter of the correct type. - QStrListIterator it(l); + TQStrListIterator it(l); for (; it.current(); ++it, i++) { - QCString str = *it; + TQCString str = *it; split = str.find("="); if (split < 0 ) { @@ -199,13 +199,13 @@ ContentLine::_parse() continue; } - QCString paraName = str.left(split); - QCString paraValue = str.mid(split + 1); + TQCString paraName = str.left(split); + TQCString paraValue = str.mid(split + 1); - QStrList paraValues; + TQStrList paraValues; RTokenise(paraValue, ",", paraValues); - QStrListIterator it2( paraValues ); + TQStrListIterator it2( paraValues ); for(; it2.current(); ++it2) { @@ -254,7 +254,7 @@ ContentLine::_assemble() vDebug("Assemble (argl) - my name is \"" + name_ + "\""); strRep_.truncate(0); - QCString line; + TQCString line; if (!group_.isEmpty()) line += group_ + '.'; @@ -275,7 +275,7 @@ ContentLine::_assemble() } // Quote newlines - line = line.replace( QRegExp( "\n" ), "\\n" ); + line = line.replace( TQRegExp( "\n" ), "\\n" ); // Fold lines longer than 72 chars const int maxLen = 72; diff --git a/kabc/vcard/DateParam.cpp b/kabc/vcard/DateParam.cpp index 52af08997..ffaf4b3f6 100644 --- a/kabc/vcard/DateParam.cpp +++ b/kabc/vcard/DateParam.cpp @@ -37,7 +37,7 @@ DateParam::DateParam(const DateParam & x) { } -DateParam::DateParam(const QCString & s) +DateParam::DateParam(const TQCString & s) : Param(s) { } @@ -52,7 +52,7 @@ DateParam::operator = (DateParam & x) } DateParam & -DateParam::operator = (const QCString & s) +DateParam::operator = (const TQCString & s) { Param::operator = (s); return *this; diff --git a/kabc/vcard/DateValue.cpp b/kabc/vcard/DateValue.cpp index c5c5c8554..aedfe5eba 100644 --- a/kabc/vcard/DateValue.cpp +++ b/kabc/vcard/DateValue.cpp @@ -21,7 +21,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <qregexp.h> +#include <tqregexp.h> #include <kdebug.h> @@ -65,7 +65,7 @@ DateValue::DateValue( assembled_ = false; } -DateValue::DateValue(const QDate & d) +DateValue::DateValue(const TQDate & d) : Value (), year_ (d.year()), month_ (d.month()), @@ -76,7 +76,7 @@ DateValue::DateValue(const QDate & d) assembled_ = false; } -DateValue::DateValue(const QDateTime & d) +DateValue::DateValue(const TQDateTime & d) : Value (), year_ (d.date().year()), month_ (d.date().month()), @@ -105,7 +105,7 @@ DateValue::DateValue(const DateValue & x) hasTime_ = x.hasTime_; } -DateValue::DateValue(const QCString & s) +DateValue::DateValue(const TQCString & s) : Value(s) { } @@ -120,7 +120,7 @@ DateValue::operator = (DateValue & x) } DateValue & -DateValue::operator = (const QCString & s) +DateValue::operator = (const TQCString & s) { Value::operator = (s); return *this; @@ -154,8 +154,8 @@ DateValue::_parse() int timeSep = strRep_.find('T'); - QCString dateStr; - QCString timeStr; + TQCString dateStr; + TQCString timeStr; if (timeSep == -1) { @@ -173,7 +173,7 @@ DateValue::_parse() /////////////////////////////////////////////////////////////// DATE - dateStr.replace(QRegExp("-"), ""); + dateStr.replace(TQRegExp("-"), ""); kdDebug(5710) << "dateStr: " << dateStr << endl; @@ -196,7 +196,7 @@ DateValue::_parse() if (zoneSep != -1 && timeStr.length() - zoneSep > 3) { - QCString zoneStr(timeStr.mid(zoneSep + 1)); + TQCString zoneStr(timeStr.mid(zoneSep + 1)); vDebug("zoneStr == " + zoneStr); zonePositive_ = (zoneStr[0] == '+'); @@ -211,13 +211,13 @@ DateValue::_parse() int secFracSep = timeStr.findRev(','); if (secFracSep != -1 && zoneSep != -1) { // zoneSep checked to avoid errors. - QCString quirkafleeg = "0." + timeStr.mid(secFracSep + 1, zoneSep); + TQCString quirkafleeg = "0." + timeStr.mid(secFracSep + 1, zoneSep); secFrac_ = quirkafleeg.toDouble(); } /////////////////////////////////////////////////////////////// HMS - timeStr.replace(QRegExp(":"), ""); + timeStr.replace(TQRegExp(":"), ""); hour_ = timeStr.left(2).toInt(); minute_ = timeStr.mid(2, 2).toInt(); @@ -229,9 +229,9 @@ DateValue::_assemble() { vDebug("DateValue::_assemble"); - QCString year; - QCString month; - QCString day; + TQCString year; + TQCString month; + TQCString day; year.setNum( year_ ); month.setNum( month_ ); @@ -243,9 +243,9 @@ DateValue::_assemble() strRep_ = year + '-' + month + '-' + day; if ( hasTime_ ) { - QCString hour; - QCString minute; - QCString second; + TQCString hour; + TQCString minute; + TQCString second; hour.setNum( hour_ ); minute.setNum( minute_ ); @@ -402,7 +402,7 @@ DateValue::setZoneMinute(unsigned int i) DateValue::qdate() { parse(); - QDate d(year_, month_, day_); + TQDate d(year_, month_, day_); return d; } @@ -410,7 +410,7 @@ DateValue::qdate() DateValue::qtime() { parse(); - QTime t(hour_, minute_, second_); + TQTime t(hour_, minute_, second_); // t.setMs(1 / secFrac_); return t; } @@ -419,7 +419,7 @@ DateValue::qtime() DateValue::qdt() { parse(); - QDateTime dt; + TQDateTime dt; dt.setDate(qdate()); dt.setTime(qtime()); return dt; diff --git a/kabc/vcard/EmailParam.cpp b/kabc/vcard/EmailParam.cpp index 8c87477bc..9027494ad 100644 --- a/kabc/vcard/EmailParam.cpp +++ b/kabc/vcard/EmailParam.cpp @@ -40,7 +40,7 @@ EmailParam::EmailParam(const EmailParam & x) { } -EmailParam::EmailParam(const QCString & s) +EmailParam::EmailParam(const TQCString & s) : Param(s) { } @@ -58,7 +58,7 @@ EmailParam::operator = (EmailParam & x) } EmailParam & -EmailParam::operator = (const QCString & s) +EmailParam::operator = (const TQCString & s) { Param::operator = (s); return *this; diff --git a/kabc/vcard/Entity.cpp b/kabc/vcard/Entity.cpp index b7d09e08e..83ee8d40d 100644 --- a/kabc/vcard/Entity.cpp +++ b/kabc/vcard/Entity.cpp @@ -40,7 +40,7 @@ Entity::Entity(const Entity & e) // empty } -Entity::Entity(const QCString & s) +Entity::Entity(const TQCString & s) : strRep_ (s), parsed_ (false), assembled_ (true) @@ -61,7 +61,7 @@ Entity::operator = (const Entity & e) } Entity & -Entity::operator = (const QCString & s) +Entity::operator = (const TQCString & s) { strRep_ = s; parsed_ = false; @@ -83,13 +83,13 @@ Entity::operator != (Entity & e) } bool -Entity::operator == (const QCString & s) +Entity::operator == (const TQCString & s) { return asString() == s; } bool -Entity::operator != (const QCString & s) +Entity::operator != (const TQCString & s) { return !(*this == s); } diff --git a/kabc/vcard/Enum.cpp b/kabc/vcard/Enum.cpp index 3ed4a67c5..4d8d167a0 100644 --- a/kabc/vcard/Enum.cpp +++ b/kabc/vcard/Enum.cpp @@ -21,7 +21,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <qcstring.h> +#include <tqcstring.h> #include <ctype.h> #include <VCardEnum.h> @@ -236,7 +236,7 @@ VCARD::EntityTypeToParamName(EntityType e) } EntityType -VCARD::EntityNameToEntityType(const QCString & s) +VCARD::EntityNameToEntityType(const TQCString & s) { if (s.isEmpty()) return EntityUnknown; diff --git a/kabc/vcard/FloatValue.cpp b/kabc/vcard/FloatValue.cpp index 15bb664b0..ac1f2c6b5 100644 --- a/kabc/vcard/FloatValue.cpp +++ b/kabc/vcard/FloatValue.cpp @@ -45,7 +45,7 @@ FloatValue::FloatValue(const FloatValue & x) value_ = x.value_; } -FloatValue::FloatValue(const QCString & s) +FloatValue::FloatValue(const TQCString & s) : Value(s) { } @@ -63,7 +63,7 @@ FloatValue::operator = (FloatValue & x) } FloatValue & -FloatValue::operator = (const QCString & s) +FloatValue::operator = (const TQCString & s) { Value::operator = (s); return *this; @@ -101,7 +101,7 @@ FloatValue::_parse() void FloatValue::_assemble() { - strRep_ = QCString().setNum(value_); + strRep_ = TQCString().setNum(value_); } float diff --git a/kabc/vcard/GeoValue.cpp b/kabc/vcard/GeoValue.cpp index 848890a2c..2bac28c1e 100644 --- a/kabc/vcard/GeoValue.cpp +++ b/kabc/vcard/GeoValue.cpp @@ -36,7 +36,7 @@ GeoValue::GeoValue(const GeoValue & x) { } -GeoValue::GeoValue(const QCString & s) +GeoValue::GeoValue(const TQCString & s) : Value(s) { } @@ -54,7 +54,7 @@ GeoValue::operator = (GeoValue & x) } GeoValue & -GeoValue::operator = (const QCString & s) +GeoValue::operator = (const TQCString & s) { Value::operator = (s); return *this; diff --git a/kabc/vcard/ImageParam.cpp b/kabc/vcard/ImageParam.cpp index c9cf6fdc7..69611eeab 100644 --- a/kabc/vcard/ImageParam.cpp +++ b/kabc/vcard/ImageParam.cpp @@ -37,7 +37,7 @@ ImageParam::ImageParam(const ImageParam & x) { } -ImageParam::ImageParam(const QCString & s) +ImageParam::ImageParam(const TQCString & s) : Param(s) { } @@ -52,7 +52,7 @@ ImageParam::operator = (ImageParam & x) } ImageParam & -ImageParam::operator = (const QCString & s) +ImageParam::operator = (const TQCString & s) { Param::operator = (s); return *this; diff --git a/kabc/vcard/ImageValue.cpp b/kabc/vcard/ImageValue.cpp index 4630fac85..5d8d29bb7 100644 --- a/kabc/vcard/ImageValue.cpp +++ b/kabc/vcard/ImageValue.cpp @@ -37,7 +37,7 @@ ImageValue::ImageValue(const ImageValue & x) { } -ImageValue::ImageValue(const QCString & s) +ImageValue::ImageValue(const TQCString & s) : Value(s) { } @@ -52,7 +52,7 @@ ImageValue::operator = (ImageValue & x) } ImageValue & -ImageValue::operator = (const QCString & s) +ImageValue::operator = (const TQCString & s) { Value::operator = (s); return *this; diff --git a/kabc/vcard/ImgValue.cpp b/kabc/vcard/ImgValue.cpp index 7b961f82e..42889acd8 100644 --- a/kabc/vcard/ImgValue.cpp +++ b/kabc/vcard/ImgValue.cpp @@ -37,7 +37,7 @@ ImgValue::ImgValue(const ImgValue & x) { } -ImgValue::ImgValue(const QCString & s) +ImgValue::ImgValue(const TQCString & s) : Value(s) { } @@ -52,7 +52,7 @@ ImgValue::operator = (ImgValue & x) } ImgValue & -ImgValue::operator = (const QCString & s) +ImgValue::operator = (const TQCString & s) { Value::operator = (s); return *this; diff --git a/kabc/vcard/LangValue.cpp b/kabc/vcard/LangValue.cpp index edf180460..6ef46c98f 100644 --- a/kabc/vcard/LangValue.cpp +++ b/kabc/vcard/LangValue.cpp @@ -39,7 +39,7 @@ LangValue::LangValue(const LangValue & x) { } -LangValue::LangValue(const QCString & s) +LangValue::LangValue(const TQCString & s) : Value(s) { } @@ -54,7 +54,7 @@ LangValue::operator = (LangValue & x) } LangValue & -LangValue::operator = (const QCString & s) +LangValue::operator = (const TQCString & s) { Value::operator = (s); return *this; @@ -74,7 +74,7 @@ LangValue::~LangValue() void LangValue::_parse() { - QStrList l; + TQStrList l; RTokenise(strRep_, "-", l); if (l.count() == 0) return; @@ -91,10 +91,10 @@ LangValue::_assemble() { strRep_ = primary_; - QStrListIterator it(subtags_); + TQStrListIterator it(subtags_); for (; it.current(); ++it) - strRep_ += QCString('-') + it.current(); + strRep_ += TQCString('-') + it.current(); } QCString @@ -112,14 +112,14 @@ LangValue::subtags() } void -LangValue::setPrimary(const QCString & s) +LangValue::setPrimary(const TQCString & s) { parse(); primary_ = s; } void -LangValue::setSubTags(const QStrList & l) +LangValue::setSubTags(const TQStrList & l) { parse(); subtags_ = l; diff --git a/kabc/vcard/NValue.cpp b/kabc/vcard/NValue.cpp index cdec621c3..e63268134 100644 --- a/kabc/vcard/NValue.cpp +++ b/kabc/vcard/NValue.cpp @@ -21,7 +21,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <qstrlist.h> +#include <tqstrlist.h> #include <VCardRToken.h> #include <VCardNValue.h> @@ -46,7 +46,7 @@ NValue::NValue(const NValue & x) { } -NValue::NValue(const QCString & s) +NValue::NValue(const TQCString & s) : Value(s) { vDebug("ctor"); @@ -68,7 +68,7 @@ NValue::operator = (NValue & x) } NValue & -NValue::operator = (const QCString & s) +NValue::operator = (const TQCString & s) { Value::operator = (s); return *this; @@ -100,7 +100,7 @@ NValue::clone() void NValue::_parse() { - QStrList l; + TQStrList l; RTokenise(strRep_, ";", l); for (unsigned int i = 0; i < l.count(); i++) { diff --git a/kabc/vcard/OrgValue.cpp b/kabc/vcard/OrgValue.cpp index c3134c835..cfd9c6f73 100644 --- a/kabc/vcard/OrgValue.cpp +++ b/kabc/vcard/OrgValue.cpp @@ -39,7 +39,7 @@ OrgValue::OrgValue(const OrgValue & x) { } -OrgValue::OrgValue(const QCString & s) +OrgValue::OrgValue(const TQCString & s) : Value(s) { } @@ -54,7 +54,7 @@ OrgValue::operator = (OrgValue & x) } OrgValue & -OrgValue::operator = (const QCString & s) +OrgValue::operator = (const TQCString & s) { Value::operator = (s); return *this; @@ -82,7 +82,7 @@ OrgValue::_assemble() { bool first(true); - QStrListIterator it(valueList_); + TQStrListIterator it(valueList_); for (; it.current(); ++it) { if (!first) strRep_ += ';'; diff --git a/kabc/vcard/Param.cpp b/kabc/vcard/Param.cpp index c51361328..d631f2319 100644 --- a/kabc/vcard/Param.cpp +++ b/kabc/vcard/Param.cpp @@ -43,7 +43,7 @@ Param::Param(const Param & x) { } -Param::Param(const QCString & s) +Param::Param(const TQCString & s) : Entity(s), name_(""), value_("") @@ -63,7 +63,7 @@ Param::operator = (Param & x) } Param & -Param::operator = (const QCString & s) +Param::operator = (const TQCString & s) { Entity::operator = (s); return *this; @@ -91,7 +91,7 @@ Param::_assemble() strRep_ = name_ + "=" + value_; } -Param::Param(const QCString &name, const QCString &value) +Param::Param(const TQCString &name, const TQCString &value) : Entity(), name_(name), value_(value) @@ -101,7 +101,7 @@ Param::Param(const QCString &name, const QCString &value) } void -Param::setName(const QCString & name) +Param::setName(const TQCString & name) { name_ = name; @@ -109,7 +109,7 @@ Param::setName(const QCString & name) } void -Param::setValue(const QCString & value) +Param::setValue(const TQCString & value) { value_ = value; diff --git a/kabc/vcard/PhoneNumberValue.cpp b/kabc/vcard/PhoneNumberValue.cpp index 17b1400d3..02a1266fe 100644 --- a/kabc/vcard/PhoneNumberValue.cpp +++ b/kabc/vcard/PhoneNumberValue.cpp @@ -37,7 +37,7 @@ PhoneNumberValue::PhoneNumberValue(const PhoneNumberValue & x) { } -PhoneNumberValue::PhoneNumberValue(const QCString & s) +PhoneNumberValue::PhoneNumberValue(const TQCString & s) : Value(s) { } @@ -52,7 +52,7 @@ PhoneNumberValue::operator = (PhoneNumberValue & x) } PhoneNumberValue & -PhoneNumberValue::operator = (const QCString & s) +PhoneNumberValue::operator = (const TQCString & s) { Value::operator = (s); return *this; diff --git a/kabc/vcard/RToken.cpp b/kabc/vcard/RToken.cpp index 2a85820bd..b0e251a87 100644 --- a/kabc/vcard/RToken.cpp +++ b/kabc/vcard/RToken.cpp @@ -24,14 +24,14 @@ #include <string.h> #include <stddef.h> -#include <qcstring.h> -#include <qstrlist.h> +#include <tqcstring.h> +#include <tqstrlist.h> namespace VCARD { Q_UINT32 -RTokenise(const char * str, const char * delim, QStrList & l) +RTokenise(const char * str, const char * delim, TQStrList & l) { // FIXME no stderr ! l.clear(); diff --git a/kabc/vcard/SoundValue.cpp b/kabc/vcard/SoundValue.cpp index 81040d118..5be75d358 100644 --- a/kabc/vcard/SoundValue.cpp +++ b/kabc/vcard/SoundValue.cpp @@ -37,7 +37,7 @@ SoundValue::SoundValue(const SoundValue & x) { } -SoundValue::SoundValue(const QCString & s) +SoundValue::SoundValue(const TQCString & s) : Value(s) { } @@ -52,7 +52,7 @@ SoundValue::operator = (SoundValue & x) } SoundValue & -SoundValue::operator = (const QCString & s) +SoundValue::operator = (const TQCString & s) { Value::operator = (s); return *this; diff --git a/kabc/vcard/SourceParam.cpp b/kabc/vcard/SourceParam.cpp index cd51cbdaa..d66d87498 100644 --- a/kabc/vcard/SourceParam.cpp +++ b/kabc/vcard/SourceParam.cpp @@ -41,7 +41,7 @@ SourceParam::SourceParam(const SourceParam & x) { } -SourceParam::SourceParam(const QCString & s) +SourceParam::SourceParam(const TQCString & s) : Param(s), type_(SourceParam::TypeUnknown) { @@ -60,7 +60,7 @@ SourceParam::operator = (SourceParam & x) } SourceParam & -SourceParam::operator = (const QCString & s) +SourceParam::operator = (const TQCString & s) { Param::operator = (s); return *this; diff --git a/kabc/vcard/TelParam.cpp b/kabc/vcard/TelParam.cpp index 9d9fe4d7f..072b1dc81 100644 --- a/kabc/vcard/TelParam.cpp +++ b/kabc/vcard/TelParam.cpp @@ -37,7 +37,7 @@ TelParam::TelParam(const TelParam & x) { } -TelParam::TelParam(const QCString & s) +TelParam::TelParam(const TQCString & s) : Param(s) { } @@ -52,7 +52,7 @@ TelParam::operator = (TelParam & x) } TelParam & -TelParam::operator = (const QCString & s) +TelParam::operator = (const TQCString & s) { Param::operator = (s); return *this; diff --git a/kabc/vcard/TelValue.cpp b/kabc/vcard/TelValue.cpp index 349f99af9..c9c1b85aa 100644 --- a/kabc/vcard/TelValue.cpp +++ b/kabc/vcard/TelValue.cpp @@ -37,7 +37,7 @@ TelValue::TelValue(const TelValue & x) { } -TelValue::TelValue(const QCString & s) +TelValue::TelValue(const TQCString & s) : Value(s) { } @@ -52,7 +52,7 @@ TelValue::operator = (TelValue & x) } TelValue & -TelValue::operator = (const QCString & s) +TelValue::operator = (const TQCString & s) { Value::operator = (s); return *this; diff --git a/kabc/vcard/TextBinParam.cpp b/kabc/vcard/TextBinParam.cpp index 66f29467d..4e0ebadff 100644 --- a/kabc/vcard/TextBinParam.cpp +++ b/kabc/vcard/TextBinParam.cpp @@ -37,7 +37,7 @@ TextBinParam::TextBinParam(const TextBinParam & x) { } -TextBinParam::TextBinParam(const QCString & s) +TextBinParam::TextBinParam(const TQCString & s) : Param(s) { } @@ -52,7 +52,7 @@ TextBinParam::operator = (TextBinParam & x) } TextBinParam & -TextBinParam::operator = (const QCString & s) +TextBinParam::operator = (const TQCString & s) { Param::operator = (s); return *this; diff --git a/kabc/vcard/TextBinValue.cpp b/kabc/vcard/TextBinValue.cpp index c58400967..e7da0b7c6 100644 --- a/kabc/vcard/TextBinValue.cpp +++ b/kabc/vcard/TextBinValue.cpp @@ -41,7 +41,7 @@ TextBinValue::TextBinValue(const TextBinValue & x) mUrl_ = x.mUrl_; } -TextBinValue::TextBinValue(const QCString & s) +TextBinValue::TextBinValue(const TQCString & s) : Value(s) { } @@ -60,7 +60,7 @@ TextBinValue::operator = (TextBinValue & x) } TextBinValue & -TextBinValue::operator = (const QCString & s) +TextBinValue::operator = (const TQCString & s) { Value::operator = (s); return *this; diff --git a/kabc/vcard/TextListValue.cpp b/kabc/vcard/TextListValue.cpp index c4ac1e38b..e29a8dcc2 100644 --- a/kabc/vcard/TextListValue.cpp +++ b/kabc/vcard/TextListValue.cpp @@ -39,7 +39,7 @@ TextListValue::TextListValue(const TextListValue & x) { } -TextListValue::TextListValue(const QCString & s) +TextListValue::TextListValue(const TQCString & s) : Value(s) { } @@ -54,7 +54,7 @@ TextListValue::operator = (TextListValue & x) } TextListValue & -TextListValue::operator = (const QCString & s) +TextListValue::operator = (const TQCString & s) { Value::operator = (s); return *this; @@ -82,7 +82,7 @@ TextListValue::_assemble() { bool first(true); - QStrListIterator it(valueList_); + TQStrListIterator it(valueList_); for (; it.current(); ++it) { if (!first) strRep_ += ';'; diff --git a/kabc/vcard/TextParam.cpp b/kabc/vcard/TextParam.cpp index 7c6870093..b353483ec 100644 --- a/kabc/vcard/TextParam.cpp +++ b/kabc/vcard/TextParam.cpp @@ -37,7 +37,7 @@ TextParam::TextParam(const TextParam & x) { } -TextParam::TextParam(const QCString & s) +TextParam::TextParam(const TQCString & s) : Param(s) { } @@ -52,7 +52,7 @@ TextParam::operator = (TextParam & x) } TextParam & -TextParam::operator = (const QCString & s) +TextParam::operator = (const TQCString & s) { Param::operator = (s); return *this; diff --git a/kabc/vcard/TextValue.cpp b/kabc/vcard/TextValue.cpp index 9708398ad..cf8e0673f 100644 --- a/kabc/vcard/TextValue.cpp +++ b/kabc/vcard/TextValue.cpp @@ -37,7 +37,7 @@ TextValue::TextValue(const TextValue & x) { } -TextValue::TextValue(const QCString & s) +TextValue::TextValue(const TQCString & s) : Value(s) { } @@ -52,7 +52,7 @@ TextValue::operator = (TextValue & x) } TextValue & -TextValue::operator = (const QCString & s) +TextValue::operator = (const TQCString & s) { Value::operator = (s); return *this; diff --git a/kabc/vcard/URIValue.cpp b/kabc/vcard/URIValue.cpp index c1d1022e8..98f75cb8e 100644 --- a/kabc/vcard/URIValue.cpp +++ b/kabc/vcard/URIValue.cpp @@ -32,7 +32,7 @@ URIValue::URIValue() { } -URIValue::URIValue(const QCString & scheme, const QCString & schemeSpecificPart) +URIValue::URIValue(const TQCString & scheme, const TQCString & schemeSpecificPart) : Value(), scheme_ (scheme), schemeSpecificPart_ (schemeSpecificPart) @@ -47,7 +47,7 @@ URIValue::URIValue(const URIValue & x) { } -URIValue::URIValue(const QCString & s) +URIValue::URIValue(const TQCString & s) : Value(s) { } @@ -65,7 +65,7 @@ URIValue::operator = (URIValue & x) } URIValue & -URIValue::operator = (const QCString & s) +URIValue::operator = (const TQCString & s) { Value::operator = (s); return *this; @@ -118,14 +118,14 @@ URIValue::schemeSpecificPart() } void -URIValue::setScheme(const QCString & s) +URIValue::setScheme(const TQCString & s) { parse(); scheme_ = s; } void -URIValue::setSchemeSpecificPart(const QCString & s) +URIValue::setSchemeSpecificPart(const TQCString & s) { parse(); schemeSpecificPart_ = s; diff --git a/kabc/vcard/UTCValue.cpp b/kabc/vcard/UTCValue.cpp index 374306c5f..30473661f 100644 --- a/kabc/vcard/UTCValue.cpp +++ b/kabc/vcard/UTCValue.cpp @@ -38,7 +38,7 @@ UTCValue::UTCValue(const UTCValue & x) { } -UTCValue::UTCValue(const QCString & s) +UTCValue::UTCValue(const TQCString & s) : Value(s) { } @@ -57,7 +57,7 @@ UTCValue::operator = (UTCValue & x) } UTCValue & -UTCValue::operator = (const QCString & s) +UTCValue::operator = (const TQCString & s) { Value::operator = (s); return *this; diff --git a/kabc/vcard/VCard.cpp b/kabc/vcard/VCard.cpp index 8a65ecfd4..50c25da59 100644 --- a/kabc/vcard/VCard.cpp +++ b/kabc/vcard/VCard.cpp @@ -21,8 +21,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <qcstring.h> -#include <qstrlist.h> +#include <tqcstring.h> +#include <tqstrlist.h> #include <VCardEntity.h> #include <VCardVCard.h> @@ -46,7 +46,7 @@ VCard::VCard(const VCard & x) { } -VCard::VCard(const QCString & s) +VCard::VCard(const TQCString & s) : Entity(s) { } @@ -64,7 +64,7 @@ VCard::operator = (VCard & x) } VCard & -VCard::operator = (const QCString & s) +VCard::operator = (const TQCString & s) { Entity::operator = (s); return *this; @@ -85,7 +85,7 @@ VCard::~VCard() VCard::_parse() { vDebug("parse() called"); - QStrList l; + TQStrList l; RTokenise(strRep_, "\r\n", l); @@ -95,16 +95,16 @@ VCard::_parse() } // Get the first line - QCString beginLine = QCString(l.at(0)).stripWhiteSpace(); + TQCString beginLine = TQCString(l.at(0)).stripWhiteSpace(); vDebug("Begin line == \"" + beginLine + "\""); // Remove extra blank lines - while (QCString(l.last()).isEmpty()) + while (TQCString(l.last()).isEmpty()) l.remove(l.last()); // Now we know this is the last line - QCString endLine = l.last(); + TQCString endLine = l.last(); // Trash the first and last lines as we have seen them. l.remove(0u); @@ -120,8 +120,8 @@ VCard::_parse() return; } - QCString firstPart(beginLine.left(split)); - QCString valuePart(beginLine.mid(split + 1)); + TQCString firstPart(beginLine.left(split)); + TQCString valuePart(beginLine.mid(split + 1)); split = firstPart.find('.'); @@ -147,11 +147,11 @@ VCard::_parse() // Handle folded lines. - QStrList refolded; + TQStrList refolded; - QStrListIterator it(l); + TQStrListIterator it(l); - QCString cur; + TQCString cur; for (; it.current(); ++it) { @@ -173,11 +173,11 @@ VCard::_parse() refolded.append(cur); } - QStrListIterator it2(refolded); + TQStrListIterator it2(refolded); for (; it2.current(); ++it2) { - vDebug("New contentline using \"" + QCString(it2.current()) + "\""); + vDebug("New contentline using \"" + TQCString(it2.current()) + "\""); ContentLine * cl = new ContentLine(it2.current()); cl->parse(); @@ -217,7 +217,7 @@ VCard::_assemble() strRep_ = "BEGIN:VCARD\r\n"; strRep_ += "VERSION:3.0\r\n"; - QPtrListIterator<ContentLine> it(contentLineList_); + TQPtrListIterator<ContentLine> it(contentLineList_); for (; it.current(); ++it) strRep_ += it.current()->asString() + "\r\n"; @@ -233,7 +233,7 @@ VCard::has(EntityType t) } bool -VCard::has(const QCString & s) +VCard::has(const TQCString & s) { parse(); return contentLine(s) == 0 ? false : true; @@ -248,7 +248,7 @@ VCard::add(const ContentLine & cl) } void -VCard::add(const QCString & s) +VCard::add(const TQCString & s) { parse(); ContentLine * c = new ContentLine(s); @@ -259,7 +259,7 @@ VCard::add(const QCString & s) VCard::contentLine(EntityType t) { parse(); - QPtrListIterator<ContentLine> it(contentLineList_); + TQPtrListIterator<ContentLine> it(contentLineList_); for (; it.current(); ++it) if (it.current()->entityType() == t) @@ -269,10 +269,10 @@ VCard::contentLine(EntityType t) } ContentLine * -VCard::contentLine(const QCString & s) +VCard::contentLine(const TQCString & s) { parse(); - QPtrListIterator<ContentLine> it(contentLineList_); + TQPtrListIterator<ContentLine> it(contentLineList_); for (; it.current(); ++it) if (it.current()->entityType() == EntityNameToEntityType(s)) diff --git a/kabc/vcard/VCardEntity.cpp b/kabc/vcard/VCardEntity.cpp index 0c21e2f70..1f8cea5b1 100644 --- a/kabc/vcard/VCardEntity.cpp +++ b/kabc/vcard/VCardEntity.cpp @@ -21,7 +21,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <qregexp.h> +#include <tqregexp.h> #include <VCardDefines.h> #include <VCardVCardEntity.h> @@ -38,7 +38,7 @@ VCardEntity::VCardEntity(const VCardEntity & x) { } -VCardEntity::VCardEntity(const QCString & s) +VCardEntity::VCardEntity(const TQCString & s) : Entity(s) { } @@ -53,7 +53,7 @@ VCardEntity::operator = (VCardEntity & x) } VCardEntity & -VCardEntity::operator = (const QCString & s) +VCardEntity::operator = (const TQCString & s) { Entity::operator = (s); return *this; @@ -74,15 +74,15 @@ VCardEntity::~VCardEntity() VCardEntity::_parse() { vDebug("parse"); - QCString s(strRep_); + TQCString s(strRep_); - int i = s.find(QRegExp("BEGIN:VCARD", false)); + int i = s.find(TQRegExp("BEGIN:VCARD", false)); while (i != -1) { - i = s.find(QRegExp("BEGIN:VCARD", false), 11); + i = s.find(TQRegExp("BEGIN:VCARD", false), 11); - QCString cardStr(s.left(i)); + TQCString cardStr(s.left(i)); VCard * v = new VCard(cardStr); diff --git a/kabc/vcard/Value.cpp b/kabc/vcard/Value.cpp index 33b7a509e..c95c0712b 100644 --- a/kabc/vcard/Value.cpp +++ b/kabc/vcard/Value.cpp @@ -36,7 +36,7 @@ Value::Value(const Value & x) { } -Value::Value(const QCString & s) +Value::Value(const TQCString & s) : Entity(s) { } @@ -51,7 +51,7 @@ Value::operator = (Value & x) } Value & -Value::operator = (const QCString & s) +Value::operator = (const TQCString & s) { Entity::operator = (s); return *this; diff --git a/kabc/vcard/include/VCardAdrParam.h b/kabc/vcard/include/VCardAdrParam.h index 783d79129..ed5497deb 100644 --- a/kabc/vcard/include/VCardAdrParam.h +++ b/kabc/vcard/include/VCardAdrParam.h @@ -24,8 +24,8 @@ #ifndef ADRPARAM_H #define ADRPARAM_H -#include <qcstring.h> -#include <qstrlist.h> +#include <tqcstring.h> +#include <tqstrlist.h> #include <VCardParam.h> @@ -37,16 +37,16 @@ class KVCARD_EXPORT AdrParam : public Param #include "AdrParam-generated.h" - QStrList adrTypeList() + TQStrList adrTypeList() { parse(); return adrTypeList_; } - QCString textParam() + TQCString textParam() { parse(); return textParam_; } - void setAdrTypeList(const QStrList & l) + void setAdrTypeList(const TQStrList & l) { adrTypeList_ = l; assembled_ = false; } - void setTextParam(const QCString & s) + void setTextParam(const TQCString & s) { textParam_ = s; assembled_ = false; } enum AdrType { diff --git a/kabc/vcard/include/VCardAdrValue.h b/kabc/vcard/include/VCardAdrValue.h index e17ee347f..94ed93aee 100644 --- a/kabc/vcard/include/VCardAdrValue.h +++ b/kabc/vcard/include/VCardAdrValue.h @@ -24,7 +24,7 @@ #ifndef ADRVALUE_H #define ADRVALUE_H -#include <qstrlist.h> +#include <tqstrlist.h> #include <VCardValue.h> namespace VCARD @@ -37,44 +37,44 @@ class KVCARD_EXPORT AdrValue : public Value AdrValue *clone(); - void setPOBox(const QCString & s) + void setPOBox(const TQCString & s) { poBox_ = s; assembled_ = false; } - void setExtAddress(const QCString & s) + void setExtAddress(const TQCString & s) { extAddress_ = s; assembled_ = false; } - void setStreet(const QCString & s) + void setStreet(const TQCString & s) { street_ = s; assembled_ = false; } - void setLocality(const QCString & s) + void setLocality(const TQCString & s) { locality_ = s; assembled_ = false; } - void setRegion(const QCString & s) + void setRegion(const TQCString & s) { region_ = s; assembled_ = false; } - void setPostCode(const QCString & s) + void setPostCode(const TQCString & s) { postCode_ = s; assembled_ = false; } - void setCountryName(const QCString & s) + void setCountryName(const TQCString & s) { countryName_ = s; assembled_ = false; } - QCString poBox() { parse(); return poBox_; } - QCString extAddress() { parse(); return extAddress_; } - QCString street() { parse(); return street_; } - QCString locality() { parse(); return locality_; } - QCString region() { parse(); return region_; } - QCString postCode() { parse(); return postCode_; } - QCString countryName() { parse(); return countryName_; } + TQCString poBox() { parse(); return poBox_; } + TQCString extAddress() { parse(); return extAddress_; } + TQCString street() { parse(); return street_; } + TQCString locality() { parse(); return locality_; } + TQCString region() { parse(); return region_; } + TQCString postCode() { parse(); return postCode_; } + TQCString countryName() { parse(); return countryName_; } private: - QCString poBox_; - QCString extAddress_; - QCString street_; - QCString locality_; - QCString region_; - QCString postCode_; - QCString countryName_; + TQCString poBox_; + TQCString extAddress_; + TQCString street_; + TQCString locality_; + TQCString region_; + TQCString postCode_; + TQCString countryName_; }; } diff --git a/kabc/vcard/include/VCardAgentParam.h b/kabc/vcard/include/VCardAgentParam.h index aed1ade19..90c3bd528 100644 --- a/kabc/vcard/include/VCardAgentParam.h +++ b/kabc/vcard/include/VCardAgentParam.h @@ -24,7 +24,7 @@ #ifndef AGENTPARAM_H #define AGENTPARAM_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardParam.h> #include <VCardURIValue.h> @@ -46,7 +46,7 @@ class KVCARD_EXPORT AgentParam : public Param void setRefer(bool b) { refer_ = b; assembled_ = false; } - void setURI(const QCString & s) + void setURI(const TQCString & s) { uri_ = s; assembled_ = false; } private: diff --git a/kabc/vcard/include/VCardAgentValue.h b/kabc/vcard/include/VCardAgentValue.h index 0d103be41..dd68145c9 100644 --- a/kabc/vcard/include/VCardAgentValue.h +++ b/kabc/vcard/include/VCardAgentValue.h @@ -24,7 +24,7 @@ #ifndef AGENTVALUE_H #define AGENTVALUE_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardValue.h> diff --git a/kabc/vcard/include/VCardClassValue.h b/kabc/vcard/include/VCardClassValue.h index 23e9b6d28..5de79167b 100644 --- a/kabc/vcard/include/VCardClassValue.h +++ b/kabc/vcard/include/VCardClassValue.h @@ -24,7 +24,7 @@ #ifndef CLASSVALUE_H #define CLASSVALUE_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardValue.h> diff --git a/kabc/vcard/include/VCardContentLine.h b/kabc/vcard/include/VCardContentLine.h index 6cb26d7bd..20d5c5033 100644 --- a/kabc/vcard/include/VCardContentLine.h +++ b/kabc/vcard/include/VCardContentLine.h @@ -24,7 +24,7 @@ #ifndef CONTENTLINE_H #define CONTENTLINE_H -#include <qptrlist.h> +#include <tqptrlist.h> #include "VCardEnum.h" #include "VCardEntity.h" @@ -47,10 +47,10 @@ class KVCARD_EXPORT ContentLine : public Entity ValueType valueType() { parse(); return valueType_; } EntityType entityType() { parse(); return entityType_; } - void setGroup (const QCString & s) + void setGroup (const TQCString & s) { group_ = s; assembled_ = false; } - void setName (const QCString & s) + void setName (const TQCString & s) { name_ = s; assembled_ = false; } void setValue (Value *s) @@ -65,7 +65,7 @@ class KVCARD_EXPORT ContentLine : public Entity QCString group_; QCString name_; - QPtrList<Param> paramList_; + TQPtrList<Param> paramList_; Value * value_; ParamType paramType_; diff --git a/kabc/vcard/include/VCardDateParam.h b/kabc/vcard/include/VCardDateParam.h index 32179be43..410eae6b7 100644 --- a/kabc/vcard/include/VCardDateParam.h +++ b/kabc/vcard/include/VCardDateParam.h @@ -24,7 +24,7 @@ #ifndef DATEPARAM_H #define DATEPARAM_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardParam.h> diff --git a/kabc/vcard/include/VCardDateValue.h b/kabc/vcard/include/VCardDateValue.h index f97b21113..4f2e2fe7f 100644 --- a/kabc/vcard/include/VCardDateValue.h +++ b/kabc/vcard/include/VCardDateValue.h @@ -24,8 +24,8 @@ #ifndef DATEVALUE_H #define DATEVALUE_H -#include <qcstring.h> -#include <qdatetime.h> +#include <tqcstring.h> +#include <tqdatetime.h> #include <VCardValue.h> @@ -48,8 +48,8 @@ class KVCARD_EXPORT DateValue : public Value unsigned int zoneHour = 0, unsigned int zoneMinute = 0); - DateValue(const QDate &); - DateValue(const QDateTime &); + DateValue(const TQDate &); + DateValue(const TQDateTime &); DateValue *clone(); @@ -77,9 +77,9 @@ class KVCARD_EXPORT DateValue : public Value void setZoneHour (unsigned int); void setZoneMinute (unsigned int); - QDate qdate(); - QTime qtime(); - QDateTime qdt(); + TQDate qdate(); + TQTime qtime(); + TQDateTime qdt(); private: diff --git a/kabc/vcard/include/VCardDefines.h b/kabc/vcard/include/VCardDefines.h index dd38ae28b..e778bc24f 100644 --- a/kabc/vcard/include/VCardDefines.h +++ b/kabc/vcard/include/VCardDefines.h @@ -34,14 +34,14 @@ #if 0 #ifndef NDEBUG -# include <qcstring.h> +# include <tqcstring.h> # include <iostream> # ifdef __GNUG__ # define vDebug(a) cerr << className() << ":" << __FUNCTION__ << " (" \ - << __LINE__ << "): " << QCString((a)).data() << endl; + << __LINE__ << "): " << TQCString((a)).data() << endl; # else # define vDebug(a) cerr << className() << ": " \ - << QCString((a)).data() << endl; + << TQCString((a)).data() << endl; # endif #else # define vDebug(a) diff --git a/kabc/vcard/include/VCardEmailParam.h b/kabc/vcard/include/VCardEmailParam.h index c879fac49..55086faec 100644 --- a/kabc/vcard/include/VCardEmailParam.h +++ b/kabc/vcard/include/VCardEmailParam.h @@ -24,7 +24,7 @@ #ifndef EMAILPARAM_H #define EMAILPARAM_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardParam.h> @@ -39,7 +39,7 @@ class KVCARD_EXPORT EmailParam : public Param QCString emailType() { parse(); return emailType_; } bool pref() { parse(); return pref_; } - void setEmailType(const QCString & s) + void setEmailType(const TQCString & s) { emailType_ = s; assembled_ = false; } void setPref(bool b) diff --git a/kabc/vcard/include/VCardEntity.h b/kabc/vcard/include/VCardEntity.h index ed503f896..ab17d6b8c 100644 --- a/kabc/vcard/include/VCardEntity.h +++ b/kabc/vcard/include/VCardEntity.h @@ -24,7 +24,7 @@ #ifndef ENTITY_H #define ENTITY_H -#include <qcstring.h> +#include <tqcstring.h> #include <kdelibs_export.h> namespace VCARD @@ -36,19 +36,19 @@ class KVCARD_EXPORT Entity Entity(); Entity(const Entity & e); - Entity(const QCString & s); + Entity(const TQCString & s); virtual Entity & operator = (const Entity & e); - virtual Entity & operator = (const QCString & s); + virtual Entity & operator = (const TQCString & s); virtual bool operator == (Entity & e); virtual bool operator != (Entity & e); - virtual bool operator == (const QCString & s); - virtual bool operator != (const QCString & s); + virtual bool operator == (const TQCString & s); + virtual bool operator != (const TQCString & s); virtual ~Entity(); - QCString asString(); + TQCString asString(); virtual void parse(); virtual void assemble(); @@ -58,7 +58,7 @@ class KVCARD_EXPORT Entity protected: - QCString strRep_; + TQCString strRep_; bool parsed_; bool assembled_; }; diff --git a/kabc/vcard/include/VCardEnum.h b/kabc/vcard/include/VCardEnum.h index cd55632f6..5f7902bac 100644 --- a/kabc/vcard/include/VCardEnum.h +++ b/kabc/vcard/include/VCardEnum.h @@ -24,14 +24,14 @@ #ifndef ENUM_H #define ENUM_H -#include <qcstring.h> +#include <tqcstring.h> #include <kdelibs_export.h> namespace VCARD { -extern const QCString paramNames []; +extern const TQCString paramNames []; enum EntityType { EntityName, @@ -111,8 +111,8 @@ extern const ParamType paramTypesTable[]; KVCARD_EXPORT ParamType EntityTypeToParamType(EntityType); KVCARD_EXPORT ValueType EntityTypeToValueType(EntityType); -KVCARD_EXPORT QCString EntityTypeToParamName(EntityType); -KVCARD_EXPORT EntityType EntityNameToEntityType(const QCString &); +KVCARD_EXPORT TQCString EntityTypeToParamName(EntityType); +KVCARD_EXPORT EntityType EntityNameToEntityType(const TQCString &); KVCARD_EXPORT char * encodeBase64(const char *, unsigned long, unsigned long &); KVCARD_EXPORT char * decodeBase64(const char *, unsigned long, unsigned long &); diff --git a/kabc/vcard/include/VCardFloatValue.h b/kabc/vcard/include/VCardFloatValue.h index 3e158774f..45a6823be 100644 --- a/kabc/vcard/include/VCardFloatValue.h +++ b/kabc/vcard/include/VCardFloatValue.h @@ -24,7 +24,7 @@ #ifndef FLOATVALUE_H #define FLOATVALUE_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardValue.h> diff --git a/kabc/vcard/include/VCardImageParam.h b/kabc/vcard/include/VCardImageParam.h index a78ebd4a6..10ab8a3f5 100644 --- a/kabc/vcard/include/VCardImageParam.h +++ b/kabc/vcard/include/VCardImageParam.h @@ -24,7 +24,7 @@ #ifndef IMGPARAM_H #define IMGPARAM_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardParam.h> diff --git a/kabc/vcard/include/VCardImageValue.h b/kabc/vcard/include/VCardImageValue.h index 7a9b29c1e..45fbcad9c 100644 --- a/kabc/vcard/include/VCardImageValue.h +++ b/kabc/vcard/include/VCardImageValue.h @@ -24,7 +24,7 @@ #ifndef IMAGEVALUE_H #define IMAGEVALUE_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardValue.h> diff --git a/kabc/vcard/include/VCardLangValue.h b/kabc/vcard/include/VCardLangValue.h index 22c50a9d4..7767d52fa 100644 --- a/kabc/vcard/include/VCardLangValue.h +++ b/kabc/vcard/include/VCardLangValue.h @@ -24,8 +24,8 @@ #ifndef LANGVALUE_H #define LANGVALUE_H -#include <qcstring.h> -#include <qstrlist.h> +#include <tqcstring.h> +#include <tqstrlist.h> #include <VCardValue.h> @@ -36,14 +36,14 @@ class KVCARD_EXPORT LangValue : public Value { #include "LangValue-generated.h" - QCString primary(); - QStrList subtags(); + TQCString primary(); + TQStrList subtags(); - void setPrimary(const QCString &); - void setSubTags(const QStrList &); + void setPrimary(const TQCString &); + void setSubTags(const TQStrList &); - QCString primary_; - QStrList subtags_; + TQCString primary_; + TQStrList subtags_; }; } diff --git a/kabc/vcard/include/VCardNValue.h b/kabc/vcard/include/VCardNValue.h index 41a6e9b28..9db37fbbc 100644 --- a/kabc/vcard/include/VCardNValue.h +++ b/kabc/vcard/include/VCardNValue.h @@ -34,21 +34,21 @@ class KVCARD_EXPORT NValue : public Value #include "NValue-generated.h" NValue *clone(); - QCString family() { parse(); return family_; } - QCString given() { parse(); return given_; } - QCString middle() { parse(); return middle_; } - QCString prefix() { parse(); return prefix_; } - QCString suffix() { parse(); return suffix_; } - - void setFamily (const QCString & s) { family_ = s; assembled_ = false; } - void setGiven (const QCString & s) { given_ = s; assembled_ = false; } - void setMiddle (const QCString & s) { middle_ = s; assembled_ = false; } - void setPrefix (const QCString & s) { prefix_ = s; assembled_ = false; } - void setSuffix (const QCString & s) { suffix_ = s; assembled_ = false; } + TQCString family() { parse(); return family_; } + TQCString given() { parse(); return given_; } + TQCString middle() { parse(); return middle_; } + TQCString prefix() { parse(); return prefix_; } + TQCString suffix() { parse(); return suffix_; } + + void setFamily (const TQCString & s) { family_ = s; assembled_ = false; } + void setGiven (const TQCString & s) { given_ = s; assembled_ = false; } + void setMiddle (const TQCString & s) { middle_ = s; assembled_ = false; } + void setPrefix (const TQCString & s) { prefix_ = s; assembled_ = false; } + void setSuffix (const TQCString & s) { suffix_ = s; assembled_ = false; } private: - QCString family_, given_, middle_, prefix_, suffix_; + TQCString family_, given_, middle_, prefix_, suffix_; }; } diff --git a/kabc/vcard/include/VCardOrgValue.h b/kabc/vcard/include/VCardOrgValue.h index cc5633501..a2bd803e5 100644 --- a/kabc/vcard/include/VCardOrgValue.h +++ b/kabc/vcard/include/VCardOrgValue.h @@ -24,8 +24,8 @@ #ifndef ORGVALUE_H #define ORGVALUE_H -#include <qcstring.h> -#include <qstrlist.h> +#include <tqcstring.h> +#include <tqstrlist.h> #include <VCardValue.h> @@ -38,11 +38,11 @@ class KVCARD_EXPORT OrgValue : public Value #include "OrgValue-generated.h" unsigned int numValues(); - QCString value(unsigned int); + TQCString value(unsigned int); private: - QStrList valueList_; + TQStrList valueList_; }; } diff --git a/kabc/vcard/include/VCardParam.h b/kabc/vcard/include/VCardParam.h index f805634c0..93d70f06b 100644 --- a/kabc/vcard/include/VCardParam.h +++ b/kabc/vcard/include/VCardParam.h @@ -24,8 +24,8 @@ #ifndef PARAM_H #define PARAM_H -#include <qcstring.h> -#include <qptrlist.h> +#include <tqcstring.h> +#include <tqptrlist.h> #include <VCardEntity.h> @@ -37,22 +37,22 @@ class KVCARD_EXPORT Param : public Entity #include "Param-generated.h" - Param(const QCString &name, const QCString &value); + Param(const TQCString &name, const TQCString &value); - void setName(const QCString &); - void setValue(const QCString &); + void setName(const TQCString &); + void setValue(const TQCString &); - QCString name(); - QCString value(); + TQCString name(); + TQCString value(); private: - QCString name_; - QCString value_; + TQCString name_; + TQCString value_; }; -typedef QPtrList<Param> ParamList; -typedef QPtrListIterator<Param> ParamListIterator; +typedef TQPtrList<Param> ParamList; +typedef TQPtrListIterator<Param> ParamListIterator; } diff --git a/kabc/vcard/include/VCardRToken.h b/kabc/vcard/include/VCardRToken.h index 06e644b20..0ea380267 100644 --- a/kabc/vcard/include/VCardRToken.h +++ b/kabc/vcard/include/VCardRToken.h @@ -25,14 +25,14 @@ #ifndef RTOKEN_H #define RTOKEN_H -#include <qstrlist.h> +#include <tqstrlist.h> #include <kdelibs_export.h> namespace VCARD { -KVCARD_EXPORT Q_UINT32 RTokenise(const char * str, const char * delim, QStrList & l); +KVCARD_EXPORT Q_UINT32 RTokenise(const char * str, const char * delim, TQStrList & l); } diff --git a/kabc/vcard/include/VCardSoundValue.h b/kabc/vcard/include/VCardSoundValue.h index 0a7af1fbc..61858f058 100644 --- a/kabc/vcard/include/VCardSoundValue.h +++ b/kabc/vcard/include/VCardSoundValue.h @@ -24,7 +24,7 @@ #ifndef SOUNDVALUE_H #define SOUNDVALUE_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardValue.h> diff --git a/kabc/vcard/include/VCardSourceParam.h b/kabc/vcard/include/VCardSourceParam.h index bb28ffe62..1d9d03d47 100644 --- a/kabc/vcard/include/VCardSourceParam.h +++ b/kabc/vcard/include/VCardSourceParam.h @@ -24,7 +24,7 @@ #ifndef SOURCEPARAM_H #define SOURCEPARAM_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardParam.h> @@ -39,18 +39,18 @@ class KVCARD_EXPORT SourceParam : public Param enum SourceParamType { TypeUnknown, TypeValue, TypeContext, TypeX }; SourceParamType type() { parse(); return type_;} - QCString par() { parse(); return par_; } - QCString val() { parse(); return val_; } + TQCString par() { parse(); return par_; } + TQCString val() { parse(); return val_; } void setType(SourceParamType t) { type_ = t; assembled_ = false; } - void setPar(const QCString & s) { par_ = s; assembled_ = false; } - void setVal(const QCString & s) { val_ = s; assembled_ = false; } + void setPar(const TQCString & s) { par_ = s; assembled_ = false; } + void setVal(const TQCString & s) { val_ = s; assembled_ = false; } private: SourceParamType type_; // May be "VALUE = uri" or "CONTEXT = word" or "x-name = *SAFE-CHAR" - QCString par_, val_; // Sub-parameter, value + TQCString par_, val_; // Sub-parameter, value }; } diff --git a/kabc/vcard/include/VCardTelParam.h b/kabc/vcard/include/VCardTelParam.h index 0eff82390..9eea5da2f 100644 --- a/kabc/vcard/include/VCardTelParam.h +++ b/kabc/vcard/include/VCardTelParam.h @@ -24,7 +24,7 @@ #ifndef TELPARAM_H #define TELPARAM_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardParam.h> @@ -43,7 +43,7 @@ class KVCARD_EXPORT TelParam : public Param private: - QPtrList<TelType> types_; + TQPtrList<TelType> types_; }; } diff --git a/kabc/vcard/include/VCardTelValue.h b/kabc/vcard/include/VCardTelValue.h index 1d3563192..043a45aa9 100644 --- a/kabc/vcard/include/VCardTelValue.h +++ b/kabc/vcard/include/VCardTelValue.h @@ -24,7 +24,7 @@ #ifndef TELVALUE_H #define TELVALUE_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardValue.h> diff --git a/kabc/vcard/include/VCardTextBinParam.h b/kabc/vcard/include/VCardTextBinParam.h index 5085d5d36..5a681ad48 100644 --- a/kabc/vcard/include/VCardTextBinParam.h +++ b/kabc/vcard/include/VCardTextBinParam.h @@ -24,7 +24,7 @@ #ifndef TEXTBINPARAM_H #define TEXTBINPARAM_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardParam.h> diff --git a/kabc/vcard/include/VCardTextBinValue.h b/kabc/vcard/include/VCardTextBinValue.h index 9835acf9b..316fa7832 100644 --- a/kabc/vcard/include/VCardTextBinValue.h +++ b/kabc/vcard/include/VCardTextBinValue.h @@ -24,7 +24,7 @@ #ifndef TEXTBINVALUE_H #define TEXTBINVALUE_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardValue.h> @@ -39,17 +39,17 @@ class KVCARD_EXPORT TextBinValue : public Value TextBinValue *clone(); bool isBinary() { parse(); return mIsBinary_; } - QByteArray data() { parse(); return mData_; } - QString url() { parse(); return mUrl_; } + TQByteArray data() { parse(); return mData_; } + TQString url() { parse(); return mUrl_; } - void setData( const QByteArray &data ) + void setData( const TQByteArray &data ) { mData_ = data; mIsBinary_ = true; assembled_ = false; } - void setUrl( const QString &url ) + void setUrl( const TQString &url ) { mUrl_ = url; mIsBinary_ = false; @@ -58,8 +58,8 @@ class KVCARD_EXPORT TextBinValue : public Value private: int mIsBinary_; - QByteArray mData_; - QString mUrl_; + TQByteArray mData_; + TQString mUrl_; }; } diff --git a/kabc/vcard/include/VCardTextListValue.h b/kabc/vcard/include/VCardTextListValue.h index 14242312a..53760c75a 100644 --- a/kabc/vcard/include/VCardTextListValue.h +++ b/kabc/vcard/include/VCardTextListValue.h @@ -24,9 +24,9 @@ #ifndef TEXTLISTVALUE_H #define TEXTLISTVALUE_H -#include <qstrlist.h> +#include <tqstrlist.h> -#include <qcstring.h> +#include <tqcstring.h> #include <VCardValue.h> @@ -39,11 +39,11 @@ class KVCARD_EXPORT TextListValue : public Value #include "TextListValue-generated.h" unsigned int numValues(); - QCString value(unsigned int); + TQCString value(unsigned int); private: - QStrList valueList_; + TQStrList valueList_; }; } diff --git a/kabc/vcard/include/VCardTextParam.h b/kabc/vcard/include/VCardTextParam.h index d241f42d0..d593c0578 100644 --- a/kabc/vcard/include/VCardTextParam.h +++ b/kabc/vcard/include/VCardTextParam.h @@ -24,7 +24,7 @@ #ifndef TEXTPARAM_H #define TEXTPARAM_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardParam.h> diff --git a/kabc/vcard/include/VCardURIValue.h b/kabc/vcard/include/VCardURIValue.h index de56d49e6..696887774 100644 --- a/kabc/vcard/include/VCardURIValue.h +++ b/kabc/vcard/include/VCardURIValue.h @@ -33,18 +33,18 @@ class KVCARD_EXPORT URIValue : public Value { #include "URIValue-generated.h" - URIValue(const QCString & scheme, const QCString & schemeSpecificPart); + URIValue(const TQCString & scheme, const TQCString & schemeSpecificPart); - QCString scheme(); - QCString schemeSpecificPart(); + TQCString scheme(); + TQCString schemeSpecificPart(); - void setScheme (const QCString &); - void setSchemeSpecificPart (const QCString &); + void setScheme (const TQCString &); + void setSchemeSpecificPart (const TQCString &); private: - QCString scheme_; - QCString schemeSpecificPart_; + TQCString scheme_; + TQCString schemeSpecificPart_; }; } diff --git a/kabc/vcard/include/VCardUTCValue.h b/kabc/vcard/include/VCardUTCValue.h index 6674ff7db..cb09ccf00 100644 --- a/kabc/vcard/include/VCardUTCValue.h +++ b/kabc/vcard/include/VCardUTCValue.h @@ -24,7 +24,7 @@ #ifndef UTCVALUE_H #define UTCVALUE_H -#include <qcstring.h> +#include <tqcstring.h> #include <VCardValue.h> diff --git a/kabc/vcard/include/VCardVCard.h b/kabc/vcard/include/VCardVCard.h index 120682212..64ed5c787 100644 --- a/kabc/vcard/include/VCardVCard.h +++ b/kabc/vcard/include/VCardVCard.h @@ -24,8 +24,8 @@ #ifndef VCARD_VCARD_H #define VCARD_VCARD_H -#include <qstring.h> -#include <qptrlist.h> +#include <tqstring.h> +#include <tqptrlist.h> #include <VCardEnum.h> #include <VCardEntity.h> @@ -40,22 +40,22 @@ class KVCARD_EXPORT VCard : public Entity #include "VCard-generated.h" bool has(EntityType); - bool has(const QCString &); + bool has(const TQCString &); void add(const ContentLine &); - void add(const QCString &); + void add(const TQCString &); ContentLine * contentLine(EntityType); - ContentLine * contentLine(const QCString &); + ContentLine * contentLine(const TQCString &); - QCString group() { parse(); return group_; } + TQCString group() { parse(); return group_; } - QPtrList<ContentLine> contentLineList() { parse(); return contentLineList_; } + TQPtrList<ContentLine> contentLineList() { parse(); return contentLineList_; } private: QCString group_; - QPtrList<ContentLine> contentLineList_; + TQPtrList<ContentLine> contentLineList_; }; } diff --git a/kabc/vcard/include/VCardVCardEntity.h b/kabc/vcard/include/VCardVCardEntity.h index d45d43c26..422790c22 100644 --- a/kabc/vcard/include/VCardVCardEntity.h +++ b/kabc/vcard/include/VCardVCardEntity.h @@ -24,8 +24,8 @@ #ifndef VCARD_ENTITY_H #define VCARD_ENTITY_H -#include <qstring.h> -#include <qptrlist.h> +#include <tqstring.h> +#include <tqptrlist.h> #include <VCardEnum.h> #include <VCardVCard.h> @@ -34,8 +34,8 @@ namespace VCARD { -typedef QPtrList<VCard> VCardList; -typedef QPtrListIterator<VCard> VCardListIterator; +typedef TQPtrList<VCard> VCardList; +typedef TQPtrListIterator<VCard> VCardListIterator; class KVCARD_EXPORT VCardEntity : public Entity { diff --git a/kabc/vcard/include/VCardValue.h b/kabc/vcard/include/VCardValue.h index 9019f2b1a..3c167d70a 100644 --- a/kabc/vcard/include/VCardValue.h +++ b/kabc/vcard/include/VCardValue.h @@ -24,7 +24,7 @@ #ifndef VALUE_H #define VALUE_H -#include <qptrlist.h> +#include <tqptrlist.h> #include <VCardEntity.h> @@ -38,8 +38,8 @@ class KVCARD_EXPORT Value : public Entity virtual Value *clone() { return new Value( *this ); } }; -typedef QPtrList<Value> ValueList; -typedef QPtrListIterator<Value> ValueListIterator; +typedef TQPtrList<Value> ValueList; +typedef TQPtrListIterator<Value> ValueListIterator; } diff --git a/kabc/vcard/include/generated/AdrParam-generated.h b/kabc/vcard/include/generated/AdrParam-generated.h index 3e265d8a7..1afdcd36a 100644 --- a/kabc/vcard/include/generated/AdrParam-generated.h +++ b/kabc/vcard/include/generated/AdrParam-generated.h @@ -3,13 +3,13 @@ public: AdrParam(); AdrParam(const AdrParam&); -AdrParam(const QCString&); +AdrParam(const TQCString&); AdrParam & operator = (AdrParam&); -AdrParam & operator = (const QCString&); +AdrParam & operator = (const TQCString&); bool operator ==(AdrParam&); bool operator !=(AdrParam& x) {return !(*this==x);} -bool operator ==(const QCString& s) {AdrParam a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {AdrParam a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~AdrParam(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/AdrValue-generated.h b/kabc/vcard/include/generated/AdrValue-generated.h index e1d93e425..9882d1186 100644 --- a/kabc/vcard/include/generated/AdrValue-generated.h +++ b/kabc/vcard/include/generated/AdrValue-generated.h @@ -3,13 +3,13 @@ public: AdrValue(); AdrValue(const AdrValue&); -AdrValue(const QCString&); +AdrValue(const TQCString&); AdrValue & operator = (AdrValue&); -AdrValue & operator = (const QCString&); +AdrValue & operator = (const TQCString&); bool operator ==(AdrValue&); bool operator !=(AdrValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {AdrValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {AdrValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~AdrValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/AgentParam-generated.h b/kabc/vcard/include/generated/AgentParam-generated.h index 6423867d9..07b87d106 100644 --- a/kabc/vcard/include/generated/AgentParam-generated.h +++ b/kabc/vcard/include/generated/AgentParam-generated.h @@ -3,13 +3,13 @@ public: AgentParam(); AgentParam(const AgentParam&); -AgentParam(const QCString&); +AgentParam(const TQCString&); AgentParam & operator = (AgentParam&); -AgentParam & operator = (const QCString&); +AgentParam & operator = (const TQCString&); bool operator ==(AgentParam&); bool operator !=(AgentParam& x) {return !(*this==x);} -bool operator ==(const QCString& s) {AgentParam a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {AgentParam a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~AgentParam(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/AgentValue-generated.h b/kabc/vcard/include/generated/AgentValue-generated.h index 76bb81c53..e2866bb8f 100644 --- a/kabc/vcard/include/generated/AgentValue-generated.h +++ b/kabc/vcard/include/generated/AgentValue-generated.h @@ -3,13 +3,13 @@ public: AgentValue(); AgentValue(const AgentValue&); -AgentValue(const QCString&); +AgentValue(const TQCString&); AgentValue & operator = (AgentValue&); -AgentValue & operator = (const QCString&); +AgentValue & operator = (const TQCString&); bool operator ==(AgentValue&); bool operator !=(AgentValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {AgentValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {AgentValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~AgentValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/ClassValue-generated.h b/kabc/vcard/include/generated/ClassValue-generated.h index df4ed5ff0..e10c65568 100644 --- a/kabc/vcard/include/generated/ClassValue-generated.h +++ b/kabc/vcard/include/generated/ClassValue-generated.h @@ -3,13 +3,13 @@ public: ClassValue(); ClassValue(const ClassValue&); -ClassValue(const QCString&); +ClassValue(const TQCString&); ClassValue & operator = (ClassValue&); -ClassValue & operator = (const QCString&); +ClassValue & operator = (const TQCString&); bool operator ==(ClassValue&); bool operator !=(ClassValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {ClassValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {ClassValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~ClassValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/ContentLine-generated.h b/kabc/vcard/include/generated/ContentLine-generated.h index 9efe2731a..ad2ac7649 100644 --- a/kabc/vcard/include/generated/ContentLine-generated.h +++ b/kabc/vcard/include/generated/ContentLine-generated.h @@ -3,13 +3,13 @@ public: ContentLine(); ContentLine(const ContentLine&); -ContentLine(const QCString&); +ContentLine(const TQCString&); ContentLine & operator = (ContentLine&); -ContentLine & operator = (const QCString&); +ContentLine & operator = (const TQCString&); bool operator ==(ContentLine&); bool operator !=(ContentLine& x) {return !(*this==x);} -bool operator ==(const QCString& s) {ContentLine a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {ContentLine a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~ContentLine(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/DateParam-generated.h b/kabc/vcard/include/generated/DateParam-generated.h index ff1da58c9..75e7ad72d 100644 --- a/kabc/vcard/include/generated/DateParam-generated.h +++ b/kabc/vcard/include/generated/DateParam-generated.h @@ -3,13 +3,13 @@ public: DateParam(); DateParam(const DateParam&); -DateParam(const QCString&); +DateParam(const TQCString&); DateParam & operator = (DateParam&); -DateParam & operator = (const QCString&); +DateParam & operator = (const TQCString&); bool operator ==(DateParam&); bool operator !=(DateParam& x) {return !(*this==x);} -bool operator ==(const QCString& s) {DateParam a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {DateParam a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~DateParam(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/DateValue-generated.h b/kabc/vcard/include/generated/DateValue-generated.h index a38282379..cf0eb40d8 100644 --- a/kabc/vcard/include/generated/DateValue-generated.h +++ b/kabc/vcard/include/generated/DateValue-generated.h @@ -3,13 +3,13 @@ public: DateValue(); DateValue(const DateValue&); -DateValue(const QCString&); +DateValue(const TQCString&); DateValue & operator = (DateValue&); -DateValue & operator = (const QCString&); +DateValue & operator = (const TQCString&); bool operator ==(DateValue&); bool operator !=(DateValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {DateValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {DateValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~DateValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/EmailParam-generated.h b/kabc/vcard/include/generated/EmailParam-generated.h index 428a6fc20..46ae1f80f 100644 --- a/kabc/vcard/include/generated/EmailParam-generated.h +++ b/kabc/vcard/include/generated/EmailParam-generated.h @@ -3,13 +3,13 @@ public: EmailParam(); EmailParam(const EmailParam&); -EmailParam(const QCString&); +EmailParam(const TQCString&); EmailParam & operator = (EmailParam&); -EmailParam & operator = (const QCString&); +EmailParam & operator = (const TQCString&); bool operator ==(EmailParam&); bool operator !=(EmailParam& x) {return !(*this==x);} -bool operator ==(const QCString& s) {EmailParam a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {EmailParam a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~EmailParam(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/FloatValue-generated.h b/kabc/vcard/include/generated/FloatValue-generated.h index cac55cfef..155f52ae1 100644 --- a/kabc/vcard/include/generated/FloatValue-generated.h +++ b/kabc/vcard/include/generated/FloatValue-generated.h @@ -3,13 +3,13 @@ public: FloatValue(); FloatValue(const FloatValue&); -FloatValue(const QCString&); +FloatValue(const TQCString&); FloatValue & operator = (FloatValue&); -FloatValue & operator = (const QCString&); +FloatValue & operator = (const TQCString&); bool operator ==(FloatValue&); bool operator !=(FloatValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {FloatValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {FloatValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~FloatValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/GeoValue-generated.h b/kabc/vcard/include/generated/GeoValue-generated.h index 594f3ad67..b525e8c21 100644 --- a/kabc/vcard/include/generated/GeoValue-generated.h +++ b/kabc/vcard/include/generated/GeoValue-generated.h @@ -3,13 +3,13 @@ public: GeoValue(); GeoValue(const GeoValue&); -GeoValue(const QCString&); +GeoValue(const TQCString&); GeoValue & operator = (GeoValue&); -GeoValue & operator = (const QCString&); +GeoValue & operator = (const TQCString&); bool operator ==(GeoValue&); bool operator !=(GeoValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {GeoValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {GeoValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~GeoValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/Group-generated.h b/kabc/vcard/include/generated/Group-generated.h index f39302dd3..38e1c2a3a 100644 --- a/kabc/vcard/include/generated/Group-generated.h +++ b/kabc/vcard/include/generated/Group-generated.h @@ -3,13 +3,13 @@ public: Group(); Group(const Group&); -Group(const QCString&); +Group(const TQCString&); Group & operator = (Group&); -Group & operator = (const QCString&); +Group & operator = (const TQCString&); bool operator ==(Group&); bool operator !=(Group& x) {return !(*this==x);} -bool operator ==(const QCString& s) {Group a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {Group a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~Group(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/ImageParam-generated.h b/kabc/vcard/include/generated/ImageParam-generated.h index 81edfd29a..78a5a97cf 100644 --- a/kabc/vcard/include/generated/ImageParam-generated.h +++ b/kabc/vcard/include/generated/ImageParam-generated.h @@ -3,13 +3,13 @@ public: ImageParam(); ImageParam(const ImageParam&); -ImageParam(const QCString&); +ImageParam(const TQCString&); ImageParam & operator = (ImageParam&); -ImageParam & operator = (const QCString&); +ImageParam & operator = (const TQCString&); bool operator ==(ImageParam&); bool operator !=(ImageParam& x) {return !(*this==x);} -bool operator ==(const QCString& s) {ImageParam a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {ImageParam a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~ImageParam(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/ImageValue-generated.h b/kabc/vcard/include/generated/ImageValue-generated.h index 5a2c493ee..882081fbc 100644 --- a/kabc/vcard/include/generated/ImageValue-generated.h +++ b/kabc/vcard/include/generated/ImageValue-generated.h @@ -3,13 +3,13 @@ public: ImageValue(); ImageValue(const ImageValue&); -ImageValue(const QCString&); +ImageValue(const TQCString&); ImageValue & operator = (ImageValue&); -ImageValue & operator = (const QCString&); +ImageValue & operator = (const TQCString&); bool operator ==(ImageValue&); bool operator !=(ImageValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {ImageValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {ImageValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~ImageValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/ImgParam-generated.h b/kabc/vcard/include/generated/ImgParam-generated.h index 46a6ca031..04132c857 100644 --- a/kabc/vcard/include/generated/ImgParam-generated.h +++ b/kabc/vcard/include/generated/ImgParam-generated.h @@ -3,13 +3,13 @@ public: ImgParam(); ImgParam(const ImgParam&); -ImgParam(const QCString&); +ImgParam(const TQCString&); ImgParam & operator = (ImgParam&); -ImgParam & operator = (const QCString&); +ImgParam & operator = (const TQCString&); bool operator ==(ImgParam&); bool operator !=(ImgParam& x) {return !(*this==x);} -bool operator ==(const QCString& s) {ImgParam a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {ImgParam a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~ImgParam(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/ImgValue-generated.h b/kabc/vcard/include/generated/ImgValue-generated.h index d75d54550..0774de9bf 100644 --- a/kabc/vcard/include/generated/ImgValue-generated.h +++ b/kabc/vcard/include/generated/ImgValue-generated.h @@ -3,13 +3,13 @@ public: ImgValue(); ImgValue(const ImgValue&); -ImgValue(const QCString&); +ImgValue(const TQCString&); ImgValue & operator = (ImgValue&); -ImgValue & operator = (const QCString&); +ImgValue & operator = (const TQCString&); bool operator ==(ImgValue&); bool operator !=(ImgValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {ImgValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {ImgValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~ImgValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/LangValue-generated.h b/kabc/vcard/include/generated/LangValue-generated.h index 23e138b2f..c4930c59e 100644 --- a/kabc/vcard/include/generated/LangValue-generated.h +++ b/kabc/vcard/include/generated/LangValue-generated.h @@ -3,13 +3,13 @@ public: LangValue(); LangValue(const LangValue&); -LangValue(const QCString&); +LangValue(const TQCString&); LangValue & operator = (LangValue&); -LangValue & operator = (const QCString&); +LangValue & operator = (const TQCString&); bool operator ==(LangValue&); bool operator !=(LangValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {LangValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {LangValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~LangValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/NValue-generated.h b/kabc/vcard/include/generated/NValue-generated.h index 082c2534d..d78715ec0 100644 --- a/kabc/vcard/include/generated/NValue-generated.h +++ b/kabc/vcard/include/generated/NValue-generated.h @@ -3,13 +3,13 @@ public: NValue(); NValue(const NValue&); -NValue(const QCString&); +NValue(const TQCString&); NValue & operator = (NValue&); -NValue & operator = (const QCString&); +NValue & operator = (const TQCString&); bool operator ==(NValue&); bool operator !=(NValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {NValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {NValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~NValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/Name-generated.h b/kabc/vcard/include/generated/Name-generated.h index 0e69abd1d..17d56e680 100644 --- a/kabc/vcard/include/generated/Name-generated.h +++ b/kabc/vcard/include/generated/Name-generated.h @@ -3,13 +3,13 @@ public: V_Name(); V_Name(const V_Name&); -V_Name(const QCString&); +V_Name(const TQCString&); V_Name & operator = (V_Name&); -V_Name & operator = (const QCString&); +V_Name & operator = (const TQCString&); bool operator ==(V_Name&); bool operator !=(V_Name& x) {return !(*this==x);} -bool operator ==(const QCString& s) {V_Name a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {V_Name a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~V_Name(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/OrgValue-generated.h b/kabc/vcard/include/generated/OrgValue-generated.h index 51eb1b738..661ecf5a3 100644 --- a/kabc/vcard/include/generated/OrgValue-generated.h +++ b/kabc/vcard/include/generated/OrgValue-generated.h @@ -3,13 +3,13 @@ public: OrgValue(); OrgValue(const OrgValue&); -OrgValue(const QCString&); +OrgValue(const TQCString&); OrgValue & operator = (OrgValue&); -OrgValue & operator = (const QCString&); +OrgValue & operator = (const TQCString&); bool operator ==(OrgValue&); bool operator !=(OrgValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {OrgValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {OrgValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~OrgValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/Param-generated.h b/kabc/vcard/include/generated/Param-generated.h index cf4666a4b..bf63e7166 100644 --- a/kabc/vcard/include/generated/Param-generated.h +++ b/kabc/vcard/include/generated/Param-generated.h @@ -3,13 +3,13 @@ public: Param(); Param(const Param&); -Param(const QCString&); +Param(const TQCString&); Param & operator = (Param&); -Param & operator = (const QCString&); +Param & operator = (const TQCString&); bool operator ==(Param&); bool operator !=(Param& x) {return !(*this==x);} -bool operator ==(const QCString& s) {Param a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {Param a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~Param(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/ParamName-generated.h b/kabc/vcard/include/generated/ParamName-generated.h index ef673c392..60b1e12d5 100644 --- a/kabc/vcard/include/generated/ParamName-generated.h +++ b/kabc/vcard/include/generated/ParamName-generated.h @@ -3,13 +3,13 @@ public: V_ParamName(); V_ParamName(const V_ParamName&); -V_ParamName(const QCString&); +V_ParamName(const TQCString&); V_ParamName & operator = (V_ParamName&); -V_ParamName & operator = (const QCString&); +V_ParamName & operator = (const TQCString&); bool operator ==(V_ParamName&); bool operator !=(V_ParamName& x) {return !(*this==x);} -bool operator ==(const QCString& s) {V_ParamName a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {V_ParamName a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~V_ParamName(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/ParamValue-generated.h b/kabc/vcard/include/generated/ParamValue-generated.h index e73500f67..f31a166c6 100644 --- a/kabc/vcard/include/generated/ParamValue-generated.h +++ b/kabc/vcard/include/generated/ParamValue-generated.h @@ -3,13 +3,13 @@ public: V_ParamValue(); V_ParamValue(const V_ParamValue&); -V_ParamValue(const QCString&); +V_ParamValue(const TQCString&); V_ParamValue & operator = (V_ParamValue&); -V_ParamValue & operator = (const QCString&); +V_ParamValue & operator = (const TQCString&); bool operator ==(V_ParamValue&); bool operator !=(V_ParamValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {V_ParamValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {V_ParamValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~V_ParamValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/PhoneNumberValue-generated.h b/kabc/vcard/include/generated/PhoneNumberValue-generated.h index 1320f186c..f0eb6b4f4 100644 --- a/kabc/vcard/include/generated/PhoneNumberValue-generated.h +++ b/kabc/vcard/include/generated/PhoneNumberValue-generated.h @@ -3,13 +3,13 @@ public: PhoneNumberValue(); PhoneNumberValue(const PhoneNumberValue&); -PhoneNumberValue(const QCString&); +PhoneNumberValue(const TQCString&); PhoneNumberValue & operator = (PhoneNumberValue&); -PhoneNumberValue & operator = (const QCString&); +PhoneNumberValue & operator = (const TQCString&); bool operator ==(PhoneNumberValue&); bool operator !=(PhoneNumberValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {PhoneNumberValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {PhoneNumberValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~PhoneNumberValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/SoundValue-generated.h b/kabc/vcard/include/generated/SoundValue-generated.h index a9ab2e8c5..64081be0b 100644 --- a/kabc/vcard/include/generated/SoundValue-generated.h +++ b/kabc/vcard/include/generated/SoundValue-generated.h @@ -3,13 +3,13 @@ public: SoundValue(); SoundValue(const SoundValue&); -SoundValue(const QCString&); +SoundValue(const TQCString&); SoundValue & operator = (SoundValue&); -SoundValue & operator = (const QCString&); +SoundValue & operator = (const TQCString&); bool operator ==(SoundValue&); bool operator !=(SoundValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {SoundValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {SoundValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~SoundValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/SourceParam-generated.h b/kabc/vcard/include/generated/SourceParam-generated.h index 75fefb862..e3b13bca1 100644 --- a/kabc/vcard/include/generated/SourceParam-generated.h +++ b/kabc/vcard/include/generated/SourceParam-generated.h @@ -3,13 +3,13 @@ public: SourceParam(); SourceParam(const SourceParam&); -SourceParam(const QCString&); +SourceParam(const TQCString&); SourceParam & operator = (SourceParam&); -SourceParam & operator = (const QCString&); +SourceParam & operator = (const TQCString&); bool operator ==(SourceParam&); bool operator !=(SourceParam& x) {return !(*this==x);} -bool operator ==(const QCString& s) {SourceParam a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {SourceParam a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~SourceParam(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/TelParam-generated.h b/kabc/vcard/include/generated/TelParam-generated.h index 3ee77cc3c..9f8f24270 100644 --- a/kabc/vcard/include/generated/TelParam-generated.h +++ b/kabc/vcard/include/generated/TelParam-generated.h @@ -3,13 +3,13 @@ public: TelParam(); TelParam(const TelParam&); -TelParam(const QCString&); +TelParam(const TQCString&); TelParam & operator = (TelParam&); -TelParam & operator = (const QCString&); +TelParam & operator = (const TQCString&); bool operator ==(TelParam&); bool operator !=(TelParam& x) {return !(*this==x);} -bool operator ==(const QCString& s) {TelParam a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {TelParam a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~TelParam(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/TelValue-generated.h b/kabc/vcard/include/generated/TelValue-generated.h index 3213e1cd1..600da7727 100644 --- a/kabc/vcard/include/generated/TelValue-generated.h +++ b/kabc/vcard/include/generated/TelValue-generated.h @@ -3,13 +3,13 @@ public: TelValue(); TelValue(const TelValue&); -TelValue(const QCString&); +TelValue(const TQCString&); TelValue & operator = (TelValue&); -TelValue & operator = (const QCString&); +TelValue & operator = (const TQCString&); bool operator ==(TelValue&); bool operator !=(TelValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {TelValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {TelValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~TelValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/TextBinParam-generated.h b/kabc/vcard/include/generated/TextBinParam-generated.h index d075c102b..37dc56e55 100644 --- a/kabc/vcard/include/generated/TextBinParam-generated.h +++ b/kabc/vcard/include/generated/TextBinParam-generated.h @@ -3,13 +3,13 @@ public: TextBinParam(); TextBinParam(const TextBinParam&); -TextBinParam(const QCString&); +TextBinParam(const TQCString&); TextBinParam & operator = (TextBinParam&); -TextBinParam & operator = (const QCString&); +TextBinParam & operator = (const TQCString&); bool operator ==(TextBinParam&); bool operator !=(TextBinParam& x) {return !(*this==x);} -bool operator ==(const QCString& s) {TextBinParam a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {TextBinParam a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~TextBinParam(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/TextBinValue-generated.h b/kabc/vcard/include/generated/TextBinValue-generated.h index e9553ac2c..4c9580421 100644 --- a/kabc/vcard/include/generated/TextBinValue-generated.h +++ b/kabc/vcard/include/generated/TextBinValue-generated.h @@ -3,13 +3,13 @@ public: TextBinValue(); TextBinValue(const TextBinValue&); -TextBinValue(const QCString&); +TextBinValue(const TQCString&); TextBinValue & operator = (TextBinValue&); -TextBinValue & operator = (const QCString&); +TextBinValue & operator = (const TQCString&); bool operator ==(TextBinValue&); bool operator !=(TextBinValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {TextBinValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {TextBinValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~TextBinValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/TextListValue-generated.h b/kabc/vcard/include/generated/TextListValue-generated.h index 9f46124bf..8babb0d9f 100644 --- a/kabc/vcard/include/generated/TextListValue-generated.h +++ b/kabc/vcard/include/generated/TextListValue-generated.h @@ -3,13 +3,13 @@ public: TextListValue(); TextListValue(const TextListValue&); -TextListValue(const QCString&); +TextListValue(const TQCString&); TextListValue & operator = (TextListValue&); -TextListValue & operator = (const QCString&); +TextListValue & operator = (const TQCString&); bool operator ==(TextListValue&); bool operator !=(TextListValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {TextListValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {TextListValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~TextListValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/TextNSParam-generated.h b/kabc/vcard/include/generated/TextNSParam-generated.h index d7f58caae..bd8e74b07 100644 --- a/kabc/vcard/include/generated/TextNSParam-generated.h +++ b/kabc/vcard/include/generated/TextNSParam-generated.h @@ -3,13 +3,13 @@ public: TextNSParam(); TextNSParam(const TextNSParam&); -TextNSParam(const QCString&); +TextNSParam(const TQCString&); TextNSParam & operator = (TextNSParam&); -TextNSParam & operator = (const QCString&); +TextNSParam & operator = (const TQCString&); bool operator ==(TextNSParam&); bool operator !=(TextNSParam& x) {return !(*this==x);} -bool operator ==(const QCString& s) {TextNSParam a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {TextNSParam a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~TextNSParam(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/TextParam-generated.h b/kabc/vcard/include/generated/TextParam-generated.h index 154e1bf4c..54ae611a5 100644 --- a/kabc/vcard/include/generated/TextParam-generated.h +++ b/kabc/vcard/include/generated/TextParam-generated.h @@ -3,13 +3,13 @@ public: TextParam(); TextParam(const TextParam&); -TextParam(const QCString&); +TextParam(const TQCString&); TextParam & operator = (TextParam&); -TextParam & operator = (const QCString&); +TextParam & operator = (const TQCString&); bool operator ==(TextParam&); bool operator !=(TextParam& x) {return !(*this==x);} -bool operator ==(const QCString& s) {TextParam a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {TextParam a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~TextParam(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/TextValue-generated.h b/kabc/vcard/include/generated/TextValue-generated.h index e1c4dcc09..5b56b54a7 100644 --- a/kabc/vcard/include/generated/TextValue-generated.h +++ b/kabc/vcard/include/generated/TextValue-generated.h @@ -3,13 +3,13 @@ public: TextValue(); TextValue(const TextValue&); -TextValue(const QCString&); +TextValue(const TQCString&); TextValue & operator = (TextValue&); -TextValue & operator = (const QCString&); +TextValue & operator = (const TQCString&); bool operator ==(TextValue&); bool operator !=(TextValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {TextValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {TextValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~TextValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/URIValue-generated.h b/kabc/vcard/include/generated/URIValue-generated.h index dbcb5c1ed..5a691e6d6 100644 --- a/kabc/vcard/include/generated/URIValue-generated.h +++ b/kabc/vcard/include/generated/URIValue-generated.h @@ -3,13 +3,13 @@ public: URIValue(); URIValue(const URIValue&); -URIValue(const QCString&); +URIValue(const TQCString&); URIValue & operator = (URIValue&); -URIValue & operator = (const QCString&); +URIValue & operator = (const TQCString&); bool operator ==(URIValue&); bool operator !=(URIValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {URIValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {URIValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~URIValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/UTCValue-generated.h b/kabc/vcard/include/generated/UTCValue-generated.h index 46e447b3b..0c6edfb46 100644 --- a/kabc/vcard/include/generated/UTCValue-generated.h +++ b/kabc/vcard/include/generated/UTCValue-generated.h @@ -3,13 +3,13 @@ public: UTCValue(); UTCValue(const UTCValue&); -UTCValue(const QCString&); +UTCValue(const TQCString&); UTCValue & operator = (UTCValue&); -UTCValue & operator = (const QCString&); +UTCValue & operator = (const TQCString&); bool operator ==(UTCValue&); bool operator !=(UTCValue& x) {return !(*this==x);} -bool operator ==(const QCString& s) {UTCValue a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {UTCValue a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~UTCValue(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/VCard-generated.h b/kabc/vcard/include/generated/VCard-generated.h index 4d7d96d48..4f36d11da 100644 --- a/kabc/vcard/include/generated/VCard-generated.h +++ b/kabc/vcard/include/generated/VCard-generated.h @@ -3,13 +3,13 @@ public: VCard(); VCard(const VCard&); -VCard(const QCString&); +VCard(const TQCString&); VCard & operator = (VCard&); -VCard & operator = (const QCString&); +VCard & operator = (const TQCString&); bool operator ==(VCard&); bool operator !=(VCard& x) {return !(*this==x);} -bool operator ==(const QCString& s) {VCard a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {VCard a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~VCard(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/VCardEntity-generated.h b/kabc/vcard/include/generated/VCardEntity-generated.h index 9f2dfbce8..4e973e62a 100644 --- a/kabc/vcard/include/generated/VCardEntity-generated.h +++ b/kabc/vcard/include/generated/VCardEntity-generated.h @@ -3,13 +3,13 @@ public: VCardEntity(); VCardEntity(const VCardEntity&); -VCardEntity(const QCString&); +VCardEntity(const TQCString&); VCardEntity & operator = (VCardEntity&); -VCardEntity & operator = (const QCString&); +VCardEntity & operator = (const TQCString&); bool operator ==(VCardEntity&); bool operator !=(VCardEntity& x) {return !(*this==x);} -bool operator ==(const QCString& s) {VCardEntity a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {VCardEntity a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~VCardEntity(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/include/generated/Value-generated.h b/kabc/vcard/include/generated/Value-generated.h index 7afac34b6..935d137b6 100644 --- a/kabc/vcard/include/generated/Value-generated.h +++ b/kabc/vcard/include/generated/Value-generated.h @@ -3,13 +3,13 @@ public: Value(); Value(const Value&); -Value(const QCString&); +Value(const TQCString&); Value & operator = (Value&); -Value & operator = (const QCString&); +Value & operator = (const TQCString&); bool operator ==(Value&); bool operator !=(Value& x) {return !(*this==x);} -bool operator ==(const QCString& s) {Value a(s);return(*this==a);} -bool operator != (const QCString& s) {return !(*this == s);} +bool operator ==(const TQCString& s) {Value a(s);return(*this==a);} +bool operator != (const TQCString& s) {return !(*this == s);} virtual ~Value(); void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} diff --git a/kabc/vcard/testread.cpp b/kabc/vcard/testread.cpp index 919c6616d..3a33c7d54 100644 --- a/kabc/vcard/testread.cpp +++ b/kabc/vcard/testread.cpp @@ -2,8 +2,8 @@ #include <stdlib.h> #include <assert.h> -#include <qfile.h> -#include <qtextstream.h> +#include <tqfile.h> +#include <tqtextstream.h> #include <VCard.h> @@ -16,16 +16,16 @@ int main(int argc, char * argv[]) exit(1); } - QFile f(argv[1]); + TQFile f(argv[1]); - QCString str; + TQCString str; if (!f.open(IO_ReadOnly)) { cerr << "Couldn't open file \"" << argv[1] << endl; exit(1); } - QTextStream t(&f); + TQTextStream t(&f); while (!t.eof()) str += t.readLine().utf8() + '\n'; @@ -52,7 +52,7 @@ int main(int argc, char * argv[]) if (v.has(EntityEmail)) { cerr << "Email parameter found" << endl; - QCString s = v.contentLine(EntityEmail)->value()->asString(); + TQCString s = v.contentLine(EntityEmail)->value()->asString(); cerr << "Email value == " << s << endl; } diff --git a/kabc/vcard/testwrite.cpp b/kabc/vcard/testwrite.cpp index e4bbe7bc0..f9b8944d7 100644 --- a/kabc/vcard/testwrite.cpp +++ b/kabc/vcard/testwrite.cpp @@ -33,7 +33,7 @@ int main(int argc,char **argv) cl2.setParamList( p ); v.add(cl2); - QCString str = v.asString(); + TQCString str = v.asString(); kdDebug() << "--- VCard begin ---" << endl << str |