summaryrefslogtreecommitdiffstats
path: root/kmail/annotationjobs.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/annotationjobs.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/annotationjobs.h')
-rw-r--r--kmail/annotationjobs.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/kmail/annotationjobs.h b/kmail/annotationjobs.h
index df3da1ad0..c700a4b45 100644
--- a/kmail/annotationjobs.h
+++ b/kmail/annotationjobs.h
@@ -19,11 +19,11 @@
*
* In addition, as a special exception, the copyright holders give
* permission to link the code of this program with any edition of
- * the Qt library by Trolltech AS, Norway (or with modified versions
- * of Qt that use the same license as Qt), and distribute linked
+ * the TQt library by Trolltech AS, Norway (or with modified versions
+ * of TQt that use the same license as TQt), and distribute linked
* combinations including the two. You must obey the GNU General
* Public License in all respects for all of the code used other than
- * Qt. If you modify this file, you may extend this exception to
+ * TQt. If you modify this file, you may extend this exception to
* your version of the file, but you are not obligated to do so. If
* you do not wish to do so, delete this exception statement from
* your version.
@@ -39,7 +39,7 @@ namespace KMail {
/// One entry in the annotation list: attribute name and attribute value
struct AnnotationAttribute {
- AnnotationAttribute() {} // for QValueVector
+ AnnotationAttribute() {} // for TQValueVector
AnnotationAttribute( const TQString& e, const TQString& n, const TQString& v )
: entry( e ), name( n ), value( v ) {}
TQString entry; // e.g. /comment
@@ -50,7 +50,7 @@ struct AnnotationAttribute {
typedef TQValueVector<AnnotationAttribute> AnnotationList;
/**
- * This namespace tqcontains functions that return jobs for annotation operations.
+ * This namespace contains functions that return jobs for annotation operations.
*
* The current implementation is tied to IMAP.
* If someone wants to extend this to other protocols, turn the namespace into a class
@@ -108,6 +108,7 @@ MultiUrlGetAnnotationJob* multiUrlGetAnnotation( KIO::Slave* slave,
class GetAnnotationJob : public KIO::SimpleJob
{
Q_OBJECT
+ TQ_OBJECT
public:
GetAnnotationJob( const KURL& url, const TQString& entry, const TQByteArray &packedArgs,
bool showProgressInfo );
@@ -125,6 +126,7 @@ private:
class MultiGetAnnotationJob : public KIO::Job
{
Q_OBJECT
+ TQ_OBJECT
public:
MultiGetAnnotationJob( KIO::Slave* slave, const KURL& url, const TQStringList& entries, bool showProgressInfo );
@@ -148,6 +150,7 @@ private:
class MultiUrlGetAnnotationJob : public KIO::Job
{
Q_OBJECT
+ TQ_OBJECT
public:
MultiUrlGetAnnotationJob( KIO::Slave* slave, const KURL& baseUrl,
@@ -172,6 +175,7 @@ private:
class MultiSetAnnotationJob : public KIO::Job
{
Q_OBJECT
+ TQ_OBJECT
public:
MultiSetAnnotationJob( KIO::Slave* slave, const KURL& url, const AnnotationList& annotations, bool showProgressInfo );