From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkmime/CLASSTREE.headers | 2 +- libkmime/boolflags.cpp | 4 ++-- libkmime/kmime_headers.h | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'libkmime') diff --git a/libkmime/CLASSTREE.headers b/libkmime/CLASSTREE.headers index 5e7a9ee07..0dc759261 100644 --- a/libkmime/CLASSTREE.headers +++ b/libkmime/CLASSTREE.headers @@ -59,7 +59,7 @@ bool isEmpty() const char* type(); -Entity* tqparent(); +Entity* parent(); void setParent( Content* ); diff --git a/libkmime/boolflags.cpp b/libkmime/boolflags.cpp index a9ba7a9f8..981e4ecc5 100644 --- a/libkmime/boolflags.cpp +++ b/libkmime/boolflags.cpp @@ -20,7 +20,7 @@ void BoolFlags::set(unsigned int i, bool b) { if(i>15) return; - unsigned char p; //bitqmask + unsigned char p; //bimask int n; if(i<8) { //first byte @@ -43,7 +43,7 @@ bool BoolFlags::get(unsigned int i) { if(i>15) return false; - unsigned char p; //bitqmask + unsigned char p; //bimask int n; if(i<8) { //first byte diff --git a/libkmime/kmime_headers.h b/libkmime/kmime_headers.h index 69f139a57..458258640 100644 --- a/libkmime/kmime_headers.h +++ b/libkmime/kmime_headers.h @@ -116,16 +116,16 @@ class KDE_EXPORT Base { /** Create an empty header. */ Base() : e_ncCS(0), p_arent(0) {} - /** Create an empty header with a tqparent-content. */ - Base(KMime::Content *tqparent) : e_ncCS(0), p_arent(tqparent) {} + /** Create an empty header with a parent-content. */ + Base(KMime::Content *parent) : e_ncCS(0), p_arent(parent) {} /** Destructor */ virtual ~Base() {} - /** Return the tqparent of this header. */ - KMime::Content* tqparent() { return p_arent; } + /** Return the parent of this header. */ + KMime::Content* parent() { return p_arent; } - /** Set the tqparent for this header. */ + /** Set the parent for this header. */ void setParent(KMime::Content *p) { p_arent=p; } /** Parse the given string. Take care of RFC2047-encoded -- cgit v1.2.1