author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kabc/vcard/Entity.cpp | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-p1.zip kdepimpi-p1.tar.gz kdepimpi-p1.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | kabc/vcard/Entity.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/kabc/vcard/Entity.cpp b/kabc/vcard/Entity.cpp index b7d09e0..e38fa11 100644 --- a/kabc/vcard/Entity.cpp +++ b/kabc/vcard/Entity.cpp @@ -17,16 +17,18 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include <VCardEntity.h> +//Added by qt3to4: +#include <Q3CString> using namespace VCARD; Entity::Entity() : parsed_ (false), assembled_ (true) { // empty @@ -35,17 +37,17 @@ Entity::Entity() Entity::Entity(const Entity & e) : strRep_ (e.strRep_), parsed_ (e.parsed_), assembled_ (e.assembled_) { // empty } -Entity::Entity(const QCString & s) +Entity::Entity(const Q3CString & s) : strRep_ (s), parsed_ (false), assembled_ (true) { // empty } Entity & @@ -56,17 +58,17 @@ Entity::operator = (const Entity & e) strRep_ = e.strRep_; parsed_ = e.parsed_; assembled_ = e.assembled_; return *this; } Entity & -Entity::operator = (const QCString & s) +Entity::operator = (const Q3CString & s) { strRep_ = s; parsed_ = false; assembled_ = true; return *this; } @@ -78,33 +80,33 @@ Entity::operator == (Entity & e) bool Entity::operator != (Entity & e) { return !(*this == e); } bool -Entity::operator == (const QCString & s) +Entity::operator == (const Q3CString & s) { return asString() == s; } bool -Entity::operator != (const QCString & s) +Entity::operator != (const Q3CString & s) { return !(*this == s); } Entity::~Entity() { // empty } - QCString + Q3CString Entity::asString() { // vDebug("Entity::asString()"); assemble(); return strRep_; } |